HomeHome Product Discus... Product Discus...SmithCartSmithCartCheck out - exception Check out - exception
Previous
 
Next
New Post
11/19/2010 11:24 AM
 

Hi,

having a problem when attempting to checkout. Had been running 3.9, adding 1 or more items to shopping cart, then clicking check out and getting an exception. Saw that there was a version 3.92 so i upgraded to that, still getting the following exception when click 'check out' from mini cart:


11/19/2010 2:18:53 PM Page Load Exception AssemblyVersion: 5.1.4; PortalID: 6; PortalName< ...
AssemblyVersion: 5.1.4
PortalID: 6
PortalName: somePortal
UserID: -1
UserName:
ActiveTabID: 643
ActiveTabName: NEW-Store
RawURL: /NEWStore.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://somPortal/NEWStore.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 7a338532-2eee-4161-95cf-e8c3d2536639
InnerException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.MiniCart.MiniCart.GetModuleIdByName
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'. at Smith.DNN.Modules.MiniCart.MiniCart.GetModuleIdByName(Int32 tabId, String moduleName) at Smith.DNN.Modules.MiniCart.MiniCart.NavigateToOtherTabModuleViewControl(PortalModuleBase currentModuleInstance, Int32 tabId, String moduleName, String controlKey) at Smith.DNN.Modules.MiniCart.MiniCart.IbCheckout_Click(Object sender, ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Any thoughts?

Thanks!

Allen

 
New Post
11/19/2010 11:40 AM
 

The mini cart has a new settings page with a dropdown to select the buynow page name. Go to the mini cart settings and select you buynow page name and save then test again.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/19/2010 12:30 PM
 

Thanks for the swift reply!

I made the settings per your suggestion. Please note that the mini-cart is on the same page as the buy now module.

I also cleared the cache on the site (under Host Settings) and restarted the site.

However I'm still getting a similar exception:

11/19/2010 3:28:01 PM Page Load Exception AssemblyVersion: 5.1.4; PortalID: 6; PortalName< ...

AssemblyVersion: 5.1.4
PortalID: 6
PortalName: myPortal
UserID: -1
UserName:
ActiveTabID: 643
ActiveTabName: NEW-Store
RawURL: /newstore.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://myPortal/newstore.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a17dbf53-73f0-427a-8248-498f6fdb84b9
InnerException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.MiniCart.MiniCart.GetModuleIdByName
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'. at Smith.DNN.Modules.MiniCart.MiniCart.GetModuleIdByName(Int32 tabId, String moduleName) at Smith.DNN.Modules.MiniCart.MiniCart.NavigateToOtherTabModuleViewControl(PortalModuleBase currentModuleInstance, Int32 tabId, String moduleName, String controlKey) at Smith.DNN.Modules.MiniCart.MiniCart.IbCheckout_Click(Object sender, ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
11/19/2010 1:13 PM
 

So i removed the mini cart and was able to check-out.

However then I added the category module to the buy now page and got yet another error :(

11/19/2010 4:13:01 PM General Exception AssemblyVersion: 5.1.4; PortalID: -1; PortalName ...
AssemblyVersion: 5.1.4
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e47b444d-da9c-4628-85e2-9e64e0350f32
InnerException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) 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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.DeleteSearchItemWords(Int32 SearchItemId) at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection SearchItems)

 
New Post
11/19/2010 1:28 PM
 

The Category Module also needs to know the BuyNow page. Under Settings, did you configure that?

 
New Post
11/19/2010 1:33 PM
 

Yes, i had chosen the same page that the category module and the buy now module are on.

So I removed the category module and things seemed to be working ok.

I added items to the cart and checked out an order.

Then I went to the Buy Now module and reviewed the order, etc. But When I clicked the Exit button from the store admin I got the following exception:

11/19/2010 4:31:06 PM Page Load Exception _host AssemblyVersion: 5.1.4; PortalID: 6; PortalName< ...

AssemblyVersion: 5.1.4
PortalID: 6
PortalName: ChessBaseUsa
UserID: 1
UserName: _host
ActiveTabID: 643
ActiveTabName: NEW-Store
RawURL: /NEWStore/tabid/643/ctl/StoreAdminMenu/mid/2045/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://chessbaseusa.com/NEWStore/tabid/643/ctl/StoreAdminMenu/mid/2045/Default.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f02a9f50-412a-42b1-9773-e402682cdf18
InnerException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.StoreAdminMenu.IbExit_Click
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke, Version=5.1.4.3, Culture=neutral, PublicKeyToken=null'. at Smith.DNN.Modules.BuyNow.StoreAdminMenu.IbExit_Click(Object sender, ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

It feels like their is a bigger problem going on here.

 
New Post
11/20/2010 6:47 PM
 

The actual error in your dnn event viewer is a dnn error:

'DotNetNuke.Entities.Content.ContentItem' from assembly 'DotNetNuke

You are running dnn 5.1 which has know bugs I recommend you upgrade to dnn 5.5.1


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCheck out - exception Check out - exception