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…

2 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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s