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 22:         {
Line 23:             string texto = "";
Line 24:             CNoticia n = iface.get_Noticia(int.Parse(Request.QueryString["id"]));
Line 25:             if (n != null)
Line 26:             {

Source File: c:\inetpub\wwwroot\PAPSF2018\Noticies_Detall.aspx.cs    Line: 24

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: String]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14311067
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +305
   _Default.MuestraNoticia() in c:\inetpub\wwwroot\PAPSF2018\Noticies_Detall.aspx.cs:24
   _Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\PAPSF2018\Noticies_Detall.aspx.cs:18
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


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