Quantcast
Channel: Everyday I'm coding » visual-studio-2010
Viewing all articles
Browse latest Browse all 16

Visual Studio 2010 hangs up when opening a .sql file

$
0
0

I launch VS 2010, and simply open any ordinary (or blank) .sql file and it shows up incorrectly drawn inside the IDE. It draws the document tab, but nothing else. If I type on the keyboard, VS locks up. This only appears to be a problem with files that have the extension “.sql” and has no bearing on the actual content. I also noticed that in the Solution Explorer, those .sql files show the icon that is the same one associated with .js files.


Solution:

Problem solved. I found the ANSWER HERE. Click on the “Workarounds” tab, and credit goes to Allen Zhou for the solution.

I was able to resolve the problem by running the DACProjectSystemSetup_enu.msi installer found on the VS2010-SP1 ISO under the root directory. Although I personally didn’t need to, you might need to also re-install DACFramework_enu.msi and TSqlLanguageService_enu.msi.

It seems the problem was created as a result of installing SQL Server 2008 R2 after installing VS2010.


Viewing all articles
Browse latest Browse all 16

Trending Articles