troubleshooting Question

ORA-01013: user requested cancel of current operation (#1013) error with MS-Access 2000

Avatar of anandkswamy2008
anandkswamy2008Flag for United States of America asked on
Microsoft AccessOracle Database
5 Comments1 Solution2346 ViewsLast Modified:
We've recently we've upgraded from Oracle 9i to Oracle 10G Client only (database server is still oracle 9i) and when I try to run\execute a SQL query on MS- Access 2000 which has DBlink tables to Oracle tables, it gives  the below error:
"[Oracle][ODBC][ORA]ORA-01013: user requested cancel of current operation (#1013)"

The same SQL query on MS-Access 2000 works fine if I run it on Oracle 9i client but breaks if i run on Oracle 10G client

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.EXPIRE_TIME= 60

SELECT XRT_BNKFOLIO.ACCT_GROUP, XRT_BNK_TXN.DATEX, XRT_COMPANY.COMPANY_ID, XRT_COMPANY.NAME, XRT_BNK_TXN.BANK_CODE, XRT_BNK_TXN.ACCT_NUM, XRT_BNK_TXN.FOLIO_CODE, XRT_BNK_TXN.R_D, XRT_BNK_TXN.BAI_CODE, XRT_BNK_TXN.AMOUNT, XRT_BNK_TXN.AMOUNT AS GLAMOUNT, XRT_BNK_TXN.DESCRIPTIONX, XRT_BNK_TXN.DESC2, XRT_BNK_TXN.DESC3, XRT_BNK_TXN.REC_FLAG, XRT_BNK_TXN.FSI_FLAG, XRT_BNK_TXN.SERVICE_CD, XRT_BNK_TXN.DESC4, XRT_BNK_TXN.DESC5, XRT_BNK_TXN.BANK_REF, XRT_BNK_TXN.REF INTO [temp BANKTRAN]
 
FROM SelDate INNER JOIN (XRT_BNK_TXN INNER JOIN (XRT_BNKFOLIO INNER JOIN XRT_COMPANY ON XRT_BNKFOLIO.COMPANY_ID = XRT_COMPANY.COMPANY_ID) ON (XRT_BNK_TXN.BANK_CODE = XRT_BNKFOLIO.BANK_CODE) AND (XRT_BNK_TXN.FOLIO_CODE = XRT_BNKFOLIO.FOLIO_CODE)) ON SelDate.SelDate = XRT_BNK_TXN.DATEX
GROUP BY XRT_BNKFOLIO.ACCT_GROUP, XRT_BNK_TXN.DATEX, XRT_COMPANY.COMPANY_ID, XRT_COMPANY.NAME, XRT_BNK_TXN.BANK_CODE, XRT_BNK_TXN.ACCT_NUM, XRT_BNK_TXN.FOLIO_CODE, XRT_BNK_TXN.R_D, XRT_BNK_TXN.BAI_CODE, XRT_BNK_TXN.AMOUNT, XRT_BNK_TXN.AMOUNT, XRT_BNK_TXN.DESCRIPTIONX, XRT_BNK_TXN.DESC2, XRT_BNK_TXN.DESC3, XRT_BNK_TXN.REC_FLAG, XRT_BNK_TXN.FSI_FLAG, XRT_BNK_TXN.SERVICE_CD, XRT_BNK_TXN.DESC4, XRT_BNK_TXN.DESC5, XRT_BNK_TXN.BANK_REF, XRT_BNK_TXN.REF, XRT_BNK_TXN.TRAN_TYPE, XRT_BNK_TXN.TIMESTAMPX, XRT_BNK_TXN.USER1_DATE, XRT_BNK_TXN.USER2_DATE, XRT_BNK_TXN.USER3_NUM, XRT_BNK_TXN.USER4_NUM, XRT_BNK_TXN.USER5_TXT, XRT_BNK_TXN.USER6_TXT, XRT_BNK_TXN.INPUT_DATE, XRT_BNK_TXN.INPUT_OPER, XRT_BNK_TXN.EDIT_DATE, XRT_BNK_TXN.EDIT_OPER, XRT_BNK_TXN.XRT_CODE_1, XRT_BNK_TXN.XRT_CODE_2, XRT_BNK_TXN.EDIT2_DATE, XRT_BNK_TXN.EDIT2_OPER, XRT_BNK_TXN.GL_POST_FLAG, XRT_BNK_TXN.GL_POST_DATE, XRT_BNK_TXN.DLY_POST_FLG, XRT_BNK_TXN.RECON_FLAG, XRT_BNK_TXN.RECON_DATE, XRT_BNK_TXN.UNIQUE_ID
 
HAVING (((XRT_BNKFOLIO.ACCT_GROUP) Like "RECON*") AND ((XRT_BNK_TXN.BAI_CODE)<>"397") AND ((XRT_BNK_TXN.SERVICE_CD) Like "JPMCPD*" Or (XRT_BNK_TXN.SERVICE_CD) Like "WFPDCO*" Or (XRT_BNK_TXN.SERVICE_CD) Like "WFPDMN*" Or (XRT_BNK_TXN.SERVICE_CD) Like "S*" Or (XRT_BNK_TXN.SERVICE_CD) Like "PNC*" Or (XRT_BNK_TXN.SERVICE_CD) Like "USB*"))
ORDER BY XRT_COMPANY.COMPANY_ID, XRT_BNK_TXN.BANK_CODE, XRT_BNK_TXN.R_D DESC , XRT_BNK_TXN.BAI_CODE, XRT_BNK_TXN.AMOUNT DESC;
Error-file.doc
ASKER CERTIFIED SOLUTION
anandkswamy2008

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros