Hello,
We are moving to azure our develpment structure. On NAV installation, in "specify parameters" step, I'm cleaning the "SQL Server Instance" field and when I click on "Apply" I get the following error: "The SQL Server instance '' exists, but a connection could not be established. Verify that SQL Server is running, that the TCP/IP protocol is enabled and, that a login exists for your Windows account."
I've tested the comunication between NAV machine and SQL machine and its up (installed SQL Management Studio on NAV machine and can load SQL server from SQL machine). The service user is administrator on NAV machine and also confirmed that TCP/IP protocol is active at SQL Configuration Manager.
Tried in NAV 2016 and NAV 2015.
Any idea? Thanks in advance
*This post is locked for comments
hi,
Do this thing
. Window key + R
. Enter SQLServerManager15.msc
. In SQL Server Network Configuration Node go to Protocols for MSSQLSERVER
. On right side set Enable for TCP/IP.
That's would work for you too.
The suggested answer - "enable Named Pipes for Sql via SCM" is still the correct answer in May 2020 even with Business Central 365 Wave 2 15.6
I think you get this error because you have SQL server installed locally, while you're actually trying to connect to another SQL server.
You need to run the SQL server component install on that machine, not the one where you install your other NAV software.
If you did not have the SQL server installed locally, you would get a different error saying "SQL Server Instance '' could not be found"
the main changes, i think, were using a predefined setup mode instead of the custom, as i suggested, and enabling the "named pipes" protocol.
quote: "For Microsoft Dynamics NAV to work correctly, the Named Pipes and TCP/IP protocols must be enabled for SQL Server."
from msdn article "Troubleshooting: SQL Server Connection Problems":
Well, I did some changes... It works but I need to be honest I don't know why.
Enabled "Named Pipes" on SQL Configuration Network. Instead of Custom Installation I did Developer. Have removed some features like "Install Demo Database" and some excel and outlook plugins.
It's installing.
Thanks a lot for your time Jonathan :)
means that error message comes directly from nav setup.
best you run nav setup with demo profile and change the settings after successfully run with nav service management tool.
Somehow I'm not receiving the error message in the event viewer (Windows Logs/Application). Got quite confused now. Is it because it comes from a setup process?
please check the windows event log. maybe there are more details in the error message.
That's the first nav service instance on the machine. Also tried to change the ports just in case.
is there a second nav service instance? if yes, check, if the service name and the ports are different.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156