Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

the install path for Microsoft dynamics NAV web server components cannot be found

Posted on by Microsoft Employee

Hi

I am trying to add a another Web Instance using the new-NAVWebServerInstance command and I get the error. 

"the install path for Microsoft dynamics NAV web server components cannot be found"


Our web server is separate to our NAV apps server and we have a working Web Instance already so I feel the system is working correctly.

I log on the apps server (not the web server) and start a Admin Shell as an administrator and then issue the command

New-NAVWebServerInstance NAVPARALLEL -Server NAV-Apps -serverInstance NAVPARALLEL

Can anyone tell me what might be going on?

Thanks

Laurie

*This post is locked for comments

  • 4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: the install path for Microsoft dynamics NAV web server components cannot be found

    You're welcome, cheers!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: the install path for Microsoft dynamics NAV web server components cannot be found

    Hi Khoa

    Thanks replying. Looking at the error message a second time I think the command should be executed on the web server as well.

    Unfortunately the NAV shell is not installed on the web server so I decided to create a new web instance by copying the existing one and creating a new virtual directory.

    This mean a few simple changes to web.conf file and adding the new port to the Delegation list

    So in the end it is now working for me.

    Thanks again for your help

    Cheers

    Laurie

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: the install path for Microsoft dynamics NAV web server components cannot be found

    Hi LaurieS,

    I think the command should be run on Web Server. Before running the command, on Web Server, you should:

    - Install Web and Client components.

    - Make sure Client work fine (connection between Web Server and NAV Server is good).

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: the install path for Microsoft dynamics NAV web server components cannot be found

    Hi

    Do you know if this command has to be executed on the server with IIS installed.

    I am installing on NAV Server because it has the Admin power shell where as the web server does not?

    Thanks

    Laurie

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: the install path for Microsoft dynamics NAV web server components cannot be found

    Hi Khoa

    I read the document and added the -clientServicesCredentialType Windows argument.

    I checked the web.conf of  working web instance and it is using Windows so I know this is the correct type.

    Unfortunately the problem still exists.

    The web.conf for the new instance is not being created at all because this error fails before New-NAVWebServerInstance  gets a change to create the new instance. 

    It is like the command does know where go to get to Web server components

    Thanks

    Laurie

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: the install path for Microsoft dynamics NAV web server components cannot be found

    Hi Lauries,

    Check -ClientServicesCredentialType and web.config file may help you.

    Please refer to below link for more information!

    docs.microsoft.com/.../how-to--add-a-microsoft-dynamics-nav-web-server-instance

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans