I think I've read that if you make your error page longer than a certain number of bytes it will appear instead of IE's "friendly error message".
So you could try adding a quantity of whitespace to your error page and see if that works.
Hope that helps.
Thank you very much for your reply.
It works now. My error page contained only the three digit HTTP status code before.