473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

System.ExecutionEngineException

Hi

I have been having a strange problem with a c# application I have been
developing. My application detects when a Pocket PC device has been
connected (via ActiveSyc) and queries the registry on the device to find out
the Device ID and whether or not any of our Pocket PC applications have been
previously installed on it so we can notify users if updates are available
etc. Every now and again though, a System.ExecutionEngineException is thrown
and my application terminates without warning! I haven't managed to find out
what part of my code causes this abnormal termination as it seems to occur
randomly.

I have done a few searches for "System.ExecutionEngineException" and one
article of interest is a Microsoft Knowledge Base post:
http://support.microsoft.com/?kbid=327106 BUG:
Some Marshal Class APIs Throw System.ExecutionEngineException If You Pass a
Pointer, ByRef, or Array Type

The MS knowledge base article states that this is a known bug affecting .NET
Framework 1.0 & 1.1

Now I don't know anything about the Marshal Class API, or writing unmanaged
code, but I am using the OpenNETCF.org Desktop.Communication Libray wrappers
for RAPI to read the registry on the PPC device and there seems to be some
marshalling going on in there.

I then decided to download the .NET Framework 1.1 Service Pack 1 Tech
Preview to see if that resolved my problem - and it did! So it would seem
that the bug has been fixed, but this still leaves me with a problem - I
can't release my software until the .NET Framework Service Pack 1 is
officially released later in 2004!

Does anybody have any ideas for a workaround until the SP 1 final release is
available?

Thanks

John
Jul 21 '05 #1
1 3981
Hi John,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that a known issue in .NET framework
prevents you from releasing your application. If there is any
misunderstanding, please feel free to let me know.

Since this issue will be fixed in .NET framework 1.1 SP1, it is recommended
that you contact Microsoft PSS for it. If you have business impact on it,
they might provide you with a hotfix on this free of charge. You can find
contact information from the following link:

http://support.microsoft.com/default.aspx?scid=sz;[ln];top

HTH. If anything is unclear, please feel free to reply to the post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Prasad | last post by:
We are invoking a SQL DTS component (lets call it Comp1) built by us in another component (Comp2).Comp1 was built by creating the DTS package using the SQL DTS wizard and then saving it as a VB...
0
by: michael | last post by:
So I have a fairly large VB.Net application, lots of objects, lots of yucky OLEDB code. One day I started converting some Singles to Decimals because I wanted to make some calculations as precise...
1
by: Goyit | last post by:
I have just completed a project and everything was run nicely and then I decided to change the project name, assembly name, and add another Blank Solution and add the project into that new...
2
by: Einar Værnes | last post by:
Hi I'm new to C#, and have just started to make a aspx-program. The program runs fine until i try to include a two-dimensional array: int myArray = new int {{1,2}, {3,4}, {5,6}, {7,8}}; The...
1
by: Tim Mulholland | last post by:
I have an application that uses an external C(?) Dll and it seems like after I make a specific call to that dll the application will crash at a random call to the dll in the future. It sometimes...
1
by: John O'Neill | last post by:
Hi I have been having a strange problem with a c# application I have been developing. My application detects when a Pocket PC device has been connected (via ActiveSyc) and queries the registry...
3
by: NormD | last post by:
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...
3
by: Stephen Flynn | last post by:
If I run my program on another machine I get the following error An unhandled exception of type 'System.ExecutionEngineException' occurred in System.Data.dll This happens with I try to open an...
0
by: selvialagar | last post by:
i've done a calibration tool. In that, there will be list of parameters and the value for the parameters are coming from the external device using TCP communication. The Screen will be refreshed once...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.