I have recently seen a web application throwing System.UriFormatException
error with this message: Invalid URI: The format of the URI could not be determined. It is one of the errors that is almost always related to code, not IIS or other components.