Tuesday, November 13, 2012

Problem with uploading multiple documents. Cannot run Microsoft SharePoint Foundation on this page

Sometimes while you try to upload multiple documents into Sharepoint the below error comes
Problem with uploading multiple documents. Cannot run Microsoft SharePoint Foundation on this page: "http://sitename/documents/Forms/Upload.aspx" 
Usually this error comes up when Upload.aspx file is modified. Perform the below steps to fix it : 
1) Make a copy of Upload.aspx (just to be on the safer side,it is always good to have a copy before you start modifying a file ;-))
2) Open the upload.aspx file and search for
<input TYPE="hidden" NAME="_charset_" VALUE="utf-8"><!--webbot bot="FileUpload" endspan i-checksum="45034" -->
3) Update the following string as follows
<input TYPE="hidden" NAME="Cmd" VALUE="Save"><!--webbot bot="FileUpload" endspan  -->
4) Save your file.
5) Reset IIS

Hope this helped...

2 comments:

  1. Can you be more spesific? before I copy (step 1) what should I do? Download from internet?
    Thanks,

    ReplyDelete
  2. Please make a copy of Upload.aspx on your machine(located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS).Then modify that file.

    ReplyDelete