Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installed glimpse attempting to access glimpse.axd and receive 404 error?

It is a simple as that I installed glimpse following this page. :

http://getglimpse.com/About/QuickStart

I then attempt to navigate to http://myApp/glimpse.axd and receive 404 error not found.

As you can see in the Quickstart there is this statement. :

If you get a "Page not found" when browsing to "/glimpse.axd" check the troubleshooting section in the FAQ.

There is nothing in the FAQ regarding this. I have skimmed this website and getGlimpse.com attempting numerous other configurations and nothing is working. Any one else run into this issue and fix it?

Tried this also. :

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

like image 832
Bill Blankenship Avatar asked Jan 02 '13 23:01

Bill Blankenship


2 Answers

I had a multi-project solution and was installing it from the Package Manager Console. I found that installing it using the following command worked:

 PM> Install-Package -ProjectName <MyProject> Glimpse.MVC4

Of course you need to replace <MyProject> with your own project name.

like image 130
Travis Pessetto Avatar answered Sep 28 '22 11:09

Travis Pessetto


Make sure you have the Glimpse module and handler registered in your web.config based on the web server you are using.

  • If you are using a site on IIS6, in IIS7.x classic pipeline mode or Visual Studio Development Server

    <system.web>
        <httpModules>
            <add 
                name="Glimpse" 
                type="Glimpse.Core.Module, Glimpse.Core"
            />
        </httpModules>
        <httpHandlers>
            <add 
                path="glimpse.axd" 
                verb="GET,POST" 
                type="Glimpse.Core.Handler, Glimpse.Core"
            />
       </httpHandlers>
       ...
    

  • And if you are using IIS 7.x in integrated pipeline mode or IIS Express:

    <system.webServer>
        <modules>
            <add 
                name="Glimpse" 
                type="Glimpse.Core.Module, Glimpse.Core" 
                preCondition="integratedMode" 
            />
        </modules>
        <handlers>
            <add 
                name="Glimpse" 
                path="glimpse.axd" 
                verb="GET,POST" 
                type="Glimpse.Core.Handler, Glimpse.Core" 
                preCondition="integratedMode" 
            />
        </handlers>
        ...
    </system.webServer>
    
like image 39
Darin Dimitrov Avatar answered Sep 28 '22 12:09

Darin Dimitrov