Server Error in '/' Application.

Requested value '4,4' was not found.

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: Requested value '4,4' was not found.

Source Error:


Line 23:         if ((ctx.Request.QueryString["tipo"] != null) && (ctx.Request.QueryString["Id"] != null))
Line 24:         {
Line 25:             _tipoimg = (TipiImmagine)Enum.Parse(typeof(TipiImmagine), ctx.Request.QueryString["tipo"]);
Line 26:             _rif = Convert.ToInt32(ctx.Request.QueryString["Id"]);
Line 27: 

Source File: d:\inetpub\webs\salvimarcom\App_Code\showfoto.cs    Line: 25

Stack Trace:


[ArgumentException: Requested value '4,4' was not found.]
   System.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument) +3886756
   System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult) +13056197
   System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) +80
   System.Enum.Parse(Type enumType, String value) +12
   showfoto.ProcessRequest(HttpContext ctx) in d:\inetpub\webs\salvimarcom\App_Code\showfoto.cs:25
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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