Server Error in '/' Application.

No http handler was found for request type 'GET'

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.Web.HttpException: No http handler was found for request type 'GET'

Source Error:


Line 22:             context.Response.AppendHeader("Content-Disposition", "attachment;filename=" + photo.FileName);
Line 23: 
Line 24:             context.Server.Transfer("~/storage/documentstorage/" + ucode.ToString() + "." + photo.Extension.ToLower());
Line 25:         }
Line 26: 

Source File: D:\www\opddevpublic.vistera.cz\providers\Document.ashx    Line: 24

Stack Trace:


[HttpException (0x80004005): No http handler was found for request type 'GET']
   System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) +748
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +589

[HttpException (0x80004005): Error executing child request for ~/storage/documentstorage/3024e2cd-e208-4e00-aaab-2030fe7ea28e.7z.]
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +1295
   System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +72
   System.Web.HttpServerUtility.Transfer(String path) +45
   Document.ProcessRequest(HttpContext context) in D:\www\opddevpublic.vistera.cz\providers\Document.ashx:24
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


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