Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 11th, 2006, 11:17 AM
Registered User
 
Join Date: Dec 2006
Location: , , .
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
  #2 (permalink)  
Old December 28th, 2006, 08:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Banbury, , United Kingdom.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:18 AM.


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