Glimpse for MVC3 module not found after NuGet install of Glimpse.MVC3

血红的双手。 提交于 2019-12-11 02:09:55

问题


I just added Glimpse.MVC3 to an MVC3 app I'm battling to deploy to IIS / debug on IIS (7.5), but when I try to activate it via Glimpse.axd, I get a 404 not found. I am appending the url to my route, and no longer attempting it as an absolute url


回答1:


Look through this: http://getglimpse.com/Help/Configuration

In web.config make sure it is enabled

<glimpse enabled="true" loggingEnabled="true" requestLimit="15">

IP Addresses ...

<ipAddresses>
<add address="127.0.0.1" />
<add address="192.168.100.59" />
<add address="::1" />
<add address="fe80::f17e:d177:359f:6cee%14" />
</ipAddresses>



回答2:


Make sure that the module is registered properly in your web.config, remember you will set it up differently in classic vs integrated mode.

You also need to delpoy Glimpse.Core.dll to your applications bin directory.



来源:https://stackoverflow.com/questions/6668914/glimpse-for-mvc3-module-not-found-after-nuget-install-of-glimpse-mvc3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!