Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Unable to add a reference of NAV web service to a .NET application

(0) ShareShare
ReportReport
Posted on by 55

Hi,

Iam trying to add a Service reference of a Nav Web Service to my .NET console application.

When i try to do this iam not able to add a reference and i get an error.

The error message is as follows:

There was an error downloading '192.168.9.215/.../AlfFail$metadata'.

I request you to kindly help me out on this.

Thanks in Advance,

Pankaj

*This post is locked for comments

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: Unable to add a reference of NAV web service to a .NET application

    hi

    * be sure that you refer the nav webservice as .net web service and not as wcf service.

    inserting a new service reference in VS (>=2010) means in 1. instance a wcf service. the button for the web service is in the bottom left corner of the service reference dialog.

    * check in your as web service published nav object (hopefully a CU, not a page) the function parameters and the return type. be sure that the used parameters in the functions are all plain and simple. so, do not use array or other datatypes, that are not serializable. only use text, int, etc.

    best regards

  • Tobias Strobelt Profile Picture
    152 on at
    RE: Unable to add a reference of NAV web service to a .NET application

    Hi Pankaj,

    Can you please try to enable (if possible) NTLM authentication on your NAV service (Dynamics NAV Administration Console -> "Use NTLM Authentication"). Also please re-publish the webservice and check if the webservice is accessible through http in Internet Explorer.

    Best regards

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans