Integrated security in ASP.net

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Integrated security in ASP.net

    Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to use integrated security to access the pages. I don't need the users to log in to the pages once they've logged into their PCs, and there is no external public access to the pages.

    If I turn off anonymous access, and turn on integrated security in IIS for the site, I just get a 'The page cannot be displayed' error in IE. The web.config has '<authentication mode="Windows" />' set in it, and the account I'm using to test the pages is an administrator. The whole VS.NET/IIS is running on my XP development PC.

    (If I try basic authentication it does work after it pops up the logon box.)

    What else do I have to configure for integrated security? Any suggestions gratefully received.

    Thanks

    Nick Guest

  2. Similar Questions and Discussions

    1. How To:Windows Integrated Security and workgroups
      Hi, I have setup my website to use windows integrated security in IIS (and disabled anonymous access) also added <identity impersonate="true"/>...
    2. CF 5 with IIS Windows Integrated Security
      Arrrgh! Having some difficulty getting a CF web app working on IIS. The NT security is set to not allow anonymous access (only windows...
    3. Integrated Security
      Hi I have come across this type of code at many places. New SqlConnection("Data Source=(local);Initial Catalog=XYZ;Integrated Security=SSPI;")...
    4. ASP.NET & Integrated Security setup?
      Hi, I've read quite a few places where it recommends you use integrated security in your connection string. I tried this in test page to...
    5. How to access to SQL with Integrated Security from ASP.Net app
      I'm trying to use impersonation for a specific account in order to access SQL with Integrated Security This account is member of the domain users...
  3. #2

    Default Re: Integrated security in ASP.net

    Please scroll down a little further on the error page. There should be a
    HTTP status code, eg 404 Not Found, or 500 Internal Server Error.

    Please tell us what the HTTP status code is.

    Cheers
    Ken

    "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    news:OHjcWEOYEHA.3012@tk2msftngp13.phx.gbl...
    Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to use
    integrated security to access the pages. I don't need the users to log in to
    the pages once they've logged into their PCs, and there is no external
    public access to the pages.

    If I turn off anonymous access, and turn on integrated security in IIS for
    the site, I just get a 'The page cannot be displayed' error in IE. The
    web.config has '<authentication mode="Windows" />' set in it, and the
    account I'm using to test the pages is an administrator. The whole
    VS.NET/IIS is running on my XP development PC.

    (If I try basic authentication it does work after it pops up the logon box.)

    What else do I have to configure for integrated security? Any suggestions
    gratefully received.

    Thanks


    Ken Schaefer Guest

  4. #3

    Default Re: Integrated security in ASP.net

    I don't get a status code, but at the bottom of the page I get a 'Cannot
    find server or DNS Error'. Turning on anonymous access (or basic
    authenitcation) again removes the error.

    Nick

    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:eM3UTjOYEHA.2500@TK2MSFTNGP09.phx.gbl...
    > Please scroll down a little further on the error page. There should be a
    > HTTP status code, eg 404 Not Found, or 500 Internal Server Error.
    >
    > Please tell us what the HTTP status code is.
    >
    > Cheers
    > Ken
    >
    > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    > news:OHjcWEOYEHA.3012@tk2msftngp13.phx.gbl...
    > Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to use
    > integrated security to access the pages. I don't need the users to log in
    to
    > the pages once they've logged into their PCs, and there is no external
    > public access to the pages.
    >
    > If I turn off anonymous access, and turn on integrated security in IIS for
    > the site, I just get a 'The page cannot be displayed' error in IE. The
    > web.config has '<authentication mode="Windows" />' set in it, and the
    > account I'm using to test the pages is an administrator. The whole
    > VS.NET/IIS is running on my XP development PC.
    >
    > (If I try basic authentication it does work after it pops up the logon
    box.)
    >
    > What else do I have to configure for integrated security? Any suggestions
    > gratefully received.
    >
    > Thanks
    >
    >

    Nick Guest

  5. #4

    Default Re: Integrated security in ASP.net

    If you are getting that error, then either IE can not reach the server at
    all, or the server is sending back no response.

    If you use WFetch from here (or similar tool), does IIS send anything back?
    [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]

    Cheers
    Ken

    "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    news:elu8PDPYEHA.3596@tk2msftngp13.phx.gbl...
    : I don't get a status code, but at the bottom of the page I get a 'Cannot
    : find server or DNS Error'. Turning on anonymous access (or basic
    : authenitcation) again removes the error.
    :
    : Nick
    :
    : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    : news:eM3UTjOYEHA.2500@TK2MSFTNGP09.phx.gbl...
    : > Please scroll down a little further on the error page. There should be a
    : > HTTP status code, eg 404 Not Found, or 500 Internal Server Error.
    : >
    : > Please tell us what the HTTP status code is.
    : >
    : > Cheers
    : > Ken
    : >
    : > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    : > news:OHjcWEOYEHA.3012@tk2msftngp13.phx.gbl...
    : > Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to use
    : > integrated security to access the pages. I don't need the users to log
    in
    : to
    : > the pages once they've logged into their PCs, and there is no external
    : > public access to the pages.
    : >
    : > If I turn off anonymous access, and turn on integrated security in IIS
    for
    : > the site, I just get a 'The page cannot be displayed' error in IE. The
    : > web.config has '<authentication mode="Windows" />' set in it, and the
    : > account I'm using to test the pages is an administrator. The whole
    : > VS.NET/IIS is running on my XP development PC.
    : >
    : > (If I try basic authentication it does work after it pops up the logon
    : box.)
    : >
    : > What else do I have to configure for integrated security? Any
    suggestions
    : > gratefully received.
    : >
    : > Thanks
    : >
    : >
    :
    :


    Ken Schaefer Guest

  6. #5

    Default Re: Integrated security in ASP.net

    I've confirmed its a problem with integrated security on this particular PC.
    The same site copied to my laptop works fine without anonymous access. Also,
    other sites on the this PC with anonymous access switched on work fine -
    while any site with integrated securtiy desn't work.

    Is this a re-install of IIS and the .net Framework?

    Nick


    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:uAVqI2bYEHA.3788@TK2MSFTNGP10.phx.gbl...
    > If you are getting that error, then either IE can not reach the server at
    > all, or the server is sending back no response.
    >
    > If you use WFetch from here (or similar tool), does IIS send anything
    back?
    >
    [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]
    >
    > Cheers
    > Ken
    >
    > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    > news:elu8PDPYEHA.3596@tk2msftngp13.phx.gbl...
    > : I don't get a status code, but at the bottom of the page I get a 'Cannot
    > : find server or DNS Error'. Turning on anonymous access (or basic
    > : authenitcation) again removes the error.
    > :
    > : Nick
    > :
    > : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    > : news:eM3UTjOYEHA.2500@TK2MSFTNGP09.phx.gbl...
    > : > Please scroll down a little further on the error page. There should be
    a
    > : > HTTP status code, eg 404 Not Found, or 500 Internal Server Error.
    > : >
    > : > Please tell us what the HTTP status code is.
    > : >
    > : > Cheers
    > : > Ken
    > : >
    > : > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    > : > news:OHjcWEOYEHA.3012@tk2msftngp13.phx.gbl...
    > : > Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to
    use
    > : > integrated security to access the pages. I don't need the users to log
    > in
    > : to
    > : > the pages once they've logged into their PCs, and there is no external
    > : > public access to the pages.
    > : >
    > : > If I turn off anonymous access, and turn on integrated security in IIS
    > for
    > : > the site, I just get a 'The page cannot be displayed' error in IE. The
    > : > web.config has '<authentication mode="Windows" />' set in it, and the
    > : > account I'm using to test the pages is an administrator. The whole
    > : > VS.NET/IIS is running on my XP development PC.
    > : >
    > : > (If I try basic authentication it does work after it pops up the logon
    > : box.)
    > : >
    > : > What else do I have to configure for integrated security? Any
    > suggestions
    > : > gratefully received.
    > : >
    > : > Thanks
    > : >
    > : >
    > :
    > :
    >
    >

    Nick Guest

  7. #6

    Default Re: Integrated security in ASP.net

    What exactly do you mean "it's a problem with integrated security"? Until
    you work out /where/ the communication between server and client is
    breaking, reinstalling anything is just a gamble. For example, if it's the
    /browser/ that is having problems with integrated security, then
    reinstalling IIS isn't going to fix anything.

    Cheers
    Ken


    "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    news:e9yRv9cYEHA.2672@tk2msftngp13.phx.gbl...
    : I've confirmed its a problem with integrated security on this particular
    PC.
    : The same site copied to my laptop works fine without anonymous access.
    Also,
    : other sites on the this PC with anonymous access switched on work fine -
    : while any site with integrated securtiy desn't work.
    :
    : Is this a re-install of IIS and the .net Framework?
    :
    : Nick
    :
    :
    : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    : news:uAVqI2bYEHA.3788@TK2MSFTNGP10.phx.gbl...
    : > If you are getting that error, then either IE can not reach the server
    at
    : > all, or the server is sending back no response.
    : >
    : > If you use WFetch from here (or similar tool), does IIS send anything
    : back?
    : >
    :
    [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]
    : >
    : > Cheers
    : > Ken
    : >
    : > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    : > news:elu8PDPYEHA.3596@tk2msftngp13.phx.gbl...
    : > : I don't get a status code, but at the bottom of the page I get a
    'Cannot
    : > : find server or DNS Error'. Turning on anonymous access (or basic
    : > : authenitcation) again removes the error.
    : > :
    : > : Nick
    : > :
    : > : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    : > : news:eM3UTjOYEHA.2500@TK2MSFTNGP09.phx.gbl...
    : > : > Please scroll down a little further on the error page. There should
    be
    : a
    : > : > HTTP status code, eg 404 Not Found, or 500 Internal Server Error.
    : > : >
    : > : > Please tell us what the HTTP status code is.
    : > : >
    : > : > Cheers
    : > : > Ken
    : > : >
    : > : > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    : > : > news:OHjcWEOYEHA.3012@tk2msftngp13.phx.gbl...
    : > : > Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to
    : use
    : > : > integrated security to access the pages. I don't need the users to
    log
    : > in
    : > : to
    : > : > the pages once they've logged into their PCs, and there is no
    external
    : > : > public access to the pages.
    : > : >
    : > : > If I turn off anonymous access, and turn on integrated security in
    IIS
    : > for
    : > : > the site, I just get a 'The page cannot be displayed' error in IE.
    The
    : > : > web.config has '<authentication mode="Windows" />' set in it, and
    the
    : > : > account I'm using to test the pages is an administrator. The whole
    : > : > VS.NET/IIS is running on my XP development PC.
    : > : >
    : > : > (If I try basic authentication it does work after it pops up the
    logon
    : > : box.)
    : > : >
    : > : > What else do I have to configure for integrated security? Any
    : > suggestions
    : > : > gratefully received.
    : > : >
    : > : > Thanks
    : > : >
    : > : >
    : > :
    : > :
    : >
    : >
    :
    :


    Ken Schaefer Guest

  8. #7

    Default Re: Integrated security in ASP.net

    I have found that this is a IE security option problem most of the time where
    the Security option for User Authentification is set to "Automatic logon with
    current username and password". If you set it to "Automatic logon only in
    Intranet zone" may help. Also you can check that Submit nonencrypted form
    data is enabled.
    john

    "Nick" wrote:
    > I've confirmed its a problem with integrated security on this particular PC.
    > The same site copied to my laptop works fine without anonymous access. Also,
    > other sites on the this PC with anonymous access switched on work fine -
    > while any site with integrated securtiy desn't work.
    >
    > Is this a re-install of IIS and the .net Framework?
    >
    > Nick
    >
    >
    > "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    > news:uAVqI2bYEHA.3788@TK2MSFTNGP10.phx.gbl...
    > > If you are getting that error, then either IE can not reach the server at
    > > all, or the server is sending back no response.
    > >
    > > If you use WFetch from here (or similar tool), does IIS send anything
    > back?
    > >
    > [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]
    > >
    > > Cheers
    > > Ken
    > >
    > > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    > > news:elu8PDPYEHA.3596@tk2msftngp13.phx.gbl...
    > > : I don't get a status code, but at the bottom of the page I get a 'Cannot
    > > : find server or DNS Error'. Turning on anonymous access (or basic
    > > : authenitcation) again removes the error.
    > > :
    > > : Nick
    > > :
    > > : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    > > : news:eM3UTjOYEHA.2500@TK2MSFTNGP09.phx.gbl...
    > > : > Please scroll down a little further on the error page. There should be
    > a
    > > : > HTTP status code, eg 404 Not Found, or 500 Internal Server Error.
    > > : >
    > > : > Please tell us what the HTTP status code is.
    > > : >
    > > : > Cheers
    > > : > Ken
    > > : >
    > > : > "Nick" <Nick@NTWorks.no.spam.fsnet.co.uk> wrote in message
    > > : > news:OHjcWEOYEHA.3012@tk2msftngp13.phx.gbl...
    > > : > Hi - I'm developing an Intranet app with ASP.NET/VB.NET and want to
    > use
    > > : > integrated security to access the pages. I don't need the users to log
    > > in
    > > : to
    > > : > the pages once they've logged into their PCs, and there is no external
    > > : > public access to the pages.
    > > : >
    > > : > If I turn off anonymous access, and turn on integrated security in IIS
    > > for
    > > : > the site, I just get a 'The page cannot be displayed' error in IE. The
    > > : > web.config has '<authentication mode="Windows" />' set in it, and the
    > > : > account I'm using to test the pages is an administrator. The whole
    > > : > VS.NET/IIS is running on my XP development PC.
    > > : >
    > > : > (If I try basic authentication it does work after it pops up the logon
    > > : box.)
    > > : >
    > > : > What else do I have to configure for integrated security? Any
    > > suggestions
    > > : > gratefully received.
    > > : >
    > > : > Thanks
    > > : >
    > > : >
    > > :
    > > :
    > >
    > >
    >
    >
    >
    john cowart Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139