Archive for the ‘Windows Administration’ Category

NHibernate and IIS

Wednesday, October 14th, 2009

Recently it was found that IIS throws a wobbler from time to time. More often than usual. What we are left with is the following wonderful exception message: Illegal operation attempted on a registry key that has been marked for deletion and IIS stops serving from that application untill a full server reboot occurs.

For Microsoft’s production server software this is completely unacceptable! Plus if this was on a server cluster IIS across all of your machines would slowly stop serving that application, and it would be hit or miss for any request to be directed at the problem servers!

Anyway so far the stack trace has pointed to NHibernate creating a proxy instance of an object on the fly and attempting to compile it and failing spectacularly. Sadly Google has yet to provide an answer to it and full server reboots must take place if it is caught in time. The problem is a complete nightmare, however one must wonder if other administrators out there running demanding applications on IIS have the same problem.

What would be really interesting to see is if MVC with Mono and Apache server can pick up the severe deficit IIS suffers from.

Squash, Screen and Irssi

Tuesday, October 13th, 2009

First off,seeing as I am testing out this new VPS to see if it is more suited to my needs. (despite being a complete turncoat and using Windows instead of Linux). I mean to be honest as long as the web server works and I can serve ASP.NET either through IIS or Mod_Mono I am happy. Well I say happy, I don’t enjoy spending endless tweaking of config files to see if changing settings will finally allow the web server to start serving files properly. Platform ambivalent, you could say.

Anyway, I’m currently hunting for a nice replacement to screen on Linux for Windows, as that is one of the main things that I use my VPS for, logging on to the server, bring up the stored screen and use irssi to spread more white noise on to the internet. Anyway, been looking at Cygwin which doesn’t appear to have changed much since I last tried it about 2-3 years ago. So far I have been running a separate SSH Server called freeSSHd and starting a bash shell from there, however putty doesn’t seem to handle this well and the command execution seems particularly slow.

Going to try using just Cygwin for the SSH Daemon and see how the command execution time goes, it might actually work! Anyway, anyone have any suggestions for screen and irssi replacements?

On another note, Played squash with my Boss and co-worker last night, make a complete arse of myself and my left arm has fallen out with me. Still good fun though and now off to be shamed at work. :D