2014-05-22 39 views
0

爲了獲得我們的MVC4應用程序(使用WebRole for Microsoft Azure)的診斷,我們通過NuGet安裝了Glimpse啓用掠影導致「頁面不可用」

一切都很順利,但是當我通過~/Glimpse.axd頁面啓用Glimpse時,我們的應用程序完全無法訪問。在每次請求時,我們都會收到「此網頁不可用」消息(Chrome)。

在Visual Studio 2013輸出窗口,我看到這表明通過web.config禁用異步支持的錯誤消息:

<appSettings> 
    <add key="Glimpse:DisableAsyncSupport" value="true"/> 
</appSettings> 

不幸的是這並沒有幫助。當我們關閉Glimpse時,一切都很好。

如何找出問題所在?

更新

日誌顯示我這樣的警告:

WARN | Unable to locate '</body>' with content encoding 'Unicode (UTF-8)' for request. The response may be compressed or the markup may actually be missing a '</body>' tag.

回答

4

發現我在troubleshooting page of Glimpse解決方案。

總之,網址壓縮應用於所以不得不在web.config中禁用此:

<system.webServer> 
    <urlCompression doDynamicCompression="true" dynamicCompressionBeforeCache="false" /> 
</system.webServer>