|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
windows authentication
Hi,
I have developed a website using ASP.Net and C#. The issue I am facing is that on some of the links I get the default Windows authentication dialog. It happens only on some of the links even though the link points to the same page. I am clueless as this happens even on the development machine ie on localhost. The web.config has the setting as Authentication=None. Does anybody have any suggestions as to why this might be happening. Thanks, Ranjan.
__________________
Ranjan Kumar |
|
#2
|
|||
|
|||
|
that's just the .net authentication, that has nothing to do with NT. Open up IIS or whatever server you're using and check the security. Sometimes pages are set up to allow annoymous browsing, in which case NT authentication isn't used, and when anonymous browsing is off, you have to use NT credentials to get in. Another problem is if the server is on a domain and your computer is not authenticated against that domain, it will prompt you to enter your password, that shouldn't be speradic and should be a one time login for when you enter the site though....so i guess ignore that last statement.
|
|
#3
|
||||
|
||||
|
You need to turn on the Impersonate flag. It's in the machine.config configuration file most likely found in a directory like \WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG. Change it to true and now IIS will use the account you specify, just like it always did in regular ASP.
-Dave |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > windows authentication |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|