I'm currently evaluating a couple of different .NET profiler tools and find dotTrace especially interesting because of its remote profiling capabilities.
Alas, following the guide at http://www.jetbrains.com/profiler/webhelp/Profiling_Guidelines__Remote_Computer.html I haven't managed to get remoting profiling to work.
The problem is that dotTrace Remote Agent crashes when I try to run it from the console on the remote machine. It returns the following error message:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly 'System.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c56193
4e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c
at JetBrains.Profiler.Agent.Impl.Program.Main(String args)
The remote system runs Windows Web Server 2008 R2 and hosts an ASP.NET 4.0 Application.
Should I simply locate a v 3.5 version of System.Core.dll and copy it to the server or is there something else going on here?
Any help would be most appreciated!