Errore server nell'applicazione '/'.

Riferimento a un oggetto non impostato su un'istanza di oggetto.

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere la traccia dello stack.

Dettagli eccezione: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.

Errore nel codice sorgente:


Riga 409:	stringaSQL = "SELECT product_id, product_category, product_subcategory, product_name, product_produttore, product_desc, product_price, product_sconto, product_label, product_picture, product_quantity"
Riga 410:	stringaSQL = stringaSQL & " FROM products WHERE product_produttore = '"
Riga 411:	stringaSQL = stringaSQL & marca.Replace("'", "''")
Riga 412:	stringaSQL = stringaSQL & "' AND product_label = 1 "
Riga 413:	stringaSQL = stringaSQL & "GROUP BY product_id, product_category, product_subcategory, product_name, product_produttore, product_desc, product_price, product_sconto, product_label, product_picture, product_quantity "

File di origine: D:\inetpub\webs\tecnoagrigardenit\marche.aspx    Riga: 411

Traccia dello stack:


[NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.]
   ASP.marche_aspx.BindData() in D:\inetpub\webs\tecnoagrigardenit\marche.aspx:411
   ASP.marche_aspx.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\tecnoagrigardenit\marche.aspx:109
   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


Informazioni di versione: Versione di Microsoft .NET Framework:4.0.30319; Versione di ASP.NET:4.8.4690.0