Critical Error: Data Store Internal Exception

The data store used by eCommerce Framework generated the internal exception.


Resolution:
This error is caused by data store (web services) generating unhandled exception. You will need to look into data store log to determine details of this exception. The error message below might give a clue as well.

Error Message:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ObjectDisposedException: Safe handle has been closed at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) at SNINativeMethodWrapper.SNIPacketReset(SafeHandle pConn, IOType ioType, SafeHandle packet) at System.Data.SqlClient.TdsParserStateObject.WriteSni() at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush() at System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Mediachase.eCF.DataLayer.Provider.SqlDataProvider.LoadTable(DataCommand command) in C:\Inetpub\wwwroot\Mediachase\SqlDataProvider\SqlDataProvider.cs:line 170 at Mediachase.eCF.DataLayer.DBCategory.LoadByPrimaryKey(Int32 CategoryId, Int32 CustomerId, Int32 AccessLevel) at Mediachase.eCF.BusLayer.SiteStructure.Categories.Category.LoadByPrimaryKey(Int32 CategoryId) at Mediachase.eCF.BusLayer.SiteStructure.Categories.CatalogManager.GetProductCategory(Int32 CatId) at Mediachase.eCF.BusLayer.SiteStructure.Products.Sku.get_Discounts() at Mediachase.eCF.BusLayer.Promotions.Discounts.DiscountManager.GetDiscounts(ICartItem[] items, ICartItem currentitem) at Mediachase.eCF.BusLayer.Orders.ShoppingCartItem.get_Discounts() at Mediachase.eCF.BusFacade.Filters.Cart.CartFilter.GetCart(Cart& cart, Int32 CustomerSessionId, String currencyCode, String[] responseGroup, IList`1& errorArray) in C:\Inetpub\wwwroot\Mediachase\eCFFacadeLayer\Filters\Cart\CartFilter.cs:line 110 at Mediachase.eCF.BusFacade.Filters.Cart.CartFilter.Process(ContentProcessor processor) in C:\Inetpub\wwwroot\Mediachase\eCFFacadeLayer\Filters\Cart\CartFilter.cs:line 57 at Mediachase.eCF.BusFacade.Engine.PipelineManager.ExecutePipeline(ContentProcessor processor, IList`1& errors) in C:\Inetpub\wwwroot\Mediachase\eCFFacadeLayer\Engine\PipelineManager.cs:line 67 at Mediachase.eCF.BusFacade.CartManager.CartGet(CartGet getCart) in C:\Inetpub\wwwroot\Mediachase\eCFFacadeLayer\CartManager.cs:line 175 at Mediachase.eCF.BusFacade.eCFCommerceService.CartGet(CartGet getCart) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Mediachase.eCF.ClientLib.Objects.eCFCommerceServiceWse.CartGet(CartGet getCart) at Mediachase.eCF.ClientLib.ClientCart.GetCart()

  For more information visit http://www.mediachase.com.