Ask a Question related to ASP.NET Security, Design and Development.
-
Nick #1
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
-
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"/>... -
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... -
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;")... -
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... -
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... -
Ken Schaefer #2
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
-
Nick #3
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...to> 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 inbox.)> 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>
> What else do I have to configure for integrated security? Any suggestions
> gratefully received.
>
> Thanks
>
>
Nick Guest
-
Ken Schaefer #4
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
-
Nick #5
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...back?> 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[url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]>a>
> 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 beuse> : > 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> : > 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
-
Ken Schaefer #6
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
-
john cowart #7
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...> back?> > 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> [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en[/url]> >> a> >
> > 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> use> > : > 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>> > : > 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



Reply With Quote

