If you are getting “Cannot run Windows SharePoint Services on this page…” error while trying to upload multiple files in Sharepoint and you are banging your head against the wall then don’t worry you are not alone
It is the shared pain by many of us facing the legacy errors of FrontPage Server extensions in Sharepoint. This error occurs if you modify Upload.aspx located in layouts folder. First and foremost, do not modify the standard upload.aspx or any other standard file in Sharepoint as it is not supported by Microsoft and your change will be overwritten by any new service pack or hot fix.
So having said that, if you have made a copy of upload.aspx, customized it and trying to use it then you may certainly face this error. Following is the solution to fix it:
- Open your copy of upload.aspx and search for
<input TYPE="hidden" NAME="_charset_" VALUE="utf-8"><!--webbot bot="FileUpload" endspan i-checksum="45034" --> - Update the following string as follows
<input TYPE="hidden" NAME="Cmd" VALUE="Save"><!--webbot bot="FileUpload" endspan --> - Save your file.
- Reset IIS
- Try to use the file in Sharepoint and Bingo!!!! no more error
:):)

Hi,
Thanx. Its working..
Comment by Selva — April 28, 2009 @ 5:05 am |
[...] source of this post was from Namwar Rizvi’s Sharepoint Blog . Many thanks to him for providing me this [...]
Pingback by Error When Uploading Multiple Files « SNR Sharepoint Blog — May 3, 2009 @ 12:53 pm |
Hi,
I could not find the line
I opened two upload.aspx file from two diffrent env. but i could not find this lines.
please advise.
thanks for your help
Fawzy
Comment by Fawzy — June 10, 2009 @ 12:39 pm |
Hi, Thanks for solutions Its working fine
Comment by praveen kumar — October 16, 2009 @ 7:23 am |