Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 11th, 2006, 11:17 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old December 28th, 2006, 08:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to asp.net development server Komila ASP.NET 3.5 Basics 5 April 15th, 2013 11:48 PM
unable to connect to asp.net development server Komila ASP.NET 3.5 Basics 4 April 15th, 2011 08:57 AM
ASP.NET development server angshujit ASP.NET 2.0 Basics 4 January 18th, 2007 05:07 AM
CSS and ASP.net conflict joecoleman ASP.NET 2.0 Basics 2 June 1st, 2006 07:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.