STSADM -o export does not appear to handle surveys correctly

M

mossguy

I originally posted this on the SharePoint forums, but my post was moved to
off-topic, being told by Mike Walsh that this has to be Posted in the Project
Server Forum....

http://social.technet.microsoft.com...c/thread/36b24f66-a65a-4a5d-9723-4b74a90fe3d1

But to that end, this is an issue with STSADM -export.... And how it goes
about importing and exporting...
Really, whats the difference between a Project workspace and a WSS
Workspace, not a whole lot...
This a SHAREPOINT FARM, that happens to have project server installed as well.
Surveys are NOT project server specific, they can be in MOSS or Project
server... And this issue happens in either case... not just on the project
server side.


----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
I have 2 snipits from my export and import logs that descibes the behavior I
am seeing...

But basiclly, i find that the export/import tools for STSADM do not work
properly for Survey lists.

1st - It only exports items 4 and 5 from the survey?? WTF?? What happened to
items 1, 2, 3???

[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type List.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Exporting File
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage/default.master.
[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
ListItem.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4. <-- ***RIGHT
HERE***
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/24/2009 11:19:51 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
ListItem.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Limited Access.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Read.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Contribute.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Design.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Full Control.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Web Administrators
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Project Managers
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Team members (Microsoft
Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Readers (Microsoft Office
Project Server).
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
Feature.



2nd - When restoring the site, and thus the survey, the system acts as
though my service account is responding to the survey, when all it is doing
is restoring data... (Again WTF??)


Import error:

[4/27/2009 9:24:36 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:36 AM]: Progress: Importing List Master Page Gallery.
[4/27/2009 9:24:37 AM]: Progress: Importing List Announcements.
[4/27/2009 9:24:37 AM]: Progress: Importing List Calendar.
[4/27/2009 9:24:38 AM]: Progress: Importing List Deliverables.
[4/27/2009 9:24:39 AM]: Progress: Importing List Issues.
[4/27/2009 9:24:39 AM]: Progress: Importing List Links.
[4/27/2009 9:24:40 AM]: Progress: Importing List Post Implementation Review.
[4/27/2009 9:24:40 AM]: Progress: Importing List Risks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Tasks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Team Discussion.
[4/27/2009 9:24:43 AM]: Progress: Importing List Project Documents.
[4/27/2009 9:24:44 AM]: Progress: Importing File
_catalogs/masterpage/default.master.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/27/2009 9:24:44 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/27/2009 9:24:44 AM]: Error: You are not allowed to respond again to this
survey. <-- **WTF!! I am not responding to the survey, I am restoring data***
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)
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.


Can someone explain why this happens, Am I doing something wrong??

thanks!
 
B

ben howard [MVP]

Hi Mossguy,

I actually think you were bounced incorrectly. This is a moss issue (stsadm
for goodness sake!). Re-post and hopefully someone sensible will anwer...

mossguy said:
I originally posted this on the SharePoint forums, but my post was moved to
off-topic, being told by Mike Walsh that this has to be Posted in the Project
Server Forum....

http://social.technet.microsoft.com...c/thread/36b24f66-a65a-4a5d-9723-4b74a90fe3d1

But to that end, this is an issue with STSADM -export.... And how it goes
about importing and exporting...
Really, whats the difference between a Project workspace and a WSS
Workspace, not a whole lot...
This a SHAREPOINT FARM, that happens to have project server installed as well.
Surveys are NOT project server specific, they can be in MOSS or Project
server... And this issue happens in either case... not just on the project
server side.


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
I have 2 snipits from my export and import logs that descibes the behavior I
am seeing...

But basiclly, i find that the export/import tools for STSADM do not work
properly for Survey lists.

1st - It only exports items 4 and 5 from the survey?? WTF?? What happened to
items 1, 2, 3???

[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type List.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Exporting File
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage/default.master.
[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
ListItem.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4. <-- ***RIGHT
HERE***
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/24/2009 11:19:51 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
ListItem.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Limited Access.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Read.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Contribute.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Design.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Full Control.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Web Administrators
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Project Managers
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Team members (Microsoft
Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Readers (Microsoft Office
Project Server).
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
Feature.



2nd - When restoring the site, and thus the survey, the system acts as
though my service account is responding to the survey, when all it is doing
is restoring data... (Again WTF??)


Import error:

[4/27/2009 9:24:36 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:36 AM]: Progress: Importing List Master Page Gallery.
[4/27/2009 9:24:37 AM]: Progress: Importing List Announcements.
[4/27/2009 9:24:37 AM]: Progress: Importing List Calendar.
[4/27/2009 9:24:38 AM]: Progress: Importing List Deliverables.
[4/27/2009 9:24:39 AM]: Progress: Importing List Issues.
[4/27/2009 9:24:39 AM]: Progress: Importing List Links.
[4/27/2009 9:24:40 AM]: Progress: Importing List Post Implementation Review.
[4/27/2009 9:24:40 AM]: Progress: Importing List Risks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Tasks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Team Discussion.
[4/27/2009 9:24:43 AM]: Progress: Importing List Project Documents.
[4/27/2009 9:24:44 AM]: Progress: Importing File
_catalogs/masterpage/default.master.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/27/2009 9:24:44 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/27/2009 9:24:44 AM]: Error: You are not allowed to respond again to this
survey. <-- **WTF!! I am not responding to the survey, I am restoring data***
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)
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.


Can someone explain why this happens, Am I doing something wrong??

thanks!
 
L

Lambert Qin [MSFT]

Imagine the scenario:
1. You created a survey with some questions.
2. For test purpose, you enabled Allow multiple responses and created some
responses.
3. You deleted the first 3 response or the first 3 responses were not
completed.
4. You changed the Allow multiple responses to No before the survey went live.
5. You export and import the site include the survey.

If true, because the first 3 responses were not completed or deleted, it
would not be include in the export file.

During the import process, because the survey does not Allow multiple
responses, the response #5 cannot be imported.
To check the settings, please go to Survey Settings > General Settings in
the imported site.
Although the survey responses were not imported correctly, the survey list
schema itself was import correctly based on the import log.

If the original site cannot be recovered and the responses were important to
your business, you could follow the steps to modify the export file and re
import to a Blank site.
1. Rename the export file to export.cab
2. Extract the file to Export folder.
3. Open the Manifest.xml file with Notepad.
4. Search the Title="<SURVEY_TITLE>" (Title="Post Implementation Review" for
your issue).
5. The result looks like:
<List Id="**" RootFolderUrl="***" ParentWebId="***" ParentWebUrl="***"
RootFolderId="***" Title="Post Implementation Review" Description=""
Direction="none" BaseType="Survey" ImageUrl="/_layouts/images/itsurvey.gif"
BaseTemplate="Survey"
TemplateFeatureId="00bfea71-eb8a-40b1-80c7-506be7590102" Flags="545263624"
AllowDeletion="true" AllowMultiResponses="false" EnableModeration="false"
EnableVersioning="false" EnableMinorVersions="false"
RequestAccessEnabled="true" DraftVersionVisibility="Reader"
ForceCheckout="false" ExcludeFromTemplate="false" Hidden="false"
MultipleDataList="false" EnableContentTypes="false" Ordered="false"
ShowUser="true" ReadSecurity="1" WriteSecurity="2" Version="7"
Created="2009-08-28T06:56:16" Author="1" EnableDeployWithDependentList="true"
EnableFolderCreation="false" DefaultItemOpen="PreferClient"
OnQuickLaunch="true" EnableAssignToEmail="false" EnableSyndication="true"
IrmEnabled="false"
6. Change the AllowMultiResponses to"true".
7. Save the Manifest.xml.
8. Run stsadm –o import -url IMPORTED_SITE_URL -filename EXPORT_FOLDER_PATH
-nofilecompression

Hope the information can be helpful.
-lambert

mossguy said:
I originally posted this on the SharePoint forums, but my post was moved to
off-topic, being told by Mike Walsh that this has to be Posted in the Project
Server Forum....

http://social.technet.microsoft.com...c/thread/36b24f66-a65a-4a5d-9723-4b74a90fe3d1

But to that end, this is an issue with STSADM -export.... And how it goes
about importing and exporting...
Really, whats the difference between a Project workspace and a WSS
Workspace, not a whole lot...
This a SHAREPOINT FARM, that happens to have project server installed as well.
Surveys are NOT project server specific, they can be in MOSS or Project
server... And this issue happens in either case... not just on the project
server side.


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
I have 2 snipits from my export and import logs that descibes the behavior I
am seeing...

But basiclly, i find that the export/import tools for STSADM do not work
properly for Survey lists.

1st - It only exports items 4 and 5 from the survey?? WTF?? What happened to
items 1, 2, 3???

[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type List.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Exporting File
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage/default.master.
[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
ListItem.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4. <-- ***RIGHT
HERE***
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/24/2009 11:19:51 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
ListItem.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Limited Access.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Read.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Contribute.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Design.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Full Control.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Web Administrators
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Project Managers
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Team members (Microsoft
Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Readers (Microsoft Office
Project Server).
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
Feature.



2nd - When restoring the site, and thus the survey, the system acts as
though my service account is responding to the survey, when all it is doing
is restoring data... (Again WTF??)


Import error:

[4/27/2009 9:24:36 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:36 AM]: Progress: Importing List Master Page Gallery.
[4/27/2009 9:24:37 AM]: Progress: Importing List Announcements.
[4/27/2009 9:24:37 AM]: Progress: Importing List Calendar.
[4/27/2009 9:24:38 AM]: Progress: Importing List Deliverables.
[4/27/2009 9:24:39 AM]: Progress: Importing List Issues.
[4/27/2009 9:24:39 AM]: Progress: Importing List Links.
[4/27/2009 9:24:40 AM]: Progress: Importing List Post Implementation Review.
[4/27/2009 9:24:40 AM]: Progress: Importing List Risks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Tasks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Team Discussion.
[4/27/2009 9:24:43 AM]: Progress: Importing List Project Documents.
[4/27/2009 9:24:44 AM]: Progress: Importing File
_catalogs/masterpage/default.master.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/27/2009 9:24:44 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/27/2009 9:24:44 AM]: Error: You are not allowed to respond again to this
survey. <-- **WTF!! I am not responding to the survey, I am restoring data***
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)
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.


Can someone explain why this happens, Am I doing something wrong??

thanks!
 
G

Gary Chefetz

Mossguy:

SharePoint techies seem to have a strong aversion to Project Server, and I
can't say that I blame them if imagine myself in their shoes. You should be
aware of this only because any mention or even veiled reference to our world
in a SharePoint newsgroup post gets you summarily bounced over here. All the
words that come past the word "Project Server" will be ignored. Your problem
is that you mentioned it at the beginning of the post rather than at the
end.



mossguy said:
I originally posted this on the SharePoint forums, but my post was moved
to
off-topic, being told by Mike Walsh that this has to be Posted in the
Project
Server Forum....

http://social.technet.microsoft.com...c/thread/36b24f66-a65a-4a5d-9723-4b74a90fe3d1

But to that end, this is an issue with STSADM -export.... And how it goes
about importing and exporting...
Really, whats the difference between a Project workspace and a WSS
Workspace, not a whole lot...
This a SHAREPOINT FARM, that happens to have project server installed as
well.
Surveys are NOT project server specific, they can be in MOSS or Project
server... And this issue happens in either case... not just on the project
server side.


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
I have 2 snipits from my export and import logs that descibes the behavior
I
am seeing...

But basiclly, i find that the export/import tools for STSADM do not work
properly for Survey lists.

1st - It only exports items 4 and 5 from the survey?? WTF?? What happened
to
items 1, 2, 3???

[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type
List.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Exporting File
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage/default.master.
[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
ListItem.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4. <--
***RIGHT
HERE***
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/24/2009 11:19:51 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
ListItem.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
Roles.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Limited Access.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Read.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Contribute.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Design.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Full Control.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Web Administrators
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Project Managers
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Team members (Microsoft
Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Readers (Microsoft
Office
Project Server).
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
Roles.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
Feature.



2nd - When restoring the site, and thus the survey, the system acts as
though my service account is responding to the survey, when all it is
doing
is restoring data... (Again WTF??)


Import error:

[4/27/2009 9:24:36 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:36 AM]: Progress: Importing List Master Page Gallery.
[4/27/2009 9:24:37 AM]: Progress: Importing List Announcements.
[4/27/2009 9:24:37 AM]: Progress: Importing List Calendar.
[4/27/2009 9:24:38 AM]: Progress: Importing List Deliverables.
[4/27/2009 9:24:39 AM]: Progress: Importing List Issues.
[4/27/2009 9:24:39 AM]: Progress: Importing List Links.
[4/27/2009 9:24:40 AM]: Progress: Importing List Post Implementation
Review.
[4/27/2009 9:24:40 AM]: Progress: Importing List Risks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Tasks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Team Discussion.
[4/27/2009 9:24:43 AM]: Progress: Importing List Project Documents.
[4/27/2009 9:24:44 AM]: Progress: Importing File
_catalogs/masterpage/default.master.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/27/2009 9:24:44 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/27/2009 9:24:44 AM]: Error: You are not allowed to respond again to
this
survey. <-- **WTF!! I am not responding to the survey, I am restoring
data***
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)
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.


Can someone explain why this happens, Am I doing something wrong??

thanks!
 
M

mossguy

Thanks Lambert!!

I will look into this and hopefully find a resolution....

This situation happened sometime ago in DR situation, so I have not had to
deal with it ina while, but i don't really want to have to tell peopel we
lost there surveys again, it was pretty ugly...

Thanks again!

Lambert Qin said:
Imagine the scenario:
1. You created a survey with some questions.
2. For test purpose, you enabled Allow multiple responses and created some
responses.
3. You deleted the first 3 response or the first 3 responses were not
completed.
4. You changed the Allow multiple responses to No before the survey went live.
5. You export and import the site include the survey.

If true, because the first 3 responses were not completed or deleted, it
would not be include in the export file.

During the import process, because the survey does not Allow multiple
responses, the response #5 cannot be imported.
To check the settings, please go to Survey Settings > General Settings in
the imported site.
Although the survey responses were not imported correctly, the survey list
schema itself was import correctly based on the import log.

If the original site cannot be recovered and the responses were important to
your business, you could follow the steps to modify the export file and re
import to a Blank site.
1. Rename the export file to export.cab
2. Extract the file to Export folder.
3. Open the Manifest.xml file with Notepad.
4. Search the Title="<SURVEY_TITLE>" (Title="Post Implementation Review" for
your issue).
5. The result looks like:
<List Id="**" RootFolderUrl="***" ParentWebId="***" ParentWebUrl="***"
RootFolderId="***" Title="Post Implementation Review" Description=""
Direction="none" BaseType="Survey" ImageUrl="/_layouts/images/itsurvey.gif"
BaseTemplate="Survey"
TemplateFeatureId="00bfea71-eb8a-40b1-80c7-506be7590102" Flags="545263624"
AllowDeletion="true" AllowMultiResponses="false" EnableModeration="false"
EnableVersioning="false" EnableMinorVersions="false"
RequestAccessEnabled="true" DraftVersionVisibility="Reader"
ForceCheckout="false" ExcludeFromTemplate="false" Hidden="false"
MultipleDataList="false" EnableContentTypes="false" Ordered="false"
ShowUser="true" ReadSecurity="1" WriteSecurity="2" Version="7"
Created="2009-08-28T06:56:16" Author="1" EnableDeployWithDependentList="true"
EnableFolderCreation="false" DefaultItemOpen="PreferClient"
OnQuickLaunch="true" EnableAssignToEmail="false" EnableSyndication="true"
IrmEnabled="false"
6. Change the AllowMultiResponses to"true".
7. Save the Manifest.xml.
8. Run stsadm –o import -url IMPORTED_SITE_URL -filename EXPORT_FOLDER_PATH
-nofilecompression

Hope the information can be helpful.
-lambert

mossguy said:
I originally posted this on the SharePoint forums, but my post was moved to
off-topic, being told by Mike Walsh that this has to be Posted in the Project
Server Forum....

http://social.technet.microsoft.com...c/thread/36b24f66-a65a-4a5d-9723-4b74a90fe3d1

But to that end, this is an issue with STSADM -export.... And how it goes
about importing and exporting...
Really, whats the difference between a Project workspace and a WSS
Workspace, not a whole lot...
This a SHAREPOINT FARM, that happens to have project server installed as well.
Surveys are NOT project server specific, they can be in MOSS or Project
server... And this issue happens in either case... not just on the project
server side.


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
I have 2 snipits from my export and import logs that descibes the behavior I
am seeing...

But basiclly, i find that the export/import tools for STSADM do not work
properly for Survey lists.

1st - It only exports items 4 and 5 from the survey?? WTF?? What happened to
items 1, 2, 3???

[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type List.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Exporting File
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage/default.master.
[4/24/2009 11:19:50 PM]: Progress: Finished processing objects of type
DocLibFile.
[4/24/2009 11:19:50 PM]: Progress: Starting to process objects of type
ListItem.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4. <-- ***RIGHT
HERE***
[4/24/2009 11:19:50 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/24/2009 11:19:51 PM]: Progress: Exporting ListItem
myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
ListItem.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Limited Access.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Read.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Contribute.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Design.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Full Control.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Web Administrators
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Project Managers
(Microsoft Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Team members (Microsoft
Office Project Server).
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Readers (Microsoft Office
Project Server).
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type Roles.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review.
[4/24/2009 11:19:51 PM]: Progress: Exporting Role Assignment for
myorg/it/pwa/JMR_PS_RIM.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
RoleAssignments.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Finished processing objects of type
WebStructure.
[4/24/2009 11:19:51 PM]: Progress: Starting to process objects of type
Feature.



2nd - When restoring the site, and thus the survey, the system acts as
though my service account is responding to the survey, when all it is doing
is restoring data... (Again WTF??)


Import error:

[4/27/2009 9:24:36 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:36 AM]: Progress: Importing List Master Page Gallery.
[4/27/2009 9:24:37 AM]: Progress: Importing List Announcements.
[4/27/2009 9:24:37 AM]: Progress: Importing List Calendar.
[4/27/2009 9:24:38 AM]: Progress: Importing List Deliverables.
[4/27/2009 9:24:39 AM]: Progress: Importing List Issues.
[4/27/2009 9:24:39 AM]: Progress: Importing List Links.
[4/27/2009 9:24:40 AM]: Progress: Importing List Post Implementation Review.
[4/27/2009 9:24:40 AM]: Progress: Importing List Risks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Tasks.
[4/27/2009 9:24:41 AM]: Progress: Importing List Team Discussion.
[4/27/2009 9:24:43 AM]: Progress: Importing List Project Documents.
[4/27/2009 9:24:44 AM]: Progress: Importing File
_catalogs/masterpage/default.master.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/_catalogs/masterpage?id=1.
[4/27/2009 9:24:44 AM]: Verbose: Ignoring item from manifest.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=4.
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Post Implementation Review?id=5.
[4/27/2009 9:24:44 AM]: Error: You are not allowed to respond again to this
survey. <-- **WTF!! I am not responding to the survey, I am restoring data***
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)
[4/27/2009 9:24:44 AM]: Progress: Importing ListItem
/myorg/it/pwa/JMR_PS_RIM/Lists/Announcements?id=1.


Can someone explain why this happens, Am I doing something wrong??

thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top