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 691:            {
Line 692:                ///Dados do Anunciante
Line 693:                this.CurrentAdvertiser = ClienteManagerHelper.GetCliente(this.CurrentOffer.ClieID.Value);
Line 694:
Line 695:                ///Anunciante anónimo ?

Source File: d:\wwwSites\EmpregosOnline\www.empregosonline.pt\Ofertas\Detalhe.aspx.cs    Line: 693

Stack Trace:


[InvalidOperationException: Nullable object must have a value.]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +60
   System.Nullable`1.get_Value() +24
   Ofertas_Detalhe.CheckPreRequisites(Decimal offerID, Guid offerGUI, String initPath) in d:\wwwSites\EmpregosOnline\www.empregosonline.pt\Ofertas\Detalhe.aspx.cs:693
   Ofertas_Detalhe.Page_Load(Object sender, EventArgs e) in d:\wwwSites\EmpregosOnline\www.empregosonline.pt\Ofertas\Detalhe.aspx.cs:141
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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