View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09934 | Bug reports | Installation | public | 2015-10-01 14:49 | 2015-11-10 12:28 |
Reporter | tvanderzyl | Assigned To | c_schmitz | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 09934: Activate Survey - Survey table could not be created - Database error!! | ||||
Description | We installed 2.06 a week ago. Imports went fine. Activate survey worked once. Now when I try to activate a survey: Activate Survey - Survey table could not be created - Database error!! I also got a message about an internal server error once. | ||||
Steps To Reproduce | Each attempt to activate a survey | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 150911 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Database SQL2008R2 Express | ||||
Server OS (if known) | Server Server 2012R2 | ||||
Webserver software & version (if known) | Webserver IIS 8.5 (comes with Windows 2012R2) | ||||
PHP Version | 5.6.0 | ||||
This is usually a sign that the survey is too big. |
|
Not too big, only 12 questions, and I have activated it before. Here is an additional error message: Internal Server Error |
|
Reminder sent to: c_schmitz I've narrowed in down - A survey can be activated once, but then if deactivated it cannot be reactivated. When trying to reactivate, I either get the error "Survey table could not be created" or "There is already an object named 'Primary'" |
|
Is there something else we can try? Thanks. |
|
I am having some issues after a port to a new install as well and realized that we have some inconsistencies between the ls_surveys, the lssurvey tables and the lstoken tables. Are yours consistent? Just a thought... |
|
How do I check? |
|
If you have access to the database you can run some SQL queries. I have a start for them... Sorry, the below is ugly, just pasting it from my notes. If you run the individual select queries I think they should all come back empty. Mine did not, still troubleshooting why and what to do now. in ls_surveys but no table (I think this should be empty but may misunderstand how LS handles this)
in tables but not in ls_surveys (I think this should be empty but may misunderstand how LS handles this)
in languagesettings but not surveys (I think this should be empty but may misunderstand how LS handles this) in surveys but not languagesettings (I think this should be empty but may misunderstand how LS handles this) |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=16207 |
|
For the patch to work properly you will have to delete the already created survey_(you survey ID) table manually, once. |
|
Has it been done already? Will we need to reinstall? I still get the following when trying to reactivate. Internal Server Error CDbCommand failed to execute the SQL statement: SQLSTATE[42S01]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]There is already an object named 'PRIMARY' in the database. An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem. Thank you. |
|
We are just preparing a new release. Either you patch it manually (see link above) or wait for the update. |
|
Thank you so very much! Please have a great weekend. |
|
Will that be 2.07? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-01 14:49 | tvanderzyl | New Issue | |
2015-10-01 16:45 | c_schmitz | Note Added: 33280 | |
2015-10-01 16:45 | c_schmitz | Assigned To | => c_schmitz |
2015-10-01 16:45 | c_schmitz | Status | new => feedback |
2015-10-05 14:05 | tvanderzyl | Note Added: 33307 | |
2015-10-05 14:05 | tvanderzyl | Status | feedback => assigned |
2015-10-08 17:14 | tvanderzyl | Note Added: 33323 | |
2015-10-14 15:30 | tvanderzyl | Note Added: 33342 | |
2015-10-15 04:39 | ttenbergen | Note Added: 33346 | |
2015-10-15 14:26 | tvanderzyl | Note Added: 33349 | |
2015-10-15 17:38 | ttenbergen | Note Added: 33354 | |
2015-10-16 13:39 | c_schmitz | Changeset attached | => LimeSurvey master f3f6ed7a |
2015-10-16 13:39 | c_schmitz | Note Added: 33373 | |
2015-10-16 13:39 | c_schmitz | Resolution | open => fixed |
2015-10-16 13:40 | c_schmitz | Note Added: 33374 | |
2015-10-16 15:08 | tvanderzyl | Note Added: 33377 | |
2015-10-16 15:25 | c_schmitz | Note Added: 33378 | |
2015-10-16 15:25 | c_schmitz | Status | assigned => resolved |
2015-10-16 15:25 | c_schmitz | Fixed in Version | => 2.06+ |
2015-10-16 15:39 | tvanderzyl | Note Added: 33379 | |
2015-10-18 20:04 | tvanderzyl | Note Added: 33382 | |
2015-11-10 12:28 | c_schmitz | Status | resolved => closed |