I have written a number of articles on how to create memory dumps for troubleshooting W3WP process hangs, crashes or memory consumption issues. Create a memory dump when the W3WP process terminates using Procdump Creating a W3WP Memory dump on Windows Server 2003 Creating a W3WP Memory dump on Windows Server 2008 R2 Configure Debug […]
Read More →Tags: Debugging
Create a memory dump for your slow performing Web App
There are numerous ways to create a memory dump for a slow performing Web App, but I find this one the simplest and quickest. Follow these steps to capture a memory dump of the W3WP process responding to requests which are slower than expected. Here are the steps: Login to your KUDU console. I wrote […]
Read More →Why am I getting this challenge response popup?
Real quick, the reason for the credential pop-up is because the URL you are accessing is not in the Local Intranet trusted sites lists, as shown in Figure 6a and 6b! I setup a domain and did some learning on Kerberos. The first lessons I learned working towards a better understanding of Kerberos was some […]
Read More →Debugging a W3WP memory dump of a slow performing ASP.NET Azure Web App
I wrote an article here about how to capture a memory dump of the W3WP process that runs your Azure Web App. Once you get the Memory dump, here are the steps you need to find out what the reason for the slow performance is. First, I open the W3WP dump in WinDbg, as shown […]
Read More →Using Entity Framework and Web API, I get a 500 Internal Server Error or a Hang
I was working on some code that used Entity Framework and an ASP.NET WebAPI as the interface for accessing the data. With my experience so far, when I publish my WebAPI and then access it, the result is a JSON formatted file that I can open or save via a message popup similar to that […]
Read More →Troubleshoot a Web API Self Host performance problem
If you have not tried creating a Self-Hosted Web API, you might give it a shot, here is a good, getting started example. Once it gets into production, if you are looking for ways to troubleshoot a slow performing self-hosted Web API, searching for a W3WP process to take a memory dump of or applying […]
Read More →The webpage cannot be found (404) when accessing a file on Azure App Services Web App
404 status codes can be a little misleading. I wrote another article here about 404’s here from an on premise IIS perspective, but in principle the information applies. The fact about 404’s is that there are many sub status codes lined to the 404 status code. Most people believe that the 404 means simply that […]
Read More →Using Network Tracing to debug System.Net based issues
I have worked on a number of cases where web services or URLs are called using a code segment like the below code snippet. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); The result of the GetResponse() method is some kind of error, for example a Timeout Exception, which is not always brought up to […]
Read More →Enable System.Net tracing on Azure Websites (unable to connect to remote server)
It is becoming a common scenario that customers of Azure Web Apps are making requests to services hosted on other Azure IaaS or PaaS platforms, services not hosted on the Azure platform (on premise) and which use the System.Net class. For example, making a request from your code that uses either of the following code […]
Read More →IIS Admin Service fails to start
I was working on an unrelated issue and all of a sudden I started getting some strange errors in IIS. Something like the errors shown in Figure 1 and Figure 2. Figure 1 was rendered when I opened the IIS management console and attempted to expand the server name to see the websites on the […]
Read More →