Question

Iam seting up my development enviroment on Hyper-V virtual machine, and every thing works fine on SQL server. I can ping sql sever by ip and servername. But when i run AutoSPInstaller i get an error:

WARNING: Connection Error. Check server name, port, firewall. - This may be expected if e.g. SQL server isn't installed yet, and you are just installing SharePoint binaries for now.

I have checked that sp_admin have correct dbcreator, securityadmin rights on SQL server instance. And named pipes and tcp/IP is enabled. I have also checked access to SQL server by telnet port, and it connects to the server . And FireWall is turned Off on all of my Hyper-V servers

What are i missing here, or how can i fix this issue?

Was it helpful?

Solution

The issue was when we let the scrip create the DB alias, our environment didn't like it. We created the alias manually first using SQL Server Configuration Manager.

Under SQL Native Client 11.0 (32bit) --> Alias and SQL Native Client 11.0 Con --> Alias (you need to do both sections), right click, new alias type your alias name "SharePointDB" and fill out the parameters.

For us the server was the server we were on since it's a dev box right now but you would put your SQL server in there. We also had to use named pipes since TCP/IP also through this error. We plan to look into this before prod.

Once you have manually created the alias, uncheck or remove the "create alias option" and simply reference your new alias name.

Quote from here: https://disqus.com/home/discussion/autospinstalleronline/autospinstaller_online_home/

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top