- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- The RPC server is unavailable.
Windows Server 2003
1821984
Members
3300
Online
109638
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 03:00 AM
тАО11-04-2008 03:00 AM
The RPC server is unavailable.
I have configured RPC with range of ports.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\Internet
Port 5000-6000
PortsInternetAvailable Y
UseInternetPorts Y
But i am getting RPC Server Unavaliable exception when i try to connect from client DCOM application.
"System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'System.EnterpriseServices.IRemoteDispatch'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6619A740-8154-43BE-A186-0319578E02DB}' failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)."
What could be the problem? Please help me.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc\Internet
Port 5000-6000
PortsInternetAvailable Y
UseInternetPorts Y
But i am getting RPC Server Unavaliable exception when i try to connect from client DCOM application.
"System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'System.EnterpriseServices.IRemoteDispatch'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6619A740-8154-43BE-A186-0319578E02DB}' failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)."
What could be the problem? Please help me.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 07:16 AM
тАО11-04-2008 07:16 AM
Re: The RPC server is unavailable.
KB 908472 (http://support.microsoft.com/kb/908472) details the steps for specifying the RPC port range. You state you are using a registry hack to set this but the article specifies the use of the RPCCfg.exe utility. Try the steps outlined in the the KB on a clean box.
Also, be aware of the consequences of reserving the RPC ports in the manner you have described. This has the potential to break other applications that assign ports in this range. KB 812873 discusses this, too. (http://support.microsoft.com/kb/812873)
Also, be aware of the consequences of reserving the RPC ports in the manner you have described. This has the potential to break other applications that assign ports in this range. KB 812873 discusses this, too. (http://support.microsoft.com/kb/812873)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 10:13 PM
тАО11-04-2008 10:13 PM
Re: The RPC server is unavailable.
HI Thanks for the reply. I am using rpccnfg utilty only to configure.
This problem happens when i specify range of ports. If i revert back to normal (that means RPC decides to use port between 1024 and 5000) it is working fine , provided i enabled "Allow Remote Administration Exception" in group pllicy settings. But even with this policy settings, i am getting RPC server unavailable when i configure it to specific port range.
I use port query tool and triePortQry.exe -n server -e 135 and it is returning end points.
Now what could be the problem.IS there any other firewall or group policy settings to be done?
This problem happens when i specify range of ports. If i revert back to normal (that means RPC decides to use port between 1024 and 5000) it is working fine , provided i enabled "Allow Remote Administration Exception" in group pllicy settings. But even with this policy settings, i am getting RPC server unavailable when i configure it to specific port range.
I use port query tool and triePortQry.exe -n server -e 135 and it is returning end points.
Now what could be the problem.IS there any other firewall or group policy settings to be done?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP