2012-09-25 56 views
1

在本地,映射到IIS中的虛擬目錄,一切正常。當我將網站部署到Azure時,我仍然可以訪問Glimpse.axd並設置cookie(IP報告位於允許列表中),但Glimpse圖標未顯示在任何頁面上。Glimpse在本地工作,但未部署到Azure

瀏覽器沒有報告任何javascript錯誤。檢查頁面源代碼時,應該注入頁面的兩個javascript包含文件不會被髮送。

在web.config中設置loggingEnabled="true"會在本地生成相同的日誌,這與在Azure上執行的操作一樣,不起作用(虛擬目錄和requestId除外)。來自Azure日誌:

2012-09-25 17:54:13.0271|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart)| 
2012-09-25 17:54:13.1571|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:13.1571|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:13.1571|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:13.1571|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:28.5420|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:28.5420|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:28.5420|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:28.5420|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5812|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5812|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5812|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5831|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5831|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5831|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5831|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5831|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5988|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5988|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5988|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.5988|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.| 
2012-09-25 17:54:30.7874|INFO|Glimpse.Core.Module|PostRequestHandlerExecute handling complete for requestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart)| 
2012-09-25 17:54:30.8978|INFO|Glimpse.Core.Module|PostReleaseRequestState handling complete for requestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart)| 
2012-09-25 17:54:31.0277|INFO|Glimpse.Core.Module|Glimpse JSON payload created for requestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart)| 
2012-09-25 17:54:31.1411|INFO|Glimpse.Core.Module|Glimpse output generated for requestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart)| 
2012-09-25 17:54:31.1411|INFO|Glimpse.Core.Module|RequestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart) persisted| 
2012-09-25 17:54:31.1411|INFO|Glimpse.Core.Module|EndRequest handling complete for requestId 4da70989-d89b-46ef-80c6-43bd6f5a7ce1 (/cart)| 

我在開發中成功使用了Glimpse,並在去年將它部署到Azure上的測試服務器上。從那時起,我一直沒有必要使用它。該項目發生了很多變化,但這與一年前的解決方案相同。我只是試圖找出現在只發生在Azure中的問題。

任何建議我可以從哪裏開始尋找?我正在使用MVC3和.NET 4.0與Glimpse 0.87

回答

0

我敢打賭,你在web.config中配置的IP地址不是實際的IP地址Azure的基礎設施通過。

好消息是,我們已從Glimpse 1.0版本候選版本中刪除了IP過濾功能,該功能目前可作爲NuGet上的預發包提供。

如果升級後仍然有問題,請提交Glimpse's GitHub issue tracker的錯誤報告。

相關問題