[asp.net] Server Error in '/' Application. ASP.NET

http://www.velocityreviews.com/forums/t123353-configuration-error.html


If you want to use inetpub/wwwroot/aspnet as your application, remove this line :

Line 26: and any other lines which define MachineToApplication beyond application level

If you want to use d:\inetpub\wwwroot\aspnet\begin\chapter02\ as your application, create an IIS Application which points to d:\inetpub\wwwroot\aspnet\begin\chapter02\


maybe you can refer link above. For my application, my web.config store in d:\inetpub\wwwroot\aspnet\begin\chapter02\ and when i move the web.config to d:\inetpub\wwwroot\aspnet and the problem is solve. Please check also does your application have two web.config file.