 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
 | This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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
|
|
|
|
|

March 11th, 2009, 11:46 AM
|
|
Authorized User
|
|
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 05 CMS: username + pass not working in IIS
I download CMS code and run it on VS 2005
everything ok
but when I copy this website folder and create vitural directory in IIS
I browse this webstite
everything ok but
when I work with login control to login Admin folder, I have a problem
I can't login with that username + password
Your login attempt was not successful. Please try again
please help me
|
|

March 11th, 2009, 04:30 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
You find the password on page 135, first paragraph after the heading...
Cheers,
Imar
|
|

March 12th, 2009, 05:17 AM
|
|
Authorized User
|
|
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
no no no no
I knew the password + username
I run This project on VS 2005, it's ok
But when I run with IIS 5.0, login control have a problem
I can't login with that username + password
Your login attempt was not successful. Please try again
|
|

March 12th, 2009, 05:30 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
In that case, check out the errata: http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html
You may run into the problem where the applicationName in web.config is not set. On your local machine it will (likely) to default to something like WroxCms while the production version may default to /. This causes a mismatch between user names.
Also, search this forum for posts by me with the text applicationName, and you'll find more useful results.
Cheers,
Imar
|
|

March 12th, 2009, 06:28 AM
|
|
Authorized User
|
|
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You said copy Update file to fix this problem but I still can not fix
I download the chapter 05 code and update DB + web.config
But I still can not fix
|
|

March 13th, 2009, 04:50 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
The fix is for new sites only. Once your database contains an applicationName, it'll use that. Copying the files afterwards doesn't solve the problem in the database.
Look in your production database. Do you see multiple records in the aspnet_Applications database?
Is it an option to start over with a fresh database? A lot easier to do with the right config files. If not, let me know and I'll refer you to some posts that explain this problem in more detail.
Cheers,
Imar
|
|
 |