Server Error in ‘/’ Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: The CodeDom provider type “Microsoft.CodeDom.Providers.DotNetCompilerPlatform .CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” could not be located. Source Error: […]
Read More →Tags: Debugging
Dynatrace Extension causes application crashes after WS2016
Some customers have reported that since Windows Server 2016 their applications are crashing unexpectedly. Restarts and scaling did not help. This has been isolated to an issue with versions of the Dynatrace Extension (installed through the Azure portal) prior to v1.18. The current version of the extension is 1.18.1009 and old versions can be updated […]
Read More →Troubleshooting a hung or long running WebJob
If you can reproduce the slow running WebJob behavior you have hosted with your Azure App Service Web App, Mobile App or API App then you can find out why using the following article. Additionally, if the WebJob is in a hung state, skip right to the portion where you take the memory dump of […]
Read More →Create a memory dump of your App Service when it consumes too much memory
I have written a number of troubleshooting labs here, one of which is Lab 21: WinDbg – Memory Consumption. In this article I will identify how to capture a memory dump of a process that is consuming too much memory. In this case it is running on an Azure App Service Web App. NOTE: This […]
Read More →Capture a Trace for troubleshooting Azure Portal issues
If you ever need to capture trace from within the Azure Portal to troubleshoot an issue, here are the steps required to do that. Login to the portal here. Navigate to the step just prior to where the issue is happening. Press F5 or refresh. Press F12 to start the browser Developer Tools (IE and […]
Read More →Remote debug your Azure App Service Web App
I created a sample ASP.NET application that you can download from here that contains a slow running request, a handled and an unhandled exception. UPDATE: I wrote an article here about remote debugging in Visual Studio 2017 and ASP.NET Core here, titled “Remote debug your Azure App Service 2017 including ASP.NET Core”, JIC you are […]
Read More →MEX Debugging Extension for WinDbg
This has been my favorite WinDbg extension for a long time and I am very happy to see that it has been made public. It can be downloaded from here. To load the MEX extension, copy the MEX.DLL into the winext directory under which your WinDbg client is running. It can be placed any where […]
Read More →Lab 21: Debugging a W3WP process with high memory consumption
Setup: Install Debugging Tools for Windows – for WinDbg Install and configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Review memory dump collection process for W2K8 and W2K12 Lab 21.1 Open the main page of the CSharpGuitarBugs website so that a W3WP process is instantiated […]
Read More →Lab 20: Debugging a low CPU hang W3WP process using WinDbg
Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Review Memory Dump using PROCDUMP on 2008R2 or 2012R2: Lab Open the CSharpGuitarBugs website Click on the ‘Enter Payment Information’ link and note about how long […]
Read More →Lab 19: Debugging a high CPU hang W3WP process using WinDbg
Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Read this HOW TO here. Read about the !runaway command here and copy dbghelp.dll into the c:\temp directory Lab Open Task manager so that the CPU […]
Read More →