web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

RPC error: Failed to register service principal name (SPN)

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 I'm Newby working with AX and i have issues with one server, its losing the connection to the Domain Controllers

i got the following errors:

Object Server 01:  RPC error: Failed to register service principal name (SPN): '29D16D8E-32D1-433B-B77F-987C2408CEA4/AOS01.xxxxxxxxxx.xxxxxxx.CL:2712'

Event ID: 180

and the one following is this other:

Object Server 01:  The database reported (session 1 (-AOS-)): [Microsoft][SQL Server Native Client 11.0][SQL Server]No se encontró el procedimiento almacenado
'AXPROD_model.dbo.XU_IsModelIdInstalled'.. The SQL statement was: "{ CALL [AXPROD_model].[dbo].[XU_IsModelIdInstalled](?, ?) }"

Event Id:117

i think that my issue is related with domains controllers, but since its just 1 server and not all of them that hare having this issue i'm kinda confuse about it!

Please could you give a hand on this!

All Servers are running windows Server 2012R2 Standard.

Both of our Domain Controllers where 2000 then upgrade to 2003, then upgrade to 2008R2 and now Upgrade to 2012R2.

I just got them when they where all 2012R2.

Thanks in advance

We had several AX Services stop during the last week and the only thing that make sense to me that the service is stopped its because the RPC, but i'm really basic in AX! I really appreciated somed guidance in the troubleshooting process!

We have other AX Server that does not show those error in the event viewer and we had no issues its 100% fully working!

*This post is locked for comments

  • Suggested answer
    Vilmos Kintera Profile Picture
    on at
    RE: DynamicsAX RPC error: Failed to register service principal name (SPN):

    For the Server Principal Name your Active Directory Domain Administrator needs to allow the AX AOS service account to register and delete SPN values, it is required for Kerberos authentication. If it fails, AX falls back to NTLM. You can read about it here for example:

    [View:https://community.dynamics.com/ax/f/33/t/128388:750:50]

    The other error indicates that your modelstore database has missing stored procedures.

    You may try to fetch a demo Virtual Machine for the same major version of what AX you are using, and recreate the stored procedures on the DB from there, or just take it from another environment.

  • AlexKwitny_AlexOnDax Profile Picture
    on at
    RE: DynamicsAX RPC error: Failed to register service principal name (SPN):

    You need to initialize your AX Modelstore.

    technet.microsoft.com/.../jj720267.aspx;MSPPError=-2147217396

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans