Executing external components - Deactivation of warning message |
Scroll |
When an external component is executed during a NAV Client Session, as in this case with the Therefore.NAV.Server, the warning message depicted in figure 1 is displayed.
Figure 1: Navision warning - executing an external component
To enable call up of Thereforeâ„¢ from NAV requires selection of the option Allow for this client session. This gives explicit permission for this single session to allow access to the Therefore.NAV.Server. When that session ends (i.e. NAV closed) and then a new session is started, the warning message will be displayed once again requiring specific permission to be given once more.
It is possible to permanently deactivate this message when executing a Thereforeâ„¢ component. To do this, the file ClientUserSettings.config needs to be opened with an editor and the line
<add key="ServicePrincipalNameRequired" value="False" /> needs to be changed to <add key="ServicePrincipalNameRequired" value="True" />.
The file should be located under <Users>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\70\ClientUserSettings.config. If the NAV-Client has already been started then it needs to be restarted in order to activate the configuration.
Figure 2: Modification of file „ClientUserSettings.config“