2013-01-04 36 views
3

我在我們的開發服務器上安裝了MDS,我可以瀏覽(並執行各種功能,如添加用戶或創建,添加實體)。但我不能進入「資源管理器」。在這裏,我得到了兩個Silverlight錯誤。
[HttpWebRequest_WebException_RemoteServer]
Arguements:未找到
調試資源字符串不可用
等....主數據服務Silverlight錯誤

服務器是2008年贏R2標準
IIS 6.1(內部版本7601 SP1)
我們」重新運行SQL Server 2012
客戶端正在運行SL5和SL5 SDK
IIS設置爲運行SSL和Win Auth(根據跟蹤日誌,這是可行的,它正在獲取主體)。其他一切都是禁用的
IIS可以連接到數據庫(通過管理部分中的數據庫管理器)
在所有主流瀏覽器(IE,chrome,FF)中都會發生這種情況。

我打開了跟蹤日誌的MDS(設置爲詳細),我沒有看到任何錯誤/警告
我跑SQL profilier以及並沒有看到任何將導致我相信錯了發生了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:
我已經能夠挖掘出另一個錯誤(在許多配置更改後)。 SQL錯誤調試信息:Number:229,消息:在對象'MemberGetCriteria',數據庫'上拒絕EXECUTE權限, MDS',schema'mdm'。,Server:SERVERNAME,Proc:,Line:0

: 由於某種原因「MemberGetCriteria」有一些權限錯誤。

回答

0

兩個關於與運行在IIS應用程序池的服務帳戶權限的事情:

1)必須具有「登錄作爲批處理」的權利,每運行一個應用程序池IIS要求; 2)如果您在MDS網站上要求客戶端證書,則MDS未設置爲使用IIS Web應用程序中的證書訪問MDS \ Service \ service.svc \ bhh調用,因此您需要製作客戶端證書在調用該服務時可選。

web.config:我看到你設置了試圖爲兩個WCF端點設置「Transport」/ HTTPS安全性,但留下標籤而不是標籤。您必須確保您沒有混合和匹配SSL和非SSL部分,並且您只評論Windows/NTLM(或Kerberos如果在後端安裝)安全模式部分,並取消註釋「SSL實施」部分。