1: callstack, customerrors
The SharePoint error interface usually provides some fuzzy error information, which is not easy for us to locate the error. Therefore, we need to modify web. config to obtain detailed error information.
< Customerrors Mode = "On" />
Change
< Customerrors Mode = "Off" />
Second:
< Safemode Maxcontrols = "200" Callstack = "False" Directfiledependencies = "10" Totalfiledependencies = "50" Allowpageleveltrace = "False" >
Change
< Safemode Maxcontrols = "200" Callstack = "True" Directfiledependencies = "10" Totalfiledependencies = "50" Allowpageleveltrace = "False" >
The detailed error is displayed after modification.
2: safecontrol
In Sharepoint, only trusted controls can be used in the system. SharePoint will only load the controls defined by the safecontrol element in the web. config file.
< Safecontrol Assembly = "Microsoft. Sharepoint. Portal, version = 11.0.0.0, culture = neutral, publickeytoken = 71e9bce111e9429c" Namespace = "Microsoft. Sharepoint. Portal. webcontrols. Alerts" Typename = "*" Safe = "True" />
3: blod Cache
SharePoint files are stored in the database. If your Web ApplicationProgramLarge files that contain images and multimedia files, such as disk-based Cache, accelerate file reading because the page cache is stored in the file system on the front-end web server, thus reducing database traffic. The specific configuration is as follows:
< Blobcache Location = "C: \ blobcache" Path = "\. (GIF | JPG | PNG | CSS | JS) $" Maxsize = "10" Enabled = "False" />
4: trust level
We developed SharePoint and put *. DLL files in the bin directory of the Web application, or in GAC. If you put it under the bin, there will be a problem of security trust. We need to set the trust level to full.
< Trust Level = "Wss_minimal" Originurl = "" />
Change
< Trust Level = "Full" Originurl = "" />
5: proxys settings
Proxy: If a proxy server is located between the Sharepoint Server Farm and the Internet, if you access an external RSS feed, it cannot be accessed. You need to modify web. config.
< System.net >
< Defaultproxy >
< Proxy Usesystemdefault = "False" Proxyaddress = "Http: // proxy" Bypassonlocal = "False" />
</ Defaultproxy >
</ System.net >
One problem is that the proxy server uses anonymous authentication. If not?
< Defaultproxy Usedefaultcredentials = "True" >
< Proxy Usesystemdefault = "False" Proxyaddress = Http: // proxyservername" Bypassonlocal = "True" />
< Bypasslist >
< Add Address = "[A-Z] + \. domain \. Biz" />
< Add Address = "[A-Z] + \. domain2 \. Biz" />
</ Bypasslist >
</ Defaultproxy >
The usedefacrecredentials parameter is set to true, and the creden of the logged-on user are passed to the proxy server.