Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to download RDP file for instance abc_webrole_IN_0 in cloud service testingservicecall

Failed to download RDP file for instance servicecall_webrole_IN_0 in cloud service testingservicecall.

Details:

The supplied cscfg file can not be parsed. 
Got exception Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword.

more info: using windows azure for php mssql with zend.

ServiceConfiguration.cscfg

<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true"/>     
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />     
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="somename" />     
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="MIIBnQYJKoSomeStringPassucansee" />

      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2013-12-31T23:59:59.0000000-07:00" />
      <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />

what to put in AccountEncryptedPassword ?

<Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="MIIBnQYJKoZIhv... " />

i m using eclipse editor.

like image 588
Bhavin Rana Avatar asked Jan 10 '13 06:01

Bhavin Rana


1 Answers

you need to rebuild / redeploy the config file with the enable remote access option and the correct cert. If you have manually pasted the encrypted password in, then you likely have a missing or extra character in the username or the password field.

The error is very clear - the config file can't be parsed because the password can't be decrypted.

Use the Visual Studio "Package" Wizard. Right click the Cloud Project >> Package:

Package

Then click "Settings":

Settings

Choose the cert, enter a username, password and expiration date. This will set the appropriate valuse in your ServiceConfiguration file.

like image 55
viperguynaz Avatar answered Nov 13 '22 22:11

viperguynaz