Error deleting Download Terms Item

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/29/2010 12:23:49 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Error deleting Download Terms Item

Hi,

When I try to delete an item from the Download Terms Admin page I get an error saying...

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.
 

I believe that this may be my issue with getting the Store to show the Check Out link...

Thanks

Squire Dude

9/29/2010 1:05:21 PM
Gravatar
Total Posts 18439

Re: Error deleting Download Terms Item

No it is not related to paypal configuration. Possibly it won't let you delete it if there are orders already that used that download terms.

To find out the error see

http://www.mojoportal.com/basic-troubleshooting.aspx

Hope it helps,

Joe

10/1/2010 11:21:33 AM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: Error deleting Download Terms Item

Hi,

Here is the error after turning "cusotmErrors Mode= "Off"...

--------------------------------------------------------------------------------

The DELETE statement conflicted with the REFERENCE constraint "FK_ws_FullfillDownloadTicket_ws_FullfillDownloadTerms". The conflict occurred in database "MS_SQL_SMS", table "dbo.ws_FullfillDownloadTicket", column 'FullfillTermsGuid'.
The statement has been terminated.
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.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_ws_FullfillDownloadTicket_ws_FullfillDownloadTerms". The conflict occurred in database "MS_SQL_SMS", table "dbo.ws_FullfillDownloadTicket", column 'FullfillTermsGuid'.
The statement has been terminated.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_ws_FullfillDownloadTicket_ws_FullfillDownloadTerms". The conflict occurred in database "MS_SQL_SMS", table "dbo.ws_FullfillDownloadTicket", column 'FullfillTermsGuid'.
The statement has been terminated.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +204
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
mojoPortal.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +136
mojoPortal.Data.SqlParameterHelper.ExecuteNonQuery() +19
WebStore.Data.DBDownloadTerms.Delete(Guid guid) +106
WebStore.Business.FullfillDownloadTerms.Delete(Guid guid) +32
WebStore.UI.AdminDownloadTermsPage.grdFullfillDownloadTerms_RowDeleting(Object sender, GridViewDeleteEventArgs e) +164
System.Web.UI.WebControls.GridView.OnRowDeleting(GridViewDeleteEventArgs e) +133
System.Web.UI.WebControls.GridView.HandleDelete(GridViewRow row, Int32 rowIndex) +569
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +869
System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) +95
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) +123
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

----------------------------------------------------------

Please let me know if you would like a copy of the lines in the Log File.

Thanks

Squire Dude

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