Category: Windows Server 2008

Post Pic

ELMAH – An attempt was made to load a program with an incorrect format.

Tweet
Following the recent series of posts on issues I have had migrating client sites from IIS6 to IIS7, one common problem I had was on sites that use the ELMAH exception handler. The full exception message is “Could not load file or assembly ‘System.Data.SQLite’ or one of its dependencies. An attempt was made to load […]

Post Pic

Use AppCmd to Migrate web.config from IIS6 to IIS7

If your site uses any httpHandlers or httpModules you will need to perform these steps to migrate your web.config to include the missing configuration sections required by IIS7 using AppCmd.exe

Post Pic

Page.User is null on IIS7 in Integrated Mode with UrlRewriting.Net

Tweet
I am in the process of migrating a large number of sites from a Windows 2003 Server to a Windows 2008 R2 Server for a client. When testing the migrated sites I kept getting the all too familiar ‘Object reference not set to an instance of an object’ exceptions. As the site was in debug […]

Post Pic

Problems with Windows Server Hosted in the Cloud Maintaining Correct Time

Tweet
I currently maintain two windows based servers in the cloud with Elastic Hosts, one of my own and one for a client. On both I have scheduled tasks running and noticed that the time was slipping on the execution of these tasks over time. It became apparent that the server was unable to maintain the […]

Post Pic

Discover which ASP.Net Worker Process Belongs to each AppPool

Tweet
Ever needed to know which ASP.Net worker process (w3wp.exe)  belongs to an App Pool? Well I did recently when I needed to attach to it for debugging and there was no obvious way to find out which process related to each app pool. A little bit of research led me to discover AppCmd.exe. I wrote […]

Post Pic

Setup SMTP Logging on Windows Server 2008 by enabling the ODBC Logging module

Tweet
I recently had a client who had some issues delivering mail from their site so I went to look at the SMTP logs only to find that there were none there (I am embarrassed to say). I notice that I had configured the logs to be written to a custom directory on a separate drive from the operating system and thought […]

Umbraco Certified Developer
SagePay Approved Partner
Creative Market