Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 May 20th, 2010, 02:50 PM
Registered User
 
Join Date: May 2010
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default SQL Server 2008 vs Express

Most of the books that I have read, including this one assume that you are using Microsoft Server Express and that is fine, unless you have Microsoft Server 2008 (not express) already installed on your computer. I am trying to understand what I need to do to work with role management. Express sets automatically sets up the aspnetdb database under app_data, but that does not seem to be the case when you are using the real server. Is there someone out there that can either point me in the correct direction or sugest a book that I could read that covers this area.

Thanks
 
Old May 20th, 2010, 03:55 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Attach the database to an existing instance of your SQL DB, and change the connection string to point to it.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
 
Old May 20th, 2010, 04:22 PM
Registered User
 
Join Date: May 2010
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default SQL Server 2008 vs Express

Thanks for the info...The error message has changed from can not find server to can not open database "aspnetdb.dbo". I had previously created aspnetdb.dbo using aspnet_regsql
 
Old May 20th, 2010, 04:27 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Where is the db located on your system? If you are running SQL Server as Network Service, you are limited in where you can place the files.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
ewingf (May 20th, 2010)
 
Old May 20th, 2010, 04:47 PM
Registered User
 
Join Date: May 2010
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry about that...I had used the wrong database name in the connection string. All is happy and content know. Thank you for you quick response...you are a life saver and the desk that I was banging my head agenst will thank you forever.
 
Old May 20th, 2010, 04:52 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Awesome! You're welcome. Good luck, enjoy the book.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone got this working with VWDE 2008 / SQL Express 2008? john77 BOOK: ASP.NET 3.5 Website Programming Problem Design Solution 4 January 18th, 2010 01:16 PM
Vista Home Premium and SQL Express 2008 tdewey BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 6 January 9th, 2010 07:53 PM
Help With Visual Studio 2008 & SQL Server 2005 Express Rambo Visual Studio 2008 3 December 21st, 2009 12:08 PM
Installing SQL Server 2008 Express Edition with Tools Kevin7777 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 March 8th, 2009 05:14 AM
Accessing a SQL Server Express DB thru VB Express djelavic SQL Server 2005 2 February 21st, 2006 07:53 PM





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