Connection to SQL Express on Azure VM not working

Hello,

I'm sorry if this has already been answered somewhere else, I didn't find anything that helped.

Setup:
Two VMs running Windows Server 2012 R2 Datacenter, one running SQL Express.
When trying to connect to the SQL Express, the connection does not work.

Here's what I've done so far:
Set up the MSSQL instance, named SQLEXPRESS
Set up a database, named TESTDB
Set the instance to mixed authentification
Set up VM endpoint TCP 1433
Opened ports TCP 1433, 1434 in the firewall
Activated the SQL Browser
Activated the TCP/IP-Service in the SQL Server Network Configuration

Testing connection via UDL file with the following information:
Server name: <cloud storage>.cloudapp.net\<sql server>\SQLEXPRESS
Username: sa
Password: <password>
Database: TESTDB

Now it returns the following error:

"Test connection failed because of an error in initializing provider.
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied."

Now I keep reading that it may be a firewall problem. But I turned off the firewalls on both servers completely for testing purposes (they're test servers and will be deleted anyway) and it still doesn't work.

I know I must have forgotten something, but what? Or am I entering the wrong connection information?
Does anyone know?

Regards
~Irolan


January 29th, 2015 7:13pm

Did you restart the SQL server instance service after setting the instance to mixed authentification?
Free Windows Admin Tool Kit Click here and download it now
February 1st, 2015 9:40am

Server name: <cloud storage>.cloudapp.net\<sql server>\SQLEXPRESS

Hello,

I wonder about the Server Name, it should be "MachineName\SQLEXPRESS" only.

February 2nd, 2015 3:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics