RPC Server Unavailable
-
hi.. i used WMI to collect information from the remote pc's such as available disk space.. but the thing is 2 pc's has this exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Management.ManagementScope.InitializeGuts(Object o) at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at AutomationProject.WebForm4.diskdriveKMMARS() in C:\Inetpub\wwwroot\AutomationProject\WebForm4.aspx.vb:line 146 why is that so? the pc's were setup as " copied exactly from each other... any help? thanks...
-
hi.. i used WMI to collect information from the remote pc's such as available disk space.. but the thing is 2 pc's has this exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Management.ManagementScope.InitializeGuts(Object o) at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at AutomationProject.WebForm4.diskdriveKMMARS() in C:\Inetpub\wwwroot\AutomationProject\WebForm4.aspx.vb:line 146 why is that so? the pc's were setup as " copied exactly from each other... any help? thanks...
RPC needs a windows service to be running. Look at the services list (somewhere in your control panel - Im using a german windows so I dont know how it is exctly called), find the RPC service and check if it is running.
-
hi.. i used WMI to collect information from the remote pc's such as available disk space.. but the thing is 2 pc's has this exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Management.ManagementScope.InitializeGuts(Object o) at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at AutomationProject.WebForm4.diskdriveKMMARS() in C:\Inetpub\wwwroot\AutomationProject\WebForm4.aspx.vb:line 146 why is that so? the pc's were setup as " copied exactly from each other... any help? thanks...
The RPC service should always be running. I'd check to make sure that the two machines in question have the Windows Management Instrumentation service running, and that they are running with the latest service packs and patches. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome