Error “Access to the path ‘E:sitesrootWeb.config’ is denied” when storing Azure AD’s public key in Web.config of an Azure Cloud Services application.

I have worked on a scenario where a Web Role application which had been working fine for a long time just started throwing the error “Access to the path ‘E:\sitesroot\0\Web.config’ is denied” without any change or update to the deployment:        Looking at the error, it’s a bit clear that for some reason, the…


Webhooks for Azure Alerts – Creating a sample ASP.NET receiver application

Microsoft Azure recently announced support for webhooks on Azure Alerts. Now you can provide an https endpoints to receive webhooks while creating an alert in the Azure portal. Webhooks are user defined HTTP endpoints that are usually triggered by an event. Webhooks allow us to get more out of Azure Alerts. You can specify a HTTP…


Cloud Services roles recycling with the error “System.IO.FileLoadException: Could not load file or assembly”

You may be facing an issue where after a deploy, your Cloud Service role gets stuck in “starting” or “recycling” states. In this case, as the initial troubleshooting steps, we have to remote access the instance, start checking the logs and try to find out evidences about what can be causing the issue. For an…


Installing DebugDiag and importing rules thru Azure Cloud Services startup tasks

This article describes the steps for how to install DebugDiag version 2 update 1 on Cloud Services Web and Worker Roles using startup tasks. Note: In this article, the steps were applied to a Worker Role, but it also works for Web Roles. Preparing the DebugDiag installer and the configuration file with the files Download DebugDiag Debug Diagnostic…


RDP Error on Web and Worker Roles (Windows Azure PAAS)

I was working with a developer who had requested assistance on an issue. We were required to RDP to the role to troubleshoot further. While doing so we stumbled upon this RDP problem.  While we have known the reason for some time I was surprised that my searches on internet led to blogs for similar…

4

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 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….

0

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…

0

Manage TimeZone for Applications on Windows Azure

I am writing this blog as a response to the number of issues I have seen where the PAAS VM might seem to have recycled abruptly. On a quite a number of occurrences I found that users manually doing an RDP to the VM instances and changing the machine time. Based on some blogs users…

2

Consuming Service Management API from Web/Worker Role – Method 2

In my previous post about the same topic I mentioned there are multiple ways to enable your Web/Worker Role to consume service management API. Here is one more way where we will be leveraging the power of Azure Publish Settings file. Publish Settings File contains information about your subscription. And that information, once consumed by…

0