Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server General > Database Error ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 2413 of 2446
Post > Topic >>

Database Error When Calling Basket.Save()

by "gfergo@[EMAIL PROTECTED] " <gfergo@[EMAIL PROTECTED] > Mar 7, 2008 at 05:37 AM

About 8 - 10 times per day we are receiving an error when calling the
Basket.Save() method.

Anyone know what could be causing this?

Thank you!

Glen Fergo


Exception Details: System.Data.SqlClient.SqlException: Cannot insert
duplicate key row in object 'dbo.OrderTemplatesAndBaskets' with unique
index 'OrderTemplatesAndBaskets_UniqueConstraints'.

StackTrace: Server stack trace: 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.SqlDataReader.HasMoreRows() at
System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
at System.Data.SqlClient.SqlDataReader.NextResult() at
System.Data.ProviderBase.DataReaderContainer.NextResult() at
System.Data.Common.DataAdapter.FillNextResult(DataReaderContainer
dataReader) at System.Data.Common.DataAdapter.FillFromReader(DataSet
dataset, DataTable datatable, String srcTable, DataReaderContainer
dataReader, Int32 startRecord, Int32 maxRecords, DataColumn
parentChapterColumn, Object parentChapterValue) at
System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable,
IDataReader dataReader, Int32 startRecord, Int32 maxRecords) 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(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) at
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) at
Microsoft.CommerceServer.Internal.Orders.MtsHelper.ExecuteSqlCommandDataSet(String
connStr, String commandText, CommandType commandType, ArrayList
sqlParameterHelpers, Int32 timeout) at
System.Runtime.Remoting.Messaging.Message.Dispatch(Object target,
Boolean fExecuteInContext) at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at
[0]: at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) at
Microsoft.CommerceServer.Internal.Orders.MtsHelper.ExecuteSqlCommandDataSet(String
connStr, String commandText, CommandType commandType, ArrayList
sqlParameterHelpers, Int32 timeout) at
Microsoft.CommerceServer.Runtime.Orders.OrderGroup.Save(Int32
maxInstances, String baseClassName, String tableInsertSprocName,
PropertyColumnMapping[] stronglyTypedMappings, PropertyColumnMapping[]
weaklyTypedMappings, DetailedSqlColumnInformation indexerColumnInfo)
at Microsoft.CommerceServer.Runtime.Orders.Basket.Save() at
CsBaseOrder.GetOrderForm(String key)
 




 3 Posts in Topic:
Database Error When Calling Basket.Save()
"gfergo@[EMAIL PROTE  2008-03-07 05:37:43 
RE: Database Error When Calling Basket.Save()
=?Utf-8?B?TGFzc2U=?= <  2008-03-09 12:39:01 
Re: Database Error When Calling Basket.Save()
shuchita <ShuchitaMano  2008-03-13 08:14:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:51:19 CST 2008.