问题描述:

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.

相关阅读:
Top