I finished a web site using Visual Studio 2005 ( ASP.NET ) and C# language.
In the Visual Studio internal server, it works perfectly, however after transferring the “SI” folder ( that contains the web site pages ) inside the “C:\inetpub\wwwroot” folder, and I typed its URL address in
the browser, http://pegasus/SI/default.aspx, I get this error message:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'c:\inetpub\wwwroot\web.config' because access is denied.
paradise_wol...
Member
448 Points
183 Posts
My ASP.NET 2.0 Web Pages do not run inside IIS
Jul 21, 2006 12:28 AM|LINK
I finished a web site using Visual Studio 2005 ( ASP.NET ) and C# language.
In the Visual Studio internal server, it works perfectly, however after transferring the “SI” folder ( that contains the web site pages ) inside the “C:\inetpub\wwwroot” folder, and I typed its URL address in the browser, http://pegasus/SI/default.aspx, I get this error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server Error in '/SI' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'c:\inetpub\wwwroot\web.config' because access is denied.
Source Error:
[No relevant source lines]
Source File: c:\inetpub\wwwroot\web.config Line: 0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The strange thing is that there is no "web.config" file inside "wwwroot" folder.
How can I fix this problem and make the web site run inside IIS ?
( My OS is Windows XP )