• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Database monitor - change the value of the timeout?

 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Database monitor -
[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
This seems to happen when my computer is busy doing something when my oracle ASP application is running.
http://www.freshwater.com/support/notes/noteTN10389.htm says:
"This is an error seen for a Database monitor running against an Oracle database. Change the value of the timeout for the monitor. Either increase the value or set the value to 0. If you choose to set the value to 0, be careful it may cause monitors to skip."
That sounds right on the money. So How do I change the value of the timeout for the monitor? Are they talking about my Oracle/ODBC driver?
Michael
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of ODBC you are using?
Beksy
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The ODBC/Oracle Drive is version 8.01.74.00
Oracle in OraHome81
Oracle Corporation
SQORA32.DLL
Dated 7/24/2001
Should I disable the "Enable Query Timeout" flag in the ODBC Driver Configuration of the driver?
[ June 19, 2002: Message edited by: Michael Finney ]
 
Beksy Kurian
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, that's right. Deselect 'enable query time out'.
and ...
change the CPTIMEOUT in the registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraHome8I
Beksy
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
change CPTimeout to what? It is 60 now. Change it to 0? or 300?
On my box CPTimeout resides in
//HKEY_LOCAL_MACHINE//SOFTWARE//ODBC//ODBCINST.INI//Oracle in OraHome81
Thanks. I appreciate your assistance.
 
Beksy Kurian
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
change it to 0. Default is 60. I think 0 means unlimited.
Beksy
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That sounds right to me. Thank you so much.
reply
    Bookmark Topic Watch Topic
  • New Topic