Dynamics NAV and the strange FaultCode=InvalidSecurity error

A quick post for answering a user question regarding an error when connecting to his NAV server instance using the Role Tailored Client. The error that appears is:

The FaultCode = ‘InvalidSecurity’ error is sometimes tricky to understand. The first thing that you can think is checking the user credentials and the service tier account, but if you’re doing so you’re not on the right road.

This error occours because a secure connection between client and NAV Server is established by using also the date and time of both client and server machines. If on the server you have different time synchronization with the client, this error can occour.

The fix for this is simply fix the time of your NAV server or client. You can also reset the Windows Time Service but normally simply changing the time is enough. So simple…

4 Comments

    1. Time zone is not a problem. The problem is the “delta” between client and server (converted as same time). Delta regarding time zone is calculated. Thanks Dan for this observation.

      Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.