473,497 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3994
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
2061
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
1532
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
5955
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
8317
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
7102
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
291
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
3736
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
11559
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
2212
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
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
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...
1
6881
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
7375
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
5456
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,...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.