"The RPC server is unavailable" with Dynamics 2011 FP1

This question has suggested answer(s)

We just upgraded to Microsoft Dynamics 2011 FP1.  We have a custom application which uses the object model to automate some Dynamics functionality.

One of our users is receiving the following error:

"ERROR (198330): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"

Does anyone know how this error can be resolved?  We didn't experience the error prior to upgrading to 2011.

Thanks for any help you can offer!

All Replies
  • Hello,

    Unfortunately, we do not support SDK and third party applications on the forum. Hopefully one of your fellow customers or a Microsoft Partners can help you with this issue. In order to help them help you, you should supply some context as to what the custom application is doing and what leads up to the error occurring.

    Blaine

    Technical Support Engineer

    **This posting is provided " AS - IS" with no warranties and confers no rights.

  • If your app gets the data from a query that uses a linked server  you have to enable it on SQL:

    sp_configure 'remote proc trans', 1

    GO

    RECONFIGURE WITH OVERRIDE

    GO

    USE [master]

    GO

    EXEC master.dbo.sp_serveroption @server=N'SERVERNAME', @optname=N'rpc', @optvalue=N'true'

    GO

    EXEC master.dbo.sp_serveroption @server=N'SERVERNAME', @optname=N'rpc out', @optvalue=N'true'

    GO

  • Since from your explanation it looks like it only effects one user, I suggest looking for connectivity issues on the workstation. Those RPC errors often mean that it can't find the server or service it is looking for. I would check that it has the correct DNS information, antivirus, firewalls, etc.

    Butch Adams
    www.conexussg.com