MVC-Mini-Profiler Error: yepnope is not defined

I am using the mvc-mini-profiler to profile my MVC site. It runs fine on my local machine, but when i publish to my hosting server, the profiler doesn't load, and i get the following error:

yepnope is not defined

As far as I can tell, the problem lies in the profiler trying to use yepnope before yepnope has been loaded. Is there a way around this, maybe by forcing a check to see if yepnope has been loaded before executing the miniprofile render command? Here are the relevant lines from the page's generated source

<script type="text/javascript" src="/mini-profiler-yepnope.1.0.1.js"></script>
<script type="text/javascript">
{ test: window.jQuery, nope: '/mini-profiler-jquery.1.6.1.js' }, 

And for completeness, the calls in my _layout file

<script src="" type="text/javascript"></script>
@MiniProfiler.RenderIncludes(position: RenderPosition.Left, showTrivial: false, showTimeWithChildren: false)


Check if you are getting a 404 error when trying to load yepnope.js. There was a bug in MvcProfiler in dealing with application path, which has been addressed in later builds.

MVC Mini Profiler includes not respecting application's path

Make sure that you aren't clearing your routes when registering them for your site. The mini profiler adds its own routes for those javascript files to the RouteCollection potentially before your site is initialized.

In case anyone else has this problem, it has been submitted to their google code project. It is a known issue, and they are working on it.

Issue Page if you want to track it

Need Your Help

Jenkins + Xcode Plugin .dSYM not correspond to build

ios xcode jenkins testflight

I am using Jenkins to produce and distribute builds for an iOS application and for that I installed the xcode and the TestFlight plugins. The build and archiving succeed but uploading the dSYM to

Page refresh instead of Ajax Load without

php javascript jquery mysql ajax

On form submit i want to load a div with an updated list of a mysql table. I'am sending the form variables across to a php and posting them into a mysql table. the same page displays the full table...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.