Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

When Running Web Services Error Occur

(0) ShareShare
ReportReport
Posted on by 125

I got error when i am trying  to run web service

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope">
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">
a:Microsoft.Dynamics.Nav.Types.NavDatabasePasswordException
</faultcode>
<faultstring xml:lang="en-GB">
The login failed when connecting to SQL Server DB01.
</faultstring>
<detail>
<string xmlns="schemas.microsoft.com/.../Serialization">
The login failed when connecting to SQL Server DB01.
</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

 

Thanks in advance

*This post is locked for comments

  • RE: When Running Web Services Error Occur

    Hi Poonam,

    It is a bit late to reply after 4 years...but I had the same issue today and solved it so I thought I would share what I did to fix it.

    If you already checked that all the permissions are set correctly then you may have register the SPN without the fully qualified domain name or with the fully qualified domain name but browsing the web service with one or the other.

    If you register the SPN without the fully qualified domain name then you need to browse the web service without the fully qualified name, if you use the IP it should also work fine.

    In addition to this make sure you have the NTLM setting set to TRUE.

    Cheers

    Taddeo

  • Tharanga Chandrasekara Profile Picture
    Tharanga Chandrasekara 23,116 on at
    RE: When Running Web Services Error Occur

    If you resolve the issue, please verify the answer.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: When Running Web Services Error Occur

    Make sure the service user which is running webservice service (In Services) has access to the navision.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    Tharanga Chandrasekara 23,116 on at
    RE: When Running Web Services Error Occur

    Error itself provide the answer for you : The login failed when connecting to SQL Server DB01.

    Check the login user has the necessary access (db_ddladmin, db_owner) to your Microsoft Dynamics NAV database.

  • Suggested answer
    RE: When Running Web Services Error Occur

    Hi,

    You should check SPN and follow this thread.

    www.mibuso.com/.../viewtopic.php

  • Suggested answer
    Daniele Rebussi Profile Picture
    Daniele Rebussi 2,480 on at
    RE: When Running Web Services Error Occur

    Please check on your SQL server (DB01) in Security -> Logins that the user accessing the web service is existing and enabled on the database.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans