<authentication mode="Windows"/>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • inungh

    <authentication mode="Windows"/>

    I tried to place a grid view on my design view and connect to new data
    source to local SQL Express server Northwind database. I got error
    message on line 80

    <authenticati on mode="Windows"/>

    The full error message is following:

    D:\websites\beg aspnet2db\web.c onfig(80): Build (web): It is an error
    to use a section registered as allowDefinition ='MachineToAppl ication'
    beyond application level. This error can be caused by a virtual
    directory not being configured as an application in IIS.


    I checked my SQL Express which uses Windows authentication.

    Should I check Visual Web Developer express as well?

    Your help is great appreciated,

  • Michael Nemtsev [MVP]

    #2
    Re: &lt;authenticat ion mode=&quot;Wind ows&quot;/&gt;

    Hello inungh,

    Check which folder is used as IIS virtual folder, because seems that your
    web.config locates above
    Check if your web.config is well-formed xml file, because smth could be wrong
    when you added the SQL connection

    Read more details about this there http://geekswithblogs.net/ranganh/ar.../25/37609.aspx


    ---
    WBR,
    Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    iI tried to place a grid view on my design view and connect to new
    idata source to local SQL Express server Northwind database. I got
    ierror message on line 80
    i>
    i<authenticatio n mode="Windows"/>
    i>
    iThe full error message is following:
    i>
    iD:\websites\be gaspnet2db\web. config(80): Build (web): It is an error
    ito use a section registered as allowDefinition ='MachineToAppl ication'
    ibeyond application level. This error can be caused by a virtual
    idirectory not being configured as an application in IIS.
    i>
    iI checked my SQL Express which uses Windows authentication.
    i>
    iShould I check Visual Web Developer express as well?
    i>
    iYour help is great appreciated,
    i>


    Comment

    Working...