Could not load file or assembly 'RedGate.Profiler.Instrument
dannytuppeny
Posts: 18
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?
"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?
Comments
http://www.red-gate.com/MessageBoard/vi ... php?t=3489
so I'll try uninstalling and reinstalling the 2.7.1 version
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.