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…
Thanks for this, but what if the client machine is actually operating in a different time zone?
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.
What if the server and client is installed on the same PC
Same machine should never occour.