asp.netiisglimpse

Can't Get Glimpse To Work On Remote IIS


I've tried everything I can think of, so I'm turning to SO. I can't get Glimpse to work on a remote IIS server. I'm using Glimpse 1.2 with ADO, ASP.NET, EF5, and Mvc4 extensions. Everything works wonderfully when I launch the web application locally using the VS development server. However, I can't seem to get the Glimpse icon to show up when deploying to our remote development server. Here's what I've tried and noticed:

2013-04-11 12:43:06.8992 | DEBUG | RuntimePolicy set to 'Off' by IRuntimePolicy of type 'Glimpse.AspNet.Policy.LocalPolicy' during RuntimeEvent 'BeginRequest'.

I'm sure I've just missed a setting somewhere, but this is driving me nuts. Anyone have any ideas?

Thanks.


Solution

  • You configuration needs to be updated, like so:

    <glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
      <inspectors> 
        <ignoredTypes> 
          <add type="Glimpse.Mvc.Inspector.DependencyInjectionInspector, Glimpse.Mvc4" /> 
        </ignoredTypes> 
      </inspectors>
      <runtimePolicies>
        <ignoredTypes>
            <add type="Glimpse.AspNet.Policy.LocalPolicy, Glimpse.AspNet"/>
        </ignoredTypes>
      </runtimePolicies>
    </glimpse>
    

    Runtime policies and inspectors are two different things and are configured in their own nodes.