<authentication mode="Windows"/>

Discussion in 'ASP .Net' started by inungh, Jul 28, 2008.

  1. inungh

    inungh Guest

    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

    <authentication mode="Windows"/>

    The full error message is following:

    D:\websites\begaspnet2db\web.config(80): Build (web): 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.


    I checked my SQL Express which uses Windows authentication.

    Should I check Visual Web Developer express as well?

    Your help is great appreciated,
     
    inungh, Jul 28, 2008
    #1
    1. Advertisements

  2. 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/archive/2005/04/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


    i> I tried to place a grid view on my design view and connect to new
    i> data source to local SQL Express server Northwind database. I got
    i> error message on line 80
    i>
    i> <authentication mode="Windows"/>
    i>
    i> The full error message is following:
    i>
    i> D:\websites\begaspnet2db\web.config(80): Build (web): It is an error
    i> to use a section registered as allowDefinition='MachineToApplication'
    i> beyond application level. This error can be caused by a virtual
    i> directory not being configured as an application in IIS.
    i>
    i> I checked my SQL Express which uses Windows authentication.
    i>
    i> Should I check Visual Web Developer express as well?
    i>
    i> Your help is great appreciated,
    i>
     
    Michael Nemtsev [MVP], Jul 28, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joergen Bech
    Replies:
    2
    Views:
    3,490
    Joergen Bech
    Jul 2, 2005
  2. John J Lee
    Replies:
    3
    Views:
    818
    bruno at modulix
    Dec 1, 2005
  3. DaBrain
    Replies:
    0
    Views:
    589
    DaBrain
    Nov 2, 2006
  4. WT
    Replies:
    2
    Views:
    692
    Steven Cheng[MSFT]
    May 29, 2007
  5. Edward Loper

    mmm-mode, python-mode and doctest-mode?

    Edward Loper, Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    653
    Edward Loper
    Aug 9, 2007
  6. zlf
    Replies:
    0
    Views:
    451
  7. donet programmer
    Replies:
    0
    Views:
    585
    donet programmer
    Jan 18, 2008
  8. Christoph Erdle
    Replies:
    0
    Views:
    261
    Christoph Erdle
    Jul 30, 2003
Loading...