Tuesday, 27 September 2011

How to edit OOB(out of box) Pages of SharePoint in IE

Here is the following Steps to edit OOB pages of SharePoint in IE or without SharePoint Designer

E.g. : I want to edit the "Allitems.aspx" OOB  page of document library.

  1.  Open the Allitems.aspx page in IE. e.g. "http:/localhost/Documents/Forms/AllItems.aspx"
  2.  Add the following text after the URL "?PageView=Shared&ToolPaneView=2" e.g "http:/localhost/Documents/Forms/AllItems.aspx?PageView=Shared&ToolPaneView=2"
  3. It will open the OOB page in edit mode.
Thanks
Vikas dhingra





Increase Upload File size limit in document library

As per the Microsoft, there is 50 MB limit is suggested for a file to upload into SharePoint document library for performance optimization. But when i tried to upload the 49 MB file, it start giving 404 error. I searched event viewer and SharePoint logs but not able to find the error. 

Here is the solution to increase the upload file size limit in document library. Please follow the following steps
  1. Go to Central admin.
  2. Under the Application Management tab click Web Application General Settings.
  3. Increase the Maximum Upload Size. e.g. 50MB
  4. Press OK.
But these steps did not solve your problem,  you have to made the following entry in the "web.config"  of the website.

  1. Open Web.Config in any editor.
  2. Add the following section in web.config  under the "<Configuration>" Section if doesn't exists
<system.webServer> 
    <security> 
       <requestFiltering> 
           <requestLimits maxAllowedContentLength="52428800"/>  (50*1024*1024 = 52428800 bytes)
       </requestFiltering> 
    </security>
 </system.webServer>

3.Save the Web.config file
4. Do IISreset.

Now try to Upload the file of 49 or 50 MB. it would be uploaded successfully in document library.

Thanks
Vikas dhingra