Staging and testing your Microsoft Azure App Service

There was a recent announcement of some new features on the Microsoft Azure App Service platform that supports the deployment of your new web site instance without impacting or changing the live web site. This is a feature that has been available on the Cloud Service platform form most of its existence and is very…

2

Using HTTP ETW tracing to troubleshoot HTTP issues

I wrote this article here in regards to an issue that I was having after installing an SSL certificate on an IIS web server. One of the tools I used was the HTTP ETW trace, also known as LOGMAN. As you notice from reading the other previous article, I was receiving a 404 HTTP Status…

0

How to store and access your IIS Logs on Microsoft Azure App Service

Being part of the IIS support team I have memorized the structure of an IIS log file and can see oddities almost instantly.  Therefore, one of the things I want to look at when troubleshooting any Microsoft Azure Web App issue are the logs.  As Microsoft Azure App Service is relatively new when I work with a customer on…

2

HTTP 404 after installing an SSL Certificate

I was configuring an SSL certificate and once complete, when I attempted to access the website using https://localhost I started receiving a 404 error as shown in Figure 1. Figure 1, 404 HTTP Status after installing an SSL Certificate I tried some shots at troubleshooting the issue using Failed Request Tracing and LogParser to view…

8

Scaling your Microsoft Azure App Service Web App

Having spent many years supporting web sites running on IIS one of the most challenging aspects was managing load.  I was able to plan for near-term growth by tracking the CPU, Memory, total number of requests, etc… over time and once the utilization of these elements exceeded my threshold for what I considered manageable, it…

4

Using Procdump and Failed Request Tracing to capture a memory dump

One of my favorite tools for troubleshooting Internet Information Service issues is ProcDump.  It is a single, small, yet powerful EXE that is very useful for capturing W3WP.exe process memory dumps. One of my other favorites is Failed Request Tracing which I have written about here and here for a Windows Azure Web Site. Failed…

1

Could not load type ‘Namespace.Class’ from assembly ‘Namespace’

I have been working hard learning the new features of ASP.NET 4.5, specifically using the following methods: HttpResponse.BeginFlush HttpResponse.EndFlush Stream.ReadAsync HttpRequest.GetBufferedInputStream HttpRequest.GetBefferlessInputStream Stream.BeginRead Stream.EndRead All of which need to be implemented using either a handler or module, if you want to use them in IIS.  Can’t say that I did this a lot in the…

1

500.19 when setting up WebDAV on a UNC File share

I have written some instruction on how I setup a WebDAV installation that uses Windows Authentication and UNC here. An important concept to understand before you start setting up a WebDAV solution using this configuration is the difference in behavior when you are logged on and testing from the IIS server versus testing from a…

0

Download Azure App Services Web App log files from Visual Studio

I wrote an article about the ability to enable Web Server Logging, Detailed Error Message, Failed Request Tracing and Application Logging here.  In that article I discussed that you can download the logs using an FTP tool like FIlezilla. You can also download the log files from within Visual Studio by performing the following.  I currently…

0

404 File or directory not found when mapping custom domain to an Azure App Service, Server Error

If you are receiving a 404 error while accessing your custom domain, as shown in Figure 1, then you are most likely missing the link between your Azure App Service Web App configuration and your custom domain. Before we move to the solution, you might want to also check these descriptions of how to map a custom domain…

0

Enable CAPI2 event logging to troubleshoot PKI and SSL Certificate Issues

The CryptoAPI 2.0 Diagnostics is a feature available on Windows Server 2008+ that supports the trouble shooting of issues concerned with, for example: Certificate Chain Validation Certificate Store Operations Signature Verification This article describes how to enable the CAPI2 Diagnostic, but for an in depth review of the capability, check here.  Enable CAPI2 logging by…

0

Enable logging on your Windows Azure Web App – App Service from Visual Studio

With the release of Windows Azure SDK 2.0, you can enable the logging from within Visual Studio.  I wrote another article which discussed how to enable Failed Request Tracing while logged into the Microsoft Azure Management console.  You can review that article here.  After installing the SDK, open Visual Studio and example the Server Explorer,…

0

Stopping and starting an FTP site in IIS 7.5+ from script with ADSI

There have been many changes over the years with managing the IIS configuration using scripting.  In IIS 6 using WMI which relies on the ADSI model is the recommended approach.  However, with the introduction of IIS 7.5 and now IIS 8 there is a new way of doing things.  This new way is via the Microsoft.ApplicationHost.AdminManager…

0

Setting up WebDAV on IIS using Windows Authentication and a UNC, mapped drive or file share

I have spent some hours setting up a solution defined in the title of this article.  I want to make clear that there are numerous ways of configuring this and there are numerous Kerberos/Windows Authentication configuration possibilities based on different SPNs, IE Zones, Application Pool identities, etc…  This article is intended to provide 1 possible,…

6

Troubleshooting badly behaving IIS application pools

There are many reasons why an application pools’ worker process (W3WP.exe) could be behaving badly.  The best approach is to capture some memory dumps during the problem situation and then analyze them.  The problem with that is the root cause is not always obvious, even after many hours of analysis and investigation. An alternative to…

3