Solved

Error calling remote component

Posted on 2001-08-09
13
236 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:vahlawat
Comment Utility
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
Comment Utility
0
 
LVL 20

Expert Comment

by:Silvers5
Comment Utility
it might be that the component threads stay resident in memory.. try to set component thread destroy time to 1-2 minutes..
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:vahlawat
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for that, I'll give it a try and let you know.

Cheers,
Vip
0
 
LVL 20

Expert Comment

by:Silvers5
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

15 Experts available now in Live!

Get 1:1 Help Now