Necessary changes for handling IIS and MVC exceptions