Server Error in '/' Application.

Parameter @IdProduct has no default 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.Data.OleDb.OleDbException: Parameter @IdProduct has no default value.

Source Error:


Line 586:            SQLCmd.Parameters.Add("@IdProduct", OleDb.OleDbType.BigInt).Value = eClass.vProductId
Line 587:
Line 588:            Dr = SqlCmd.ExecuteReader()
Line 589:            While Dr.Read
Line 590:                vProductOfferPrice = Dr("ProductOfferPrice")

Source File: D:\inetpub\webs\bonsaiolivoit\eCommTB-Core\eCommTB-Page.aspx.vb    Line: 588

Stack Trace:


[OleDbException (0x80040e10): Parameter @IdProduct has no default value.]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1217017
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +256
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +216
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +60
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +164
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +115
   System.Data.OleDb.OleDbCommand.ExecuteReader() +12
   _eCommTB.Store_ProductDetail() in D:\inetpub\webs\bonsaiolivoit\eCommTB-Core\eCommTB-Page.aspx.vb:588
   _eCommTB.Page_Data() in D:\inetpub\webs\bonsaiolivoit\eCommTB-Core\eCommTB-Page.aspx.vb:1327
   _eCommTB.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\bonsaiolivoit\eCommTB-Core\eCommTB-Page.aspx.vb:1359
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   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.4690.0