Server Error in '/' Application.

Value cannot be null.
Parameter name: String

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: String

Source Error:


Line 11:     protected void Page_PreInit(object sender, EventArgs e)
Line 12:     {
Line 13:         Cliente cli = new Cliente(Int32.Parse(Request["id"]));
Line 14: 
Line 15:             GrupoPLA.Cliente.Template tmp = new GrupoPLA.Cliente.Template(cli.ID);

Source File: c:\inetpub\wwwroot\grupopla.com.br\v2SitePersonalizado\Layout07\Default.aspx.cs    Line: 13

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: String]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14783912
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +172
   v2SitePersonalizado_Layout07_Default.Page_PreInit(Object sender, EventArgs e) in c:\inetpub\wwwroot\grupopla.com.br\v2SitePersonalizado\Layout07\Default.aspx.cs:13
   System.Web.UI.Page.OnPreInit(EventArgs e) +11860100
   System.Web.UI.Page.PerformPreInit() +46
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1110


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