Wrox Programmer Forums
|
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
 
Old February 15th, 2011, 10:31 AM
Registered User
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default visual web developer and sql server express problems

hi there, im posting this question and i will answer it. i was trying to add .mdf and .ldf file to the visual web developer on windows 7 and it gave me an error about sql express 2005 when trying to open the files after adding them to App_Data folder. after many tries (with many errors about compatibility issues) i had to uninstall everything and install again visual web developer and it gave me this error(Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.) when adding a database. so what i had to do is DELETE this path (and all files inside):
<tt>
</tt> <tt>C:\Documents and Settings\YOUR_USERNAME \Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS</tt>

(Dont forget to replace the green text in the path with your current username (if you are not sure just go to C:\Documents and Settings\ path to figure it out). i went to App_Data folder, add existing item, and then added the .mdf and .ldf files. and then it showed tables
 
Old February 15th, 2011, 02:14 PM
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,

Thanks for posting this. The exact same issue has come up a few times before, and most of the times your solution fixed the problem. Good to have a clear description of the solution here.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant find Visual Web Developer 2010 Express eurico BOOK: Beginning ASP.NET 4 : in C# and VB 10 May 31st, 2010 02:51 AM
Visual Web Developer 2008 Express jjc9809 Visual Web Developer 2008 2 December 23rd, 2008 12:06 PM
Visual Web Developer 2008.. Express Edition Neamat .NET Framework 3.5 14 August 3rd, 2008 09:47 AM
SQL Server 2005 using Visual Web Developer carswelljr SQL Server 2005 1 September 14th, 2006 12:43 PM
SQL Server 2005 Express with Visual Web Developer steffteo SQL Server 2005 1 March 19th, 2006 04:28 PM





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