Implementing retry logic for Azure Caching applications made easy!

Applications using Azure cache might commonly encounter exceptions similar to below while performing cache operations like get, put. We refer to these kind of errors as transient errors.  Developer is required to implement retry logic in the application code to shield the application from transient errors. ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more…

2

Microsoft.ServiceBus.AuthorizationFailedException was unhandled

Problem Recently, i have come across “Microsoft.ServiceBus.AuthorizationFailedException” exception that occurs when trying to run ServiceBus Relay samples included in Windows Azure AppFabric SDK or when following below tutorial http://msdn.microsoft.com/en-us/library/windowsazure/ee706736.aspx Symptoms Encountering below exception when trying to follow Service Bus relay tutorial referred above or while running Service bus relay application included in SDK samples. Microsoft.ServiceBus.AuthorizationFailedException…

0

Azure: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond x.x.x.x:x"

  Problem Azure application has code that talks to Storage services/AppFabric services/SQL Azure is encountering exception similar to below “A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.10.10.10:443” or “A network-related or instance-specific error occurred…

2

How to: Configure client-side tracing for Azure cache applications, view traces

To troubleshoot Azure cache related problems, it is often required to capture client side traces for Azure cache applications. While there are articles that talks about Client-side tracing, I did not come across one article that has step by step article to configure client side tracing and view the traces. Hence, I’m posting step by…

0

HowTo:Configure SSL(https) for specific page(s) while hosting the application in Windows Azure

When hosting web applications in Windows Azure, developers have an option to configure endpoints using which https can be enabled for the application. However, this will provide the ability to secure entire application. What if, you would like to configure SSL only for specific page or few pages that needs to be secured? And you…

2

Unable to connect to one(or few) of the Windows Azure role instnaces using remote desktop (RDP) option

I have recently come across an issue, where Azure users are trying to remotely connect to one of the role instances and getting stardard time out error message similar to below.  “The remote connection has timed out. Please try connecting to the remote computer again” Symptoms RDP(Remote desktop) connection to other role instnaces might work…

0

Improve performance of static content like javascript, text, MS office documents(doc,xls,ppt), cs and html files in Windows Azure

Static compression is the feature that is shipped out of the box in IIS. Using static compression, developers/administrators can enable faster downloads of their web site static content like javascripts, text files, Microsoft office documents, html/htm files, cs files, etc.  Below articles explain you in detail about compression in IIS   HTTP Compression <httpCompression> http://www.iis.net/ConfigReference/system.webServer/httpCompression…

0

"Your credentials did not work" error when connecting to Windows Azure VM’s

Below specified is the error that might occur while connecting to Windows Azure VM’s via remote desktop (mstsc).   One very common reason that all of us are aware for this issue is “wrong password”. However, I often come across situations where users are definitely specifying correct username, password and still the issue seem to…

12

How to add registry entries to VM’s running in Windows Azure

  One of the common asks from developers is the ability to write to registry in Windows Azure. Startup tasks in Windows Azure can help you write to registry. Below are the steps   1) Create sample.reg file with required registry entries. For testing purposes, I’m using sample.reg file with below entries Windows Registry Editor…

1

System.ServiceModel.EndpointNotFoundException while running SQL Azure Data Sync Agent

Symptoms You might run into one of the two exceptions below while using SQL Azure Data Sync Agent ‘Type=System.ServiceModel.EndpointNotFoundException,Message=There was no endpoint listening at https://apidatasync.azure.com/AgentServiceAPI.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.,’ or ‘Type=System.ServiceModel.EndpointNotFoundException,Message=There was no endpoint listening at…

0