Monday, January 9, 2012

[C#][Solved]Could not load file or assembly 'Microsoft.SqlServer.Types

當在使用C# Express時,出現Could not load file or assembly 'Microsoft.SqlServer.Types之訊息

先下載Microsoft SQL Server 2008 Feature Pack, October 2008

會下載一個安裝指引檔,再安裝其中兩個檔案即可

  • Microsoft SQL Server System CLR Types
  • Microsoft SQL Server 2008 Native Client

Reference:

stackoverflow.com/questions/1625768/could-not-load-file-or-assembly-microsoft-sqlserver-types

http://www.aghausman.net/dotnet/could-not-load-file-or-assembly-microsoftsqlservermanagementsdksfc.html