سؤال

I'm trying to get the mini profiler working with code first and am having a problem. I've got the miniprofiler and miniprofiler.ef packages from nuget and have added the

MiniProfilerEF.Initialize();

to the application start method but when I try and perform a query I get this error.

The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

and thoughts on why this could be?

Thanks in advance.

هل كانت مفيدة؟

المحلول

This is a known problem with no solution at present. to keep upto date on it look here code.google.com/p/mvc-mini-profiler/issues/detail?id=100#c4

نصائح أخرى

If you use it as httpmodule then check names in web.config, probably there is a type there.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top