Results 1 to 3 of 3
Thread: Error when importing a survey
-
04-16-2008, 01:20 PM #1ihill Guest
Error when importing a survey
I'm trying to import a survey from one instance of Checkbox on one server to another instance on a different server. I receive an error "Unable to save data". Is there a certain survey item that doesn't adhere to the Checkbox XML schema? Because this is the only survey that doesn't work when I'm transferring surveys to this other instance of Checkbox.
Exception Table
Message Unable to save data.
Data System.Collections.ListDictionaryInternal
InnerException UndefinedValue
TargetSite Void Save()
StackTrace
at Checkbox.Common.PersistedDomainObject.Save()
at CheckboxWeb.Forms.SurveyImport.ReadXmlFile()
HelpLink UndefinedValue
Source Checkbox.Common
Any ideas on why this could be happening? and how to correct?
-
04-22-2008, 08:54 AM #2
Administrator
- Join Date
- Mar 2007
- Location
- Prezza Technologies
- Posts
- 225
We've seen a couple installations where the ResponsePipes section of the xml caused a problem when importing the survey xml. Does your export file contain a <ResponsePipes /> section? If so, try to remove that section then import again.
You also may want to check the exception log. Import errors often cause more than one error to be logged and one of those errors may have more information.
-
05-10-2012, 09:41 AM #3
Administrator
- Join Date
- May 2007
- Posts
- 41
A common error that occurs in your Exception Log is:
The following errors occurred while importing the XML file:
INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ckbx_ResponsePipe_ckbx_Item'. The conflict occurred in database 'checkbox', table 'ckbx_Item', column 'ItemID'. The statement has been terminated.
As ncushing previously stated, removing the <responsespipes> directly from the survey XML resolves this issue.


LinkBack URL
About LinkBacks
Reply With Quote