无法加载DLL'SqlServerSpatial140.dll':找不到指定的模块 [英] Unable to load DLL 'SqlServerSpatial140.dll': The specified module could not be found

查看:66
本文介绍了无法加载DLL'SqlServerSpatial140.dll':找不到指定的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这对我来说是新事物,所以请忍受...

This all new to me, so bear with me...

我正在研究Visual Studio项目;这是一个返回一些数据的Web服务.

I'm working on a Visual Studio project; it's a web service that returns some data.

我刚刚尝试对本地计算机(IIS)上的Web服务器进行特定的调用,但出现此错误:

I've just tried to make a particular call to the web server on my local machine (IIS) and I'm getting this error:

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

Unable to load DLL 'SqlServerSpatial140.dll': The specified module could not be found

在任何人说之前-是的,显然我缺少此DLL文件.我已经在网上搜索过,看不到从哪里可以下载(我已经安装了Microsoft SQL Server系统CLR类型(x64)和非X64.我都安装了适用于SQL Server 2014和2016的Microsoft系统CLR类型)

Before anyone says it - yes, obviously I am missing this DLL file. I've searched online and don't see where I could download it from (I have Microsoft SQL Server System CLR Types (x64) and non-X64 both installed. I have Microsoft System CLR Types for SQL Server 2014 and 2016 both installed)

有人知道如何解决此问题吗?有人知道我是否可以从某个地方下载该文件吗?

Does anyone know how to fix this? Does anyone know if I can just download this file from somewhere?

推荐答案

C:\ Users \< User> \.nuget \ packages \ Microsoft.SqlServer.Types \ 14.0.314.76 \ nativeBinaries复制dll\ x86 到您的项目.右键单击该文件,然后单击属性".将复制到输出目录"设置为始终复制".

Copy the dll from C:\Users\<User>\.nuget\packages\Microsoft.SqlServer.Types\14.0.314.76\nativeBinaries\x86 to your project. Right-click the file and click Properties. Set "Copy To Output Directory" to "Copy Always".

这篇关于无法加载DLL'SqlServerSpatial140.dll':找不到指定的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆