473,793 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An unhandled exception of type 'System.Executi onEngineExcepti on' occurred in System.Data.dll

If I run my program on another machine I get the following error

An unhandled exception of type 'System.Executi onEngineExcepti on' occurred in
System.Data.dll

This happens with I try to open an OleDb.OleDbConn ection

What is causing this?

Also the normal Try Catch block doesn't catch this error, I had to use the
CLR debugger to get the error.

Thanks.
Mar 5 '07 #1
3 11607
In article <O$************ **@TK2MSFTNGP03 .phx.gbl>,
ss*****@nospam. nospam says...
If I run my program on another machine I get the following error

An unhandled exception of type 'System.Executi onEngineExcepti on' occurred in
System.Data.dll

This happens with I try to open an OleDb.OleDbConn ection

What is causing this?
Wow. That's a nasty one. I would re-install the .NET runtime and make
sure both machines are running the same version (including service
packs).
Also the normal Try Catch block doesn't catch this error, I had to use the
CLR debugger to get the error.
I think there are (at least in 1.x) four exceptions that are so "bad",
they can't be caught. The runtime is so corrupt, it can't do proper
stack unwinding to process the exception.
System.Executio nEngineExceptio n is one of them.

--
Patrick Steele
http://weblogs.asp.net/psteele
Mar 6 '07 #2
Thanks for the reply. How do I go about reinstalling the .Net runtime?
"Patrick Steele" <pa*****@mvps.o rgwrote in message
news:MP******** *************** *@msnews.micros oft.com...
In article <O$************ **@TK2MSFTNGP03 .phx.gbl>,
ss*****@nospam. nospam says...
>If I run my program on another machine I get the following error

An unhandled exception of type 'System.Executi onEngineExcepti on' occurred
in
System.Data.dl l

This happens with I try to open an OleDb.OleDbConn ection

What is causing this?

Wow. That's a nasty one. I would re-install the .NET runtime and make
sure both machines are running the same version (including service
packs).
>Also the normal Try Catch block doesn't catch this error, I had to use
the
CLR debugger to get the error.

I think there are (at least in 1.x) four exceptions that are so "bad",
they can't be caught. The runtime is so corrupt, it can't do proper
stack unwinding to process the exception.
System.Executio nEngineExceptio n is one of them.

--
Patrick Steele
http://weblogs.asp.net/psteele

Mar 6 '07 #3
Figured it out thanks to Patrick's advice

From KB 908077, I did the following and it works now.

Repair the .NET Framework 2.0
The following are three ways to repair the .NET Framework.
Use the Repair command on the Windows Installer cache file
To repair the .NET Framework 2.0 by using the Windows Installer cache file,
follow these steps:1. Click Start, click Run, type installer in the Open
box, and then click OK.
2. On the View menu in Windows Installer, click Details, right-click
the Name column header, and then click Comment.
3. Right-click the cached Windows Installer file that has the
Microsoft .NET Framework 2.0 RTL x86 enu comment, and then click Repair.
4. After the repair process has completed, quit Windows Installer.

"Patrick Steele" <pa*****@mvps.o rgwrote in message
news:MP******** *************** *@msnews.micros oft.com...
In article <O$************ **@TK2MSFTNGP03 .phx.gbl>,
ss*****@nospam. nospam says...
>If I run my program on another machine I get the following error

An unhandled exception of type 'System.Executi onEngineExcepti on' occurred
in
System.Data.dl l

This happens with I try to open an OleDb.OleDbConn ection

What is causing this?

Wow. That's a nasty one. I would re-install the .NET runtime and make
sure both machines are running the same version (including service
packs).
>Also the normal Try Catch block doesn't catch this error, I had to use
the
CLR debugger to get the error.

I think there are (at least in 1.x) four exceptions that are so "bad",
they can't be caught. The runtime is so corrupt, it can't do proper
stack unwinding to process the exception.
System.Executio nEngineExceptio n is one of them.

--
Patrick Steele
http://weblogs.asp.net/psteele

Mar 6 '07 #4

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

Similar topics

1
536
by: Rafael | last post by:
Hi, I hope I can find some help for this problem IDE: Visual Studio.NET 2003 Developer Editio Language: C# Problem: "An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll. Additional information: Object reference not set to an instance of an object. Visual Studio's IDE is not allowing me to develop projects in C#... I've trying to create a simple Windows Forms project using Visual Studio.NET...
3
2958
by: Professor Frink | last post by:
First off, I apologize if this gets long. I'm simply trying to give you all enough information to help me out. I'm writing (almost finished, actually), my first VB.Net application. It's a forms application that is going to be used to extract data from a legacy system (VSAM based mainframe file structure), and output data in pipe-delimited record layouts, multiple record types per file, one file per chosen client. I have been working on...
2
8335
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
0
5676
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at TryThis.Form1.save() in C:\Documents and Settings\Nick\My Documents\...
4
2254
by: Craig831 | last post by:
First off, I apologize if this gets long. I'm simply trying to give you all enough information to help me out. I'm writing (almost finished, actually), my first VB.Net application. It's a forms application that is going to be used to extract data from a legacy system (VSAM based mainframe file structure), and output data in pipe-delimited record layouts, multiple record types per file, one file per chosen client. I have been working on...
5
9784
by: Ankit Aneja | last post by:
This is my problem. I am using Visual 2003, .Net framework 1.1 and the Application Block I configured the DAAB using the Enterprise Library Configuration now this is the error which is coming Security Exception Description: The application attempted to perform an operation not allowed
3
3767
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...
1
3169
by: Pedro Dinis | last post by:
i have this class library that connects to the database(see appconfig below) compiling 0 errors but when its running i amhaving this error An unhandled exception of type 'System.NullReferenceException' occurred in my_deepot_common.dll Object reference not set to an instance of an obj int this line public System.Data.SqlClient.SqlConnection user_connection = new
2
4737
by: lily86 | last post by:
i'm very new so i hope all of u can help me. when i debug my webforms this error occur "An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error." pls help me solve the problem...thanks.. my code: Imports System.Data.SqlClient Imports System.Data.OleDb Imports System.Globalization Imports System.Threading Public Class PhoneBook
0
9518
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
10433
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10212
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...
0
9035
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...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6777
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
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...
2
3720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2919
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.