WordPress 404 page returning with default in IIS7

This resolved my 404 error. I essentially went into IIS and directed the 404s to a custom URL “/index.php?error=404“

Article that explained how to resolve the error