Server Error in '/pagineinterne' 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.]
   Insiel.PortaleConsiglio.Dal.Portale.IterLeggi.RicercaIterLeggi.creaQuery(fonteDati fonte, AttoParametriRicercaIterLeggi elencoParametriIter, String tabella) in d:\PortaleConsiglio2020\Insiel.PortaleConsiglio.Dal\Portale\IterLeggi\RicercaIterLeggi.cs:418
   Insiel.PortaleConsiglio.Dal.Portale.IterLeggi.RicercaIterLeggi.ElencoRicercaIterLeggi(List`1 fontiDati, AttoParametriRicercaIterLeggi elencoParametriIter) in d:\PortaleConsiglio2020\Insiel.PortaleConsiglio.Dal\Portale\IterLeggi\RicercaIterLeggi.cs:331
   Insiel.PortaleConsiglio.Bll.Bll.IterLeggi.RicercaIterLeggi.ElencoRicercaIterLeggi(List`1 fonteDati, AttoParametriRicercaIterLeggi elencoParametriIter) in d:\PortaleConsiglio2020\Insiel.PortaleConsiglio.Bll\Bll\IterLeggi\RicercaIterLeggi.cs:47
   PortaleConsiglio.Portale.IterLeggi.IterLeggiLista.CaricaLista(AttoParametriRicercaIterLeggi elencoParametriIter, String dtUltimaModifica) in d:\PortaleConsiglio2020\Portale\IterLeggi\IterLeggiLista.aspx.cs:183
   PortaleConsiglio.Portale.IterLeggi.IterLeggiLista.Page_Load(Object sender, EventArgs e) in d:\PortaleConsiglio2020\Portale\IterLeggi\IterLeggiLista.aspx.cs:146
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


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