Uploading Certificate to Windows Azure Management Portal using CSUPLOAD Error – "Key not valid for use in specified state"

Recently I was working with someone on Windows Azure SDK 1.5 and VM Role deployment. While trying to upload certificate to Windows Azure Management Portal, the error occurred as below: C:\Program Files\Windows Azure SDK\v1.5\bin>csupload add-servicecertificate -Connection “SubscriptionID=<Subscription_ID>;CertificateThumbprint=<MGMT_CERT_THUMBPRINT>” -HostedServiceName “testcodewp” -Thumbprint “b28daea93e520d85391987c6a6efb52be9278195” Windows(R) Azure(TM) Upload Tool version 1.5.0.0 for Microsoft(R) .NET Framework 3.5 Copyright (c) Microsoft…

2

Handling Error while upgrading ASP.NET WebRole from .net 3.5 to .net 4.0 – The configuration section ‘system.web.extensions’ cannot be read because it is missing a section declaration

After you have upgraded your Windows Azure application which includes ASP.NET WebRole, form .net 3.5 to .net 4.0 (either with Windows Azure SDK 1.2/1.3/1.4), it is possible that your role will be stuck in busy or Starting state.   If you are using Windows Azure SDK 1.3 or later, you have ability to access your…

0

DiagnosticMonitor.Start() line in OnStart() method generates exception: The remote server returned an error: (409) Conflict.

Recently I was working on an issue in which DiagnosticMonitor.Start() line in OnStart() method was generating exception as below:   Microsoft.WindowsAzure.StorageClient.StorageClientException was unhandled by user code   Message=The specified container already exists.   Source=Microsoft.WindowsAzure.StorageClient   StackTrace:        at Microsoft.WindowsAzure.StorageClient.EventHelper.ProcessWebResponse(WebRequest req, IAsyncResult asyncResult, EventHandler`1 handler, Object sender)        at Microsoft.WindowsAzure.StorageClient.CloudBlobClient.EndGetResponse(IAsyncResult asyncresult, WebRequest req)        at Microsoft.WindowsAzure.StorageClient.Tasks.WebRequestExtensions.<>c__DisplayClass1.<GetResponseAsync>b__0(IAsyncResult…

0

Windows Azure VM Role: CSUPLOAD Exception System.BadImageFormatException: an attempt was made to load a program with an incorrect format

When you run CSUPLOAD tool on a Windows OS 7 32bit machine, you will receive the following error: An unexpected error occurred:  An attempt was made to load a program with an incorrect format (Exception from HRESULT: 0x8007000B) Exception: System.BadImageFormatException: an attempt was made to load a program with an incorrect format. (Exception from HRESULT:…

3

System.ServiceModel.Channels.ServiceChannel exception during ASP.NET application upgrade from Windows Azure SDK 1.2 to 1.3

When you upgrade your ASP.NET based application from Windows Azure SDK 1.2 to 1.3 it is possible you may hit the following exception: System.ServiceModel.CommunicationObjectFaultedException was unhandled  Message=The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.  Source=mscorlib   StackTrace:     Server stack trace:        at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)     Exception rethrown…

0

Windows Azure : Handling exception – No valid combination of account information found

When you deploy your Windows Azure SDK 1.2 or 1.3 based application you might experience your application status is still stuck in “Starting” or cycling between “busy and starting”.   If you have decided to use Windows Azure SDK 1.3 then you can confiugre and use RDP Connection to access your Windows Azure VM through…

0

Great Article on Windows Azure Table Storage : "How to get most out of Windows Azure Tables"

If you have a Windows Azure service and your Azure services is accessing Windows Azure Table Storage quite enough, it is possible that you may have encountered the following issues: Random slow connection to Azure Storage “Error 503: Server is Busy” Connection timeout issue A DataServiceQueryException with error code “ResourceNotFound” How to work with InvalidOperationException…

0