简体   繁体   中英

Glimpse client side tool not appearing after setup on ASP.NET MVC 3 Site

So I installed glimpse using NuGet, confirmed that the web.config got updated, entered "MySite/glimplse.axd" turned the service on and I do not see the client side tool. I have used glimpse on other sites and its usually smooth but the current application is several orders of magnitude more complex, It has several HttpModules and is currently set up on my local IIS7 installation (not running in Cassini), is there anything that could be interfering with Glimplse that I should be aware of ?

Had the same problem after updating Glimpse this morning (v1.3.0). Here's what I did to solve this.

Turn on tracing for Glimpse

<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
    <logging level="Trace" />
</glimpse>

Turn on tracking for Asp.net

<system.web>
  ...
  <trace enabled="true" pageOutput="true" requestLimit="40" localOnly="true"/> ...

The tracing output gave me a hint what had happen.

In my case, request to Glimpse.axd got a 404 response due to the Forms authentication.

p/s: Glimpse update (via nuget) will modify the Web.Config file, and I always have to manually undo those changes (my Web.config have several <location path=> that wrap system.web and system.webServer and the updates seem to ignore them).

You should be able to get a bit more information about why Glimpse is not showing up by enabling logging in your web.config.

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

If the log file doesn't seem to spell it out for you, post it here for help reviewing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM