Execption thrown while insertion and edit

Last post 01-23-2008 10:48 AM by mameenkhn. 0 replies.

Sort Posts:

  • Execption thrown while insertion and edit

    01-23-2008, 10:48 AM
    • Loading...
    • mameenkhn
    • Joined on 09-23-2005, 6:56 AM
    • Posts 1

    I have created a web application using Blinq.

    When I m inserting a record it is giving me following exception :

    {"Cannot access a disposed object.\r\nObject name: 'Transaction'."}

    Following is the stack trace: 

    " at System.Transactions.Transaction.get_TransactionInformation()\r\n at System.Data.DLinq.DataContext.OnTransactionCompleted(Object sender, TransactionEventArgs args)\r\n at System.Data.DLinq.SqlClient.SqlContext.RaiseTransactionCompleted(TransactionEventArgs args)\r\n at System.Data.DLinq.SqlClient.SqlConnectionManager.b__0(Object sender, TransactionEventArgs args)\r\n at System.Transactions.TransactionCompletedEventHandler.Invoke(Object sender, TransactionEventArgs e)\r\n at System.Transactions.InternalTransaction.FireCompletion()\r\n at System.Transactions.TransactionStatePromotedCommitted.EnterState(InternalTransaction tx)\r\n at System.Transactions.TransactionStatePromotedBase.ChangeStatePromotedCommitted(InternalTransaction tx)\r\n at System.Transactions.InternalTransaction.DistributedTransactionOutcome(InternalTransaction tx, TransactionStatus status)\r\n at System.Transactions.Oletx.RealOletxTransaction.FireOutcome(TransactionStatus statusArg)\r\n at System.Transactions.Oletx.OutcomeEnlistment.InvokeOutcomeFunction(TransactionStatus status)\r\n at System.Transactions.Oletx.OutcomeEnlistment.Committed()\r\n at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(Object state, Boolean timeout)\r\n at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)"

Page 1 of 1 (1 items)
Microsoft Communities
Page view counter