FB_init

Wednesday, August 27, 2008

My daily SharePoint frustration - I

When trying to access the main page of the site:

Parser error

This page allows a limit of 100 controls

(or 200 controls).

Solution 1: change \inetpub\wwwroot\wss\VirtualDirectories\80\web.config
<safemode maxcontrols="n" ... where n is a larger number.

Solution 2: "iisreset"
in Windows Server 2003

or


c:\windows\system32\inetsrv\appcmd LIST apppool /apppool.name:"SharePoint - 80"
c:\windows\system32\inetsrv\appcmd recycle apppool "SharePoint - 80"
c:\windows\system32\inetsrv\appcmd stop site "SharePoint - 80"
c:\windows\system32\inetsrv\appcmd start site "SharePoint - 80"

in Windows Server 2008

Solution 2 worked for me :|

No comments: