Solving access denied errors using Process Monitor

Access denied errors are not uncommon when deploying new websites / features that interact with the filesystem. While it might work in local testing, it suddenly doesn't anymore when deployed. Using Process Monitor I'll show how to easily debug these issues.

Read the complete 4425 bytes...

Digg it | Kick it | Dzone it | Reddit


Simple file synchronization using robocopy

On numerous occations I've had a need for synchronizing directories of files & subdirectories. I've used it for synchronizing work files from my stationary PC to my laptop in the pre-always-on era (today I use SVN for almost all files that needs to be in synch). Recently I needed to implement a very KISS backup solution that simply synchronized two directories once a week for offsite storing of the backup data.

Read the complete 4802 bytes...

Digg it | Kick it | Dzone it | Reddit


Using Squid as a reverse proxy with a .NET url rewriter

Once you start receiving visitors from all over the world, a new kind of scaling issue arise. It's not a matter of adding more servers to the cluster or optimizing code (we'll assume these factors are perfect), it's a simple matter of geography and mathematics. Serving code from one end of the world to the other will take time, no matter how quick your servers are handling the request. The speed of light suddenly seems quite slow.

Read the complete 16333 bytes...

Digg it | Kick it | Dzone it | Reddit


aspnet_regiis -ga token reference error

Some time ago Peter Loft Jensen wrote about how to easily give a user account the neccessary permissions to access the IIS metabase & required directories, and thus be used for running the IIS process.

Read the complete 1037 bytes...

Digg it | Kick it | Dzone it | Reddit


Missing ASP.NET performance counter values

Before attempting to optimize code or fix any kind of load issue, you should first gather data and become aware of what bottlenecks you're experiencing. A great way to do this is through the Performance Monitor application. Recently I tried monitoring my ASP.NET applications, but all my counters had a value of 0. As I thought initially, it's a simple problem, but the solution was not easily found.

Read the complete 1637 bytes...

Digg it | Kick it | Dzone it | Reddit


Using Network Load Balancing for Availability & Scalability

There are two primary reasons for venturing into the realms of clustering/load balancing - availability & scalability. In this post I'll give a quick demo of how to setup Windows Network Load Balancing (NLB) on Server 2003 and how it affects the availability of a web application.

Read the complete 4885 bytes...

Digg it | Kick it | Dzone it | Reddit


Setting up and testing Active Directory failover

I spend a lot of time architecting for scalability, availability and security during my daily work. Currently I've got a distributed system consisting of several windows services communicating across machines using WCF and authenticating through Active Directory.

Read the complete 10764 bytes...

Digg it | Kick it | Dzone it | Reddit