I have an Azure database that I am trying to update through Visual Studio. I am an administrator on the portal. When I am at the Azure database dashboard and select open in Visual Studio it prompts me for the password of a previous developer/Administrator
who is no longer on the project. I do not have the last administrator's password. It is possible that I would be able to access the old administrator's account and change the password so I can login as them from what I understand but I'm not sure. I do have
the MSDN account but can only login with my user ID and PW. I do have the previous Administrators email and user ID for the MSDN account but don't have that password as well. When Visual Studio tries to open the previous Admin's user ID in defaulted in the
login ID dialog. When I try to enter my id and password I receive a error dialog with the following message:
Cannot connectto ngl7ew5ap.datanbase.windows.net
Additional information
Login failed foruser:'myusername'.
This session has been assigned a tracing ID of'd3f30e28-8c4b-bc06-4facc83c1d87. Provide this tracing ID to customer
support when you need assistance.(Microsoft SQL server, Error:18456)
If open Azure database via Visual studio button from Azure portal does not work, we could try to use Azure database connection string to connect SQL database from VS Server Explorer. Please try follow this article:
http://www.sqlshack.com/working-with-visual-studio-and-sql-azure-databases/, hope it could help you.
Best Regards,
Jambor
Jambor
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.
First of all, my problem was I was using the old Azure portal. Now when I went to server and selected reset password, changed the password, updated the password I was able to login to that database and server in visual studio. Now, because the database
server was being used by a running application once that happened the application could not access the database. Doing a search for connection strings in the source code I found the original password, reset it back in Azure and everything now is good to go.
None
0 Points
2 Posts
Unable to access an Azure database from Visual Studio
Dec 31, 2015 06:21 PM|nava001|LINK
I have an Azure database that I am trying to update through Visual Studio. I am an administrator on the portal. When I am at the Azure database dashboard and select open in Visual Studio it prompts me for the password of a previous developer/Administrator who is no longer on the project. I do not have the last administrator's password. It is possible that I would be able to access the old administrator's account and change the password so I can login as them from what I understand but I'm not sure. I do have the MSDN account but can only login with my user ID and PW. I do have the previous Administrators email and user ID for the MSDN account but don't have that password as well. When Visual Studio tries to open the previous Admin's user ID in defaulted in the login ID dialog. When I try to enter my id and password I receive a error dialog with the following message:
Contributor
3325 Points
403 Posts
Re: Unable to access an Azure database from Visual Studio
Jan 01, 2016 02:15 AM|Jamobor yao - MSFT|LINK
Hi,
If open Azure database via Visual studio button from Azure portal does not work, we could try to use Azure database connection string to connect SQL database from VS Server Explorer. Please try follow this article: http://www.sqlshack.com/working-with-visual-studio-and-sql-azure-databases/, hope it could help you.
Best Regards,
Jambor
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.
None
0 Points
2 Posts
Re: Unable to access an Azure database from Visual Studio
Jan 04, 2016 03:34 PM|nava001|LINK
First of all, my problem was I was using the old Azure portal. Now when I went to server and selected reset password, changed the password, updated the password I was able to login to that database and server in visual studio. Now, because the database server was being used by a running application once that happened the application could not access the database. Doing a search for connection strings in the source code I found the original password, reset it back in Azure and everything now is good to go.
Contributor
3325 Points
403 Posts
Re: Unable to access an Azure database from Visual Studio
Jan 12, 2016 02:27 AM|Jamobor yao - MSFT|LINK
Hi,
I am glad that you issue has been fixed, thanks for your posting.
Best Regards,
Jambor
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.