-
- Influencer
- Posts: 13
- Liked: 1 time
- Joined: Nov 13, 2020 2:53 pm
- Full Name: Abel Laime
- Contact:
AZURE SQL LOGIN FAILED
Hi,
perform all steps to create backup policy for azure sql server.
At the time of performing the connection test, it fails.
Attached message
"Worker could not connect to the SQL server due to an error: Cannot open server "sqlservername" requested by the login. The login failed."
This user is correct because I can connect using sql managent from another computer without problems.
Any solution?
Thank you.
perform all steps to create backup policy for azure sql server.
At the time of performing the connection test, it fails.
Attached message
"Worker could not connect to the SQL server due to an error: Cannot open server "sqlservername" requested by the login. The login failed."
This user is correct because I can connect using sql managent from another computer without problems.
Any solution?
Thank you.
Abel Laime |
Technical Engineer Microsoft Cloud Datacenter Management
Technical Engineer Microsoft Cloud Datacenter Management
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: AZURE SQL LOGIN FAILED
To be 100% sure, you've added the account under the accounts tab and use this one in the policy? The logs may give a bit more information on where it goes wrong however it may be easier to contact support for insight as these forums won't replace our support team to that level .
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Influencer
- Posts: 13
- Liked: 1 time
- Joined: Nov 13, 2020 2:53 pm
- Full Name: Abel Laime
- Contact:
Re: AZURE SQL LOGIN FAILED
Yes, I have added from the accounts tab.
Where are the records?
In session logs?
Thanks
Where are the records?
In session logs?
Thanks
Abel Laime |
Technical Engineer Microsoft Cloud Datacenter Management
Technical Engineer Microsoft Cloud Datacenter Management
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: AZURE SQL LOGIN FAILED
You can download logs via the support information section and analyse them yourself or utilise our support if that is easier for you.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Influencer
- Posts: 13
- Liked: 1 time
- Joined: Nov 13, 2020 2:53 pm
- Full Name: Abel Laime
- Contact:
Re: AZURE SQL LOGIN FAILED
I already made the ticket 05095880.
Awaiting reply
Awaiting reply
Abel Laime |
Technical Engineer Microsoft Cloud Datacenter Management
Technical Engineer Microsoft Cloud Datacenter Management
-
- Veteran
- Posts: 389
- Liked: 54 times
- Joined: Sep 05, 2011 1:31 pm
- Full Name: Andre
- Contact:
Re: AZURE SQL LOGIN FAILED
Hello
I have a similar issue. Any news here?
Maybe it has something to do with Firewall Settings on the SQL Server? As the Worker can not connect, maybe we should have an option to have a worker with static ip to allow this IP on the Azure SQL Server...?
Beste Regards
I have a similar issue. Any news here?
Maybe it has something to do with Firewall Settings on the SQL Server? As the Worker can not connect, maybe we should have an option to have a worker with static ip to allow this IP on the Azure SQL Server...?
Beste Regards
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: AZURE SQL LOGIN FAILED
Hi @agrob,
There was no outcome yet of the case. Can you open a case and let me know the ID so we can look into this?
There was no outcome yet of the case. Can you open a case and let me know the ID so we can look into this?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Veteran
- Posts: 389
- Liked: 54 times
- Joined: Sep 05, 2011 1:31 pm
- Full Name: Andre
- Contact:
Re: AZURE SQL LOGIN FAILED
Hi Niels
Case ID is #05124721
I guess it is not exactely the same error, sorry. The error i have is: "Worker can not connect to SQL Server due to an Error: Timeout Expired"
I guess it could be the Problem that VBA and the VBA Worker are in a dedicated Subscription. AZURE SQL is in another subscription. As Worker does not have a public IP, i guess it can not connect to the SQL Server....But lets wait for an answe from support
Case ID is #05124721
I guess it is not exactely the same error, sorry. The error i have is: "Worker can not connect to SQL Server due to an Error: Timeout Expired"
I guess it could be the Problem that VBA and the VBA Worker are in a dedicated Subscription. AZURE SQL is in another subscription. As Worker does not have a public IP, i guess it can not connect to the SQL Server....But lets wait for an answe from support
-
- Veteran
- Posts: 389
- Liked: 54 times
- Joined: Sep 05, 2011 1:31 pm
- Full Name: Andre
- Contact:
Re: AZURE SQL LOGIN FAILED
So in my case (Error: Timeout Expired) the solution was to modify the NSG for the VNET in which the VBA Appliance is. Had to open the following ports:
Direction: Outgoing
Source: Vnet (or Subnet)
Source Ports: *
Destination Ports (TCP): 1433,11000-11999,14000-14999
Destination: sql.westeurope
I thought that the Worker VM is connecting to the SQL Server/DB and does processing it. But that seems not to be the case as the Worker VM does not have a public IP address. Only the VBA has public IP and it seems that this vm is doing the connection to the sql instanz... (as we do not have any vnet peering between VBA VNET and SQL VNET).
Direction: Outgoing
Source: Vnet (or Subnet)
Source Ports: *
Destination Ports (TCP): 1433,11000-11999,14000-14999
Destination: sql.westeurope
I thought that the Worker VM is connecting to the SQL Server/DB and does processing it. But that seems not to be the case as the Worker VM does not have a public IP address. Only the VBA has public IP and it seems that this vm is doing the connection to the sql instanz... (as we do not have any vnet peering between VBA VNET and SQL VNET).
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: AZURE SQL LOGIN FAILED
Thanks for updating us with the outcome. We’ll look into enhancing this part in the user guide to clarify it.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
Who is online
Users browsing this forum: No registered users and 2 guests