【发布时间】:2016-09-01 06:35:28
【问题描述】:
我收到了一个需要集成到新网站中的 .NET 解决方案。该解决方案包含一个提供 Google Maps 地图的 WCF 服务。但是,我无法启动并运行它。依赖于 SQL 绑定,但我无法弄清楚我需要安装什么才能使其工作。 Web.config 文件引用了具有enableBizTalkCompatiblity 属性的SqlAdapterBinding。我需要安装哪个版本的 Microsoft BizTalk?
<bindings>
<sqlBinding>
<binding
name="SqlAdapterBinding"
maxConnectionPoolSize="100"
encrypt="false"
workstationId=""
useAmbientTransaction="true"
batchSize="20"
polledDataAvailableStatement=""
pollingStatement=""
pollingIntervalInSeconds="30"
pollWhileDataFound="false"
notificationStatement=""
notifyOnListenerStart="true"
enableBizTalkCompatibilityMode="true"
chunkSize="4194304"
inboundOperationType="Polling"
useDatabaseNameInXsdNamespace="false"
allowIdentityInsert="false"
acceptCredentialsInUri="false"
enablePerformanceCounters="false"
xmlStoredProcedureRootNodeName=""
xmlStoredProcedureRootNodeNamespace="" />
</sqlBinding>
</bindings>
抛出的错误是配置错误:
说明:处理此请求所需的配置文件时出错。请查看下面的具体错误详细信息并适当地修改您的配置文件。
解析器错误消息:找不到配置绑定扩展system.serviceModel/bindings/sqlBinding。验证此绑定扩展已在 system.serviceModel/extensions/bindingExtensions 中正确注册,并且拼写正确。
这是在配置行抛出<sqlBinding>。
【问题讨论】: