Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   WKI.BundleNoSapQuotaHiddenDao.IBundleNoSapQuotaHidden_getOpzBundleDaQuotaHidden(Decimal idvenditaHidden) +1809
   WKI.Shops.Service.BundleService.getOpzBundleDaQuotaHidden(Decimal idopzioneHidden) +110
   prodotto_corso_view.BindProdottiForPromo(Int32 idprod) in E:\TFS\14\289\src\Prod\WebApplications\ScuolaFormazione\prodotto\corso\view.aspx.cs:723
   prodotto_corso_view.Bind() in E:\TFS\14\289\src\Prod\WebApplications\ScuolaFormazione\prodotto\corso\view.aspx.cs:835
   prodotto_corso_view.Page_Init(Object sender, EventArgs e) in E:\TFS\14\289\src\Prod\WebApplications\ScuolaFormazione\prodotto\corso\view.aspx.cs:1566
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnInit(EventArgs e) +132
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +143
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062