Options

WebService DotNet - A connection attempt failed because the

nav_studentnav_student Member Posts: 175
edited 2014-07-18 in NAV Three Tier
Hi guys

I create a project for consuming a webservice in Dot Net.
If I run on the Visual Studio everything runs ok, but if I try to run from Dynamics NAV the following error message appears:

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. <IP address:80>

Steps that I follow on Dynamics NAV:
Copy the DLL file to the folder Add-Ins
Create a simple Codeunit with Global Variable (Type DotNet) to my DLL file.
On the code Instantiate the object and run the method.

Thanks for your answers.

Comments

  • Options
    nav_studentnav_student Member Posts: 175
    I found the solution

    I have to start the instance Dynamics NAV 2013 R2 service with my domain user instead of using the Network Service.
  • Options
    ShedmanShedman Member Posts: 194
    Or you could add "NT AUTHORITY\NETWORK SERVICE" as a Windows Login in NAV.
Sign In or Register to comment.