Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

Posted on by Microsoft Employee

I am getting below message when trying to hit http://localhost:7047/DynamicsNAV70 from IIS instance of client.

"Metadata publishing for this service is currently disabled" and the steps to make metadata enable.

But when I tried to hit http://localhost:7047/DynamicsNAV70/WS/OData and http://localhost:7047/DynamicsNAV70/WS/Services  I am getting below message :

<?xml version="1.0"?>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException</faultcode><faultstring xml:lang="en-US">A fatal error occurred. The connection to SQL server cannot be established or is no longer usable. This can be caused by one of the following reasons: * The server has been shut down manually or because of an error. * The SQL server connection settings are not correct * A network failure has occurred. * A hardware failure has occurred on the server or on your computer. Try again later or contact your system administrator.</faultstring><detail><string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">A fatal error occurred. The connection to SQL server cannot be established or is no longer usable. This can be caused by one of the following reasons: * The server has been shut down manually or because of an error. * The SQL server connection settings are not correct * A network failure has occurred. * A hardware failure has occurred on the server or on your computer. Try again later or contact your system administrator.</string></detail></s:Fault></s:Body></s:Envelope>

Can anyone help me out with this.

Thanks in advance!!

-Pooja

*This post is locked for comments

  • Suggested answer
    Saurabh Shah Profile Picture
    Saurabh Shah 4,560 on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    At least you have some BASIC permissions to log in into the NAV. This Permission - Role need to add in USER card of NAV with your USER ID.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    What are all the permissions required?

  • Suggested answer
    Saurabh Shah Profile Picture
    Saurabh Shah 4,560 on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    Hi Pooja,

    Now this is not the issue with Webclient but the connectivity issue with SQL server.

    Please make sure that you have valid user ID in Dynamics NAV with permissions.

    Please also make sure that the NAV Services - User ID is having DBOWNER role with database in SQL server.

    Let me know your observations.

    Saurabh Shah

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    I have done the firewall settings as required.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    No I am not able to connect the server with window client as well.

  • Suggested answer
    Saurabh Shah Profile Picture
    Saurabh Shah 4,560 on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    please check that you able to connect your windows client with same credential.

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException

    best you uninstall the webclient component and then re-install the webclient.

    and check your firewall settings.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans