Wednesday, November 6, 2013

NAV 2013 R2 Windows Client & Web Client with NavUserPassword - Configuring the Credential Type on the Microsoft Dynamics NAV Clients

Hi all,

This is Fourth & Last post in this series. Please make sure that you have read all the previous post before you start reading this post.

All the post related to this series can be found in Introduction Post.

So Let's see what we need to do the configuration on Clients.

Windows / RTC Client -

I will explain this you all in a separate post, as of now just follow the steps as shown below -

1. Navigate to C:\Users\<UserName>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71

2. Copy the File ClientUserSetting to say D Drive.

3. Open the copied file and do changes for these parameters as shown below.



Port No. - New Service Port No (in my case 10046)
Server Instance - New Service Name (in my case TESTNAVUsername)
Client Service Credential Type - NAVUSerPassword.
DnsIdentity - Certificate Name (in my case NAV2013R2)
UnknownSpnHint - New Serivce URL (in my case localhost:10046/TestUsername/Service)


4. Save the File.

5. Create a Shortcut of NAV 2013 R2 Windows Client on Desktop and Naviagte to its properties.

6. You will see below URL in the Target Property of Shortcut.
"C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe"

7. Append this with the address of settings file that you have updated in step 3.
"C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -settings:"d:\ClientUserSettings.config"

*In my case i saved the setting file with same name in D Drive.

8.Hit Apply and ok.

9. Run the windows client, if all the steps are performed correctly you should end up with a window as shown below.



10. Enter UserName and Password created in Post 3 and here we go.



we have successfully configured Windows Client with NAVUSerPassword.


Web Client -

1. Navigate to C:\inetpub\wwwroot\DynamicsNAV71

2. Open the Web.config file.

3. We need to change following things in web.config , as shown below-

a. authentication mode with Client Services (Default - Windows).
b. ServerInstance (As we have configured to a different service).
c. ClientServicesCredentialType (Default - Windows).
d. ClientServicesPort (As we have configured to a different Port).
e. UnknownSpnHint (URL for service to connect).
f. DnsIdentity (Require a value for authentication for other than windows).



4. Save the File.

5. Run the web client from start menu, if all the steps are performed correctly you should end up with a window as shown below.



10. Enter UserName and Password created in Post 3.



we have configured Web Client with NAVUSerPassword.

In Next post we will see the detailed explanation for ClientUserSettings file that we have changed for RTC Client.

Regards,
Saurav Dhyani
http://saurav-nav.blogspot.in/