Why is my ASP.NET application recycling, restarting

ASP.NET
ASP.NET

When you are experiencing slowness with your ASP.NET application, one place to check is if the application is being recycled.  If the application is being recycled over and over again, then sessions and application settings are lost and it has a pretty big impact on your users and customers. A place to begin your investigation…

0

Make a self-signed SHA256 SSL certificate

I wrote an article about making an SSL certificate using MAKECERT here, but that example used the default SHA1 signature hash algorithm which is deprecating.  Therefore, instead of the command shown in Figure 6 on the referenced article, I recommend using this command, that includes the SHA256 attribute, similar to that shown in Figure 1: makecert…

9

Configure an IIS Server Core server for remote management

To configure an IIS 8.5 server running on Server Core, perform the following: Install the Web-Server role Install the Web-Mgmt-Service Enable Remote Management Set the WMSVC service to start automatically Create connection from Remote IIS Management Console In a situation where you need to closely manage physical resources, you might consider using the Server Core…

2

How to add a Server Core IIS server to a domain

I have been messing around with Server Core, this is a much friendlier version when I need to closely manage physical hardware resources like CPU and memory.  Plus, there are fewer updates that I need to install with the much more limited OS foot print. As I buld my IIS servers to test a reproduction of…

0

Install Failed Request Tracing on IIS 8.5 Server Core

To setup Failed Request Tracing on an IIS 8.5 Server Core server, follow these steps. Start PowerShell Install the Web-Http-Tracing Role, using Install-WindowsFeature Configure the rule via a Remote Management IIS connection How to configure an IIS Server Core server for remote management Start PowerShell When you login to a Service Core installation of Windows…

0

What does Connection_Dropped_List_Full mean

Tweet When you look in the HTTP Error log (c:\Windows\System32\LogFiles\HTTPERR\) and see a lot of Connection_Dropped_List_Full error reasons logged, it means that the client has dropped the connection so many times, in a short period, that the log in which the dropped connections are stored has become full.  You might also see numerous 200.0.64 HTTP…

0

Create a W3WP memory dump, quick and easy

WinDbg Debugging
WinDbg Debugging

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…

0

ERROR_CONNECTION_TERMINATED msdeploy web deploy

I was doing some deployments to my Azure Web App one Saturday night and started getting this error show in Figure 1. Figure 1, ERROR_CONNECTION_TERMINATED Azure Web App, web deploy Here is the message specifically: Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection.  Contact…

13

Configure Application Request Routing with Windows Authentication, Kerberos

If you have not already read this article, please do which is a prequel to this one that explains the basic installation and configuration of ARR using anonymous authentication. The steps for configuring Application Request Routing (ARR) to use Windows Authentication -> Kerberos, are: Set authentication protocol on IIS (Server Farm) servers to Windows Authentication…

1

Configure Application Request Routing

There are many documents that cover the configuration of ARR, but this one’s my own.  I write this post to set the base line for another article I wrote here, about configuring ARR to work with Windows Authentication, specifically Kerberos.  After taking the actions in this article and making sure all is running as expected,…

0

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…

0

ASP.NET WebAPI results in a 405 Method Not Allowed HTTP response

ASP.NET
ASP.NET

I was working on an IoT project where my device was calling a WebAPI.  I had two methods, one had the signature shown in Listing 1 and the other in Listing 2. UPDATE 6-JUN-2016, check here for some exception handling tips. Listing 1, GET employees [Route(“api/TC/{custId}”)] public IQueryable<EmployeeDTO> GetEmployees(string custId) {  var db = new fhEntities();…

3

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…

0

Helloworld WebJob on Microsoft Azure – Web App

I watched this Channel9 Video here and decided to reproduce it in writing.  The steps required to create this sample HelloWorld WebJob for hosting with a Web App are: Create a Web Site and Console Application Include the Console App into the Web Site Deploy the Web Site to a Web App Execute the WebJob…

0

Creating a Wi-Fi connection to my Lumia 640XL, with the Gadgeteer

My first Gadgeteer project I wrote about here used an Ethernet connection.  However, this limited the mobility of my device and therefore wanted to configure the device to connect to a Wi-Fi network.  I must mention that another coolness factor with this Wi-Fi project was I used the Wi-Fi internet sharing capability on my Microsoft…

0