web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

BC-On-prem Web client installation

(0) ShareShare
ReportReport
Posted on by 220
Hello There,

I am getting error while accesing web client URL that is created from powershell NAVWebClientManagement module.
Since i am not able to install Web client from basic installation.

Error is below.
pastedimage1571494087674v1.png
Event viewer logs are below.
pastedimage1571494124511v2.png
Another error:
pastedimage1571494157597v3.png
Can anyone help me out on this issue
Thanks
Sud
I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Do you receive an error directly from the Powershell command? Or when you start the web client instance?

  • Sudarshan khandal Profile Picture
    220 on at

    Hi Stefano,

    Thanks for your revert!!

    ok, So very first i just installed BC along with its web server components and luckily i did not get any error post installtion.

    But a web site did not appear in IIS.

    So i just tried to create it from NavWebCLientManagement and in the process i faced a strange error related to the very first line in module "#Requires -RunAsAdministrator".

    So i removed that line and then try this time it works fine even a site created under IIS web sites. And the app pool also configured with the name that i passed in to command (like xyzwebclient).

    Now i am trying to open it from IIS browse button its giving me the above error.

    Commands I am using

    Import-Module 'C:\NAVWebClientManagement.psm1'

    New-NAVWebServerInstance -PublishFolder 'E:\BC Setups\Dynamics.365.BC.26556.NA.DVD\WebClient\Microsoft Dynamics NAV\130\Web Client\WebPublish' -WebServerInstance BcWave2 -Server XYZserver -ServerInstance BcWave2 -ClientServicesCredentialType Windows -WebSitePort 8082

    Thanks

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Have you executed Powershell as admin? It seems you have a problem on permissions related to .NET components.

  • Sudarshan khandal Profile Picture
    220 on at

    Yes i did.

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at

    Hi Sud,

    While trying to setup webclient, have you setup the ports correctly?

    Also, it looks like there is a conflict with .NET runtime.

    Try and see if you can do the setup on another machine as you might have probably missed something.

  • Sudarshan khandal Profile Picture
    220 on at

    Hi Olister,

    Thanks for your reply!!

    I guess so problem with .Net or AspNetCore components.

    But i did cross-verify from an another system and found every component is installed correctly even i installed missing components also if any.

    But no worry, now this issue has been resolved by giving some permission to the user account in .Net runtime.

    thanks

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    Sudarshan khandal  what permission you given to user account? I am having same issue.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans