DBF- ODBC- Oracle: ORA-02041
How to transfer data from .DBF-tables to Oracle ?
Server=Oracle 9.0.1.1.1 on Win2000Server SP2
client=ODBC-application (Visual Foxpro 6.0 SP5)
ODBC driver 9.00.12.00 (31.10.2001)
I use Oracle heterogeneous service.
In SQL*Plus Worksheet put command: select * from table@hsodbc
All work fine.
In VFP put command: sqlexec(hconn,'select * from table@hsodbc','table')
ORA-02041 client database did not begin a transaction
(Cause: An update occurred at a coordinated database without the coordinator
beginning a distributed transaction. This may happen if a stored procedure
commits and then performs updates, and the stored procedure is invoked
remotely. It could also happen if an external transaction monitor violates
the XA protocol.
Action: If the cause is the former, check that any commit is not followed
by an update)
I try:
- in VFP ODBC Connection String write 'MTS=F'
(MTS=Microsoft Transaction Server Support: T=Disabled,F=Enabled)
ora-02041
- in VFP ODBC Connection String write 'DistribTX=0' or 'DistribTX=F'
ora-02041
- server.registry.HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OLEDB\DistribTX=0
ora-02041
- client.registry.HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OLEDB\DistribTX=0
ora-02041
I try Microsoft ODBC driver for Oracle - it work OK, but I can not use it
because this driver don't support LOB-objects.
Is this bug ?
Konstantin Shurek
Please note that there's a "Heterogenous Connectivity" forum with people that are more experienced with the intricacies of the Oracle Transparent Gateway products. I suggest that you post your question over there.
Justin
Similar Messages
-
DBF(FPT)- ODBC- Oracle: ORA-28500
How to transfer data from .DBF-tables with MEMO (.FPT-file) to Oracle ?
Server=Oracle 9.0.1.1.1 on Win2000Server SP2
client=ODBC-application (Visual Foxpro 6.0 SP5)
ODBC driver 9.00.12.00 (31.10.2001)
I use Oracle heterogeneous service.
In SQL*Plus Worksheet put command: select * from table@hsodbc
ORA-28500 connection from ORACLE to a non-Oracle system returned this
message:
(Cause: The cause is explained in the forwarded message.
Action: See the non-Oracle system's documentation of the forwarded message)
ORA-02063 preceding stringstring from stringstring
(Cause: An Oracle error was received from a remote database link.
Action: Refer to the preceding error message(s))
Can I import into Oracle MEMO-field from .DBF-table ? How ?
Konstantin ShurekPlease note that there's a "Heterogenous Connectivity" forum with people that are more experienced with the intricacies of the Oracle Transparent Gateway products. I suggest that you post your question over there.
Justin -
I am getting this error when using a UNION that also goes through a DATABASE LINK. I am developing an application that will create a Recordset based on the results of this query. Here is the code (VB):
Private Sub PopulateCompanyComboBox()
'Create Recordset Selecting all Customer Names
SQLQuery = "SELECT DISTINCT Cust FROM (" & _
"SELECT DISTINCT QUOTE_COMP Cust FROM QUOTES " & _
"UNION " & _
"SELECT CU_NAME Cust FROM CU@QSDB_PK1) " & _
"ORDER BY Cust"
'MsgBox SQLQuery
Set OraRec = New ADODB.Recordset
OraRec.Open SQLQuery, OraCon1, adOpenStatic, adLockOptimistic, adCmdText
If OraRec.RecordCount = 0 Then
Exit Sub
OraRec.Close
Set OraRec = Nothing
Else
OraRec.MoveFirst
cmbCustomer.Clear
Do While Not OraRec.EOF
cmbCustomer.AddItem OraRec!CU_NAME
OraRec.MoveNext
Loop
OraRec.Close
Set OraRec = Nothing
End If
End Sub
I'm getting the error when opening the recordset. The description of the error doesn't make sense in regards to my program. I can run the query from SQL*Plus and get the results. Can someone help me out? Thanks, JeremyHow are you connecting to the database (i.e. ODBC or OLE DB, which ODBC or OLE DB driver)?
If you're connecting via ODBC and you're using the Oracle ODBC driver, you need to check the "Disable MTS" option in the DSN configuration if you want to use database links. Otherwise, Microsoft Transaction Server thinks it needs to coordinate the distributed databases, which leads to the error:
ORA-02041 client database did not begin a transaction
Justin -
ORA-02041: client database did not begin a transaction
Hello All,
I am making calls from oracle 8i to oracle 9i.
First i am inserting values from 8i into a table in 9i.
secondly i am calling a procedure to send mail which again is in 9i database.
If i run the query ..the mail is sent...
if i run it for the second time i get this error
ORA-00164: autonomous transaction disallowed within distributed transaction
ORA-02041: client database did not begin a transaction
If i run it again...The mail is sent...
For every odd transaction the mail is sent and for every even transaction i get this error...Please advice me if you have any tips how i can resolve this..
Thanks,
AKIt is maybe not exaclty the same situation but this thread may help you:
http://asktom.oracle.com/pls/ask/f?p=4950:8:16455356983632477090::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:362818006460 -
[Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed
Hi,
I have got the following error when i tired to upload an XML file in my application. My application will insert the XML file in to Oracle 10g data base table. (Our DB server is Oracle 10g).
The error is as follows:-
[BEA][Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00004: internal error "MultiChar overflow"
Error at line 20795
ORA-06512: at "SYS.XMLTYPE", line 254
ORA-06512: at line 1
The XML file contains more than 90,000 lines in it. Please help.
Thanks!
Siva K.Is this a specific problem with 10G release? We are using 10.2.0.4.0.
Using CLOB, We think that this may hit the performance of the application as we are using large XML files. -
ODBC Oracle 10g on BOE XI 3.1
Hello
I want to know if the installation of BOE has a ODBC driver for ORACLE in the installation route.
Or ORACLE has its own driver?
I checked the SAP Note 1292899 to download data direct drivers, but I can't find the link on SAP support portal.....
Thanks in advance
Oscar BarrientosHi,
I downloaded the Data Direct driver for Crystal Reports and installed it on the path of the BO installation.
I modified the odbc.ini with the next lines:
[ODBC Data Sources]
CLUB=DataDirect 5.3 Oracle Wire Protocol Driver
[CLUB]
Driver=/home/bobj/boe31/bobje/enterprise120/linux_x86/odbc/lib/CRora23.so
Description=DataDirect 5.3 Oracle Wire Protocol Driver
HostName=172.16.5.203
ServiceName=CLUB
PortNumber=1521
LogonID=club
Password=***
In the universe, I selected the Generic ODBC datasource for the connection.
But when I create a Webi report, I got this message:
A database error occured. The database error text is: [Crystal Reports][ODBC Oracle Wire Protocol driver][Oracle]TNS-12514: TNS: listener could not resolve SERVICE_NAME given in connect descriptor. (wis 10901)
Regards,
Oscar Barrientos -
How can i convert data from DBF to oracle database 10g?
Sir,
How can i convert data from DBF to oracle database 10g?I assume you at least know how to dump the contents of foxpro dbf file into CSV format.
Regarding SQL*Loader, hope this demo makes it a bit clear to you...
http://www.princeton.edu/~storacle/sqlloader_demo.shtml
I agree that it is an old web page (references Oracle 8.0.5) but basics remain the same.
If it is still unclear to you after referring above link, then get an Oracle consultant. -
Oracle ORA-01428: argument is out of range error
Oracle ORA-01428: argument is out of range error
I take it you don't feel like spending the extra money for the EE add-on that was designed to CREATE an INDEX on polygons of logitude,latitude values in such away that a simple
SELECT * FROM ZIP_CODES WHERE SDO_WITHIN_DISTANCE( Z.ZIPCODE_AREA, /* point for zipcode */, 'distance=' || in_distance ) = 'TRUE';
will be very efficient and fast.
primary thing:
you need to drop out the WHEN OTHERS THEN NULL;
also, take advantage of the NO_ROWS_FOUND exception for finding out if a row exists in the database. (instead of doing an IF statement on the results of COUNT(*))
back to your problem
You'll need to investigate which row is causing the problem.
Most likely, it is the zipcode that was the input for the search. I've seen this occur many times on similar trigonometric calculations.
You may have to surround a lot of those trigonometric functions with ROUND( ____, 25) to get it to work.
However, I highly advise you to take a look at what can be done with Oracle Spacial
MK -
Help on how to install ODBC Oracle drivers
I need to install ODBC drivers for Oracle on a W95 machine.
I tryed to install ODBC Oracle drivers on my W95 machine but when
I extracted the zipped file from ora8052 it created a directory
called win32; then I searched for the 'setup' executable...
without to find one...
In the readme file, on 'software required' I read that I need the
Oracle Net8 client and teh Oracle8 installer to install ODBC.
Where can I find Oracle Net8 client and teh Oracle8 installer
without downloading all the try and by version of Oracle??
nullFulvio,
you have to get hold of a CD containing Oracle Client software;
you should ask Oracle for it. SQL*Net itself is free for
owners of the server license, but I do not know how Oracle
handles users of the free development kits. If you plan to
use Oracle for software development I strongly recommend to enter
one of the partner programmes; it's not free, but very good value
for money.
Thomas
Fulvio Drago (guest) wrote:
: I need to install ODBC drivers for Oracle on a W95 machine.
: I tryed to install ODBC Oracle drivers on my W95 machine but
when
: I extracted the zipped file from ora8052 it created a directory
: called win32; then I searched for the 'setup' executable...
: without to find one...
: In the readme file, on 'software required' I read that I need
the
: Oracle Net8 client and teh Oracle8 installer to install ODBC.
: Where can I find Oracle Net8 client and teh Oracle8 installer
: without downloading all the try and by version of Oracle??
null -
To further clarify the problem I mention below, the specific error I get
with integer datatypes is "Driver Not Capable". Thanks.
Date: Wed, 07 May 1997 11:53:54 -0500
To: forte users
From: Tim Clotworthy <[email protected]>
Subject: ODBC/oracle problem
I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
number fields with integers or integer nullables. The only thing I can get
to work are textdata types. Has anyone else had this problem? AM I using too
old a version of ODBC driver (Oracle71 version 1.11.0002)?
>
Thanks. Tim.This is a Forte bug I reported a few months ago. It is being tracked
under Forte call number 26402. Scheduled to be fixed in R3. There are
no work arounds that I am aware of.
Kalvin Inman
Andersen Windows
From: Tim Clotworthy[SMTP:[email protected]]
Sent: Wednesday, May 07, 1997 12:09 PM
To: [email protected]
Subject: ODBC/oracle problem
To further clarify the problem I mention below, the specific error I get
with integer datatypes is "Driver Not Capable". Thanks.
Date: Wed, 07 May 1997 11:53:54 -0500
To: forte users
From: Tim Clotworthy <[email protected]>
Subject: ODBC/oracle problem
I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
number fields with integers or integer nullables. The only thing I can get
to work are textdata types. Has anyone else had this problem? AM I using too
old a version of ODBC driver (Oracle71 version 1.11.0002)?
Thanks. Tim. -
Can't compile PHP5.2 with Oracle ORA support, please help!
Hi peoples,
first post on here - hope someone can assist.
I am compiling PHP 5.2 on RedHat Enterprise 4 AS intel 64bit with oracle ORA and LDAP support compiled in. I am using Apache 2.0.52-28 installed from RedHat RPMs.
I am using the following configure line:
./configure with-apxs2=/usr/sbin/apxs with-config-file-path=/etc/httpd/conf with-oracle=/export/oracle/pegasus/product/9.2.0 with-ldap=/usr enable-sigchild enable-libgcc
The only oracle related messages I have found during the configuration are:
checking for Oracle (OCI8) support... no
checking Oracle OCI support for PDO... no
However I am told these are newer methods of Oracle communication protocols and not related to what I am trying to achieve.
After building and installing PHP 5.2, reconfiguring apache httpd.conf and restarting httpd I find that the output of phpinfo.php shows no mention of oracle whatsoever apart from the Configure Command section at the beginning confirming that yes, --with-oracle= was specified.
I have tried setting ORACLE_HOME=/export/oracle/pegasus/product/9.2.0 environment variable before running ./configure but to no avail.
I have also tried adding various Oracle environment variables to my startup scripts for Apache, also to no avail.
Any ideas? I am really under the pump to get this sorted as it is for a new production server here and I am limited timewise to get it up and running.
Cheers
AndyHi Andy,
I have php 5.2 installed on a RH 64 bits so our configurations are almost the same (I use Apache 1.3 and Oracle 10g).
I compiled 5.2 from source succesfully with this instruction:
./configure with-config-file-path=/opt/apache with-libdir=lib64 with-oci8=/opt/oracle/orase/oracle/product/10.2.0/db_1 with-apxs=/opt/apache/bin/apxs --enable-sigchildReplace the required values to match your system and try to see if it works for you.
Let me know how it goes. Any additional problem, I'm glad to help. -
¿Como importar DBF a Oracle?
Necesito importar archivos DBF en Oracle, ¿hay componentes que pueden hacer esto?
Hi,
What do you mean by 'dbf' file? The default name most people choose for oracle database files is filename.dbf - these files are in a binary format that you cannot read and will only make sense when they are part of the database.
I assume you are talking about just some sort of text file that contains data you can actually read in notepad/vi? and that this file has just been given the fileextension dbf?
If the file is just text then the tool you probably want to use is sqlldr which will read your file and based on a control file you create load this into a table of your choosing.
Does that help? Can you post some lines from your 'dbf' file here?
Regards,
Harry
http://dbaharrison.blogspot.com -
We loose the connection to oracle (ORA-03114)
Our connection pool looses connection to oracle (ORA-03114) in a random manner.
We use jdk1.2, jdbc 8.1.6 drivers & oracle 8.0.5 db on solaris 2.6.
This problem started when we switched from jdk1.1.7, jdbc 8.0.5.2.
We also seem to have problems reading from a date column, rs.getString("DATECOLUMNNAME") has for some reason seized to work.
The application is pretty db exhausting, we use a lot of long raw fields for storing images etc.
The connection pool is a free version from Bitmechnic.
nullI really understand nothing at it. until today I just
wrote in PL\SQL and work at the sqldeveloper. now I
need to connect this database with PHP and I really
don't know where to start. I tried to read few
articles in this site and others but didn't success.
I installed WAMP server for the php,
Php 5.2.6
oracle 10g express
where and how should I start ? I would install Zend Core for Oracle, if I were you. It's a beautiful product, completely
free, that will install and configure Apache2 server, PHP 5.2.6 and OCI8 module. I am
not much good with WAMP, I am an old Unix hack, now converted to Linux.
Thank you, I hope I won't bother to much.. but I
really a beginner with this topicEveryone was a beginner once. -
Oracle ORA-03113: end-of-file on communication channel error
Hi,
I am new to oracle. I need your help.
I got oracle error on client site while running SQL.
Oracle ORA-03113: end-of-file on communication channel error
Process ID: 18805
Session ID : 1610 Serial number: 15367I looked alert.log which is given below
Fri Apr 02 14:36:27 2010
Thread 1 advanced to log sequence 34069
Current log# 1 seq# 34069 mem# 0: +DATA/store/onlinelog/group_1.272.648383369
Fri Apr 02 15:10:11 2010
Trace dumping is performing id=[cdmp_20100402151011]
Fri Apr 02 15:10:41 2010
Reconfiguration started (old inc 40, new inc 42)
List of nodes:
0
Global Resource Directory frozen
* dead instance detected - domain 0 invalid = TRUE
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Fri Apr 02 15:10:41 2010
LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
Fri Apr 02 15:10:41 2010
LMS 1: 2 GCS shadows cancelled, 0 closed, 0 Xw survived
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Post SMON to start 1st pass IR
LMS 1: 13458 GCS shadows traversed, 0 replayed
LMS 0: 13700 GCS shadows traversed, 0 replayed
Submitted all GCS remote-cache requests
Fix write in gcs resources
Fri Apr 02 15:10:42 2010
Instance recovery: looking for dead threads
Beginning instance recovery of 1 threads
Reconfiguration complete
parallel recovery started with 3 processes
Started redo scan
Completed redo scan
1148 redo blocks read, 100 data blocks need recovery
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
Started redo application at
Thread 2: logseq 16481, block 37508
Recovery of Online Redo Log: Thread 2 Group 3 Seq 16481 Reading mem 0
Mem# 0: +DATA/store/onlinelog/group_3.280.648386385
Completed redo application
Completed instance recovery at
Thread 2: logseq 16481, block 38656, scn 44063421381
87 data blocks read, 101 data blocks written, 1148 redo blocks read
Switch log for thread 2 to sequence 16482
Fri Apr 02 15:10:50 2010
ARC3: Archiving disabled thread 2 sequence 16482
Fri Apr 02 15:13:50 2010
Reconfiguration started (old inc 42, new inc 44)
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Fri Apr 02 15:13:50 2010
Fri Apr 02 15:13:50 2010
LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
LMS 1: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
LMS 0: 7881 GCS shadows traversed, 4001 replayed
LMS 1: 8015 GCS shadows traversed, 4001 replayed
LMS 1: 5437 GCS shadows traversed, 2737 replayed
LMS 0: 5797 GCS shadows traversed, 2941 replayed
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Fix write in gcs resources
Reconfiguration completeHere is trace files
cat *STORE1_p001_31604.trc*
Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1/db_1
System name: Linux
Node name: datastore1.bakcell.com
Release: 2.6.18-53.el5PAE
Version: #1 SMP Sat Nov 10 18:33:42 EST 2007
Machine: i686
Instance name: STORE1
Redo thread mounted by this instance: 1
Oracle process number: 83
Unix process pid: 31604, image: [email protected] (P001)
*** 2010-04-02 15:10:43.094
*** SESSION ID:(1576.36581) 2010-04-02 15:10:43.094
*** CLIENT ID:() 2010-04-02 15:10:43.094
*** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
*** MODULE NAME:() 2010-04-02 15:10:43.094
*** ACTION NAME:() 2010-04-02 15:10:43.094
2010-04-02 15:10:43.093954 : Start recovery for domain=0, valid=0, flags=0x1
*** 2010-04-02 15:10:44.868
KCRP: blocks claimed = 34, eliminated = 6
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 40/40 = 1.0
Max compares per lookup = 0
Avg compares per lookup = 0/40 = 0.0
*** 2010-04-02 15:10:50.249
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 40/40 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 604/604 = 1.0
cat *STORE1_p000_31602.trc*
Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1/db_1
System name: Linux
Node name: datastore1.bakcell.com
Release: 2.6.18-53.el5PAE
Version: #1 SMP Sat Nov 10 18:33:42 EST 2007
Machine: i686
Instance name: STORE1
Redo thread mounted by this instance: 1
Oracle process number: 71
Unix process pid: 31602, image: [email protected] (P000)
*** 2010-04-02 15:10:43.094
*** SESSION ID:(1565.49022) 2010-04-02 15:10:43.094
*** CLIENT ID:() 2010-04-02 15:10:43.094
*** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
*** MODULE NAME:() 2010-04-02 15:10:43.094
*** ACTION NAME:() 2010-04-02 15:10:43.094
2010-04-02 15:10:43.093855 : Start recovery for domain=0, valid=0, flags=0x1
*** 2010-04-02 15:10:44.433
KCRP: blocks claimed = 30, eliminated = 4
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 34/34 = 1.0
Max compares per lookup = 0
Avg compares per lookup = 0/34 = 0.0
*** 2010-04-02 15:10:50.246
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 34/34 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 666/666 = 1.0
cat *STORE1_p002_31619.trc*
Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1/db_1
System name: Linux
Node name: datastore1.bakcell.com
Release: 2.6.18-53.el5PAE
Version: #1 SMP Sat Nov 10 18:33:42 EST 2007
Machine: i686
Instance name: STORE1
Redo thread mounted by this instance: 1
Oracle process number: 84
Unix process pid: 31619, image: [email protected] (P002)
*** 2010-04-02 15:10:43.095
*** SESSION ID:(1578.22258) 2010-04-02 15:10:43.095
*** CLIENT ID:() 2010-04-02 15:10:43.095
*** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.095
*** MODULE NAME:() 2010-04-02 15:10:43.095
*** ACTION NAME:() 2010-04-02 15:10:43.095
2010-04-02 15:10:43.095010 : Start recovery for domain=0, valid=0, flags=0x1
*** 2010-04-02 15:10:44.551
KCRP: blocks claimed = 25, eliminated = 1
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 26/26 = 1.0
Max compares per lookup = 0
Avg compares per lookup = 0/26 = 0.0
*** 2010-04-02 15:10:50.250
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 26/26 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 246/246 = 1.0
----------------------------------------------I don't understand what does it mean which is written in alert.log.
Yhanks in advance.please check below files:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
Edited by: Prathmesh on Apr 2, 2010 5:01 PM -
I am connecting from Oracle to another database server (MS SQL Server, DB2 the error message is the same) through an ODBC connection using Oracle SQL Developer. (This is how I set up)
I want to query the schema of a non-Oracle database using the data dictionary mapping of the Oracle Database Gateway for ODBC.
This works well:
select * from all_tables@katimssql;
But this doesn't:
create table alltables_mssql as
select * from all_tables@katimssql;
Output:
Error report:
SQL Error: ORA-00604: error occurred at recursive SQL level 1
ORA-02047: cannot join the distributed transaction in progress
ORA-06512: at "SYS.HS$_DDTF_SQLTABLES", line 58
ORA-06512: at line 1
Does anyone know the solution of this?
Thanks in advance,
Kata
Details:
Oracle Database 11g Express Edition Release 11.2.0.2.0
Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64)
ODBC Driver: SQL Server Native Client 11.0 (32 bit)
initkatimssql.ora:
HS_FDS_CONNECT_INFO=katimssql
HS_FDS_TRACE_LEVEL = ON
HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
I tried these, none of them worked, the error message is the same.
HS_FDS_TRACE_LEVEL = off
HS_TRANSACTION_MODEL = SINGLE_SITE
HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
HS_TRANSACTION_MODEL = READ_ONLYHi Kata,
this won't work as the ALL_TABLES is not a table that exists in your SQl Server - instead it is a "mimicked" table. This means the gateway will check if you have on your SQL Server a table called all_tables and when there's no table it will start an internal mechanism to check out what sort of tables exist in your SQL Server database. So the gateway is starting internally another transaction to get details from the foreign database and DG4ODBC can't participate in distributed transactions at all. Instead of using all_tables you have to use a real SQL Server table like SQ Server sys.objects or sys.tables.
- Klaus
Maybe you are looking for
-
when iam trying to delete the user from subone directory server it is giving the following exception Insufficient 'delete' privilege to delete the entry how to set the privileges in sunone directory server.please send as it is very urgent for me
-
Exceptions in sending SMS via SMPP
hi, i want to develop an application which is capable of sending & receiving SMSs using SMPP, i ve downloadd an application, it bound successfully with SMSC, when i try to send SMS it gives a nullpointer exception, i am new to SMPP programming, i sti
-
TCODE to check the edit authorization of objects ?
If suppose I am not able to edit any of the objects in BI7 and I need to check whether I have the authorization's to edit that particular object in BI7, where do I check it ? Is there any particular TCODE to check ?? And also I need to know whether d
-
How do I insert an underline to the right of a label
How do I insert an underline to the right of a label
-
I am a LabVIEW 8.2 user and I want to use Advantech USB-4671(USB GPIB interface) to connect my Agilent digital multimeter. But when I install the driver for the Advantech GPIB interface, I has been request to uninstall NI-488.2 driver because this d