- Posts: 8
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
500: Internal Server Error CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or are not allowed. Change the alias to a valid name.
NEW surveys created from scratch can be activated once and only once. Deactivating and then activating them again results in the same error messages show above. This pattern happens even when creating a basic survey and not adding anything other than the default first question.The survey response table could not be created.
Usually this is caused by having too many (sub-)questions in your survey. Please try removing questions from your survey.
Please Log in to join the conversation.
Please Log in to join the conversation.
Yii::app()->db->createCommand('ALTER TABLE [' . $tablename . '] DROP CONSTRAINT "' . $constraintName['CONSTRAINT_NAME'] . '"')->execute();
Yii::app()->db->createCommand('ALTER TABLE [' . $tablename . '] DROP CONSTRAINT "' . $constraintName['constraint_name'] . '"')->execute();
Please Log in to join the conversation.