Server Error in '/' Application.

Value cannot be null.
Parameter name: g

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.ArgumentNullException: Value cannot be null.
Parameter name: g

Source Error:


Line 142:        get 
Line 143:        {
Line 144:            return new Guid(Context.Request.QueryString["id"]);
Line 145:        } 
Line 146:    }

Source File: d:\home\cattaneo-bedonia.it\httpdocs\Handlers\Image.ashx    Line: 144

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: g]
   System.Guid..ctor(String g) +7668910
   Image.get_ID() in d:\home\cattaneo-bedonia.it\httpdocs\Handlers\Image.ashx:144
   Image.get_OriginalFilename() in d:\home\cattaneo-bedonia.it\httpdocs\Handlers\Image.ashx:92
   Image.get_OriginalFilePath() in d:\home\cattaneo-bedonia.it\httpdocs\Handlers\Image.ashx:104
   Image.ProcessRequest(HttpContext context) in d:\home\cattaneo-bedonia.it\httpdocs\Handlers\Image.ashx:14
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974