| Author |
Message |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Wed Jul 20, 2011 1:41 am Post subject: Difficulty with missing .net version |
|
|
I do have a certain problem with SA and missing .net versions.
When an obfuscated app needs for example .net 3.5 and its not installed, the app starts and does "nothing". Of course the automated error reporting sends an message that System.Core v3.5 was not found. But that is not helpful at all for the user or admin.
Is there any way to avoid this specific problem to be caught and reported instead of reporting to the user? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Jul 21, 2011 10:54 am Post subject: |
|
|
I'm assuming you've implemented a custom error dialog or have chosen the option not to display a dialog. Since this is a technically a binding failure, it will happen before the window pops up. All I can think to do is use the SDK to create a custom error handler that displays a window when there is a binding failure and to report silently on any other type of exception. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Thu Jul 21, 2011 2:27 pm Post subject: |
|
|
I am using the default reporting without userinterface.
Yet the SDK solution is not available in the standard version of SA.  |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Jul 21, 2011 2:57 pm Post subject: |
|
|
It's been awhile since I looked into anything like this, but if you implement your own custom "UnhandledExceptionHandler" I think you may be able to put something in there that will display a messagebox on a binding failure. Have you tried it? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Thu Jul 21, 2011 5:56 pm Post subject: |
|
|
If I remember right, without the SDK you can have one or the other but I will have a look at it.
Anyway would be great if SA would be able to handle this in a more end-user friendly way. |
|
| Back to top |
|
 |
|
|
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