打开新查询SQL Server 2012时遇到问题 [英] I have a problem when open new query SQL server 2012

查看:182
本文介绍了打开新查询SQL Server 2012时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在sql server 2012上有这个错误,



i have this error on sql server 2012 ,

No exports were found that match the constraint: 
ContractName 
Microsoft.VisualStudio.Text.ITextDocumentFactoryService 
RequiredTypeIdentity
Microsoft.VisualStudio.Text.ITextDocumentFactoryService





please any一个帮我,我不能在sql服务器上工作



我尝试过:



i删除了sql和VisualStudio文件夹中的现金文件夹



please any one help me i can't work on sql server

What I have tried:

i deleted the cash folder

ComponentModelCache

推荐答案

也许这将是帮助你: visual studio - VS 2013 Error - 没有找到符合约束的导出: - Stack Overflow [ ^ ]


如果您的Visual Studio版本与SQL Server版本不匹配,也会遇到问题。

就个人而言,我已经放弃了尝试从Visual Studio使用SQL Server,有太多的复杂问题,我只是使用代码来连接和执行SQL命令。



如果你想使用的数据库是高效,真正免费且易于安装,我可以推荐 PostgreSQL 与C#的 NpgSQL 驱动程序相结合,增加的好处是它可以在多个平台上运行。
Maybe this will be of help to you: visual studio - VS 2013 Error-"No exports were found that match the constraint:" - Stack Overflow[^]

Also you can run into problems if your version of Visual Studio does not match the SQL Server version.
Personally I have given up on trying to use SQL Server from Visual Studio, there are too many complications, I just use code to connect and execute SQL commands.

If you want to use a database that is efficient, really free and easy to install, I can recommend PostgreSQL in combination with the NpgSQL driver for C#, added bonus is that it runs on multiple platforms.


这篇关于打开新查询SQL Server 2012时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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