Bug? Edit.aspx pages, Survey Branching and more…occurs after you have the August Cumulative Updates or later installed and have exported/imported a site
- You have applied the August Cumulative Update or any cumulative update after that (October, December or February).
- You have exported a site with STSADM using the -includeusersecurity switch
- You have imported the site somewhere else in the same SharePoint farm.
- Open a command prompt and run the following command:
- Verify that the export completed with 0 warnings, 0 errors.
- Back in Central Administration, go to Application Management > Create Site Collection.
- Give the site a title and URL, and use the blank site template.
- Add in the site collection owner, and press OK.
- Once the site has been created successfully, return to the command prompt.
- Run the following stsadm command:
- Verify that the import completed successfully, with 0 warnings and 0 errors.
- Browse to the site that was just imported, and go to Site Actions > Create.
- Select Survey.
- Enter “Branching Test” for the Name, and set Allow Multiple Responses to Yes. Press Next.
- Enter text in the question field for question 1. Leave the answer type as choice.
- Scroll to the bottom and press Next Question.
- Enter text for question 2. Leave the question type as choice.
- Scroll to the bottom and press next Question.
- Enter text for the third question. Leave the answer type as choice.
- Scroll to the bottom and press Finish.
- Click on Question 1.
- Scroll to the Branching Logic section at the bottom.
- Create branching by changing “Jump To” from No Branching to Question 2 or Question 3
- Click OK.
- Click on Branching Test in the breadcrumb to return to the actual survey.
- Choose “Respond to this Survey”
- Select any of the responses, and press next.
- You receive “Error: Access Denied”
- From the site that has been exported and imported into a blank site, go to View All Site Content . Click Create.
- Choose Announcements.
- Enter a name and choose to display the list on the quick launch. Click Create.
- Browse to your new announcement list.
- Click New > New Item.
- Enter a title and body, and press OK.
- Choose the item dropdown menu for the list item you created, and click Edit Item.
- You receive Error: Access Denied.
I've come across an interesting scenario that I believe may be a bug in SharePoint 2007. To summarize, if you meet the following conditions, you probably have this issue and don't even know it yet:
If you answered yes to the above prerequisites, or think that you will ever need to export/import a site, keep reading!
On a farm that has the August Cumulative Update or later applied, perform the following steps:
Stsadm.exe –o export –url http://<portalname>/sites/<Sitename> -filename c:<filename.cmp> –includeusersecurity –versions 4
In essence, you are exporting the site to a file, including any security settings, and any versioning that is present.
Stsadm.exe –o import –url http://<portalname>/<sitename -filename c:<filename.cmp> –includeusersecurity –updateversions 1
Note: The survey is using an Edit.aspx page.
You are also unable to edit an announcement that you create:
Looking for more proof? If the site that you exported originally had an Announcements list, as all sites created with the default Team Site template have, add an item to that pre-existing list and try to edit it. You can. This "issue" only occurs when an object that uses the Edit.aspx page was created after its site was exported/imported and the August Cumulative Update or later has been applied.
Conclusion
I haven't been able to pinpoint what it is in the August update that causes this behavior. I suspect that it has to do with security, specifically dealing with sites that are using inherited permissions. It doesn't seem to be an issue with what features are enabled – I've made sure that the destination site has the same features enabled that the source site does, prior to importing the site. I had originally thought it had something to do with .net 3.5 SP1, but I've tested this over and over again, and it is not dependant on any specific .net level.
If you are curious, you can try this on the prebuilt MOSS VHD from Microsoft. The MOSS VHD, as of this writing, is patched to either the SP1 or Infrastructure levels. Create a site and test it out, and then update through the August Cumulative update and try again. My bet is that you'll get the error message too.
I'd be really interested to hear from anyone who has either run into this issue, or who can debunk this. In the end – I'm just looking for a way to resolve this without rebuilding entire site collections from scratch.





