Solved

Error calling remote component

Posted on 2001-08-09
13
245 Views
Last Modified: 2008-02-26
Hi,

We have an IIS4 web server that makes calls via ASP to an MTS remote component. The source component resides on another NT4/MTS box that is the other side of our firewall (the component is produced by SAP's DCOM builder).

The problem is this - intermittently (though more or less every day), calls to the remote component return an ASP error ('The RPC Server Is Unvailable') which can be fixed by shutting down the server processes on the MTS machine using the MMC. Any subsequent calls to this component get the same error until this fix is done.

There is also an Event Viewer application log entry on the IIS server with the following data:

Failed on creation from object context: CoGetClassObject (ProgId: C11.Test38a.1) (CLSID: {7EDA40DA-7AB9-11D5-980E-0000F6EFC00C}) (Interface: IClassFactory) (IID: {00000001-0000-0000-C000-000000000046}) (Microsoft Transaction Server Internals Information: File: i:\viper\src\runtime\context\ccontext.cpp, Line: 1355)

Does anybody have any ideas as to why this is happening? No changes are made to the configuration of either box between these incidents.

Any help would be very, very much appreciated,

Vip
tin-cup@cyberdude.com
0
Comment
Question by:vahlawat
  • 4
  • 2
  • 2
  • +5
13 Comments
 
LVL 2

Expert Comment

by:DirkVe
ID: 6367313
1) Verify that the component DLL exists and is registered correctly and that it's added into a package into MTS.

2)Verify that the identity account for the package has sufficient permissions on the system. If the identity is set to "Interactive User", make sure that someone is always logged on at the console of the server.
0
 

Author Comment

by:vahlawat
ID: 6367332
Thanks for the suggestions - I have checked these things and they are OK.  The component can be called with no problems nearly all of the time.  The main problem is that when is does fall over as I described above, it will not work again until I manually intervene by shutting down the server processes.

Cheers,
Vip
0
 
LVL 5

Expert Comment

by:Kelmen
ID: 6367392
Check out the MSDN Q241057. Relevant to your problem.

<!--snipped-->
RESOLUTION
Set the package identity to a specific user.

STATUS
This behavior is by design.
<!--snipped-->
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:vahlawat
ID: 6367519
Thanks for that - I'm afraid that's not the solution either.  The package containing the component is set to run as a specific user with administrator priveliges, the same as for other packages that are not exhibiting this behaviour.

Cheers,
Vip
0
 
LVL 3

Expert Comment

by:krispols
ID: 6367711
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6367824
it might be that the component threads stay resident in memory.. try to set component thread destroy time to 1-2 minutes..
0
 

Author Comment

by:vahlawat
ID: 6367860
Thanks - the KB article doesn't help because we are not using NAT and DCOM works fine generally.

How do I set the component thread destroy time?

Cheers,
Vip
0
 
LVL 2

Expert Comment

by:MCM
ID: 6373590
I had a similar problem after installing NT sp6a and the MS hotfix that was supposed to prevent Code Red. It went away again after I installed latest sp of MDAC 2.5 (not 2.6, although this might work too) AND the latest Jet 4.0 release. No idea why these worked, or if they'll work for you, but you can get them at www.microsoft.com/data.
0
 

Author Comment

by:vahlawat
ID: 6379730
Thanks for that, I'll give it a try and let you know.

Cheers,
Vip
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6379763
in MTS in the package propreties.. but also are you destroying your components objects in the script??
Set ComObjectVariable = nothing
0
 
LVL 5

Expert Comment

by:Kelmen
ID: 6382978
Just a suggestion, as I would probably try this:

I would try to simulate the testing environment but taking out the firewall, this is to pinpoint the scope of the error cause. As your problem is on-and-off, which highly indicate non-programming-related problem (hardware, service pack, networking etc).

We actually had faced a problem with ADSL, and doing the similar testing had help us pinpoint our error cause to an "abandoned" WINS server.

HTH.
0
 
LVL 33

Expert Comment

by:hongjun
ID: 8671417
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
[PAQ with NO REFUND]

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

hongjun
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8736178
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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