2015-06-02 28 views
1

我有SymbolSource Server Basic安裝並運行,遵循Xavier Decosters blog entry中的說明。如何配置SymbolSource服務器基本版

我已經設置了Visual Studio中的recommended by SymbolSource

的問題是,符號服務器返回404的所有URL的是Visual Studio的詢問。

  • HTTP .../WinDbg的/ PDB/MightyLittleGeodesy.pdb/82A03D09EC754F5893C3806CDA329EC92/MightyLittleGeodesy.pdb
  • HTTP .../WinDbg的:試圖加載PDB時

    Visual Studio中訪問以下網址/pdb/MightyLittleGeodesy.pdb/82A03D09EC754F5893C3806CDA329EC92/MightyLittleGeodesy.pd_

  • HTTP .../WinDbg的/ PDB/MightyLittleGeodesy.pdb/82A03D09EC754F5893C3806CDA329EC92/file.ptr

    404 errors from Fiddler

的SymbolServer網站有以下幾點:

  • \ ... \ DATA \ MightyLittleGeodesy \ 1.0.0.0 \二進制\ MightyLittleGeodesy \ 82A03D09EC754F5893C3806CDA329EC92 \ MightyLittleGeodesy.pdb

    Symbol Server Data Directory

我試過了大量的網址v在瀏覽器中使用ariations,並且我無法讓Symbol服務器爲其中任何一個返回除404之外的其他任何內容。

有沒有人知道該怎麼辦?

謝謝 - 土木工程拓展署

回答

2

對於任何錯誤,請參閱http://localhost/%your_app%/elmah.axd

如果你面對404 *錯誤,那麼你應該檢查以下條件:

  1. 添加寫權限到「數據」目錄申請IIS_IUSRS組的
  2. 爲應用程序創建單獨的程序池和使32位選項
  3. 添加MIME類型二者的.pdb(應用/八位字節流)和的.cs(文本/無格式)文件類型
  4. 編輯的web.config和添加下列行:

    <location path="Data"> 
    <system.webServer> 
        <handlers> 
        <clear /> 
        <add name="Deny" verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" /> 
        <add name="Allow" verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" /> 
        </handlers> 
        <security> 
        <requestFiltering> 
         <fileExtensions allowUnlisted="true"> 
         <clear /> 
        <add fileExtension=".cs" allowed="true" /> 
         </fileExtensions> 
        </requestFiltering> 
        </security> 
    </system.webServer> 
    

    <location path="WinDbg/pdbsrc"> 
    <system.webServer> 
        <handlers> 
        <clear /> 
        <add name="Deny" verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" /> 
        <add name="Allow" verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" /> 
        </handlers> 
        <security> 
        <requestFiltering> 
         <fileExtensions allowUnlisted="true"> 
         <clear /> 
        <add fileExtension=".cs" allowed="true" /> 
         </fileExtensions> 
        </requestFiltering> 
        </security> 
    </system.webServer> 
    

我SymbolSource的版本是1.3.3

+0

謝謝你。我現在基本上已經離開了Symbol Server,它似乎已經死了。我一直建議dotPeek作爲更方便的解決方案。 – cedd