Shane Bartholomeusz

Technical Solutions Consultant

Category: ASP.NET (page 1 of 2)

ASP.NET

.NET Network Tracing

System.Net Tracing

ASP.NET Logo

I recently had to troubleshoot a network communication. My app was unable to call an external service endpoint. Troubleshooting network issues can sometimes be as fun as pulling out your own teeth.

In this post I wanted to share a nifty way to perform low-level troubleshooting, which ultimately saved my bacon.

Continue reading

Aspnetcore.dll failed to load. The data is the error

The Problem

When trying to locally debug a newly created solution within Visual Studio 2015 I encountered the below error when locally launching the application using IIS Express

A process with the ID of <id> is not running

ASP.NET Logo

Seeing no errors logged in the Visual Studio Output window, I checked the Windows Event Viewer and found the following error:

The Module DLL C:\Program Files (x86)\IIS Express\aspnetcore.dll failed to load. The data is the error.

The error was a bit confusing because it alluded to ASP.NET Core even though I wasn’t using this in my project.

Continue reading

How to Parse IIS Logs using Log Parser Studio

Logs, Logs, Logs!!!

Ever had to parse mounds of IIS web server logs for specific metrics? It can be quite painful and time-consuming!

Log Parser Studio is a fantastic utility designed for this very purpose. It can parse various flat file formats using an SQL like query language.

Continue reading

Enable Detailed IIS Error Messages

Enabling Detailed Errors

By default, IIS hides detailed error messages however you can enable it through either of the following ways.

Obviously this should only be enabled in a non-production environment as it may create potential security implications.

Continue reading

Microsoft 70-487 Exam – Study Notes

Overview

Microsoft Logo

Having recently passed the Microsoft 70-487 exam as part of the MCSD Web Developer certification, in this 70-487 Exam Study Guide I will share my thoughts and experiences to help you pass the exam.

Continue reading

ASP.NET App Suspend

What is it?

ASP.NET Logo

The .NET Framework 4.5.1 introduces a nice new feature called App Suspend to improve web application performance, and most importantly improve the end-user experience with virtually zero setup required.

MSDN claim that this feature can improve web application startup performance by 90%!!!

 

Continue reading

Hide the annoying WCF Test Client

WCF Test Client

The WCF Test Client can be quite a useful tool when developing .Net web services using Visual Studio, however sometimes you don’t need it automatically launching when you start your project … it gets quite annoying!

 

WCF Test Client Screenshot

 

Continue reading

ASP.NET Assembly Interning

ASP.NET Logo

What is it?

ASP.NET 4.5 introduces a new feature called Assembly Interning allowing you to run a single instance of a shared assembly in memory. This approach provides performance improvements on cold start and reduces overall server memory usage.

Continue reading

Register .Net Framework version with IIS web server

Visual Studio Error

When trying to open a Visual Studio solution, I encountered the following error.

C:\myFilePath\myService.Service.csproj : error  : The Web Application Project XXXXXX.Service is configured to use IIS. IIS is not installed on this computer. To access local IIS Web sites, you must install the following IIS components:       Internet Information Services       IIS 6 Metabase and IIS 6 Configuration Compatibility       ASP.NET In addition, you must run Visual Studio in the context of an administrator account. For more information, press F1.


Dot Net Logo


Continue reading

IIS7 – 401 Unauthorized: Access is denied due to invalid credentials

Problem

I recently came across this error while upgrading an old ASP.NET application from IIS6 to IIS7…

401 Unauthorized: Access is denied due to invalid credentials

401 Error
Continue reading
Older posts

© 2020 Shane Bartholomeusz

Theme by Anders NorenUp ↑