The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
12 views

Updates are currently disallowed on Get requets, Code behind trying to update list item

I am using the below code to get id from url and get list item, then update it. But i am getting an error Updates are currently disallowed on Get requets. To allow updates on a GET , set ...
1
vote
1answer
150 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 ...
7
votes
2answers
3k 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
747 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
181 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
412 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
89 views

Foundation vs Enterprise Cumulative updates

I'm going through my test builds and I 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
738 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 ...