web.config problem
Hi my friends,
When I was tried to open ch7 in my localhost browser, I got the following error. Can anyone tell me what is wrong about the web.cfg. why can not I open it and how to fix it?
say "Thank you" first,
Steven
...........................................
Server Error in '/' 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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 1: <configuration>
Line 2: <system.web>
Line 3: <authentication mode="Forms">
Line 4: <forms name=".WroxDemo" loginUrl="login.aspx"
Line 5: protection="All" timeout="60" />
Source File: C:\BegASPNET11\Ch17\web.config Line: 3
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
|