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:


Line 61:                 mMySqlCommand.CommandType = Data.CommandType.Text
Line 62: 
Line 63:                 strSql = "SELECT * FROM SHOPPINGCART_TBL WHERE SESSIONID='" & myCookie.Values("ShopID").ToString() & "'"
Line 64:                 mMySqlCommand.CommandText = strSql
Line 65: 

Source File: C:\Inetpub\vhosts\itech-media.com\libidoplus.de\warenkorb.aspx.vb    Line: 63

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   shoppingBasket.CHECK_OFFER() in C:\Inetpub\vhosts\itech-media.com\libidoplus.de\warenkorb.aspx.vb:63
   shoppingBasket.Page_Init(Object sender, EventArgs e) in C:\Inetpub\vhosts\itech-media.com\libidoplus.de\warenkorb.aspx.vb:41
   System.Web.UI.Control.OnInit(EventArgs e) +95
   System.Web.UI.Page.OnInit(EventArgs e) +13
   System.Web.UI.Control.InitRecursive(Control namingContainer) +139
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +408


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