PDA

View Full Version : Help for Configuration Error!


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>

adwins04
05-24-2004, 08:02 AM
Hey,

This got me also just earlier tonight but i found out it was a fairly simple error to fix. Just go into you control panel of discountasp.net and go to Tools & Utilities/ Web Application Tool- then click on the folder that has the web.config file inside it and click the install application button. Good luck.

yawowcom001
06-01-2004, 02:45 AM
Cool! I got it! Many thanks!