Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Parser Error Message: -Server Error in '/' Application.

Results 1 to 2 of 2
Share This Thread →
  1. #1
    bvargheese is offline Registered User
    Join Date
    Aug 2004
    Rep Power

    Parser Error Message: -Server Error in '/' Application.

    We have a web site built using classic asp.
    I have added few appx pages under the Virtual directory(myroot) for a new requirement.
    I have deployed the web.config in the myroot directory and created the bin directory and deployed the dlls.

    I am calling the aspx page from the asp site.
    Now the problem is,
    If I place the aspx pages under a new directory tree under myroot with out overlapping anyof the existing directories (asp directory tree), it works.

    but due to the application needs, I want to create the aspx directory under the classic asp folders..


    Now I get the following error..

    Could anyone please help.. (Virtual directory is already configured)

    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 28: "Forms", "Passport" and "None"
    Line 29: -->
    Line 30: <authentication mode="windows" />
    Line 31:
    Line 32:

    Source File: d:\data\iis\inetpub\wwwroot\myroot\web.config Line: 30

    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    Last edited by bvargheese; February 1st, 2005 at 06:18 AM. Reason: titel change

  2. #2
    maxtrixx is offline Contributing User
    Join Date
    Jul 2004
    ASP Free Forums
    Rep Power
    This usually means the folder you are running the app is not configured as an app folder. Go in your Microsoft Management Console and configure the folder where your aspx files reside as an app folder and let us know if it works.

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Cannot establish a connection to SQL Server 2K sp3a remotely
    By ngandy in forum Microsoft SQL Server
    Replies: 6
    Last Post: January 19th, 2005, 02:54 AM
  2. Web serverístatistical analysis
    By cso in forum ASP Development
    Replies: 0
    Last Post: April 19th, 2003, 11:35 AM
  3. Replies: 0
    Last Post: January 1st, 2002, 08:45 PM

ASP Free Advertisers and Affiliates