Could not load file or assembly 'Microsoft.SqlServer.Types, Version = 11.0.0.0

I started working on my application, which I have not touched for about a month, and when I run the application and try to save the changes, I get the following error:

Could not load file or assembly 'Microsoft.SqlServer.Types, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. ":" Microsoft.SqlServer.Types, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 89845dcd8080cc91 "} System.Exception {System.IO.FileNotFoundException}

I have no idea why this error is suddenly popping up because the last time I ran this application I never encountered this problem, so I don’t understand where this is coming from. This happens in the Context SaveChanges event, but when the error appears, I can press the start button again and it will continue as if nothing happened. After that, all subsequent save attempts will work without showing an error, but if I restart the application it reappears. My application is a Windows Form application using the .NET Framework and Entity Framework 4 and the database is Sql Server 2005. Any thoughts on what might be causing this issue?

thank

+3
c # winforms


source to share


No one has answered this question yet

Check out similar questions:

707
Installed assembly manifest definition does not match assembly reference
392
Failed to load Entity Framework provider type?
369
Could not load file or assembly ... An attempt was made to load a program with an invalid format (System.BadImageFormatException)
302
I am getting a "Error loading error with incorrect format" error in a SQL Server replication project
176
Could not load file or assembly 'System.Web.Http 4.0.0 after upgrading from 2012 to 2013'
6
Failed to load files Microsoft.SqlServer.Types 10 but link to version 11
4
Could not load Microsoft.SqlServer.Types files
3
Could not load file or assembly 'Microsoft.SqlServer.Types, Version = 12.0.0.0, Culture = neutral, PublicKeyToken = myKey' or one of its dependencies.
1
Why does installing .NET Framework 4.51 cause Microsoft.SqlServer.Types error in an application targeting framework version 4
0
Could not load file or assembly 'Microsoft.SqlServer.Types, Version = 15.0.0.0, Culture Neutral, PublicKeyToken = 89845dcd8080cc91'



All Articles
Loading...
X
Show
Funny
Dev
Pics