Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Unable to upload Files to child site collection using REST

$
0
0

Dear All,

I referred this article http://www.shillier.com/archive/2013/03/26/uploading-files-in-sharepoint-2013-using-csom-and-rest.aspx for uploading documents to SP Document Library and it works fine for any document library under the root site collection( for example "http://<server name>/Shared Documents" but when i upload the same document to one of the sub site collection created using Managed Path( the site collection path is "http://<server name>/files/Case" and the library name is "records") it fails and i get below error:

The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again, Error Code -2130575251 Microsoft.SharePoint.SPException"

Any help suggestion to resolve this? I've almost tried everything to resolve this issue but no luck.. appreciate any help for this..

Regards,

Vishal




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>