Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 one help me i can't work on sql server

What I have tried:

i deleted the cash folder
ComponentModelCache
on sql and VisualStudio folder
Posted
Updated 3-Sep-17 1:15am

1 solution

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.
 
Share this answer
 
v2
Comments
ÂĦmâd Ŝâlâĥ 3-Sep-17 9:52am    
no i try do this , i remove SQL and re install but i have same issue

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900