Red Gate forums :: View topic - Profiling crashes with "Could not load type <Module>..."
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 7
ANTS Performance Profiler 7 forum

Profiling crashes with "Could not load type <Module>..."

Search in ANTS Performance Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
david buchan



Joined: 22 Oct 2012
Posts: 2

PostPosted: Mon Oct 22, 2012 1:47 pm    Post subject: Profiling crashes with "Could not load type <Module>..." Reply with quote

Hi,

I'm running ANTS Performance Profiler 7.4 against a .Net 1.1 Win Forms application.
It very quickly crashes with:

Code:
Could not load type <Module> from assembly Oracle.DataAccess, Version=1.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342


The application works by running the executable stand alone. It also works within Visual Studio 2003.

All assemblies are Strong Named.
I have tried each of the Profiling Modes.
I have been unable to try it after removing the strong names from the assemblies because there are several encrypted configuration files that are mapped to some of the strong named assemblies.

Any thoughts on what's going wrong?

The Memory Profiler works with this application (We are purchasing the .Net Developer Bundle purely on the back of how good the Memory Profiler is).
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Tue Oct 23, 2012 3:26 pm    Post subject: Reply with quote

Thanks for your post and I'm sorry you're having trouble- I'm not aware of any specific issues with the DLL you mention although I'm wondering if it's maybe something related to the SQL DB Profiling in the newer build of the profiler. Does version 7.0 have the same problem?

If not, then I guess the new SQL profiling is causing trouble with your app. If it still crashes, we'll need to take some alternative troubleshooting steps, so try the above and let me know.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Tue Oct 23, 2012 4:27 pm    Post subject: Reply with quote

One other thing - I saw you mention you're still using framework 1.1. Whilst I don't *think* we've officially dropped support for this, the APIs offered are pretty different, and ASP.Net in particular may not work.

Is it feasible to update your app to reference at least framework 2.0 to eliminate this?
Back to top
View user's profile Send private message
david buchan



Joined: 22 Oct 2012
Posts: 2

PostPosted: Wed Oct 24, 2012 8:57 am    Post subject: Reply with quote

For the purposes of doing Performance Analysis, yes I'll upgrade the references to .Net 2... See what happens. Will let you know.
Unfortunately it is a ridiculously un-deliberately obfuscated application. Which is why your Performance Profiler tool will be such a boon. If it is half as helpful as the Memory Profiler has been, I think I'll burst with happiness! Smile

Just to note, it is a purely Win Forms app. It is not ASP in any way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group