The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
123 views

Creating website errror “The security validation for this page is invalid”

I have issu with the creating a website, the error says: "The security validation for this page is invalid" SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new ...
7
votes
2answers
3k views

Error with /_layouts/assetportalbrowser.aspx

The AssetPortalBrowser.aspx page is throwing an error when rendering list or library content (screenshot and ULS output below). This happens regardless of the site opened from or the list/library you ...
6
votes
2answers
2k views

ValidateFormDigest - when exactly does it need to be called?

Can someone explain to me exactly when and why I need to call SPUtility.ValidateFormDigest? Contrary to the spec, which says you need to call it before elevating privileges, I've had the following ...
2
votes
2answers
595 views

Unable to update list item - Additions to this web site have been blocked

I am developing a SharePoint job. In the public override void Execute(Guid targetInstanceId) method, my code goes: SPSecurity.RunWithElevatedPrivileges(delegate() { int count = ...
1
vote
1answer
172 views

What are “unsafe updates” for list items?

In the SharePoint 2010 server-side object model the SPWeb Class has a property "AllowUnsafeUpdates". What are unsafe updates in connection to list item changes? How are they to be delt with in code? ...
0
votes
1answer
381 views

SPFile Update fails, Exists returns true

I have a block of code wrapped in an if: mySite.AllowUnsafeUpdates(); SPFile mySPFile = web.GetFile(someURL); if (mySPFile.Exists) /*returns true, enters code block*/ { //... make some updates ...
0
votes
1answer
87 views

Foundation vs Enterprise Cumulative updates

So i'm going through my test builds and am curious if i should be installing Foundation CU's then installing Enterprise CU's on top of them? I am working with Enterprise SP and to me it doesn't make ...
2
votes
1answer
2k views

Warning about unsafe content when saving wikipage using Sharepoint Designer

After editing a wiki page using SharePoint Designer 2010 I have stared to get the message "Content in the embedded form field maybe changed by the server to remove unsafe content. Do you want to ...
1
vote
1answer
1k views

Updating managed metadata field issue

I'm copying documents between document libraries in different site collections. I have saved my source library template, uploaded to destination site collection and created library based on that ...
2
votes
2answers
699 views

Why do I get a security validation invalid error updating a field from a feature receiver?

Trying to change the title field of a document library to be required..doesn't want to work. SPList docLib = web.Lists["Process Aids"]; SPField field = docLib.Fields["Title"]; field.Title = "Display ...