I did something on my web site and now it allows only Basic authentication(i am using .net client code to access web services) for application under my default web site.
Earlier Windows integrated authentication was working fine. I even tried removing "Basic authentication" option from add remove windows feature. but still site works only with Basic authentication(user name and password in clear text)
I said "i did something", because earlier it used to work fine with Windows Integrated authentication. It is a test machine and i do lot of R&D stuff on it. I don't know exactly which R&D turned off windows integrated authentication.
It is IIS 7.0, i have removed Basic authentication from Windows Add/Remove feature. basic authentication doesn't show up as an option in IIS web application settings. But still application works only with Basic authentication.
web config has "WIndows" as authentication mode.
How can i specify Basic Authentication in web.config file??
Please also make sure IE support Integrated Windows Authentication.
1. In Internet Explorer, on the Tools menu click Internet Options.
2. Click the Advanced tab, in the Security group select the Enable Integrated Windows Authentication (requires restart) check box, and then click OK.
Zhao Ji Ma
Sincerely,
Microsoft Online Community Support
“Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
singhhome
15 Posts
default web site only accepts Basic authentication
May 01, 2008 06:41 PM|LINK
I did something on my web site and now it allows only Basic authentication(i am using .net client code to access web services) for application under my default web site.
Earlier Windows integrated authentication was working fine. I even tried removing "Basic authentication" option from add remove windows feature. but still site works only with Basic authentication(user name and password in clear text)
ma_khan
869 Posts
MVP
Moderator
Re: default web site only accepts Basic authentication
May 01, 2008 08:53 PM|LINK
What does the web.config file say ???
singhhome
15 Posts
Re: default web site only accepts Basic authentication
May 03, 2008 03:24 PM|LINK
web.config file has windows integrated authentication
Regards
ma_khan
869 Posts
MVP
Moderator
Re: default web site only accepts Basic authentication
May 03, 2008 07:34 PM|LINK
need more info on this matter... what happened when you say you did something???
Also, is there no basic authentication in web.config??
singhhome
15 Posts
Re: default web site only accepts Basic authentication
May 05, 2008 02:50 PM|LINK
what other info you need?
I said "i did something", because earlier it used to work fine with Windows Integrated authentication. It is a test machine and i do lot of R&D stuff on it. I don't know exactly which R&D turned off windows integrated authentication.
It is IIS 7.0, i have removed Basic authentication from Windows Add/Remove feature. basic authentication doesn't show up as an option in IIS web application settings. But still application works only with Basic authentication.
web config has "WIndows" as authentication mode.
How can i specify Basic Authentication in web.config file??
Regards,
Zhao Ji Ma -...
765 Posts
Microsoft
Re: default web site only accepts Basic authentication
May 08, 2008 11:09 AM|LINK
Hi,
Please also make sure IE support Integrated Windows Authentication.
1. In Internet Explorer, on the Tools menu click Internet Options.
2. Click the Advanced tab, in the Security group select the Enable Integrated Windows Authentication (requires restart) check box, and then click OK.
See steps here.
Sincerely,
Microsoft Online Community Support
“Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
singhhome
15 Posts
Re: default web site only accepts Basic authentication
May 12, 2008 04:36 AM|LINK
I have tried it accessing from .NET client.
DefaultCredentials doesn't work it give 401. It works only when i use NetworkCredential(username, password, domain).
Also while trying to add a web reference from VS, it ask for username and password.
Regards,