dky1e
April 4th, 2003, 02:32 PM
I'm getting an error when i try to run a c# application from a sql server procedure.
It runs with out a problem when i run the app by double clicking. It just errors out when im attempting to run it with xp_cmdshell.
Any ideas?
Here's part of the exception that im getting:
Unhandled Exception: System.TypeInitializationException: The type initializer for "System.Drawing.SafeNativeMethods" threw an exception. ---> System.Runtime.InteropServices.ExternalException: Failed to create system events window thread.
It runs with out a problem when i run the app by double clicking. It just errors out when im attempting to run it with xp_cmdshell.
Any ideas?
Here's part of the exception that im getting:
Unhandled Exception: System.TypeInitializationException: The type initializer for "System.Drawing.SafeNativeMethods" threw an exception. ---> System.Runtime.InteropServices.ExternalException: Failed to create system events window thread.