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 588:            SQLCmd.Parameters.Add("@IdProduct", OleDb.OleDbType.BigInt).Value = eClass.vProductId
Line 589:
Line 590:            Dr = SqlCmd.ExecuteReader()
Line 591:            While Dr.Read
Line 592:                vProductOfferPrice = Dr("ProductOfferPrice")

Source File: D:\inetpub\webs\edilcaputoit\eCommTB-Core\eCommTB-Page.aspx.vb    Line: 590

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\edilcaputoit\eCommTB-Core\eCommTB-Page.aspx.vb:590
   _eCommTB.Page_Data() in D:\inetpub\webs\edilcaputoit\eCommTB-Core\eCommTB-Page.aspx.vb:1356
   _eCommTB.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\edilcaputoit\eCommTB-Core\eCommTB-Page.aspx.vb:1389
   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