Server Error in '/' Application.

Nullable object must have a value.

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.InvalidOperationException: Nullable object must have a value.

Source Error:


Line 542:
Line 543:
Line 544:            Server.Transfer("texto.aspx?id=" & vID_N1_Localiza.Value)
Line 545:            Response.End()
Line 546:

Source File: D:\http\vhosts\universocasuo.com.br\httpdocs\URLRewrite.aspx.vb    Line: 544

Stack Trace:


[InvalidOperationException: Nullable object must have a value.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +56
   System.Nullable`1.get_Value() +12770166
   URLRewrite.Page_Load(Object sender, EventArgs e) in D:\http\vhosts\universocasuo.com.br\httpdocs\URLRewrite.aspx.vb:544
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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