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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV 2015 HTTP400 error calling DLL via Web Services

(0) ShareShare
ReportReport
Posted on by 12,998

Scenario:

Calling DLL via web services (with connection string defined in web service table) on 3-tier configuration (navision client, application server and database to three machines) returns HTTP400 error; on 2-tier environment web services runs correctly.

Error Message:

The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server monmau. The target name used was HTTP/servernav2015.lan1.local. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using. Ensure that the target SPN is only registered on the account used by the server. This error can also happen if the target service account password is different than what is configured on the Kerberos Key Distribution Center for that target service. Ensure that the service on the server and the KDC are both configured to use the same password. If the server name is not fully qualified, and the target domain (lan1.local) is different from the client domain (lan1.local), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.

 

link I found

http://blogs.technet.com/b/dcaro/archive/2013/07/04/fixing-the-security-kerberos-4-error.aspx

https://social.technet.microsoft.com/Forums/windowsserver/en-US/f8a93cde-f1de-47b6-b85a-781c795825f7/kerberos-event-id-4-krbaperrmodified?forum=winserverDS 

http://www.mibuso.com/forum/viewtopic.php?f=32&t=61433&view=previous

https://support.microsoft.com/en-us/kb/558115


Thanks for support.

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    keoma Profile Picture
    32,729 on at

    try to use ip address instead of servername in url.

  • keoma Profile Picture
    32,729 on at

    did you solve the problem ?

  • Suggested answer
    Miguel Llorca Gómez Profile Picture
    7,019 User Group Leader on at

    It sounds like a new registration for the SPN is required... of course, as mentioned Archer, check if the fqdn is available or you must use the IP.

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    sorry for late response !

    you are right, SPN lost...

    .. i think that customer removed NETWORK SYSTEM user from NAV Service startup user and changed to ADMIN... if you do this i thnk that Windows lost standard SPN  registrations and need news.

    Thanks for suggestions Miguel & Jonathan.

  • Suggested answer
    Gaspode Profile Picture
    on at

    I realise this is an old topic, but when I encountered this problem recently none of the search results helped because none had been answered. Now that I have solved this problem I thought I would post the solution. NAV automatically registers the service principal names (SPNs) for the Web services has http/NAVSERVER:7047, etc. but Internet Explorer, Chrome, and .NET programs by default ignore the port when trying to authenticate (that is they are asking for a ticket to connect to http/NAVSERVER). If you manually register the SPN http/NAVSERVER to the user account that is running your NAV Server, it will work. Note that when trying to access the fully qualified machine name in IE you also need to add the machine to the trusted sites, but that's a different issue. Syntax is setspn -a http/NAVSERVER USERACCOUNT.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans