I've problem with Visual Studio 2012 Ultimate.
I inserted a "Sql Server Database", and when I try to "Add new table" after a while I get this problem
The designer encountered an error while loading the table definition
and two errors in "Error List"
The target database schema could not be retrieved. Unable to reconnect to database.
Failed to obtain schema information from database (LocalDB)\v11.0.C:\USERS\SRDJAN\DOCUMENTS\VISUAL STUDIO 2012\WEBSITES\WEBSITE3\APP_DATA\DATABASE.MDF.
Please close any open editors for this database, check your connection to this database, and refresh the database in Server Explorer. C:\USERS\SRDJAN\DOCUMENTS\VISUAL STUDIO 2012\WEBSITES\WEBSITE3\APP_DATA\DATABASE.MDF
What can I do to get this working?
I had the same issue, but it get resolved when I use "SQL Server Object Explorer" instead of "server explorer" to add new tables.
Please check that the login you are using to connect to the database in VS has the necessary permissions to create tables.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With