Re: error in generated project

From: Mike Smith (test_at_test.com)
Date: 07/20/04


Date: Tue, 20 Jul 2004 12:22:20 +0800

did u create this application or trying to load a sample itself ?
if its a sample u just copied into the wwwroot folder to run, you're
definitely gonna run into this error. The solution is as it suggested..
configure the virtual directory to run as an application..

  a.. Open IIS settings (right click My Computer , select Manage >
Services&Applications >IIS >WebSite > Default WebSite) and browse to find
the web application folder u desire
  b.. Right click the folder, select properties.
  c.. On the Directory Tab, click Create to create an IIS application for
this folder, and then click OK.

"menkaur" <menkaur@discussions.microsoft.com> wrote in message
news:F6F62E77-E03F-4EAB-9318-22F5D8B9DF59@microsoft.com...
> I tried to generate asp Application project( I'm using VS .Net 2003).
After I did ,following errors occurred (runtime):
> --------------------------------------------------------------------------
------------------
> 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 44: by Microsoft that offers a single logon and core
profile services for member sites.
> Line 45: -->
> Line 46: <authentication mode="Windows" />
> Line 47:
> Line 48: <!-- AUTHORIZATION
> -------------------------------------------------------------------------
----------------------
>
> 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 74: To disable cookies, set sessionState cookieless="true".
> Line 75: -->
> Line 76: <sessionState
> Line 77: mode="InProc"
> Line 78: stateConnectionString="tcpip=127.0.0.1:42424"
>
> --------------------------------------------------------------------------
----------------------
>
> Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse error
details and modify your source file appropriately.
>
> Parser Error Message: Could not load type 'help.WebForm1'.
>
> Source Error:
>
>
> Line 1: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs"
AutoEventWireup="false" Inherits="help.WebForm1" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
> Line 3:
>
> --------------------------------------------------------------------------
-----------------
>
> After removing all this errors application is running correctly, but I
can't use codebing. What is the problem?
>

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004


Relevant Pages

  • Re: Virtual Directory not working
    ... from www.stf.com folder and merges it with www.stf.com/stage/ folder. ... An error occurred during the processing of a configuration ... Source Error: ... The virtual path '/skins/mth/MainPage.ascx' maps to another application, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Virtual Directory not working
    ... from www.stf.com folder and merges it with www.stf.com/stage/ folder. ... An error occurred during the processing of a configuration ... Source Error: ... The virtual path '/skins/mth/MainPage.ascx' maps to another application, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Default app?
    ... Yes, there is, but for *any* page served by IIS, not just for pages served by ASP.NET. ... But the site at its root is not configured as a .net 'application' either ... if -as you say- it resides in the web-doc root folder. ... No extra configuration is needed. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Viewing an ASPX page
    ... You need to configure an Application in IIS. ... Set the security level to medium. ... What would be better is if you put your files in a sub folder under the ... An error occurred during the processing of a configuration ...
    (microsoft.public.dotnet.general)
  • Re: IIS6.0 & Shared Folders
    ... issue is by-design since the user did not configure IIS to achieve the ... I've a web site with storage on a shared folder on a NAS. ... configuration, under the tab 'protection directory', disabled 'anonimous ... if the user don't have the permission on them!) ...
    (microsoft.public.inetserver.iis)