Hi,
We had installed Dynamics NAV 2017 in Azure from the App found in Marketplace. I am trying to prepare Clickonce install link for installing Windows clients. when I run in Power shell I am getting below error:-
You cannot call a method on a null-valued expression.
At C:\DEMO\Clickonce\install.ps1:36 char:1
+ $PublicMachineName = $config.SelectSingleNode("//appSettings/add[
@key ...
The line 36 as shown below:-
$PublicMachineName = $config.SelectSingleNode("//appSettings/add[
@key='PublicWebBaseUrl']").value.Split('/')[2].ToLower()
I need to specify any parameters in config file?
Comments
See for order here
https://totovic.com/2016/06/12/nav-gallery-image-ps-scripts-order/
Yes I had already setup the environment from Marketplace App. Now I am trying to run the Clickonce Install to generate the link for installing Windows clients. During that time I am getting the error.
Is it I need define something before generating Clickonce Install files?