Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 Server Explorer - Cannot Access Windows Azure Storage

I have VS2012 Ultimate SP3 and a Windows Azure account. I have published an MVC 3 application, using an Azure SQL Server DB without problems. I have installed the Azure SDK (v2.1) and can access the database and web site through the Server Explorer.

I have now created an Azure Storage Container however, I am unable to access it through VS2012 Server Explorer. I get an error dialog titled "Storage Account Key Required" stating "The current storage account key is invalid. Please provide a new storage account key." I try re-entering the key and get the same error.

I have checked the key and it is valid. I have tried accessing the Azure Storage, using that same key, through a third party product and it works fine.

I've tried the usual uninstall / re-install, delete Azure Storage and re-create, create new and different container, all to no avail.

Does anyone know why I get this error or, even better, how to fix it?

TIA

like image 367
Derek Davidson PST CST Avatar asked Aug 03 '13 08:08

Derek Davidson PST CST


People also ask

How do I access Microsoft Azure storage?

Open your storage account page and select Settings > Access keys. In the Select Resource panel of the Connect to Azure Storage dialog, select Storage account. Select Account name and key and select Next. Enter a display name for your connection, the name of the account, and one of the account keys.

How do I add Azure to Server Explorer?

If you have virtual machines hosted by Azure, you can access them in Server Explorer. You must first sign in to your Azure subscription to view your mobile services. To sign in, open the shortcut menu for the Azure node in Server Explorer, and choose Connect to Microsoft Azure.


1 Answers

The solution, after many hours of research, investigation and trial and error, is to ensure that the date and time on your PC is set correctly. Mine was one hour out. After setting it to the correct time, everything works perfectly.

like image 146
Derek Davidson PST CST Avatar answered Nov 02 '22 14:11

Derek Davidson PST CST