Solved

Database Server Error

Posted on 2011-09-28
19
326 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

706 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

20 Experts available now in Live!

Get 1:1 Help Now