Scaling your Windows Azure Web Site

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…

2

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

Enabling Failed Request Logging on a Windows Azure Web Site

Using Failed Request Tracing is a very useful tool for troubleshooting performance issue on your Azure App Service, for example a Web App, and for any website running on IIS.  Azure Web Apps do not currently support a remote desktop connection and therefore the configuration of the Failed Request Tracing feature is performed via the Azure Management console. If you…

0

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

Changes made to one web site are applied to another

I was working on an issue some months ago where changes being made to a single web site were being applied to another web site on the server.  I found that strange because that should not happen, I mean, making a change to a web site should be specific to that web site and those…

0

What’s new in IIS 8.5 – Microsoft Internet Information Services 8.5 New Features

With the release of the new version of Windows Server 2012 R2 comes a new version of IIS, IIS 8.5.  The new features can be broken into 2 categories, Scalability and Manageability: Manageability – Logging Enhancements Manageability – ETW Events Scalability – Dynamic site activation Scalability – Idle Worker Process Page-out The following article contains…

7

Using Web Platform Installer on a server without internet access

I was trying to setup a WebDAV installation that mapped to a UNC share and used Windows Authentication.  I had to create a test domain with numerous servers in order to grant all the required permissions to get this setup to work.  I had some problem with the initial step of this project because the…

0