IIS Logs stops writing in cloud service

I was recently working on a case where the IIS logs stops writing on all Production boxes. There was 995GB on C:\ disk for logs, but logs writing starts only after some files were deleted. The Current IIS logs directory size was 2.91 GB (3,132,727,296 bytes). So I looked at the diagnostic.wadcfg files. <?xml version=”1.0″…


One Instance of the Role Just Recycles After SDK Upgrade

I was recently working on a customer issue where one instance Instance 0 of the Role won’t come up. On the Windows Azure Management Portal all that can be seen is that the Instance 0 keeps on recycling while other instances are running fine.  The following message is perpetually displayed. “Recycling (Role has encountered an…


ASP.NET Session state broken after migrating from Windows Azure shared Cache to Role Based Cache

Windows Azure Shared Cache feature is  going to depreciate soon and right now Microsoft is not allowing the end users to create new shared cache namespace from the management portal. One of the Microsoft partner, who was leveraging Shared Cache to managing the ASP.NET Session state for their Deployed CloudServices got this information from some…

Windows Azure Worker Role Showing High CPU

I was recently troubleshooting an issue where a Worker Role was deployed on Windows Azure.The Role had 3 instances and during most of the time all the instances used to run at 99% + CPU. The instances query a database, gets social media posts and send emails. Most of the time all the  instances would peg at 99% CPU…


Service Bus Brokered Messaging: Unexpected Error Sending Messages Larger than 256K

When sending a message to a Azure Service Bus Brokered message queue or topic, with the .Net client library (Microsoft.ServiceBus.dll) and, the size of the message exceeds 256KB (current max message size documented under Windows Azure Service Bus Quotas), you will see the below error. The same error reoccurs when attempting to resend the message….


Enable Server GC mode for your worker role

If you are using an Azure worker role that is memory intensive you may notice that the performance of your application is not optimal.One of the symptoms is a high CPU utilization combined with a high value for the “% Time in GC” performance counter. Typical workloads are WCF applications that handle many client requests. You might be able…

Windows Azure Cache: Feature Comparison Matrix

Windows Azure offers three different Cache Offerings. 1. Cache Service Preview 2. In-Role Caching 3. Shared Caching Cache Service is the newest and is in Preview right now. Considering that Shared Caching is soon to be deprecated (ref), the real choice is between the new Cache Service Preview and the tried and tested In-Role Caching….


Multiple Domain Name to the same Cloud Service and SSL Certificates

So most probably you got the following error while browsing a cloudapp.net cloud service hosted in Windows Azure. There is a problem with this website’s security certificate. The security certificate presented by this website was not issued by a trusted certificate authority. Security certificate problems may indicate an attempt to fool you or intercept data…


One Thing You Must Do When: Service Endpoint is showing Offline in Azure Traffic Manager

Recently I came across multiple scenarios where the Service endpoints were showing Offline/Degraded in Traffic Manager. Those endpoints were valid, accessible and respective service was running fine, but still the end point was showing offline in Traffic Manager. In the above screenshot, the respective endpoint is accessible fine, but the Traffic Manager is showing it…