Wednesday, February 5, 2014

Web.config files in SharePoint

Web.config files in SharePoint
                            


web.config files are contained in the following folders within the file system, I am giving A brief explanation on which web. Config do what as per my experience.

1.    Local Drive:\Inetpub\wwwroot — The web.config file of the top-level content root folder that defines configuration settings for the virtual server of the default Web site in the Windows SharePoint Services deployment. In addition, the content root folder includes a \wpresources folder that contains a web.config file used in Web Part resources.

2.    Local Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources — A web.config file that is used in Web Part resources for the Global Assembly Cache (GAC).

3.    Local Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12,14 or 15\CONFIG — The web.config file and other .config files that together define configuration settings for extending other virtual servers.

4.    Local Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12,14 or 15\ISAPI — The web. Config file that defines configuration settings for the /_vti_bin virtual directory.

5.    Local Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12,14 or 15\TEMPLATE\LAYOUTS — The web. Config file that defines configuration settings for the /_layouts virtual directory.

6.    Local Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12,14 or 15\TEMPLATE\ADMIN\Locale_ID — The web. Config file that defines configuration settings for pages used in SharePoint Central Administration.

When a virtual server is extended with Windows SharePoint Services, a top-level web. Config file is placed within the content root folder of the extended virtual server, which defines configuration settings for the server such as HTTP handling for Web Parts. Another web. Config file used for Web Part resources is placed in a \wpresources folder within the same content root folder.

Important  The web. Config files in the \wpresources folders should not be modified. The settings of these files disallow pages or items that can be compiled. If these settings are changed, the security state for the compiled code will be very different from the security state for code that runs from the Local Drive:\Inetpub\wwwroot directory.



Please Comment if you need Any Help.Your Feed back is always Welcome.I Am Happy to Help !!!!!

No comments:

Post a Comment

Your feedback is Much Appreciated. I will try to reply to your queries as soon as possible!!Anil Avula

ShareThis

X