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
|