Closed GoogleCodeExporter closed 8 years ago
Have you set runAllManagedModulesForAllRequests to true?
Take from the FAQ:
"I needed to add the following line to the web.config section for url routing
in IIS7:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
"
http://code.google.com/p/mvc-mini-profiler/wiki/FrequentlyAskedQuestions
Original comment by MHB...@gmail.com
on 22 Jul 2011 at 5:02
That did it. Thank you - go ahead and close.
I did skim by that comment but I guess I didn't "take it seriously" because it
was just a comment on the FAQ. Thanks again. :)
Original comment by andyp...@gmail.com
on 22 Jul 2011 at 5:05
My recently-added issue 60 covers the same ground - my feeling is that all
sorts of unpleasantness follows from trying to serve files with extensions that
are either unusual (.tmpl) or static-by-convention (.js, .css) through an
ASP.NET handler. It doesn't feel right to me that a profiler should need such
radical pipeline changes to make it work - Heisenberg will be waiting at the
door with his studded baseball bat.
Original comment by prefect_...@indcomp.co.uk
on 22 Jul 2011 at 5:39
Original comment by nrcraver
on 25 Jul 2011 at 10:28
I don't think that setting runAllManagedModulesForAllRequests=true is a great
solution because it forces all static files to be run through the pipeline so I
usually turn this off. Could we render these includes extensionless rather or
are there any instructions for leaving runAllManagedModulesForAllRequests=false
and only forcing the mini profiler includes through the asp.net pipeline?
Original comment by g...@bitdiff.com
on 20 Aug 2011 at 9:18
I also think, that setting runAllManagedModulesForAllRequests=true could be
avoided simply by changing path of requested resource, in that case and even if
this can be solved using web transforms, I would prefer not to switch it
between debug and retail builds.
Original comment by Giedrius...@gmail.com
on 16 Dec 2011 at 11:12
Original issue reported on code.google.com by
andyp...@gmail.com
on 22 Jul 2011 at 4:42