Host Headers in CS2007
-
Friday, July 30, 2010 2:57 PM
When I installed the CSharp site, I tried to use an IIS web site other than the default web site. I bound it to port 80 and gave it a unique host header like: MySite.MyComputer.Local
I edited my hosts file to point MySite.MyComputer.Local to 127.0.0.1 and I put a default.htm in the wwwroot folder that the IIS web site points to so that when I browse to MySite.MyComputer.Local, I get the default.htm page just fine.
After the install, http://MySite.MyComputer.Local/CatalogWebService/CatalogWebService.asmx promots for username and password and nothing works.
So I go into IIS and stop the Default Web Site and add the blank host header on port 80 to the CSarpe site and now http://127.0.0.1/CatalogWebService/CatalogWebService.asmx works just fine.
What am I missing?
JK
ncjks
Answers
-
Friday, July 30, 2010 10:08 PM
If you have a HTTP 401.1 - Unauthorized: Logon Failed, it can be a loopback issue: http://support.microsoft.com/kb/896861
follow me on twitter @GaelDuhamel or check out my blogs http://www.gaelduhamel.fr http://www.gaelduhamel.com- Proposed As Answer by Gael DuhamelMVP Friday, July 30, 2010 10:08 PM
- Marked As Answer by Emre Daglik Thursday, October 28, 2010 3:46 PM
All Replies
-
Friday, July 30, 2010 10:08 PM
If you have a HTTP 401.1 - Unauthorized: Logon Failed, it can be a loopback issue: http://support.microsoft.com/kb/896861
follow me on twitter @GaelDuhamel or check out my blogs http://www.gaelduhamel.fr http://www.gaelduhamel.com- Proposed As Answer by Gael DuhamelMVP Friday, July 30, 2010 10:08 PM
- Marked As Answer by Emre Daglik Thursday, October 28, 2010 3:46 PM
-
Monday, August 02, 2010 11:45 PM
If Gael suggestion doesn't work then do check your IE settings.
1. Open IE
2. Go to tools -> Options
3. Select "Security" tab.
4. Select "Internet/Intranet/trusted" icon and click on "Custom Level" button.
5. A popup opens. go to "User Authentication" section and select "Automatic logon with current user name and password" radio button.or mark your site as trusted site.
Regards,
-Ravi Kanth Koppala
http://techblog.ravikanth.net (If this post answers your question - Either Mark this post as the answer or vote as being useful.) Join Commerce server User Group Today - http://commerceserver.groups.live.com/- Proposed As Answer by Ravi Kanth KoppalaMVP Monday, August 02, 2010 11:45 PM
-
Sunday, September 26, 2010 5:06 AM
I created an article on this problem - check below url for more details.
http://microsoftblog.co.in/commerceserver/business-applications-asks-for-credentials-when-access-through-host-name/- Proposed As Answer by Ravi Kanth K Sunday, September 26, 2010 5:06 AM
-
Friday, October 08, 2010 3:30 PM

