Server Error in '/' Application.

Invalid URI: The URI is empty.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UriFormatException: Invalid URI: The URI is empty.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UriFormatException: Invalid URI: The URI is empty.]
   System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) +8501273
   System.Net.WebRequest.Create(String requestUriString) +46
   ALSWebsite.Models.Handlers.CentrisImages.DownloadFile() +144
   ALSWebsite.Models.Handlers.CentrisImages.ProcessRequest(HttpContext context) +480
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0