Re: Web Config Error What may be the problem?

From: Brock Allen (ballen_at_NOSPAMdevelop.com)
Date: 03/29/05


Date: Tue, 29 Mar 2005 10:01:55 -0800

Yes, web.config with settings like <authentication> needs to be deployed
to the root directory of your application. This also means that you've configured
this directory in IIS as an independant application (aka virtual directory).

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

> Hi everybody,
>
> I made my first ASP.Net application and deployed it.
>
> There came an error on the server:
>
> What may be wrong in web.config file , or do I have to put it on to
> the root of my site.
>
> Thanks for any help.
>
> Arif Çimen.
> 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 35: by Microsoft that offers a single logon and core
> profile
> services for member sites.
> Line 36: -->
> Line 37: <authentication mode="Forms" />
> Line 38: <!-- AUTHORIZATION Windows
> Line 39: This section sets the authorization policies of the
> application. You can allow or deny access
> Source File: C:\Webroot\tr\com\prowise\Proje Talep
> Formu\WebApplication1\web.config Line: 37
>
> ----------------------------------------------------------------------
> ----------
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
> ASP.NET Version:1.1.4322.2032
>



Relevant Pages

  • Re: Going nuts - Configuration Error
    ... I've turnded off indexing in the IIS. ... An error occurred during the processing of a configuration file ... partial, or location-based assembly bind). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VS.NET 2005 and the "allowDefinition=MachineToApplication" error
    ... allowDefinition='MachineToApplication' in its configuration file. ... No, it's not, but the same rules apply for the internal web server as for IIS. ... If you need to use 'MachineToApplication' sections, you must create a virtual directory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DCOM calls fails - access denied
    ... That's exactly how I understood the ASP.NET security. ... But why does one configuration work but not the other? ... should get the token from IIS. ... If you set there a domain account, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: WCF webservice over SSL and without
    ... encryption/signature is handled by SOAP instead of HTTP (IIS) and should be ... I'm assuming there's some point of endpoint configuration I need to do. ... Are you going to use SSL over Http(the most common and convenient ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Remote Web Workplace logon problem
    ... After you restore metabase from another computer, it will copy all IIS ... configuration information from that ... You can also try reinstall monitoring component by following these steps. ... Select Windows Small Business Server 2003 and then click Change/Remove. ...
    (microsoft.public.windows.server.sbs)