Web Server Logging, IIS logs, deployment slots and swaps

I wrote a number of articles related to this topic, have a look to get a better context in regards to this one. Download Azure App Services Web App log files from Visual Studio Enable logging on your Windows Azure Web App – App Service from Visual Studio Using LogParser to analyze the EVENTLOG.XML, Azure…


Running IIS Express on a Random Port

I have found myself using IIS Express for a bunch of web projects these days, and each of these projects is using different frameworks and different authoring systems. (Like Windows Notepad, which is still the one of the world’s most-used code editors.) Anyway, there are many times when I need multiple copies of IIS Express…


500.19 error or 502.5 error when hosting asp.net core 2 application inside IIS

While deploying asp.net core 2 to IIS, you may get one of these errors  or both  🙂 500.19 Internal Server error The first of the issue is 500.19 error when trying to host an asp.net core 2.0 application inside IIS7. What you get might be  something like below   This one was quite simple,turned out…


Configuration error, targetFramework 4.7

I was deploying some code to one of my IIS servers and got this YSOD as seen in Figure 1.  I had coded in Visual Studio 2017 with the .NET Framework 4.7 targeted from my ASP.NET Web Forms application I wrote. Figure 1, Server Error, targetFramework=”4.7” I like to look at the version of the…


Targeting a specific version of the .NET Framework

I find numerous opinions and understandings about side-by-side and in-place installations of the .NET Framework.  Here is my favorite explanation of this “.NET Versioning and Multi-Targeting – .NET 4.5 is an in-place upgrade to .NET 4.0”.  I also link to that same article in one of my IIS labs here, “Lab 5: Basic and Advanced…


Cannot read Failed Request Log, unformatted and unreadable

I often get Failed Request Trace logs via email that when I open them I only see the data, I mean it is not nicely formatted like that shown in Figure 1, rather I see what is in Figure 2.   Figure 1, nice Failed Request Trace log Figure 2, not nice Failed Request Trace…


End to End SSL with Azure Application Gateway

<Updated Service Note> Please note that this capability has now been integrated into Application Gateway, and you no longer need to handle redirection on your IIS servers (though you still could if desired). Please see https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-redirect-overview for more information. </Updated Service Note> Azure Application Gateway is a layer 7 load balancer with features such as SSL…


Configure Remote IIS Administration for Microsoft Azure App Service

*NOTE: since the update to Windows Server 2016 and IIS 10 this capability is no longer supported and it likely never will be again.  In the short-term, you need to be looking for an alternative and learn to live without this one….IMO. I wrote an article about configuring remote IIS administration here, but what I…


Setting up Kerberos Authentication for a Website in IIS

I had previously blogged on the working of Kerberos and how to troubleshoot authentication issues with Kerberos when it fails. Then I thought it would be good if I can also document the basic steps we look into when configuring Kerberos for a site. Over here we look into step by step process of the…


All About Kerberos “The Three Headed Dog” with respect to IIS and Sql

Kerberos Understanding and troubleshooting Steps to be followed while dealing with Troubleshooting Kerberos related issues. Prerequisites: 1) Kerberos can only work in intranet because client needs to interact with the Domain controller directly. 2) Kerberos can be used in internet only if you have a public facing active directory. But public facing active directory is…