473,761 Members | 5,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Executio nEngineExceptio n problem

I have a stable app developed on ASP.NET 1.1 that I'm porting to 2.0.

However, I've noticed that on one page, if I click a button to perform some
business logic (which runs fine), then click on a hyperlink to move to a
different page, I get a 'System.Executi onEngineExcepti on' exception. There
is no line highlighted in the debugger.

I'm not using interop or other threads.

Event viewer shows:

..NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3)
(80131506)

I also sometimes see:

aspnet_wp.exe (PID: 2324) stopped unexpectedly.

It fails predictably on the dev web server in VS2005, less regularly on IIS
(although it does still fail).

I've tried to create a simplified program to reproduce the problem - so far
without success. However I did notice that the problem was worsened by some
code returning an array (15-20) of small Dictionary<> objects. I added a
conversion routine to turn them into arrays of structs, and some of the
problems went away. Is this something to do with memory-shortage?? My PC has
800mb, with around 80mb free when running the code.

Whats going on??? Is this a bug in .NET2, or is there something stupid in my
code? Advice would be welcome!!

XP Pro sp2, .NET 2.0.50727.42, VS2005, SQL2005

Thanks,

John
Feb 28 '06 #1
2 2150
I've reported this to Microsoft, and they can reproduce the problem. I'll
post an update when I know more.

John

"John" <js************ @ecclesdeleteth iscollege.ac.uk > wrote in message
news:OA******** *****@TK2MSFTNG P10.phx.gbl...
I have a stable app developed on ASP.NET 1.1 that I'm porting to 2.0.

However, I've noticed that on one page, if I click a button to perform
some business logic (which runs fine), then click on a hyperlink to move
to a different page, I get a 'System.Executi onEngineExcepti on' exception.
There is no line highlighted in the debugger.

Mar 3 '06 #2
Microsoft report the problems stems back to a Dictionary<deci mal,double>
instance.

Looks like the CLR can't cope with this for some reason. Be afraid.....

John

"John" <js************ @ecclesdeleteth iscollege.ac.uk > wrote in message
news:e2******** ******@TK2MSFTN GP09.phx.gbl...
However, I've noticed that on one page, if I click a button to perform
some business logic (which runs fine), then click on a hyperlink to move
to a different page, I get a 'System.Executi onEngineExcepti on' exception.
There is no line highlighted in the debugger.

Mar 9 '06 #3

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

Similar topics

0
1577
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. I switched them back to Singles and now everything works fine again. To make matters worse...
1
4074
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 users if updates are available etc. Every now and again though, a System.ExecutionEngineException is...
1
6027
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 this: "An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown...
2
8334
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 'System.ExecutionEngineException' occurred
1
387
by: Ladislav Prosek | last post by:
Hello, I have a managed class that I wrote in C++. When an exception (no matter which one) is thrown in its constructor, the program continues as expected but when it is about to exit (after leaving _tmain()), it crashes with ExecutionEngineException. It happens only with this one class. The constructor might be simplified to only one line - throw an arbitrary exception, and the problem persists. Does anyone have a similar experience?...
8
1894
by: John | last post by:
Hi I am getting this error when running a project; An unhandled exception of type 'System.ExecutionEngineException' occurred in system.dll What can I do to fix this problem? Using vs.net 2003, framework 1.1 sp2. Thanks
3
3765
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 error when I attempt to preview/print a DevExpress GridControl using the DevExpress printing control. A...
3
11605
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
5
3818
by: ShadowLocke | last post by:
Hi! I'm having a problem calling CryptDecrypt from .Net. Even thoug I call from inside a try catch block execution stops on the call with error "Exception of type 'System.ExecutionEngineException' was thrown." with no extra information after that.. Has anyone run into a problem like this before? private static extern bool CryptAcquireContext(ref IntPtr hProv, string pszContainer, string pszProvider, uint dwProvType, uint dwFlags);
0
9522
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9336
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9948
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9765
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8770
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5215
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.