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
Solved

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

Posted on 2013-01-29
7
2,783 Views
Last Modified: 2013-02-21
hi

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.

thanks
0
Comment
Question by:swatujct
7 Comments
 
LVL 23

Accepted Solution

by:
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.
0
 
LVL 37

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 ?
http://www.oracle.com/technetwork/database/windows/index-089115.html
0
 
LVL 76

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.

http://www.oracle.com/technetwork/developer-tools/visual-studio/downloads/index.html

If you must use ODBC, use native Oracle drivers.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:swatujct
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..
odbc-settings-for-TRLV-database.docx
0
 

Author Comment

by:swatujct
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 odp.net only??
0
 
LVL 76

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.

http://www.oracle.com/technetwork/developer-tools/visual-studio/downloads/index.html

>>u mean stop using odbc and install odp.net only??

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

Author Closing Comment

by:swatujct
ID: 38913846
solved
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

839 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