Home All Groups Group Topic Archive Search About

<authentication mode="Windows" />

Author
14 May 2006 2:51 PM
Frank Dulk

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:
Line 41:     <!--  AUTHORIZATION

Source File: c:\inetpub\wwwroot\pscep\psc\PesquisaTalao\web.config    Line:
39
Author
14 May 2006 10:53 PM
Gaurav Vaish (EduJini.IN)
> 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.

Are you using shared hosting by any chance?

Machine.config and Web*.config... accidently the attribute may have been
added.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://www.edujini.in
-------------------
Are all your drivers up to date? click for free checkup

Author
16 May 2006 12:03 AM
Frank Dulk
I am with shared folder.
I created the virtual directory.

The worst is that works in my company (W2k) but in my house (wXP) it doesn't
work.

What could be?


meu web.config

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <system.web>

    <!--  DYNAMIC DEUBG COMPILATION
          Set compilation debug="true" to insert debugging symbols (.pdb
information)
          into the compiled page. Because this creates a larger file that
executes
          more slowly, you should set this value to true only when debugging
and to
          false at all other times. For more information, refer to the
documentation about
          debugging ASP.NET files.
    -->
    <compilation defaultLanguage="vb" debug="true" />

    <!--  CUSTOM ERROR MESSAGES
          Set customErrors mode="On" or "RemoteOnly" to enable custom error
messages, "Off" to disable.
          Add <error> tags for each of the errors you want to handle.

          "On" Always display custom (friendly) messages.
          "Off" Always display detailed ASP.NET error information.
          "RemoteOnly" Display custom (friendly) messages only to users not
running
           on the local Web server. This setting is recommended for security
purposes, so
           that you do not display application detail information to remote
clients.
    -->
    <customErrors mode="RemoteOnly" />

    <!--  AUTHENTICATION
          This section sets the authentication policies of the application.
Possible modes are "Windows",
          "Forms", "Passport" and "None"

          "None" No authentication is performed.
          "Windows" IIS performs authentication (Basic, Digest, or
Integrated Windows) according to
           its settings for the application. Anonymous access must be
disabled in IIS.
          "Forms" You provide a custom form (Web page) for users to enter
their credentials, and then
           you authenticate them in your application. A user credential
token is stored in a cookie.
          "Passport" Authentication is performed via a centralized
authentication service provided
           by Microsoft that offers a single logon and core profile services
for member sites.
    -->
    <authentication mode="Windows" />

    <!--  AUTHORIZATION
          This section sets the authorization policies of the application.
You can allow or deny access
          to application resources by user or role. Wildcards: "*" mean
everyone, "?" means anonymous
          (unauthenticated) users.
    -->
    <authorization>
        <allow users="*" /> <!-- Allow all users -->

            <!--  <allow     users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
                  <deny      users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
            -->
    </authorization>

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page
within an application.
          Set trace enabled="true" to enable application trace logging.  If
pageOutput="true", the
          trace information will be displayed at the bottom of each page.
Otherwise, you can view the
          application trace log by browsing the "trace.axd" page from your
web application
          root.
    -->
    <trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />


    <!--  SESSION STATE SETTINGS
          By default ASP.NET uses cookies to identify which requests belong
to a particular session.
          If cookies are not available, a session can be tracked by adding a
session identifier to the URL.
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
            cookieless="false"
            timeout="20"
    />

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application.
    -->
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />

  </system.web>

</configuration>




Show quoteHide quote
"Gaurav Vaish (EduJini.IN)" <gaurav.vaish.nospam@nospam.gmail.com> escreveu
na mensagem news:eZxM8k6dGHA.5016@TK2MSFTNGP04.phx.gbl...
>> 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.
>
> Are you using shared hosting by any chance?
>
> Machine.config and Web*.config... accidently the attribute may have been
> added.
>
> --
> Cheers,
> Gaurav Vaish
> http://www.mastergaurav.org
> http://www.edujini.in
> -------------------
>
>
Author
16 May 2006 1:40 AM
Gaurav Vaish (EduJini.IN)
>I am with shared folder.
> I created the virtual directory.


Do you mean a mapped drive or a UNC?


--
Cheers,
Gaurav
http://www.edujini.in
-------------------
Author
17 May 2006 1:32 AM
Frank Dulk
I got, I had to create another virtual folder


Show quoteHide quote
"Gaurav Vaish (EduJini.IN)" <gaurav.vaish.nospam@nospam.gmail.com> escreveu
na mensagem news:uI7JFpIeGHA.4128@TK2MSFTNGP05.phx.gbl...
> >I am with shared folder.
>> I created the virtual directory.
>
>
> Do you mean a mapped drive or a UNC?
>
>
> --
> Cheers,
> Gaurav
> http://www.edujini.in
> -------------------
>
>

Bookmark and Share