How many of your remote obejcts are created when you start seeing the RPC unavailable error?
We see this occasionally - generally, we trap this error and try again to create the object, and if that fails, then we report the error. You might want to try the same. Cheers, Andy. > -----Original Message----- > From: Chee Pin [mailto:[EMAIL PROTECTED]] > Sent: 19 July 2002 10:47 > To: [EMAIL PROTECTED] > Subject: [ADVANCED-DOTNET] Issues in activating remote COM+ App in > stressed condition > > > Hi, > > I am doing a stress test on COM interop in making a DCOM call > to a remote > COM+ application on a different machine. My client is coded > in C#. My COM+ > application contained a MTA component has a method that > basically sleeps > for 5 sec and return. I am using Type.GetTypeFromProgID in > conjunction with > Activator.CreateInstance to activate the remote COM+ > application from my > client application. I have 3 machines simulate client 150 > concurrent calls > from 3 different machines to the COM+ application. What I > notice is that I > am getting System.Runtime.InteropServices.COMException > (0x800706BA): The > RPC Server is unavailable error on 25% on remote object > activation. And all > of these incidents happened at within the ~2 sec period when > all the client > is trying to createinstance on the COM+ application. > > By the way, my COM+ application is running on a Pentium III > 933Mhz 256MB > machine with Windows 2000 pro. > > I am wondering if this has something to do with the machine > scalability. I > am hopefully you guys can help to explain what could be the > cause of the > exception. Is it a scalability issues with machine? We are > seeing quite > normal CPU rate and memory usage on the server application box. > > Thanks, > Chee Pin > > You can read messages from the Advanced DOTNET archive, > unsubscribe from Advanced DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ******************************************************** Attachments in this message have been swept by NAIs TVD (version 4.0.4213) for the presence of known computer viruses. ******************************************************** ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. ________________________________________________________________________
