我有一个由SQL Server 2012报告调用的存储过程,由于阻塞会话,该报告与开发相比需要在生产中运行一个年龄 lck_m_s
存储过程在SQL Server Management Studio中执行时即时运行,并且当通过Visual Studio从开发笔记本电脑中作为报告的一部分调用时也可以正常运行.
将报告上载到生产服务器时,将显示此阻止问题.
如何lck_m_s
在生产中找出导致问题的原因?
我们希望通过REST公开我们的WCF服务,并通过TCP使用SSL保护它们.我们有一个上传到Azure的有效SSL和正确的映射设置,以便访问https://service.ourdomain.com.
我已经设置了两个端点绑定,用于REST服务的webHttpBinding和用于TCP的NetHttpBinding类型的customBinding.
我想我有SSL使用webHTTP但是当我尝试在NetHTTP的自定义绑定中启用httpsTransport时,我收到错误
"无法添加传输元素'httpTransport'.绑定中已存在另一个传输元素每个绑定只能有一个传输元素"
所有的配置都是在WebRole web.config中完成的.我已经看过Silverlight人员提交的其他WCF问题,他们通过SSL帮助了webHTTP,但二进制文件让我感到难过.
是否可以从同一个SSL域运行REST和TCP WCF服务,如果是这样,我很想知道?
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding name="SecureWebHttpBinding">
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</webHttpBinding>
<customBinding>
<binding name="NetHttpBinding">
<binaryMessageEncoding />
<!--<httpsTransport authenticationScheme="None" />-->
</binding>
</customBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="webBehavior">
<webHttp />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="RestService">
<serviceMetadata httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<behavior name="BinaryService">
<serviceMetadata httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="RestService" name="WebService.Rest">
<endpoint address="Achievements"
binding="webHttpBinding"
bindingConfiguration="SecureWebHttpBinding"
behaviorConfiguration="webBehavior"
contract="WebService.JSON.IAchievementJSON"/>
</service>
<service behaviorConfiguration="BinaryService" name="WebService.Binary">
<endpoint address="Achievements"
binding="customBinding" …
Run Code Online (Sandbox Code Playgroud)