“The RPC server is unavailable”

时光总嘲笑我的痴心妄想 提交于 2019-12-12 23:55:19

问题


this is driving me crazy. I have 2 testing machine, one XP, and one Vista. I am running the same commands on both. These commands include creating a logman counter ( like a perfmon with command prompt), starting these counters, then stopping them, and then deleting them.

The problem is this: On XP they work perfectly, I am getting all the statistics, and it works always. On Vista, they work on the first time, but then I always get the error back, "The RPC server is unavailable."

This happens when I try to start the counter, not when i create it.

When I try to check the RPC server, it is running.

And to make it even more confusing, the counters are running on the local machine. (so for the XP, they run on the XP, and for the Vista, they are running on the Vista.) So an even weirder question is, why is it using RPC in the first place?

Did anyone meet this error ever before please? I am really stuck.

I did a lot of research, and it seems to be common. Most solutions ( that according to the Original Posters do not work) are always to check if the service is running.

P.S. This also replicates itself when I add counters manually, so even through perfmon. It seems that it works, then something goes wrong and it does not want to work again, without a restart of the machine.

P.P.S The services.msc also does not let me restart the RPC service, not even as admin.


回答1:


Why do I get 'The RPC Server is Unavailable' messages?

http://support.microsoft.com/kb/884564




回答2:


I suspect that the UAC is the problem.

Try disabling UAC (go to "Control Panel - User Accounts" and click "Turn User Account Control on or off").



来源:https://stackoverflow.com/questions/1063096/the-rpc-server-is-unavailable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!