Wrox Programmer Forums
|
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
 
Old July 31st, 2006, 01:40 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I see. I think I understand what happened.

Applications in the database are created automatically at run-time. When you run the site like this:

http://localhost

you end up with an app called /

When you browse to it like this:

http://localhost/App1

You end up with an app called /App1

Although the aps are closely related (they belong to the same physical website), they are completely separate from an ASP.NT run-time perspective.

To fix this issue, you can provide an explicit applicationName on the role provider so the same name is used regardless of the way you browse to the site.

About a SQL book: you may want to take a look at Beginning SQL Server Programming: http://www.wrox.com/WileyCDA/WroxTit...764584332.html

I own the Professional 7.0 and 2000 versions of that book and they were great. The Professional 2005 edition is coming out in November, so if you have some background in SQL and some patience, you want to wait for that book...

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old August 1st, 2006, 08:23 AM
Registered User
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the help. I forgot to thank you for your article on congiuring an ASP.net app to run on IIS with SQL server. Also Scott Guthrie had a helpful post on his blog about the applicationName property.

http://weblogs.asp.net/scottgu/archi...Providers.aspx

 
Old August 1st, 2006, 12:04 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Thanks for the follow up. I am sure many others will find this a useful article as well....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Appointment Booking KDSTECH BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 11 May 29th, 2008 12:46 AM
Appointment booking philblack1 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 January 25th, 2008 01:17 PM
Appointment Booking System newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 July 18th, 2007 08:32 AM
Appointment Booking problem outofwork BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 42 May 15th, 2007 04:56 PM
Modifications to Appointment Booking... mkumar BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 March 31st, 2007 01:51 AM





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