Fixing Flash bugs and intercepting IIS Application Request Routing cookies

What does Flash, upload, cookies, IIS load balancing and cookies have to do with each others? More than I'd like :(

Read the complete 9495 bytes...

Digg it | Kick it | Dzone it | Reddit


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


How to do URL rewriting on IIS 7 properly

One of my earlier blog posts, and the all time most popular one, was about how to make URL rewriting on IIS 7 work like IIS 6. While my method did provide a means to the goal, it's humiliatingly far from what I should've done. Since the old post is still the most visited post on my blog I feel obligated to write a followup on how to do proper url rewriting in IIS 7.

Read the complete 6157 bytes...

Digg it | Kick it | Dzone it | Reddit


IIS7 w3wp process hung on shutdown

A single server has started to sometime leave zombie w3wp.exe processes when trying to recycle. A new process is spawned properly and everything seems to work, except the old processes are still present and take up memory. Task manager reports there's only a single thread left, far from the active ones that have between 40 and 70 threads usually.

Read the complete 6177 bytes...

Digg it | Kick it | Dzone it | Reddit


IIS request filtering woes

I recently put a number of load balanced websites in production by using the newly released IIS7 Application Request Routing v2 Beta extension. Everything seemed to run perfectly both performance and functionality wise. There was a slight problem however.

Read the complete 3424 bytes...

Digg it | Kick it | Dzone it | Reddit


Making the ASP.NET State Service work across network

Once you start distributing your ASP.NET website across multiple webservers, you're going to need a way to share session state. That is, unless your app is stateless, in which case scaling it should be a breeze!

Read the complete 3521 bytes...

Digg it | Kick it | Dzone it | Reddit


IIS7 - The object identifier does not represent a valid object

When adding sites to IIS7 either by script or by editing the config files directly, you may receive an error in the sites list that says:

Read the complete 4637 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


Making URL rewriting on IIS 7 work like IIS 6

Upgrading to IIS 7 should be rather transparent, unfortunately that is not the case when it comes to URL rewriting as we knew it from IIS 6. In IIS 6 all we had to do was to add a wildcard mapping making sure that all requests went through the ASPNET ISAPI process. After this was done, one could create a global.asax file that would either pass requests directly through or rewrite the URL based on an internal algorithm.

Read the complete 6141 bytes...

Digg it | Kick it | Dzone it | Reddit