RSS

Dynamics NAV ClickOnce: Install 2013/2015 Help Server

18 Oct

One of the less good things with the 1VM/2VM script is that it doesn’t install a NAV help server.

So in order to get the help server to work with the newly installed ClickOnce client in your Azure environment you have to do the following things:

  1. Install the help server from the NAV DVD on the current machine
  2. Add the help server URL to ClientUserSettings.config in the ClickOnce folder
  3. Add an endpoint to the Azure VM in the Azure portal
  4. Update the ClickOnce deployment

Start with installing the help server:

HelpServerInstallationStep1

Note the server port: I have blanked out the details to my test server.

HelpServerInstallationStep2

Once installed, try to see if the server works by running the help from the role center.

HelpServerInstallationStep4-1

Ok, so the help server worked but if we look at the address it shows the local URL but the thing wer’e after is the public URL that we want to include in the ClickOnce deployment.
I try to change the local address http://SERVERNAME:49000/main.aspx… to  http://SERVERNAME.cloudapp.net:49000/main.aspx…  and what happens? We get “This page can’t be displayed”.

HelpServerInstallationStep4-2

The reason for that it works with a local address and not a public address is that azure blocks all the incoming connections to the virtual machine by default. What we need to do is to activate connections to the help server. That we do in settings for the virtual machine. Go to the virtual machine in the Azure setup and choose endpoints.

Add the following:

HelpServerInstallationStep5

After that try to surf to the public address again and voila!

HelpServerInstallationStep6

Now we have a working public URL, so now we can update our ClickOnce deployment.
Open the ClientUserSettings.config file in Deployment/Application folder and add the public URL to the help server to the file.

ClientUserConfig

Update the manifest file. Don’t forget to update the version number. Sign the manifest with the certificate. After that, update the application, change the version number and update the minimum required version. Sign the application file and now you should be done.

More information about updating the ClickOnce deployment can be found here:

Deploying Microsoft Dynamics NAV Using ClickOnce 

Upgrading ClickOnce Deployed by Microsoft Dynamics NAV Windows Client (Part 2 of 5)

Advertisements
 
1 Comment

Posted by on 2014-10-18 in Okategoriserade

 

Tags: , , ,

One response to “Dynamics NAV ClickOnce: Install 2013/2015 Help Server

  1. Jan Veenendaal

    2015-07-24 at 08:48

    Little trick: do NOT add http:// to the helpserver value in the ClickOnce config file. In that case you also do NOT need to add the :49000 portnumber to the helpserver url.
    If the server url does not start with http:// then the NAV client will automatically add http:// AND the portnumber (from the HelpServerPort setting) !

    Liked by 1 person

     

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

 
Mark Brummel Blog | Microsoft Dynamics NAV

Master Classes Design Patterns and more...

Vjeko.com

ideas in the cloud

Goprowe AB

Reflections from the ERP field

ArcherPoint Developer Blog

Reflections from the ERP field

The NAV Viking´s Blog

- Sharing my experience in the Dynamics NAV world

Comments for waldo's blog

Reflections from the ERP field

Nav Can Be Fun

Its Really Fun to Work with Microsoft Dynamics Nav

Navision-Girl.Com

Reflections from the ERP field

LET'S TALK NAV

Tips, Tricks, How-To's & News about Microsoft Dynamics NAV & Dynamics 365 for Financials

Kine's Info

Reflections from the ERP field

blog.wibeck.org/

Just another WordPress.com site

NAV/SQL Performance - My Two Cents

Reflections from the ERP field

Hougaard.com – Applied Hacking

Reflections from the ERP field

Kauffmann @ Dynamics NAV

Reflections from the ERP field

Kriki’s Dynamics NAV blog

Reflections from the ERP field

Rashed Amini

Reflections from the ERP field

Olof Simren - Microsoft Dynamics NAV Blog

My blog about Microsoft Dynamic NAV tips and tricks. Remember to Subscribe!

Van Vugt's dynamiXs

Reflections from the ERP field

Navisionary – Dynamics NAV

Reflections from the ERP field

%d bloggers like this: