Possible fix for IIS crash described in issue #28

This may be a possible fix for issue #28.  We've deployed it across our development machines as so far, no one has experienced the access violation.