Re: Oracle error when i use System.Data.OracleClient 1.0.5000.0
From: Eric (Eric_at_nospam.com)
Date: 03/16/05
- Next message: Val Mazur \(MVP\): "Re: How to Perform SQL Select on a DataSet"
- Previous message: Donna: "Re: VB.NET dynamically create datagrid and set its datasource"
- In reply to: ram: "Oracle error when i use System.Data.OracleClient 1.0.5000.0"
- Next in thread: ram: "Re: Oracle error when i use System.Data.OracleClient 1.0.5000.0"
- Reply: ram: "Re: Oracle error when i use System.Data.OracleClient 1.0.5000.0"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Mar 2005 22:09:37 -0500
ram wrote:
> Hi,
>
> I am calling an oracle built in procedure pkg_util.compile_schema from my
> VB.NET code this throws an excpetion ORA-02074: cannot ALTER PACKAGE COMPILE
> in a distributed transaction ORA-06512: at "SYS.DBMS_UTILITY", line 425
This looks like something caused this DBMS_UTILITY package to be
invalidated, and Oracle is trying to automatically recompile it. This
recompile is failing because you're apparently using it in a distributed
insert/update (using a dblink). Maybe you're executing a stored proc
that is using this package - it might not appear directly in your code.
See if your DBA can recompile this package for you.
I don't think this particular error has anything to do with the provider
upgrade. I assume you can execute some SQL correctly, right? I found the
MS Oracle provider to work quite well on Oracle 9i, but I agree with
Cowboy that ODP is likely to be your best choice, especially if you need
the more advanced features.
I'm not saying you should go into a lot of exiting programs and change
their provider to ODP. This is something you can phase in with new programs.
Did you also change your TNSNAMES.ORA file? Did you change the user
identity being used? Did you change your version of the actual Oracle
client software?
Eric
- Next message: Val Mazur \(MVP\): "Re: How to Perform SQL Select on a DataSet"
- Previous message: Donna: "Re: VB.NET dynamically create datagrid and set its datasource"
- In reply to: ram: "Oracle error when i use System.Data.OracleClient 1.0.5000.0"
- Next in thread: ram: "Re: Oracle error when i use System.Data.OracleClient 1.0.5000.0"
- Reply: ram: "Re: Oracle error when i use System.Data.OracleClient 1.0.5000.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|