p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 (http://p2p.wrox.com/forumdisplay.php?f=228)
-   -   IIS and ASP.NET Development Server conflict (http://p2p.wrox.com/showthread.php?t=51395)

ASPNewbie2 December 11th, 2006 11:17 AM

IIS and ASP.NET Development Server conflict
 
I am trying to use the first example taken from the book 'Beginning ASP.NET 2.0 with C#'.

Setup -

Laptop - Network Card plugged into Modem Router.
XP Professional
IIS installed
Visual Studio 2005
Norton Internet Security 2007

I have downloaded the sample for this book to the associated directory. I have gone through Appendix B to use IIS in preference to ASP.NET development server conflict. I have set up NETWORK SERVICE user group for APP_DATA and set permissions as indicated.

Problem
-------

If I try to connect to http://localhost/localstart.asp it asks me for a username and password ? I'm pretty sure annonymous access is set for Default Web Site - any ideas

The http://localhost/WroxUnited website is also asking for a username and password.

Thanks



I already have Visual Studio 2005 so didn't bother downloading the Visual Web Developer Express. I also have IIS installed

DanM December 28th, 2006 08:23 AM

I also have this problem from time to time. The user\password that usually works are the username and password you logged into windows with.

It's usually because basic authentication has been enabled in IIS and should be switched off for that site. Open IIS, right click on the WroxUnited site and click Properties. Under the Directory Security tab, hit the Edit button in the section marked Anonymous Access and authentication control. In the following dialog, uncheck the basic authentication box, leaving Anonymous Access and Windows Authentication checked.

That should get access to your site working without asking for a username and password each time.


Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive


All times are GMT -4. The time now is 06:40 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.