Re: ASP, Error message

From: Brock Allen (ballen_at_develop.com.i_hate_spam_too)
Date: 03/17/05


Date: Thu, 17 Mar 2005 10:51:18 -0800

Looks like your error is telling you what's wrong:

"This error can be caused by a virtual directory not being configured as
an application in IIS."

Perhaps your directory isn't configured as a virtual directory in IIS?

-Brock
DevelopMentor
http://staff.develop.com/ballen

> I'm making a project for school. In school everything worked, but now
> that I've took it Home. I get following error message if I want to run
> it:
>
> "Error while trying to run project: Unable to start debugging on the
> web server. the project is not configured to be debugged."
>
> When I look to the web.config file with the option "view in browser",
> I'll get following error message:
>
> Server Error in '/ASP2TIAa' 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 37: by Microsoft that offers a single logon and core
> profile services for member sites.
> Line 38: -->
> Line 39: <authentication mode="Windows" />
> Line 40: <identity impersonate="true" />
> Line 41:
> Source File: E:\ASP\project\web.config Line: 39
>
> ----------------------------------------------------------------------
> ---------- Version Information: Microsoft .NET Framework
> Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
>
> User submitted from AEWNET (http://www.aewnet.com/)
>



Relevant Pages

  • RE: More than One
    ... As for ASP.NET 2.0 web application hosting in IIS website, ... single virtual directory which is configured as "Application"(have ... each application's runtime configuration collection are ... we suggest deploy separate applications (haven't particular ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: debugging errors
    ... The error message seems pretty informative. ... Have you checked the IIS ... An error occurred during the processing of a configuration ... can be caused by a virtual directory not being configured as an application ...
    (microsoft.public.vsnet.debugging)
  • Re: Logon using client certificate
    ... Right click on the virtual directory in the IIS MMC and check the ... An error occurred during the processing of a configuration file ... >below and modify your configuration file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS Bug
    ... I don't understanrfrrrr5d your configuration. ... IIS Supportability Lead ... Virtual directory is set to anonymous ... >>password and authentication fails. ...
    (microsoft.public.inetserver.iis.security)
  • Re: sql 2000 with a frontal IIS 6.0 template XML
    ... If you are using IIS6, you should enable some options on iis configuration ... > I would like to use http to send query to my sql server ... > I've configurated the virtual directory IIS with the sql tool ...
    (microsoft.public.sqlserver.xml)