Help for Configuration Error!

Discussion in 'ASP.NET / ASP.NET Core' started by yawowcom001, May 19, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. 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>
     
  2. 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.
     
  3. Cool! I got it! Many thanks!
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page