[emsg-apps] Prop 300 Error (live)

  • From: huey@xxxxxxxxxxxxxxxxx
  • To: emsg-apps@xxxxxxxxxxxxx
  • Date: 30 Mar 2007 14:56:31 -0700

The following error was generated at 3/30/2007 2:56 PM.
------------------------------------------------------------
Exception: System.Data.SqlClient.SqlException
Method   : Void OnError(System.Data.SqlClient.SqlException, Boolean)
Error    : Violation of PRIMARY KEY constraint 'PK_Student'. Cannot insert 
duplicate key in object 'Student'.
The statement has been terminated.

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.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   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.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.ExecuteReader(CommandBehavior behavior)
   at 
Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteReader(DbCommand 
command, CommandBehavior cmdBehavior)
   at 
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DbCommand 
command)
   at SecureEdit.GetStudentName(String studentID, String preparer)


----------------------------------------------------------------------
You are currently subscribed to receive system alert messages sent to
the EMSG APPS list.

You can send email to the list using the address:
    emsg-apps@xxxxxxxxxxxxx

You can unsubscribe from the list using the address:
    emsg-apps-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject.

If you need assistance, contact the list owners at:
    emsg-apps-moderators@xxxxxxxxxxxxx

Other related posts: