Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I have configured my web site with windows authentication in IIS 7.5(OS:- windows server 2008 R2), additionally changed provider order 1.NTLM(at top) 2. Negotiate.

meawhile i restored application database twice due to some record missmatch problem.

But when i access website from remote machine it ask for basic authentication login.
how it is possible even there are windows authentication?

very strange behaviour!!

Appreciate your help, please advise me...
Posted
Comments
Christian Graus 18-Jul-12 5:05am    
Did you consider posting your code ? What makes you think your website would not ask for a login ?

1 solution

I believe you are talking of a username/password prompt that you get on your remote machine. If so, it is because of the browser setting.

IE has an option to use the logged in user's username-password to login into a webpage. Following setting does this:
For IE: Tools -> Internet Options -> Security -> Local Intranet -> Custom Level (Security settings) -> User Authentication -> Logon -> "Automatic Logon with current username & password"

If you are saying something else then you need to elaborate more.
 
Share this answer
 
Comments
sanjayv.gade 18-Jul-12 5:39am    
Even it prompts for login, i entered valid credentials but it fails and give unauthenticated users.
Login prompt window contains following warning message:
Warning: This server is requesting that your username and password be sent in an insecure manner (basic authentication without a secure connection).
It is for Basic authentication but i configured my application with windows authentication.

It was asking windows authentication login screen two days before and it was working fine.
Problem started from yesterday after restoring database.
Sandeep Mewara 18-Jul-12 5:54am    
You should add these in your question from before. Posting half cooked question is never good.

Check if the IIS is configured for windows authentication or not. Connection string uses true identity.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900