Geeks With Blogs
Random Musing Putting it together one piece at a time...

I was trying to set up a development server recently on a 64 bit machine with Windows Sharepoint Services 3.0 and came across this. After installing the server farm, while Sharepoint tries to load the Central Administration page, it popped up with this error

This can be easily fixed by going to your parent web.config file under C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG and change to allowOverride="true", this allows the Sharepoint's webconfig to override the settings in your parent configuration file. Take note that your Machine.Config and Web.Config supersedes the settings in your custom web application's Web.Config file. Hence if there's a need to override the parent configuration, you have to explicitly allow that by setting the allowOverride to 'true' as mentioned above.

Posted on Tuesday, January 22, 2008 5:46 PM .Net , Sharepoint | Back to top

Comments on this post: Machine.Config, Web.Config and Configuration Inheritance

# re: Machine.Config, Web.Config and Configuration Inheritance
Requesting Gravatar...
Each .NET Framework version has only one machine.config file , at the same time, each web application has its own web.config file. Directories inside a web application can also have web.config files too.

The machine.config file will automatically installed when you install Visual Studio.Net and it exist exists in the c:\windows\\framework\version\config folder whereas web.config will automatically created when you create an ASP.Net web application project.

more about config files..

Left by perez on Jun 04, 2013 11:03 PM

Your comment:
 (will show your gravatar)

Copyright © Nestor | Powered by: