Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 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 August 30th, 2007, 12:45 AM
Registered User
 
Join Date: Sep 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default MX2004 CH11 Pg405 Login Fails Presents Win Login

I have configured TheSoccerSite on MS Windows Server 2003 R2 Standard Edition SP2. On attempt to login to the remote web site I am presented with a Windows login screen not the login.asp screen. Is there an issue with MS Win2003?

I have configured TheSoccerSite on my localhost MS WinXP Pro SP2 and using http://localhost/TheSoccerSite/login.asp - it works great.

The IIS 6 Authentication Methods screen in 2003 doesn't look exactly like the book but the same radio buttons are available.

NTFS - I have prevented inheritance on Database folder, copied the permissions, removed the Users group (no Everyone), added IUSR_MachineName with Modify Permission. In IIS uncheck Anonymous, check Integrated Windows authentication.

Database connTheSoccerSite looks good see the tables on web server and the ServerBehavior page looks right.

If I resort to entering Admin account credentials to the MS login screen the login.asp page is presented. If I resort to Anonymous Authentication all works well but of course that's no good.

Any ideas why this might be happening?

 
Old August 30th, 2007, 02:07 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Did you configure Read permissions for the IUSR_MachineName account on the root of the site? The database folder is only part of the configuration process.

Also, what do you mean with:

"If I resort to Anonymous Authentication all works well but of course that's no good."

Isn't that what you're trying to accomplish? E.g. anonymous users can access the site?

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old August 30th, 2007, 01:21 PM
Registered User
 
Join Date: Sep 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

First THANKS for the book, and second for the very quick reply!

I think I confused database folder permission with the root website permission.

Please confirm: TheSoccerSite web site root remains Anonymous Access
while the Database folder is restricted to Integrated Authentication.

I came to this conclusion by your response, "Isn't that what you are trying to accomplish?.

I had set the both the root website and the database folder to Integrated Authentication. Setting the root website to Anonymous and the Database folder to Integrated allows proper operation. Does that sound right? It appears to be working :D

The web developer field is so vast that the only way I can grasp the scope is a RAD product like DW MX2004 with an outstanding book like yours. I never seem to get past Chapter 8 of all the other programming books, before I start rereading it all over again. Thanks, after I finish the book I'll be spending a lot more time on your website - a vast resource.



 
Old August 30th, 2007, 03:16 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Great; glad it's working.

And yes, the idea is indeed anonymous access for the IUSR account to the root of the site. That way, unauthenticated users can access the web site. The IUSR in turn will handle their requests and since it has read access, it can serve up the requested pages.

To stop users from downloading the database, you need to enable integrated security on the database folder. That way, users can't download it (as they aren't associated with a trusted / integrated account) but the IUSR account (used by IIS to serve the pages) is able to read from and write to it.

Have fun on my web site; there's plenty to read....

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004





Similar Threads
Thread Thread Starter Forum Replies Last Post
login fails... yasminnnnn ASP.NET 2.0 Basics 6 December 12th, 2006 03:49 PM
login fails after SqlServer Studio has been opened TomH VB Databases Basics 1 October 1st, 2006 04:44 PM
Login Control fails on server PeterX ASP.NET 2.0 Basics 0 July 25th, 2006 10:53 AM
SQL Server error 4060 - Login fails Sksdb SQL Server 2000 0 January 18th, 2005 07:02 AM
Unable to login running on win server 2003 kiekar BOOK: ASP.NET Website Programming Problem-Design-Solution 2 May 6th, 2004 09:28 PM





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