473,561 Members | 3,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Catastrophic failure

I have written an ASP.NET web app in C# that is trying to connect to a
database using OleDb. I put code in a dll that uses another dll to create a
connection object (and open it if requested) to send back to the web app to
connect to the database.

I am getting the following error when I change anything in my web app and
recompile.
Catastrophic failure
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.Ole Db.OleDbExcepti on: Catastrophic failure

Stack Trace:

[OleDbException (0x8000ffff): Catastrophic failure]
System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr)
System.Data.Ole Db.OleDbConnect ion.CreateProvi derError(Int32 hr)
System.Data.Ole Db.OleDbConnect ion.CreateProvi der(OleDbConnec tionString
constr)
System.Data.Ole Db.OleDbConnect ion.Open()

I reset IIS to clear the problem (the only way that I have found other than
rebooting), and it will then work just fine. But if I adjust my code (the
web app not either of the dlls) and recompile, it will throw the
Catastrophic failure when I access the page. My coworker thought that it
might be because I was using a static module to create the connection, so I
adjusted the dll to be non-static. That did not solve the problem.

Is there anyway to prevent this failure, and is there anyway to clear this
error without having to restart IIS?

Jul 21 '05 #1
4 8105
Hi Marshall,

I'd like to know what kind of database system you are working on? And
what's the version of it? If you are using a SQL Server, please try to
check the following link to get a workaround.

http://support.microsoft.com/default...b;en-us;243349

Or you can simply use a SQL server data provider to recover it.

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."

--------------------
| From: "J. Marshall Latham" <ma******@netwo rkip.net>
| Subject: Catastrophic failure
| Date: Wed, 24 Sep 2003 16:06:01 -0500
| Lines: 37
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uA************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.genera l
| NNTP-Posting-Host: 24.204.3.242
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:109778
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| I have written an ASP.NET web app in C# that is trying to connect to a
| database using OleDb. I put code in a dll that uses another dll to
create a
| connection object (and open it if requested) to send back to the web app
to
| connect to the database.
|
| I am getting the following error when I change anything in my web app and
| recompile.
| Catastrophic failure
| Description: An unhandled exception occurred during the execution of the
| current web request. Please review the stack trace for more information
| about the error and where it originated in the code.
|
| Exception Details: System.Data.Ole Db.OleDbExcepti on: Catastrophic failure
|
| Stack Trace:
|
| [OleDbException (0x8000ffff): Catastrophic failure]
| System.Data.Ole Db.OleDbConnect ion.ProcessResu lts(Int32 hr)
| System.Data.Ole Db.OleDbConnect ion.CreateProvi derError(Int32 hr)
| System.Data.Ole Db.OleDbConnect ion.CreateProvi der(OleDbConnec tionString
| constr)
| System.Data.Ole Db.OleDbConnect ion.Open()
|
|
|
| I reset IIS to clear the problem (the only way that I have found other
than
| rebooting), and it will then work just fine. But if I adjust my code (the
| web app not either of the dlls) and recompile, it will throw the
| Catastrophic failure when I access the page. My coworker thought that it
| might be because I was using a static module to create the connection, so
I
| adjusted the dll to be non-static. That did not solve the problem.
|
| Is there anyway to prevent this failure, and is there anyway to clear this
| error without having to restart IIS?
|
|
|
|

Jul 21 '05 #2
I am connecting to an Informix database. I believe it is 9.2. I don't
remember the version. I am using Informix ODBC and Invormix OleDb
drivers/providers.

JML
"Kevin Yu" <v-****@online.mic rosoft.com> wrote in message
news:nk******** ******@cpmsftng xa06.phx.gbl...
Hi Marshall,

I'd like to know what kind of database system you are working on? And
what's the version of it? If you are using a SQL Server, please try to
check the following link to get a workaround.

http://support.microsoft.com/default...b;en-us;243349

Or you can simply use a SQL server data provider to recover it.

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 #3
Hi Marshall,

I've done some research on this issue. This might be caused by the Informix
ODBC driver. Some certain versions of Informix ODBC driver isn't compatable
with Microsoft Transaction Server (MTS). That's why your IIS cannot connect
to the database. You can check it out at the following link:

http://support.microsoft.com/default...b;en-us;197815

Please try to contact Informix for a driver that supports MTS. If there
isn't one availabe, please try to revert it to an old version.

HTH

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
--------------------
| From: "J. Marshall Latham" <ma******@netwo rkip.net>
| References: <uA************ **@TK2MSFTNGP10 .phx.gbl>
<nk************ **@cpmsftngxa06 .phx.gbl>
| Subject: Re: Catastrophic failure
| Date: Thu, 25 Sep 2003 08:24:49 -0500
| Lines: 27
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <Oq************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.genera l
| NNTP-Posting-Host: 24.204.3.242
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:109851
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| I am connecting to an Informix database. I believe it is 9.2. I don't
| remember the version. I am using Informix ODBC and Invormix OleDb
| drivers/providers.
|
| JML
|
|
| "Kevin Yu" <v-****@online.mic rosoft.com> wrote in message
| news:nk******** ******@cpmsftng xa06.phx.gbl...
| > Hi Marshall,
| >
| > I'd like to know what kind of database system you are working on? And
| > what's the version of it? If you are using a SQL Server, please try to
| > check the following link to get a workaround.
| >
| > http://support.microsoft.com/default...b;en-us;243349
| >
| > Or you can simply use a SQL server data provider to recover it.
| >
| > 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 #4
Hi, Marshall

You might also check if there are more than one connections open using this
driver, If there are see if closing the first connection before opening
another resolves the problem. If so, this is likely due to a bug in the
informix/db2 driver.

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
"Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security."
--------------------
| From: "J. Marshall Latham" <ma******@netwo rkip.net>
| References: <uA************ **@TK2MSFTNGP10 .phx.gbl>
<nk************ **@cpmsftngxa06 .phx.gbl>
| Subject: Re: Catastrophic failure
| Date: Thu, 25 Sep 2003 08:24:49 -0500
| Lines: 27
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <Oq************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.genera l
| NNTP-Posting-Host: 24.204.3.242
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:109851
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| I am connecting to an Informix database. I believe it is 9.2. I don't
| remember the version. I am using Informix ODBC and Invormix OleDb
| drivers/providers.
|
| JML

Jul 21 '05 #5

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

Similar topics

12
37669
by: eddie wang | last post by:
I got the following when opening up a page. It usually happens after I modify one page(not connections.asp) without refresh in IE. I have to refresh the IE browser and the error usually will go away. Why? Thanks. Provider error '8000ffff' Catastrophic failure /dmu/includes/connections.asp, line 14
2
6111
by: MeAndI | last post by:
Hi, I've create a custom com object and I use it as follow: set test = Server.CreateObject(myObject.classID) ' --> all OK the istance of the object is correctly created retval = test.function1(par1, par2 ...) ' --> as soon as I call every function of my com object the system returns the following error: 0x8000FFFF: catastrophic failure.
1
566
by: sakthisakthi | last post by:
Hai I had developed one web application in dotnet with VB.net as code behind. I had included one addtional Acitvex control (FpLibX.ocx) in toolbar by selecting Cutomize tool bar. Then in Project/Add Reference /com i selected that control. Now the problem for me is when i try to access the properties or functions of that control i am...
0
444
by: Veibert M Pinontoan | last post by:
I try to create wrapper for WMSyncReader. The code is :using System; using System.Runtime.InteropServices; namespace WMFSDKWrapper { public class WMFSDKFunctions { public static extern uint WMCreateSyncReader( System.Object pUnkReserved,
5
2999
by: mattiassich | last post by:
The following code causes unhandled exception on the line: New ManagementObjectSearcher(query) Dim mos As System.Management.ManagementObjectSearcher Dim moc As System.Management.ManagementObjectCollection Dim mo As System.Management.ManagementObject Dim query As String = "SELECT * FROM Win32_OperatingSystem" mos = New...
4
338
by: J. Marshall Latham | last post by:
I have written an ASP.NET web app in C# that is trying to connect to a database using OleDb. I put code in a dll that uses another dll to create a connection object (and open it if requested) to send back to the web app to connect to the database. I am getting the following error when I change anything in my web app and recompile....
2
8429
by: jdanoz | last post by:
Hello, i have a vb.net project with a reference to an ActiveX object (ocx). If i try to use the ocx from vb6 project (adding the reference) it works ok (using CreateObject). In vb.net, the CreateObject works ok, the object gets initialized...
5
4158
by: Tony M. | last post by:
I just want to share a discovery. I was using a sub routine to call itself, a recursive loop. In it I used ADO to process records, and I was getting a "Catastrophic Failure", almost always on/near the same record. There was no issue with the data. I changed to DAO hoping for a clue.
2
6241
by: Frav | last post by:
The Reps team have been experiencing that Access 2002 unexpectedly quits while working and also lots of Corruption Failures and "Record lock can not update" messages since the upgrade from Windows 2000 and Access 200 to Windows XP and Access 2002 (XP) was done. Now, they are working and at anytime in anywhere of the application access...
0
7639
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
7562
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
7855
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
8074
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
6198
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
5181
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
3613
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...
0
3594
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2058
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 we have to send another system

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.