yawowcom001
05-19-2004, 04:19 AM
Same web.config, I can use in my local server. When I put on Discountasp.net Server, the error coming out, help, thanks!
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 8: <system.web>
Line 9: <!-- enable Forms authentication -->
Line 10: <authentication mode="Forms">
Line 11: <forms name="myAuth" loginUrl="login.aspx" protection="All" path="/" />
Line 12: </authentication>
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 8: <system.web>
Line 9: <!-- enable Forms authentication -->
Line 10: <authentication mode="Forms">
Line 11: <forms name="myAuth" loginUrl="login.aspx" protection="All" path="/" />
Line 12: </authentication>