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
Categories:
  • Almas Mahfooz Profile Picture
    10,967 on at
    RE: BC-On-prem Web client installation

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

  • Sudarshan khandal Profile Picture
    220 on at
    RE: BC-On-prem Web client installation

    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

  • Suggested answer
    Olister Rumao Profile Picture
    3,957 on at
    RE: BC-On-prem Web client installation

    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
    RE: BC-On-prem Web client installation

    Yes i did.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,152 on at
    RE: BC-On-prem Web client installation

    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
    RE: BC-On-prem Web client installation

    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,152 on at
    RE: BC-On-prem Web client installation

    Do you receive an error directly from the Powershell command? Or when you start the web client 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans