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
I know this is a really old issue but in case anyone else didn't have any luck with the answers above: what worked for me was simply disconnecting from the server and reconnecting.
I had the same issue, but it get resolved when I use "SQL Server Object Explorer" instead of "server explorer" to add new tables.
Use "SQL Server Object Explorer" instead "server explorer" but close all the database connections that appear in the server explorer.
From the SQL server object explorer add the local SQL server and that's it, works like a charm.
To solve this problem do the following steps:
Go to VS Tools → Options → Database Tools → Query And Views Designer.
Set "Cancel Long Running Query" after 240 second.
Delete all connections in "SQL server explorer" and "SQL Server Objects Explorer" - (this step is very important).
Reopen VS and recreate your connections.
Please check that the login you are using to connect to the database in VS has the necessary permissions to create tables.
Follow these steps:
C:\Users\pcname\Documents\databasefile.mdf
)