Well, "RemoteOnly" means exceptions thrown by local requests will not be handled. Since you are probably debugging the site on your local machine, this is why the redirect to Error.aspx is not taking place.
Set mode="On" and give it another try.
<shamelessPlug>
P.S. You might also consider picking up my new Blox coming out in a couple of weeks. It deals with all of this exception handling stuff in great detail.
</shamelessPlug>
