Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Dynamics NAV web service returns blank page

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Community,

    I am new to Dynamics NAV and I am trying to play around with the web services capabilities. I have an environment setup using Microsoft Azure. So I have the web services option enabled (on the default 7047 port), windows firewall has NAV in the allowed apps, and added the endpoints on Azure to allow access to NAV on the VM. On my local machine I am able to access the web client from chrome but when I attempt to see the list of services I get a blank page. However if I am on the VM and attempt to view the service endpoints in IE I do get a return in the browser. I am wondering, did I forget to enable something from either Azure's end or the VM?

Thank you for your time and patience for reading this post.

*This post is locked for comments

  • Suresh Kulla Profile Picture
    Suresh Kulla 44,614 on at
    RE: Dynamics NAV web service returns blank page

    Rossey,

    Is your error resolved ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics NAV web service returns blank page

    So I think I have everything up and running now

    I believe Suresh was pointing towards this link msdn.microsoft.com/.../gg502478(v=nav.80).aspx

    I'm going to list out what I did/needed to get the web services functioning outside the VM. Hopefully it may help someone else in the future.

    First ensure you have or create a Nav User. You'll need it down the line.

    I then installed Windows SDK for Windows 10 just so I would have the makecert executable which will be needed for the steps in the link above. Not sure if Visual Studio 2015 community edition has it or not. I couldn't find it in so I went with the SDK instead.

    Assuming you have the endpoints added on Azure and enabled web services from NAV Admin, you'll need to change the credential type in the Nav Admin to NavUserPassword. Thanks to Suresh for this information.

    Finally, I just went through the steps listed in the link above. I'm not sure if you need to ensure you installed Active Directory Domain Services prior to this but I got that setup already while I was still trying to figure this all out. Here is a link for that, www.youtube.com/watch

    I'm going to play around with it a bit more but thank you to everyone for your help!

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,614 on at
    RE: Dynamics NAV web service returns blank page

    Rossey,

    To use NAVUserPassword you need to implement security ceriticate and copy the certificate thumprint on the Navision Server Setting and make some changes to the configuration files.

    Check the below link how to set that. There is another link in this page implementing security certificates you need to perform that to get Certificate Thumbprint.

    msdn.microsoft.com/.../jj551778%28v=nav.90%29.aspx;MSPPError=-2147217396#NavServer

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics NAV web service returns blank page

    So when I changed the credential type from Windows to NavUserPassword and attempt to restart the Nav Server Instance I get this error message.

    Screen-Shot-2015_2D00_11_2D00_05-at-12.45.04-PM.png

    Looking at the event log I see this error as well

    Server instance: NAV
    User:
    Type: Microsoft.Dynamics.Nav.Types.NavConfigurationException
    SuppressMessage: False
    SuppressExceptionCreatedEvent: False
    FatalityScope: None
    Message: The required certificate thumbprint is not specified. Specify a valid value for the ServicesCertificateThumbprint configuration setting.
    StackTrace:
    at Microsoft.Dynamics.Nav.Service.CertificateValidator.ValidateCertificateThumbprint(String thumbprint)
    at Microsoft.Dynamics.Nav.Service.CertificateHelper.GetCertificateFromThumbprint(String certificateThumbprint)
    at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.CreateServiceHosts(ServerUserSettings settings, Boolean usePortSharing, String machineName)
    at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.Start(String commandLineServiceInstanceName)
    Source: Microsoft.Dynamics.Nav.Service
    HResult: -2146233088

    I'm going to look into that error but I've also noticed these warnings when using Windows as the credential and starting the service.

    Server instance: NAV
    The service account has insufficient privileges to register service principal names in Active Directory.
    Account: handshake\HSNAVTest$
    Service principal names:
    http/HSNAVTest:7047
    http/HSNAVTest.handshake.local:7047

    Same or similar message appears on ports 7045, 7046, 7048. Going to look into this but just posting it here in case someone has insight to these messages.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,614 on at
    RE: Dynamics NAV web service returns blank page

    Can you setup NAVuSerPassword as credential and try

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics NAV web service returns blank page

    @Jose

    We currently have Dynamics Nav 2015 installed. Version W1 8.00 (8.0.42603.0).

  • jcastro Profile Picture
    jcastro 2,245 on at
    RE: Dynamics NAV web service returns blank page

    Hello Rossey,

    What NAV version are you using?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics NAV web service returns blank page

    @Suresh

    It says Windows.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,614 on at
    RE: Dynamics NAV web service returns blank page

    What is the credential Type on NAV Server Setting ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics NAV web service returns blank page

    Sadly still nothing is working on my end. Even added endpoints on 7046, 443, 80, 7048 just to see if one of those were needed in addition to 7047 but nothing. I'm not even asked to provide my credentials.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans