NAV 2009 R2 - Connection Error Mystery

llegrandllegrand Member Posts: 9
edited 2012-01-06 in NAV Three Tier
Hello everybody,

I need help from people who have already installed NAV 2009 R2 with RTC on customer site.

I meet this message when trying to connect with RTC on NAV service from a computer included in the same LAN (including mine):
“A server was not found at "net.tcp://[myserver]:7046/DynamicsNAV/Service". Either the URL is incorrect or the server is currently not available.”

When I try to connect with the same path directly from the server through RTC, it works properly!.
Classic client connection to the database works on server and other same LAN computers.

Server and Database server are on the same machine.
Database was installed on “SQL Server 2005 Express” (auto-installed by NAV Setup).
The server is the only one server of the company (DNS, DHCP, AD, IIS).


Check 1: Firewall
Windows Firewall is off.
Symantec Firewall is off.
Physical Firewall (only for WAN) is rightly configured.

Check 2: User rights
Services user (domain account) has been granted to be “Administrators” group member (only during tests).

Check 3: Install a second service
Installing a second service doesn’t change anything. Still available from server, but not from other computers in LAN.

Check 4: Delegation
Setting delegation as explained in manual hasn’t changed anything.

Check 5: NAV License
Tried with Partner and Customer licenses

Check 6: Uninstall, Reinstall
… nothing better…

Check 7: Try another fully operational port
Port 80 was accessible with IIS. I saw an IIS start page when browsing server from every computer in the LAN.
I’ve changed the NAV service port from 7046 to 80.
I’ve stopped IIS.
Connecting RTC directly from server works, but still doesn’t work from other computer in the LAN.
Conclusion: port doesn’t seems to be blocked; but NAV service seems to be.

Check 8: Running the Best Practice Analyzer for Microsoft Dynamics NAV 2009
Everything was good.

Check 9: Reverse Installation
I’ve installed the NAV Service and “SQL Server Express” on a Laptop, and tried to connect with the RTC installed on server… and it works!

Problem:
The NAV service on server seems to be blocked for external TCP communication.

Is somebody already met this situation? ](*,)
Anybody has another step-to-try for me?
Can this problem coming from the fact that server is also DNS server?
Who has a clue for me?

Thanks in advance!

Answers

  • kinekine Member Posts: 12,562
    Have you checked up the event. log on the server when starting the service? Are there some warning/errors/info messages from the NAV Server? You need to be sure that the server really started and is listening (there must be event log about this)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • llegrandllegrand Member Posts: 9
    No error or event messages from the NAV service.
    It works properly when I start the RTC Client on the Server.
  • PoltergeistPoltergeist Member Posts: 200
    can you telnet to [myserver] 7046. You should get a blank screen. If that doesn't work, I must assume there is a firewall working somewhere...
  • llegrandllegrand Member Posts: 9
    I can't telnet the server...

    But I also can't telnet a fully functional server locally on my laptop
    I'm not a telnet master :whistle:
  • PoltergeistPoltergeist Member Posts: 200
    :)

    Start a command prompt.

    Type telnet servername 7046

    If you are running a Navision server on your local computer, then try:

    telnet localhost 7046

    Both should give a blank screen... If telnet cannot connect, you get an error that it was impossible to connect...
  • llegrandllegrand Member Posts: 9
    Problem Solved.

    Web Services and Telnet were working good.

    The problem come from the fact that the login used to install RTC on Laptop was not in the same AD Domain than the Server.
    In addition, I was misled by the error message which says that there is no server instead of saying there is an login authentication error.

    I've used RTC Over WAN to solve the problem.

    Thanks for the help :D
Sign In or Register to comment.