主数据服务Silverlight错误

时间:2013-01-04 21:26:38

标签: silverlight-5.0 master-data-services

我已经在我们的开发服务器上安装了MDS,我可以浏览(并执行各种功能,例如添加用户或创建,添加实体)。然而,我不能进入“探索者”。在这里,我得到两个Silverlight错误 [HttpWebRequest_WebException_RemoteServer]
争论:没有找到 调试资源字符串不可用 等....

服务器是Win 2008 R2标准版 IIS是6.1(Build 7601 SP1)
我们正在运行SQL Server 2012 客户端正在运行SL5和SL5 SDK IIS设置为运行SSL和Win Auth(根据跟踪日志,这是有效的,它正在获取主体)。其他一切都是残疾人 IIS可以连接到数据库(通过管理部分中的数据库管理器)
这种情况发生在所有主流浏览器(IE,Chrome,FF)上。

我已打开MDS的跟踪日志(设置为详细),我没有看到任何错误/警告
我也运行SQL配置文件,并没有看到任何会让我相信并且错误发生在sql端的东西。 事件查看器中也没有与MDS / Silverlight相关的任何内容。 我不确定是否/如何远程调试到MDS网站(它是预先安装和预编译的)

来自web.config的几个片段

<bindings>
  <wsHttpBinding>
    <binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
      <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
      <!--Non-SSL implementations.-->
      <security mode="Transport">
        <message clientCredentialType="UserName" />
        <transport clientCredentialType="Windows">
            <extendedProtectionPolicy policyEnforcement="WhenSupported" />
        </transport>
      </security>
    </binding>
  </wsHttpBinding>
  <basicHttpBinding>
    <binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
      <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
      <!-- Non-SSL implementations.-->
      <security mode="TransportCredentialOnly">
        <message clientCredentialType="UserName" />
        <transport clientCredentialType="Windows">
            <extendedProtectionPolicy policyEnforcement="WhenSupported" />
        </transport>
      </security>
    </binding>
  </basicHttpBinding>
</bindings>

.. <snip> ...
<system.diagnostics>
<sources>
  <!-- Adjust the switch value to control the types of messages that should be logged. 
       Use the a switchValue of Verbose to generate a full log. Please be aware that 
       the trace file can get quite large very quickly -->
  <source name="MDS" switchType="System.Diagnostics.SourceSwitch" switchValue="All">
    <listeners>
                <add name="LogFileListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\Program Files\Microsoft SQL Server\110\Master Data Services\WebApplication\trace.log" traceOutputOptions="DateTime" />
        <add name="EtwListener" type="System.Diagnostics.Eventing.EventProviderTraceListener, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" initializeData="{F2A341B8-CA5F-49ad-B00C-A82D3FCF948B}" /> 
        <remove name="Default" /> 

    </listeners>
  </source>
</sources>
<trace autoflush="true" />

如果有人认为跟踪日志会有所帮助(或其他任何内容),我可以发布它们(但它们很大)。

我的问题是: 我如何调试,或以某种方式获得更好的错误信息,指出我正确的方向?

编辑: 要添加我在跟踪日志中找到了这个:
MDS错误:0:服务已成功启动,程序集版本:11.0.0.0,文件版本:11.0.3000.0((SQL11_PCU_Main).121019-1325)     日期时间= 2013-01-07T15:09:14.1660484Z
MDS错误:0:ApiContractVersion:5102     日期时间= 2013-01-07T15:09:14.2753968Z

编辑2:
我已经能够挖掘出另一个错误(在许多配置更改之后) 在Microsoft.MasterDataServices.Core.BusinessLogic.Member.GetEntityMembers(EntityMembers成员,RequestContext上下文,OperationResult结果) SQL错误调试信息:数字:229,消息:对象'MemberGetCriteria',数据库'MDS',架构'mdm',服务器:SERVERNAME,Proc :, Line:0

拒绝EXECUTE权限

: 由于某种原因,“MemberGetCriteria”有一些权限错误。

1 个答案:

答案 0 :(得分:0)

关于在IIS中运行应用程序池的服务帐户的权限的两件事:

1)根据运行应用程序池的IIS要求,它必须具有“作为批处理登录”权限;

2)如果您在MDS网站上要求客户端证书,MDS不会设置为使用IIS Web应用程序中的证书到MDS \ Service \ service.svc \ bhh调用,因此您需要创建客户端在调用该服务时,证书是可选的。

web.config:我看到您设置尝试为两个WCF端点设置“传输”/ HTTPS安全性,但是左侧标记而不是标记。您必须确保没有混合和匹配SSL和非SSL部分,并且您只注释了Windows / NTLM(如果在后端设置了Kerberos)安全模式部分,并取消注释“SSL实现”部分。