Parser error using masterpages - IIS is looking for a web.config file in the wrong place
Posted on 2007-07-19
I have a masterpage and a directory structure like this:
The opening default.aspx page works fine, but then if I click on the menu to go to deployments/manage.aspx, I get the following error:
Server Error in '/Blah_v1.2' Application.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details beow and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'F:\visual STudio 2005\WebSites\Blah_v1.2\deployments' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform.
[No relevant source lines]
Source File: F:\Visual Studio 2005\Webites\Blah_v1.2\deployments\web.config Line:0
So why is it looking for a web.config file in the deployments directory when there is already one at root level?
Do I have to put my masterpage in its own masterpage directory? Is that what a "secured directory" means?