How can I set 404 and other error pages using web.config? I have tried adding following block in web.config.
Try to add the "~/" before paths: