Solved

Database Server Error

Posted on 2011-09-28
19
329 Views
Last Modified: 2013-12-25
Error Message:
The description for Event ID ( 0 ) in Source ( WITS ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Error:
Error#: -2147220501

Error Text:Unable to tie the query to the ADO connection.

Source: DB_Lib.SelectQuery

Receiving this error when executing any query.  

Any ideas?

Thank you,

Wendee
0
Comment
Question by:pwdells
  • 10
  • 8
19 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719516
This was only posted in an Oracle zone.

What product/language/??? is generating this error and I can see about finding additional zones for you.
0
 

Author Comment

by:pwdells
ID: 36719523
Hmmm...  My teammate said it is an Oracle error.  Please let me reconfirm with him.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719570
OH, that is a Windows event error.

Oracle error messages have a product designator followed by the error number.

For example:  ORA-00942

>>ADO connection

This tells me it is some app like .Net trying to connect to a database.  I assume in this case Oracle.

>>DB_Lib.SelectQuery

I have no idea what DB_Lib is and who makes it.
0
 

Author Comment

by:pwdells
ID: 36719625
Oracle 11, he says.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719650
>>Oracle 11, he says.

Did you not read my last post?

When I Googled "may be able to use the /AUXSOURCE=" it shows that is a Windows event type message.

Nothing posted points to Oracle as the source of the message.
0
 

Author Comment

by:pwdells
ID: 36719675
Digging a little deeper:

The program was developed in VB 6.0 and is using an ODBC connection to Oracle 11.
0
 

Author Comment

by:pwdells
ID: 36719681
Sorry, the emails are not coming in from EE and I didn't refresh before updating.  Please accept my apologies!
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719738
>>Please accept my apologies!

Accepted and apology wasn't necessary.

>>The program was developed in VB 6.0 and is using an ODBC connection

That would explain why there really isn't an Oracle error message.

I'll see what other zones might help.
0
 

Author Comment

by:pwdells
ID: 36719742
Thank you slightwv!
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:pwdells
ID: 36719770
We don't need to close this out, right?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719771
OK, back to the question:

Has this app ever worked?
If so, what changed?

If not, it might be a version issue of some type.  I assume it had to run on a test server or at least the development server?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719777
>>We don't need to close this out, right?

Correct.

I just added more Zones to allow other Experts in those fields to help.
0
 

Author Comment

by:pwdells
ID: 36719804
The app is working on the original server.  There is a new server that this app is integrating to.

So, it has worked on one server, but not the new server.

Now that Oracle is ruled out, I am checking to see if it is a reference library issue, like I experience frequently in Microsoft Access VBA.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36719848
I've not ruled out Oracle.  Only saying that Oracle isn't the one generating the error and if it is, the application isn't passing the Oracle information along.

It still might be an Oracle issue under the sheets.

>>but not the new server.

check bit versions, product versions, etc... between the old server and the new one.

Make sure what used to be 32Bit is still 32Bit and you aren't trying to mix and match 32 and 64.

Verify what products changed versions.  ODBC requires an Oracle client install.  Did the versions change?

Can you find out if DB_Lib is a 3rd party product?  Maybe it isn't compatible with something new.
0
 

Author Comment

by:pwdells
ID: 36719946
All servers are virtual on the same box.  Would that rule out the bit conflict?  32 vs 64.

DB_Lib.DLL is a 3rd party product developed by someone here at our company.  The source is unknown.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36720371
>> Would that rule out the bit conflict?  32 vs 64

No.  Each VM has it's own OS.  These can be anything.
0
 

Accepted Solution

by:
pwdells earned 0 total points
ID: 36816035
We increased the MTS (TIME OUT) setting this morning from 15 minutes to 30 minutes.  Now the queries are running and the connections are establishing.  So it is working.  

But we don't know why...
0
 

Author Closing Comment

by:pwdells
ID: 36935280
We increased the MTS (TIME OUT) setting this morning from 15 minutes to 30 minutes.  Now the queries are running and the connections are establishing.  So it is working.  

But we don't know why...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using web browser with BING 40 111
How to connect SQL Server from my Oracle database? 11 73
use lov values 2 38
constraint check 2 20
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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.
Via a live example, show how to take different types of Oracle backups using RMAN.

863 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

23 Experts available now in Live!

Get 1:1 Help Now