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…

Comment List