Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6567401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:19:57+00:00 2026-05-25T14:19:57+00:00

Calling all Oracle heads, I’ve got a weird problem with a sql query… Running

  • 0

Calling all Oracle heads, I’ve got a weird problem with a sql query…

Running locally, an IIS server running a basic web service executing a query via a VPN connection to another Oracle database.

Many other queries work, some more that take longer to return data.

It’s an Oracle 9i database.

Initially I was using an Oracle 11g client, then switched back to 10g thinking it may be that.

I thought it may be a ADO.NET Oracle driver issue, so extracted the sql to a file a ran it directly from sqlplus (console). Same thing. 01331 after about 1 second.

I can run the same query on the target site using an old 4gl sql editor using 9i client and it works. I tested it on SQL Worksheet on the client at the target site it work.

The only thing unusual with this sql statement is that it performs a tree walk using the CONNECT BY function.

I don’t think it’s a time out issue as more complex (well certainly larger) queries eventually return data. I did something like select count(*) from largetable where longstring not like ‘%test%’ to provide enough time to try an recreate a timeout, but it didn’t. Additionally the 03113 error occurs quite quickly after executing the statement. Nothing I can see in the sqlnet.log.

I would really appreciate any pointers?

Thanks in advance,

Sam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:19:58+00:00Added an answer on May 25, 2026 at 2:19 pm

    I’ve found the problem to be including a column of type long in the select query.

    Can anybody think of a reason for this?

    Tried two Oracle clients (10/11) over two guest os’ (Vista/Windows 7) and same problem.
    Different local firewalls, no Oracle alert logs, no sqlnet logs. No idea.

    Any further suggestions? Or is it Oracle support time?


    I managed to solve this problem. I ended up porting the .net project to .net 4 and using the Oracle.DataAccess provider.

    The original query contained a nested treewalk using the connect by function, which worked on the server, but not from the client. I kept getting ORA03113.

    I had further problems using the 2.x version of the ODP.NET – ORA-12560: TNS:protocol adapter error. To solve this I installed the latest oracle client, 11.2 and the latest ODP.NET client, 11.2. Granted permissions to oracle home (and sub folders/item) – rebooted.

    Hope this helps someone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a similar problem: Link Which was solved by calling GetAsyncKeyState(). While all
I am using a ThreadPool via ExecutorService. By calling shutDownNow() it interrupts all running
Calling all Oracle Gurus! I am in the process of clustering a well tested
Calling all C macro gurus... Is there any way to write a C macro
Given a BehaviorSubject, what is the practical difference between calling all of these different
I have a list of calling codes for all countries(the phone number prefixes), I
Will calling close on my WCF service kill all resources or set them up
Hi All I am currently having an issue calling a WCF service from a
I'm calling a web service from a console app - all in C# on
Calling all AutoMapper gurus! I'd like to be able to map object A to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.