Solved

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

Posted on 2013-01-29
7
2,686 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
Comment Utility
- 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 36

Expert Comment

by:Geert Gruwez
Comment Utility
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)
Comment Utility
>>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
Comment Utility
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
Comment Utility
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)
Comment Utility
>>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
Comment Utility
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.

Join & Write a Comment

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now