Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Microsoft.SharePoint.SPException: The security validation for this page is invalid.

  Asked By: Alyssa    Date: Mar 28    Category: Sharepoint    Views: 2734

Creating folder/file through WebService

I am facing a problem while creating a Folder/file in Document Library through WebService where same code is giving desired results when i run it through Window Application.

Below is the stack trace i am getting :

Microsoft.SharePoint.SPException: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. ---> System.Runtime.InteropServices.COMException: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.
at
Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified)
at Microsoft.SharePoint.Library.a.a(String A_0, String A_1, Object A_2, PutFileOpt A_3, String A_4, String A_5, Int32 A_6, Int32 A_7, Object A_8, Object A_9)
--- End of inner exception stack trace ---

Share: 

 

No Answers Found. Be the First, To Post Answer.