mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

VirtualDirectory/mini-profiler-results?id=(Guid)&popup=1 not found #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow steps to add profiler to your project
2. The project is in a virtual directory
3. 
"http://localhost/VirtualDirectory/mini-profiler-results?id=00f8651d-ebbf-443d-b
60d-d83f950adf6a&popup=1" can't be found. 404.

The URL for 
"http://localhost/VirtualDirectory/mini-profiler-includes.less?v=2.1.4183.14740"
 is found. 

If you take away the "popup=1" from the URL you don't get a 404.

What version of the product are you using? On what operating system?

Latest as of 6/20/2011 (1.3) using NuGet. MVC3. VS2010. Knockout.js. jQuery 
1.5.2.

Original issue reported on code.google.com by wvdomin...@gmail.com on 20 Jun 2011 at 1:58

GoogleCodeExporter commented 8 years ago
I figured it out. I left out a step that was very important.

protected void Application_EndRequest()
{
    MiniProfiler.Stop();
}

Original comment by wvdomin...@gmail.com on 20 Jun 2011 at 4:57

GoogleCodeExporter commented 8 years ago

Original comment by nrcraver on 22 Jun 2011 at 7:49