ANTS crashes on startup
spraguep
Posts: 4
I downloaded the 14 day trial. The 1st time I installed the application it ran for about an hour, then I started to get some exceptions. I closed the application and restarted it and from that point on it won't start. I've reinstalled 3 times.
The splash screen displays for about 5 seconds then the debugger pops up asking me if I want to debug the app. The error just says:
An exception 'System.TypeInitializationException' has occurred in RedGate.Profiler.UI.exe
When I installed ANTS i didn't opt to integrate it with my IDE.
I'm running WinXP Pro SP2.
The splash screen displays for about 5 seconds then the debugger pops up asking me if I want to debug the app. The error just says:
An exception 'System.TypeInitializationException' has occurred in RedGate.Profiler.UI.exe
When I installed ANTS i didn't opt to integrate it with my IDE.
I'm running WinXP Pro SP2.
Comments
When .NET programs crash randomly like this it's typically a problem with the cached native images that .NET keeps in order to improve application performance. These should be refreshed when the program is re-installed, but something has definitely gone wrong on your computer, so maybe forcing a re-install would help.
If you open a Visual Studio 2005 command-line, then run
cd %programfiles%\red gate\ants profiler 3
ngen.exe uninstall RedGate.Profiler.UI.exe
ngen.exe install RedGate.Profiler.UI.exe
Hopefully this will sort the problem out.
So I tried an uninstall and this happened:
So I did an install instread:
I then ran the application and it crashed the same as before. Then I did an uninstall/install install again and got the same results.
Even if you have the current version, it may be a good idea to uninstall ANTS Profiler, remove anything from the %programfiles%\red gate\ANTS Profiler 3 folder, uninstall any RedGate.Profiler.* assemblies from %systemroot%\assembly, then reinstall ANTS Profiler.
The file version of the installer is 3.1.0020. When I get some time I'll see if i can reinstall and let you know what happens.
I suspect that this error is being caused by a mismatch of DevExpress components in the gac. More details in my post at http://www.red-gate.com/messageboard/vi ... c&start=15
The workaround for now is to go into the GAC and delete any DevExpress v6.3 dlls that you find.
Apologies
Tom Harris, Red Gate Software