How can we help you today? How can we help you today?

Could not load file or assembly 'RedGate.Profiler.Instrument

I'm trying to profile an ASP.NET app (this worked last week), and I'm getting this error:

"Could not load file or assembly 'RedGate.Profiler.Instrumentation, Version=2.5.0.0, Culture=neutral, PublicKeyToken=dfe6a4d9ee4c82c0' or one of its dependencies. The system cannot find the file specified. "

Coming from the first static field defined in our application.

I'm not sure if it's related, but I installed the .NET 3.0 runtime, and the Windows SDK, and have a reference to WindowsBase.dll (which contains the System.IO.Packaging namespace) in one of the assemblies referenced by the web app.

The web app runs fine on its own, everything (including the packaging stuff) works as expected.

Any ideas?
dannytuppeny
0

Comments

3 comments

  • dannytuppeny
    Just found this:

    http://www.red-gate.com/MessageBoard/vi ... php?t=3489

    so I'll try uninstalling and reinstalling the 2.7.1 version
    dannytuppeny
    0
  • Brian Donahue
    I'd just recommended this solution to a customer via email yesterday and it does work with no problems. I also added the extra step of unregistering the core2.dll before installing again, but I'm not sure if this makes a difference.

    regsvr32 /u c:\program files\red gate\ants profiler\redgate.profiler.core2.dll

    The root of the problem is an outdated COM registration for this dll.
    Brian Donahue
    0
  • dannytuppeny
    I repaired with no luck, so I uninstalled and then re-installed, and it was fine :D
    dannytuppeny
    0

Add comment

Please sign in to leave a comment.