Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

COM/MTS error

COM/MTS error

COM/MTS error

I have run into some production problems.  I have
researching so much and could not come up with
anything as of yet.

I am working on an application which is written in
java. However it uses COM components written in VB6
and installed on MTS. And this COM is used in the java
application with wrapper classes in VJ++.  
When a user logins, the COM compoents are instantiated
in the application at this time. Everything works just
fine. No problem here.
However the problem occurs only when the user logins
in the application and does not work on
it, say for some 30 minutes or more(if the user is
busy with some
other work) and when he eventually gets
back to the application the user is faced with all
sorts of error messages when he tries to perform
retreiving any data..like as tho the connection is
somehow lost....

The first error message that occurs is :
Exception occurred during event dispatching:
com.ms.com.ComError: COM object bound to dll/class
instance failed QueryInterface(_class):
The requested object does not exist.
    at dll/class.method

And if one persists, and tries to perform any
operation for example click on any of the
buttons on the front end screen, the java console
shows some more error messages like:

RPC server is unavailable.
Caught Exception while invoking Query in the Component
(0x800706ba) The RPC server is unavailable.

The time out factor for the component package is set
to 10 minutes, due to time out problems
experienced before this issue( I donno if this is wise
move to increase the time by such a large amount).
Whereas the command
object in the coding is timed out at 180 seconds. And
the identity is Interactive user and with Server
package activation on the MTS component. (Do you think
it should be changed to Library activation...if yes,
what are the advantages of doing this?)
MSDTC time out is default one, 60 seconds. (Do you
think I need to increase this? If yes, will this solve
the time out issues?) Or do you think this is
due to network traffic?

Now I am unable to figure out what's going on? Can you
help me on this.. What do I need
to look into. Where is the problem occuring. Which is
occuring very  often.
How can I solve this issue...

Then there are  problems yet some other times when
even after starting to work immediately after logging
on the application .
The problem is the time out issue, which is occurring
quite often when this component is retrieving/updating
data in the
database when the system is performing under heavy
load at the peak time with
other applications running too.

The exact error is   -2147217871 Microsoft OLE DB
Provider for ODBC
Drivers.ExcuteSP(----ExcuteSP , this is a method
written in MTS
component---)[Microsoft][ ODBC SQL Server Driver]
Timeout expired.

  Any help , suggestions would be greatly
appreciated...I need it
very badly.
I am awaiting to hear anything on this anxiously.....

Thanks in advance.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close