Arun Stephens

Azure Full IIS: RoleEntryPoint runs in different process to web app

I just found this one out thanks to this post from the Azure team. Basically, I was configuring Table Storage (as you may have guessed, if you’ve read my other posts today), and using the CloudStorageAccount.FromConfigurationSetting(string) method. As you are probably aware (if you are aware of this sort of stuff), to be able to use that method, you must first set a function that tells Cloud Storage how to figure out how to get configuration settings. Read more →

Microsoft.WindowsAzure.StorageClient is not actually on Azure

And neither is Microsoft.WindowsAzure.Diagnostics. It’s ironic that the diagnosis of Windows Azure roles failing to start up is that the Diagnostics assembly isn’t present. I’ve spent the better part of a day trying to figure out why things weren’t working. According to countless forum posts, blog articles and MSDN articles, the main reason that roles fail to fire up and end up cycling between initializing and busy is that there are dependent files missing. Read more →

Running ASP.NET MVC 3 on Azure

If you have successfully installed an app running MVC 2 on Azure, and then try to upgrade it to MVC 3, you might run into some troubles. What might help is to ensure that you have also deployed the new assemblies. MVC 2 is part of .NET 4.0, and its assemblies are included in the standard Azure image, but the new ones aren’t. You have to deploy them yourself. They won’t get deployed by default because they are in the GAC. Read more →

Azure 1.3, Rewrite module and a ‘Faulted’ System.ServiceModel.Channels.ServiceChannel

I recently updated to Azure SDK 1.3. Then I tried to debug my solution locally. This is where the trouble began. The problem was that I was using the IIS Rewrite module without having it installed. Rewrite was part of Azure SDK 1.2, but it has to be installed separately for 1.3. I guess I should have read the release notes. Here is what the problem was, and how I found the solution. Read more →

Windows Azure Development Storage with real SQL Server

I don’t have SQL Server Express, I’ve got the real deal. Development Storage for Windows Azure assumes you are using SQL Server Express with the instance name SQLEXPRESS. Thanks to this article I now know that you just need to edit the config file for DevelopmentStorage.exe, which is usually located in C:Program FilesWindows Azure SDKv1.0binDevelopmentStorage.exe.config. There are two spots to modify. The first is the connection string (XPath: /configuration/connectionStrings/add/@connectionString) and the second is the dbServer attribute of the Table service (XPath: /configuration/developmentStorgeConfig/service/service[@name=‘Table’]/@dbServer). Read more →