502.3

IIS Internet Information Services
IIS Internet Information Services

An HTTP status code of 502 – Bad Gateway means “The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.”  I interpret that to mean that there is a server (server A) between my client and the server (server B)…

0

Web Server Logging, IIS logs, deployment slots and swaps

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

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…

0

Configuration error, targetFramework 4.7

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

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…

0

Targeting a specific version of the .NET Framework

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

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…

0

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. 404.63.0

Azure App Service Environment
Azure App Service Environment

I was troubleshooting this issue on an Azure App Service (ASE) and found the 404 was actually a 404.63.0 which translates into “Site not found: Hostname lookup failed, we are probably under attack”.  The interesting thing was that it was only reproducible randomly and after I sat an hit the F5 or refreshed the page…

0

How to make a local deployment and create a zip file for drag and drop deployment

Visual Studio
Visual Studio

I wrote this article “Deploy to an Azure App Service using KUDU and a zip file” that explains how to deploy a zipped file from a local workstation to KUDU.  While I was writing that post I thought, hey, why not write how to create a zipped file for deployment as well, so here goes….

0

Can you trace WCF using Failed Request Tracing

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

Yes you can.  I wrote this blog a long time ago that explains how to setup a Hello World WCF service and consumer.  I have also written numerous articles about Failed Request Traces: Lab 4: Install and configure Failed Request Tracing Lab 16: Configuring Failed Request Tracing to take a memory dump Install Failed Request…

0

GENERAL_READ_ENTITY_START

IIS Internet Information Services
IIS Internet Information Services

I was looking around for some understanding on the what this event within the request pipeline meant.  As seen in Figure 1, you can find this event when you are capturing a Failed Request trace. I wrote a lab about capturing Failed Request Traces here –> Lab 4: Install and configure Failed Request Tracing Figure…

0

How to check Azure App Service OS version, what version of IIS

Microsoft Azure
Microsoft Azure

This is a FAQ on GitHub which has a lot of information about 2016. If you are interested to find out which version of IIS or OS your Azure App Service is running on, you can check it like this. Check in KUDU Capture a Fiddler trace I wrote about KUDU here, just in case…

0

How to create a self-signed SAN certificate, wildcard certificate vs SAN

SSL TLS Certificate Benjamin Perkins
SSL TLS Certificate Benjamin Perkins

I have some domain names that I use for testing out Azure features, write some blogs and other fun stuff.  I find myself needing, wanting to use HTTPS and using the instructions I wrote some time ago, see below, to create the certificate is long and tedious.  I had an epiphany which lead me to…

0

Cannot read Failed Request Log, unformatted and unreadable

IIS Internet Information Services
IIS Internet Information Services

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…

0

Changing the maxLogFileSizeKB on an Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

I wrote this article “Making changes to the applicationHost.config on Azure App Service” here which explains the details about creating an XDT file that supports the configuration of some properties found in the applicationHost.config file.  Keep in mind that not all of the attributes in the applicationHost.config file can be altered, you might be able…

0

Machine Keys on an Azure App Service, machineKey multiple instances Azure

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

When you run an ASP.NET application on multiple instances of an App Service Plan (ASP) you do not need to worry about machineKeys as the App Service Platform will use the same one across all your instances and therefore will not need to make any changes to your application. I found this sample code and…

1

How to connect and configure IIS running on Nano

IIS Internet Information Services
IIS Internet Information Services

If you have not already reviewed my other articles on using IIS on Nano, then you might want to take a look at them.  Just so you know the perspective I am coming from and the context in which I work within. What’s new in IIS 10 How to list Packages available when creating a…

0

How to copy files or deploy code to a Nano Server

IIS Internet Information Services
IIS Internet Information Services

I am writing numerous posts about IIS on Nano with my intent to get an ASP.NET Core application up and running on it.  There are already instructions for this shown directly below, but I like to do the exercise myself and document my experiences and lessons in addition. #ASPNETCORE #Nano #IIS What’s new in IIS…

0