Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2013-01-29
Medium Priority
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 2000 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.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

721 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