Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly microsoft.sqlserver.management.sdk.sfc

Receiving below error message in Visual Studio 2008 while creating a connection for database.

could not load file or assembly 'microsoft.sqlserver.management.sdk.sfc ,Version=10.0.0.0, Culture=neutral,PublicKeyToken=89845dcd8080cc91' or one of its dependencies.
The system cannot find the file specified.

I am trying to create database internally i.e. .mdf file and store it in the App_data folder. But I'm not able to create the connection.

Please help me to sort out the issue quickly.

like image 292
user1763769 Avatar asked Jul 07 '26 01:07

user1763769


1 Answers

You can download these files from Microsoft website.

1.Microsoft SQL Server System CLR Types

2.Microsoft SQL Server 2008 Management Objects

3.Microsoft SQL Server 2008 Native Client.

After installing the above three files try to connect your application with sql server database and if still you got the same error message then don't worry and close your application then start it again and you will be able to connect it.

like image 70
Miank Avatar answered Jul 09 '26 16:07

Miank



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!