473,563 Members | 2,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Executio nEngineExceptio n

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.Executio nEngineExceptio n 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.Executi onEngineExcepti on" and one
article of interest is a Microsoft Knowledge Base post:
http://support.microsoft.com/?kbid=327106 BUG:
Some Marshal Class APIs Throw System.Executio nEngineExceptio n 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.Communi cation 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 4026
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
misunderstandin g, 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
2087
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 .bas file - this was converted to .NET class module. To this module we added some cutom transformation tasks. An additional info - we are invoking...
0
1554
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 as possible. Then I started getting System.ExecutionEngineException's in a harmless little function that does some simple arithemetic on Decimals....
1
5975
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 solution. I'm sure evrything was done correctly and has change nothing inside my code. But when I run my program now, it occationally crashed and display...
2
8323
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 code compiles with no problems, but the program crashes immediately with the error message: "An unhandled exception of type...
1
7122
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 crashes the next call after said call, while sometimes it doesn't crash for 5 minutes; but it always crashes. As long as I don't call...
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 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...
3
3747
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 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...
3
11571
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 OleDb.OleDbConnection What is causing this? Also the normal Try Catch block doesn't catch this error, I had to use the
0
2219
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 in a second. Now, i'm trying to establish the connection with the device in the form Load event. Whenever the form loads, it tries to connect to...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.