Previous Next

Thread: Error message: authentication mode="Forms" _ Solved

Last post 05-18-2008 11:08 PM by steve schofield. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 05-17-2008, 6:36 AM

    • spa
    • Top 500 Contributor
    • Joined on 02-09-2007, 2:20 PM
    • Posts 9
    • spa

    Error message: authentication mode="Forms" _ Solved

    Hi all,

    Could anyone please help me to see what should do here?

    I am using XP, trying to test a website using the local IIS, and I got the following 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 14:                 <compilation defaultLanguage="c#" debug="true"/>Line 15:                 <pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>Line 16:                 <authentication mode="Forms">Line 17:                             <forms name=".YAFNET_Authentication" timeout="525600"/>Line 18:                 </authentication>


    Source File: c:\inetpub\wwwroot\yetanotherforumnet\web.config    Line: 16

    Appreciate your helps. Thanks. 
  • 05-18-2008, 11:08 PM In reply to

    Re: Error message: authentication mode="Forms" _ Solved

    Go into IIS Manager and mark the virtual directory as an application.

    Steve Schofield
    Windows Server MVP - IIS
    MCTS - Windows Hosting

    http://weblogs.asp.net/steveschofield
    http://www.iislogs.com
    http://www.orcsweb.com/
    Managed Hosting Solutions
    #1 in Service and Support
Page 1 of 1 (2 items)
Page view counter