且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

System.DllNotFoundException:无法加载DLL'SqlServerSpatial110.dll':找不到指定的模块

更新时间:2022-12-30 21:53:16

在应用程序的Web.config中添加Microsoft.SqlServer.Types的引用解决了该问题。

Add the reference of Microsoft.SqlServer.Types in Web.config of application resolved the issue.

<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" />
    <bindingRedirect oldVersion="1.0.0.0-11.0.0.0" newVersion="10.0.0.0" />
  </dependentAssembly>
</assemblyBinding></runtime>