Server Error in '/' Application.

Invalid path for child request 'https://www.darelsalam.ca/mt/packages.aspx'. A virtual path is expected.

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.ArgumentException: Invalid path for child request 'https://www.darelsalam.ca/mt/packages.aspx'. A virtual path is expected.

Source Error:


Line 42:             Dim thisSlug = Newtonsoft.Json.JsonConvert.DeserializeObject(Of link)(downloadedString)
Line 43:             If Not String.IsNullOrEmpty(thisSlug.url) Then
Line 44:                 context.Server.Transfer(thisSlug.url)
Line 45:             ElseIf thisSlug.pagePath <> Nothing AndAlso IO.File.Exists(context.Server.MapPath("/" & thisSlug.pagePath)) Then
Line 46:                 If thisSlug.pageQuery <> Nothing Then

Source File: C:\inetpub\darelsalam.ca\darelsalam.ca\404.ashx    Line: 44

Stack Trace:


[ArgumentException: Invalid path for child request 'https://www.darelsalam.ca/mt/packages.aspx'. A virtual path is expected.]
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +1055
   System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +74
   System.Web.HttpServerUtility.Transfer(String path) +46
   _404.ProcessRequest(HttpContext context) in C:\inetpub\darelsalam.ca\darelsalam.ca\404.ashx:44
   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.4700.0