Not able to connect to SQL server from NAV 2009 R2 in Windows server 2016 (Server cannot be found)

Harikiran
Member Posts: 39
Working on a new migration of NAV 2009 R2. So, now we're using a new environment such as Windows Server 2016 and SQL 2017 and NAV 2009 R2. For now NAV client, NAV server and SQL server are all in the same machine(Windows Server 2016) for my troubleshooting.
I've installed NAV 2009 R2 but when I go to NAV database open and when I try to open the database it says Server not found inside windows server 2016 but I'm able to get the same in my local machine.
Another issue is I'm not able to connect to SQL database when I try to install sql components(but manually handled this by creating extended stored procedure of xp_ndo files of 32 bit and 64 bit separately so this should be a concern I believe.
Just my work arounds here:
1. I installed SQL 2017 in my local machine and checked NAV 2009 R2 it works fine so issue is not here with SQL compatibility I believe.
2. I have highest privilege permission as administrator in windows server 2016, I ran the setup as administrator and UAC is turned off.
3. port id, sql and nav exe files, services have been added in windows firewall.
4. firewall is anyway turned off for now.
6. ping, telnet of the server is working fine
7. I'm able to connect to SQL server through SSMS studio.
8. Tried both windows and SQL authentication.
9. Also verified by giving ip address instead of name in server when I was trying to open database from NAV classic.
10. config file of NAV has been verified with Server name, database name, port ids.
11. All services are running fine without issues
12. tcp/ip port is enabled.
13. Verified tcp port 1433, it is listening for SQL server.
So, in one word I would say, I have referred all previous blogs related to this issue before creating this question. So, trying to find out my luck here atleast if any geeks can solve my issue.
I've installed NAV 2009 R2 but when I go to NAV database open and when I try to open the database it says Server not found inside windows server 2016 but I'm able to get the same in my local machine.
Another issue is I'm not able to connect to SQL database when I try to install sql components(but manually handled this by creating extended stored procedure of xp_ndo files of 32 bit and 64 bit separately so this should be a concern I believe.
Just my work arounds here:
1. I installed SQL 2017 in my local machine and checked NAV 2009 R2 it works fine so issue is not here with SQL compatibility I believe.
2. I have highest privilege permission as administrator in windows server 2016, I ran the setup as administrator and UAC is turned off.
3. port id, sql and nav exe files, services have been added in windows firewall.
4. firewall is anyway turned off for now.
6. ping, telnet of the server is working fine
7. I'm able to connect to SQL server through SSMS studio.
8. Tried both windows and SQL authentication.
9. Also verified by giving ip address instead of name in server when I was trying to open database from NAV classic.
10. config file of NAV has been verified with Server name, database name, port ids.
11. All services are running fine without issues
12. tcp/ip port is enabled.
13. Verified tcp port 1433, it is listening for SQL server.
So, in one word I would say, I have referred all previous blogs related to this issue before creating this question. So, trying to find out my luck here atleast if any geeks can solve my issue.
Harikiran BM | ERP Specialist
0
Best Answer
-
I would suggest then to reinstall Nav or try the same in another environment, perhaps in a virtual environment?
I would also like to double check how you are connecting just to be sure. So please post the servername, instancename, username, password (mask it) and authentication type you use for SSMS. Then post the same for classic client so we can compare for you.0
Answers
-
If Nav and SQL are on the same machine you should have no problems or complexity to connect. Can you access the database from SQL Server Management studio?
How do you open the database? From the classic client? What settings do you use? (SQL Host, SQL Instance, SQL Database and what authentication)0 -
I can access db from SSMS.
I'm accessing database from classic client but same issue with RTC too.
I tried entering SQL server name both with host name and ip address
My SQL instance is default server instance,
tried both with windows and database authentication.Harikiran BM | ERP Specialist0 -
I would suggest then to reinstall Nav or try the same in another environment, perhaps in a virtual environment?
I would also like to double check how you are connecting just to be sure. So please post the servername, instancename, username, password (mask it) and authentication type you use for SSMS. Then post the same for classic client so we can compare for you.0 -
Looks like there was a compatibility issue of Windows Server 2016 with NAV 2009 R2. I tried the same in Win Server 2012 and it did work as expected.Harikiran BM | ERP Specialist0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions