Avatar of anandkswamy2008
anandkswamy2008
Flag for United States of America asked on

ORA-01013: user requested cancel of current operation (#1013) error with MS-Access 7 Oracle 10G

I'm running SQL query on MS- Access 2000 which has DBlink to Oracle 9i tables, this works fine.

We've recently we've upgraded from Oracle 9i to Oracle 10G Client only and when I try to run the same SQL query on MS- Access 2000 which has DBlink now to Oracle 10G, it gives  the below error:
"[Oracle][ODBC][ORA]ORA-01013: user requested cancel of current operation (#1013)"

I have a System DSN that uses default values for everything.  Therefore, I has the checkbox enabled that says, "Enable Query Timeout".  It references TNSNAMES.ORA with the database (as well as several others) are configured

The Entries of SQLNET.ora file is given below:

# SQLNET.ORA Network Configuration File
# Generated by Oracle configuration tools.

NAMES.DEFAULT_DOMAIN = world

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, ONAME, HOSTNAME)

SQLNET.RECV_TIMEOUT= 300

SQLNET.SEND_TIMEOUT=300

Error-file.doc
Oracle DatabaseMicrosoft Access

Avatar of undefined
Last Comment
anandkswamy2008

8/22/2022 - Mon
Muhammad Khan

see the follwoing
http://www.cryer.co.uk/brian/oracle/ORA01013.htm

Try increasing the timeout value in your dsn settings....

How long the query runs by the way?
anandkswamy2008

ASKER
When running SQL query on MS- Access 2000 which has DBlink to Oracle 9i tables it probably takes about 7-8 minutes, but with Oracle 10G upgrade it is giving the ORA-01013:error.

How do you change the timeout value in your dsn settings?

Thanks
Anand
Muhammad Khan

It depends which ODBC driver you are using.. ORacle 8 ODBC driver implements timeout settings... you can also try setting
sqlnet.expire_time in sqlnet.ora to 10 ... ( i am not sure if that works)
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
anandkswamy2008

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.