Web Store

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
2/26/2008 11:01:43 PM
Gravatar
Total Posts 14

Web Store

Hi. I hope this post is in the appropriate place. This software is outstanding. You have created a beautiful thing here. I am a 25 year IT/Telecom/bass/slack key guy with not too much in the way of programming. I downloaded and installed the short version bypassing the VS work for now as I wanted to see what it was like. I am going through and learning how all the pieces work and ran into a problem with the webstore. I am Hosting at discountasp.net (routeadmin.com) and have Version 2.2.4.6 MSSQL. Thanks!!  Dave

These lines from the log will probably give you enough info to help.

2008-02-26 20:25:10,034 [19192] ERROR mojoPortal.Web.Global [(null)] - 66.91.208.60-en-US - /WebStore/AdminProductEdit.aspx?pageid=4&mid=8&lang=6d81a11e-f1d3-4cd6-b713-8c7b2bb32b3f
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.ws_Product' with unique index 'IX_ws_Product'.
The statement has been terminated.
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 WebStore.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.DBProduct.AddProduct(Guid guid, Guid storeGuid, Guid taxClassGuid, String sku, String modelNumber, Byte status, Byte fullfillmentType, Decimal weight, Int32 quantityOnHand, String imageFileName, Byte[] imageFileBytes, DateTime created, Guid createdBy, DateTime lastModified, Guid lastModifedBy)
at WebStore.Business.Product.Create()
at WebStore.Business.Product.Save()
at WebStore.UI.AdminProductEditPage.Save()
at WebStore.UI.AdminProductEditPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.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 ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.webstore_adminproductedit_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-02-26 20:25:34,658 [19192] ERROR mojoPortal.Web.mojoBasePage [(null)] - System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.ws_Product' with unique index 'IX_ws_Product'.
The statement has been terminated.
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 WebStore.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.DBProduct.AddProduct(Guid guid, Guid storeGuid, Guid taxClassGuid, String sku, String modelNumber, Byte status, Byte fullfillmentType, Decimal weight, Int32 quantityOnHand, String imageFileName, Byte[] imageFileBytes, DateTime created, Guid createdBy, DateTime lastModified, Guid lastModifedBy)
at WebStore.Business.Product.Create()
at WebStore.Business.Product.Save()
at WebStore.UI.AdminProductEditPage.Save()
at WebStore.UI.AdminProductEditPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.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)
2008-02-26 20:25:34,674 [19192] ERROR mojoPortal.Web.Global [(null)] - 66.91.208.60-en-US - /WebStore/AdminProductEdit.aspx?pageid=4&mid=8&lang=6d81a11e-f1d3-4cd6-b713-8c7b2bb32b3f
System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.ws_Product' with unique index 'IX_ws_Product'.
The statement has been terminated.
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 WebStore.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.DBProduct.AddProduct(Guid guid, Guid storeGuid, Guid taxClassGuid, String sku, String modelNumber, Byte status, Byte fullfillmentType, Decimal weight, Int32 quantityOnHand, String imageFileName, Byte[] imageFileBytes, DateTime created, Guid createdBy, DateTime lastModified, Guid lastModifedBy)
at WebStore.Business.Product.Create()
at WebStore.Business.Product.Save()
at WebStore.UI.AdminProductEditPage.Save()
at WebStore.UI.AdminProductEditPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.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)
2008-02-26 20:25:34,752 [19192] ERROR mojoPortal.Web.Global [(null)] - 66.91.208.60-en-US - /WebStore/AdminProductEdit.aspx?pageid=4&mid=8&lang=6d81a11e-f1d3-4cd6-b713-8c7b2bb32b3f
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.ws_Product' with unique index 'IX_ws_Product'.
The statement has been terminated.
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 WebStore.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at WebStore.Data.DBProduct.AddProduct(Guid guid, Guid storeGuid, Guid taxClassGuid, String sku, String modelNumber, Byte status, Byte fullfillmentType, Decimal weight, Int32 quantityOnHand, String imageFileName, Byte[] imageFileBytes, DateTime created, Guid createdBy, DateTime lastModified, Guid lastModifedBy)
at WebStore.Business.Product.Create()
at WebStore.Business.Product.Save()
at WebStore.UI.AdminProductEditPage.Save()
at WebStore.UI.AdminProductEditPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.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 ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.webstore_adminproductedit_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-02-26 20:38:11,822 [19192] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_End
2008-02-26 20:42:00,861 [6068] INFO mojoPortal.Web.Global [(null)] - Application Started.
 

2/27/2008 6:43:55 AM
Gravatar
Total Posts 18439

Re: Web Store

Hi,

The WebStore feature is considered experimental at this time. There is still much work to be done to make it a complete.

I've moved the e-commerce forums to this page so they are easier to find.

Currently I'm working on porting the WebStore to MySql so I can use it on this site. This should lead to more progress on the feature.

Joe

2/28/2008 11:20:40 PM
Gravatar
Total Posts 14

Re: Web Store

Thanks for the update. I am very interested in this.

Dave

You must sign in to post in the forums. This thread is closed to new posts.