Server Error in '/VCPWeb' Application.

No document ID specified

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.NullReferenceException: No document ID specified

Source Error:


Line 26:         if (string.IsNullOrEmpty(documentId))
Line 27:             throw new NullReferenceException("No document ID specified");
Line 28:         if (!long.TryParse(documentId, out id))
Line 29:             throw new FormatException("Document ID is not a number");
Line 30:         if (string.IsNullOrEmpty(checksum))

Source File: e:\Applications\LPD\VCPWeb\Download.ashx    Line: 28

Stack Trace:


[NullReferenceException: No document ID specified]
   Download.ProcessRequest(HttpContext context) in e:\Applications\LPD\VCPWeb\Download.ashx:28
   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