By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,183 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

An exception 'System.ExecutionEngineException' has occurred in ser

P: n/a
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
Apr 7 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"NormD" <ma***@newsgroup.nospam> wrote in message
news:36**********************************@microsof t.com...
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?
Apr 10 '06 #2

P: n/a
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...

"Daniel O'Connell [C# MVP]" wrote:

"NormD" <ma***@newsgroup.nospam> wrote in message
news:36**********************************@microsof t.com...
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?

Apr 10 '06 #3

P: n/a

"NormD" <ma***@newsgroup.nospam> wrote in message
news:67**********************************@microsof t.com...
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?
Apr 11 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.