Visual Web Developer - Configuration Error

Discussion in 'Visual Studio' started by piess, Oct 17, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Help,

    I am new to VWD, I have had this error message.

    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 50: -->
    Line 51:
    Line 52: <authentication mode='Forms' />
    Line 53:
    Line 54: <!--



    What do I need to do?

    Thanks.
     
  2. It's a common error message, without additional info this one is hard to diagnose.

    However:
    1) Are you actually using Forms authentication?
    2) Can the file being referenced for the Forms authentication be found?
    i.e. If you're possibly using the root "~" identifier for this form.

    If you can't find the problem run a few searches with my Google asp.net Search CoOp:
    http://google.com/coop/cse?cx=009244845836111659857%3Albvxsjj8mho
     
  3. The only reason I have changed it to Forms authentication is because it wouldn't allow windows authentication.

    I haven't even got anything on the page yet apart from some HTML text.
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    What is the URL that produces this error? This error usually means that the application is not created as an application.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. In that case just remove it for now.
     
  6. It's ok, i have solved the problem.


    I had my site in a sub folder, now I have removed that sub folder and put it in the main one it seems to work ok.


    Thanks everyone for your help.
     
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