An exception 'System.ExecutionEngineException' has occurred in ser

G

Guest

An exception 'System.ExecutionEngineException' has occurred in servername

I have deployed a windows application on a server; I'm running the same on
my pc using http://servername/myApps/myApp.exe. myApp.exe contains some third
party controls used to display data in a grid and to print a preview of the
data. I am getting the above listed error when I attempt to preview/print a
DevExpress GridControl using the DevExpress printing control. A network
printer is registered on the server as well as my pc.

I created a test application which mimics the full-fledged application, but
I have not been able to reproduce this error. What could be causing the
System.ExecutionEngineException JIT error? Can it be traced? The code which
prints a preview is enclosed in a Try-Catch block but the
ExecutionEngineException is still uncaught. Please advise....

Thanks,
Norm
 
D

Daniel O'Connell [C# MVP]

NormD said:
An exception 'System.ExecutionEngineException' has occurred in servername

I have deployed a windows application on a server; I'm running the same on
my pc using http://servername/myApps/myApp.exe. myApp.exe contains some
third
party controls used to display data in a grid and to print a preview of
the
data. I am getting the above listed error when I attempt to preview/print
a
DevExpress GridControl using the DevExpress printing control. A network
printer is registered on the server as well as my pc.

I created a test application which mimics the full-fledged application,
but
I have not been able to reproduce this error. What could be causing the
System.ExecutionEngineException JIT error? Can it be traced? The code
which
prints a preview is enclosed in a Try-Catch block but the
ExecutionEngineException is still uncaught. Please advise....

ExecutionEngineException is a special case most of the time, it usualy means
something went wrong deep in the runtime internals somewhere. Did you happen
to keep the stack trace and error message of the exception?
 
G

Guest

Daniel,

Thanks for getting back. This error occurs consistently, at my pc as well
as my client's pc.

My client gets a "Just-In-Time Debugging" error dialog, which displays the
"An exception 'System.ExecutionEngineException' has occurred in ServerName."
error and asks whether to use a new instance of vs.net to debug it.

I get the same error message, but I'm also informed that there are no JIT
debuggers installed on my pc.

I've looked at the event log on my pc, but it does not contain any
additional information about this error. How would I obtain the stack trace
and the internal error message? Please advise...
 
D

Daniel O'Connell [C# MVP]

NormD said:
Daniel,

Thanks for getting back. This error occurs consistently, at my pc as well
as my client's pc.

My client gets a "Just-In-Time Debugging" error dialog, which displays the
"An exception 'System.ExecutionEngineException' has occurred in
ServerName."
error and asks whether to use a new instance of vs.net to debug it.

The debugger error dialog should have a more button, if memory serves, hit
it and see if it gives you any more information. If it doesn't(it's been a
while, I can't recall if ExecutionEngineException will have anything,)
install a debugger and break into it. If you are using VS2003 or better you
should be able to access the exception using the $exception local in the
debugger.

If all else fails, I'd consider contacting DevExpress to find out if it is a
known issue with their control. Are you using the most recent version?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top