473,378 Members | 1,387 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,378 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 3969
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.