473,511 Members | 12,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception: RPC server is unvailable.

hi,

this time, i hit a more specific issue. when i execute the following code, i
run into a exception says "RPC server is unvailable!":

string path = "\\\\MSRA-IDS-RV3\\root\\cimv2:Win32_Service";
ManagementClass cls = new ManagementClass(path);
ManagementObjectCollection c = cls.GetInstances();

i'm sure that all RPC-related services are runing in my machine and remote
machine. i can't figure it out. Could anyone help me? thanks.
Oct 25 '06 #1
2 1703
since it works well when retreiving on local machine, do i need to create a
connection to remote machine first?

"CAIBird" wrote:
hi,

this time, i hit a more specific issue. when i execute the following code, i
run into a exception says "RPC server is unvailable!":

string path = "\\\\MSRA-IDS-RV3\\root\\cimv2:Win32_Service";
ManagementClass cls = new ManagementClass(path);
ManagementObjectCollection c = cls.GetInstances();

i'm sure that all RPC-related services are runing in my machine and remote
machine. i can't figure it out. Could anyone help me? thanks.
Oct 25 '06 #2
oh, i resolved it myself :)
thanks

"CAIBird" wrote:
since it works well when retreiving on local machine, do i need to create a
connection to remote machine first?

"CAIBird" wrote:
hi,

this time, i hit a more specific issue. when i execute the following code, i
run into a exception says "RPC server is unvailable!":

string path = "\\\\MSRA-IDS-RV3\\root\\cimv2:Win32_Service";
ManagementClass cls = new ManagementClass(path);
ManagementObjectCollection c = cls.GetInstances();

i'm sure that all RPC-related services are runing in my machine and remote
machine. i can't figure it out. Could anyone help me? thanks.
Oct 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1337
by: howard39 | last post by:
When SQL Server 2003 is *not* configured in IIS5 isolation mode, is it true that the Session_End event can not be depended on? If so, what is a good way to clean up unmanaged resources that were...
19
3189
by: Diego F. | last post by:
I think I'll never come across that error. It happens when running code from a DLL that tries to write to disk. I added permissions in the project folder, the wwwroot and in IIS to NETWORK_SERVICE...
5
20417
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied...
7
2661
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
2
8129
by: Tim Reynolds | last post by:
Team, When my web service throws an exception and I am debugging on my PC - I get the exception back in my browser fine. My web.config shows <customErrors mode="Off"/> and this is working well. ...
2
4932
by: Richard Collette | last post by:
Hi, I have a service, that runs perfectly when executed outside of the web service environment. When called as a web service I get the exception listed below sporadically. A call to the web...
2
4528
by: bevis | last post by:
I'm new to sql server and mysql but this seems like it should be a pretty straight forward jdbc connection. But I have spent almost 2 days just trying to get a jdbc connection. Please help if you...
1
2006
by: Ami | last post by:
We have an application where in SOAP is used as a middle layer to communication between Java Front layer and DCE( Distributed Computing Env) backend layer. We are using Systinet Server for C++ to...
2
4588
by: Scott | last post by:
I'm debugging an xmlrpc client/server application. Often when an exception occurs in the server, I receive only a very short error message on the client. For example: xmlrpclib.Fault: <Fault 1:...
0
7367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7089
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5673
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
790
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
451
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.