[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation

Posted on 2013-01-29
Last Modified: 2013-02-21

We have hp unix 11.0 and oracle 11.o database in background. Front end we have iis 6 and .net application internal portal called intranet. We connect INTRANET with oracle client 11.2 odbc driver.

sometimes whenever we try to connect oracle database using our internal portal webpage we are getting below mentioned error

Microsoft OLE DB Provider for ODBC Drivers error '80040e31'
[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
/quote/QuoteBrowse.asp, line 823

sometimes page open and sometimes getting above error message.

We are using oracle 11.2 clients in clients computer and intranet server.

Need help to resolve this issue.

Question by:swatujct
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 23

Accepted Solution

OP_Zaharin earned 500 total points
ID: 38833561
- this probably due to the timeout config on your ODBC data source setup.
- go to the ODBC settings for the data source and clear/untick the option for Enable Query Timeout. if there is any indication on timeout in second/min, try set it higher or 0 to disable it.
LVL 38

Expert Comment

by:Geert Gruwez
ID: 38834151
it looks like your using the microsoft provider, not the oracle provider
Microsoft OLE DB Provider for ODBC Drivers

the oracle OLE DB provider is part of the oracle client
what part are you installing of the oracle client ?
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38835161
>>We connect INTRANET with oracle client 11.2 odbc driver.

I strongly encourage you to move to ODP.Net for your data provider and forget about ODBC and ANY Microsoft drivers to connect to Oracle.

If you must use ODBC, use native Oracle drivers.
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.


Author Comment

ID: 38846043
i am using ODBC system dsn using oracle in oraclient11g version11.02.00.. i have installed oracle client with administration options in INTRANET server.

As per zahrin suggetion i uncheck enable query timeout at this moment..i will keep it under observation and post here...

Do u think my issue is related to oracle Database from oracle server?

Also i have attached my current ODBC settings from INTRANET WEB PORTAL SERVER..

thanks all..

Author Comment

ID: 38871608
hi slightwv

i am using oracle odbc from oracle 11.2 not ms drivers..what is ODP.Net? how and where to configure? on INTRANET server..u mean stop using odbc and install only??
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38875901
>>i am using oracle odbc from oracle 11.2 not ms drivers..

What threw me was the first part of the error "Microsoft OLE DB Provider for ODBC Drivers error '80040e31'"

>>what is ODP.Net?

Oracle's .Net data access provider.

>>u mean stop using odbc and install only??

Yes.  This is a native .Net provider and you will have much greater flexibility over ODBC.

Author Closing Comment

ID: 38913846

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question