My problem is, I am getting below error when I try to connect the SQL Azure database by using SQL authentication from the Azure VM. The problem is interesting because I can connect same database from different Azure VM. SQL Server has a firewall and both VM IP addresses are whitelisted. I tried to make tcpping to SQL destination from both VM works fine. Unfortunately, I don't have access to grab the azure diagnostic log from the destination SQL Server. Does anyone have any clue what could be the problem?
Error message:
Cannot open server "XXXXXX" requested by the login. The login failed.
Congratulations that you resolved the issue:
"Yes, I was able to resolve the issue by moving VM to another vnet. It was using private IP even though it has public IP, I believe because of subnet service endpoint configuration"
I help you post it as answer and this can be beneficial to other community members.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.