Subject: web.config problem
Posted By: pfsze Post Date: 10/19/2004 10:04:41 PM
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






Go to topic 20950

Return to index page 740
Return to index page 739
Return to index page 738
Return to index page 737
Return to index page 736
Return to index page 735
Return to index page 734
Return to index page 733
Return to index page 732
Return to index page 731