Shane Bartholomeusz

Geek and lover of all things tech related

Tag: .Net (page 2 of 2)

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

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

Capture program exceptions using Sysinternals Process Dump

So what is ProcDump?

I just thought I’d write a quick post showing you how to use the ProcDump utility, yet another great Sysinternals tool. This tool helps you capture unhandled exceptions in real-time from a running program.

Sysinternals Logo

Continue reading

Dynamics CRM: Undocumented setting DebugExceptionInfo

 

Microsoft Dynamics CRM Logo

 

Recently in our Microsoft Dynamics CRM 4.0 environment we encountered significant delays in outgoing emailnotifications being sent out from CRM.

An analysis of the Event Viewer logs revealed nothing useful, only the below generic error message

0x80044150 Generic SQL error

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

Take ASP.NET website offline

Overview

There are times where you may need to take an ASP.NET application offline to perform maintenance.

In this post I’ll show you how to do exactly that using the out-of-the-box capabilities of IIS / ASP.NET.

ASP.NET Logo
Continue reading

Resolve “AspNetHostingPermission” error

So what do you do if you come across this error in Visual Studio?

System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.

The error typically occurs when you download files from an external source into your Visual Studio project. Windows will recognise the file came from an external source and restrict permissions.

Continue reading

Newer posts

© 2024 Shane Bartholomeusz

Theme by Anders NorenUp ↑