 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

August 27th, 2008, 10:28 AM
|
|
Authorized User
|
|
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 11 - Problem Opening Database
In chapter 11 on the "Try it Out" section on page 356, I have copied the .mdf and .ldf files from the Resource folders into the App_Data folder on the website that I just created for this exercise. When I try to open the database, I get the following error:
Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enable' to generate user instances.
How do I accomplish this?
Thanks,
David
|
|

August 27th, 2008, 10:50 AM
|
|
Authorized User
|
|
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes, I am using the 2005 Express Edition that I tried to download along with VWD. I wondered at the time that I downloaded SQL if it had completed correctly. Do you suggest downloading SQL Server again?
|
|

August 27th, 2008, 10:53 PM
|
|
Authorized User
|
|
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I went to the microsoft.com/express page to download SQL Server 2005 Express but all I found was 2008. 2008 is not compatible with VWD 2005. So I uninstalled VWD and tried installing VWD 2008 Express along with SQL Server 2008 Express. SQL Server 2008 Express always fails to install. So now I am at a point that I cannot continue in chapter 11 because I can't get SQL installed. I was really looking forward to working with databases.
|
|

August 28th, 2008, 10:45 AM
|
|
Authorized User
|
|
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar, thanks for you advice. I finally was able to successfully install SQL Server 2005. All is well now, I can display the database.
|
|

August 28th, 2008, 01:22 PM
|
|
Authorized User
|
|
Join Date: Aug 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I spoke too soon. Actually after successfully installing SQL Server, the folders showed up in APP_Data, but I could not open any databases. I received the error "could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc".
|
|
 |