The stsadm import failed to import surveys with a fatal error : You are not allowed to respond again to this survey
Dears, We have exported the root site of our web application successfully by using: stsadm -o export -filename "C:\export\web.cmp" -url "weburl" -includeusersecurity -versions 4 and then imported the exported package to our new web application (located in another sharepoint farm) by using: stsadm -o import -url "newweburl" -filename "C:\import\web.cmp" -includeusersecurity The import failed to import all survey lists with the following fatal error: [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=19. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=2. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=20. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=21. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=22. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=23. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=24. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=25. [6/20/2012 6:26:29 PM]: Progress: Importing ListItem /Lists/Survey?id=26. "You are not allowed to respond again to this survey" at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) at Microsoft.SharePoint.SPListItem.MigrationAddOrUpdate(Boolean bAddNew, Boolean bIsPublish, Guid newGuidOnAdd, Boolean bNoVersion, Boolean suppressAfterEvents) at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) Note that some survey list items imported and the others failed??? This error occurred in all survey lists??? Seems it is bug in stsadm tool??? Note that both the source and destination environments are MOSS 2007 with SP3 Your advice is highly appreciated...Regards, Anas N. Alhussein | Sharepoint Senior Developer
June 23rd, 2012 3:15am

I find that the survey list item that the import failed after being imported "id : 25 as the above for example" is created by "System Account" in the "destination web" but when I compare it with the "source web" I see that this item created by a normal user. So it seems that the stsadm cannot import this survey list item with its security permissions and i cannot figure why??? Any advise???Regards, Anas N. Alhussein | Sharepoint Senior Developer and Administrator
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2012 8:19am

Hi, When you do a STSTADM import all items gets created with the ID you are using to execute the command and in your case here it i system account. In your survey there would be a setting that specifies only unique response are allowed. This is the reason during import it gets failed. Now to work this out go to your source site --> Survey --> Settings and allow multiple responses. Now you try to take the export again and then import it at your destination location. I hope this will help you out. Thanks, Rahul Rashu
June 24th, 2012 4:31am

Hi, When you do a STSTADM import all items gets created with the ID you are using to execute the command and in your case here it i system account. In your survey there would be a setting that specifies only unique response are allowed. This is the reason during import it gets failed. Now to work this out go to your source site --> Survey --> Settings and allow multiple responses. Now you try to take the export again and then import it at your destination location. I hope this will help you out. Thanks, Rahul Rashu
Free Windows Admin Tool Kit Click here and download it now
June 24th, 2012 4:31am

Hi, I agree with Rashu. If you have any questions, don't hesitate to ask us. Thanks, Rock Wang Forum Support Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Rock Wang TechNet Community Support
June 25th, 2012 10:55pm

Thanks Rashu and Rock, The import works fine after changing "allow multiple responses" to true. But this should be considered as a bug in stsadm tool. What do you think?Regards, Anas N. Alhussein | Sharepoint Senior Developer and Administrator
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2012 1:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics