打开.sql文件时Visual Studio 2010挂断 [英] Visual Studio 2010 hangs up when opening a .sql file

查看:107
本文介绍了打开.sql文件时Visual Studio 2010挂断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启动VS 2010,仅打开任何普通的(或空白).sql文件,它在IDE内显示的绘制错误.它绘制文档"选项卡,但仅此而已.如果我在键盘上键入,VS会锁定.对于扩展名为".sql"且与实际内容无关的文件,这似乎仅是一个问题.我还注意到,在解决方案资源管理器中,那些.sql文件显示的图标与.js文件关联的图标相同.

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.

推荐答案

问题已解决.通过运行 VS2010-根目录下的SP1 ISO .您可能还需要重新安装DACFramework_enu.msiTSqlLanguageService_enu.msi.

Problem solved. I was able to resolve the problem by running the DACProjectSystemSetup_enu.msi installer found on the VS2010-SP1 ISO under the root directory. You might also need to re-install DACFramework_enu.msi and TSqlLanguageService_enu.msi.

我认为该问题是由于在安装VS2010之后安装SQL Server 2008 R2造成的.

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

这篇关于打开.sql文件时Visual Studio 2010挂断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆