This is a migrated thread and some comments may be shown as answers.

No active transaction.

1 Answer 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Omar
Top achievements
Rank 1
Omar asked on 08 Jun 2013, 11:27 AM
Exception Message : No active transaction.

Exception Description :    at OpenAccessRuntime.ExceptionWrapper.Throw()
   at OpenAccessRuntime.DataObjects.OpenAccessPersistenceManagerImp.checkActiveTx()
   at OpenAccessRuntime.DataObjects.OpenAccessPersistenceManagerImp.rollbackImp()
   at OpenAccessRuntime.DataObjects.OpenAccessPersistenceManagerImp.rollback()
   at OpenAccessRuntime.DataObjects.SynchronizedPMProxy.rollback()
   at Arcom.OA.DAL.DataProvider.RollbackTransaction() in D:\soft\BackUp\AhmedSenjab_Hover\Arcom.Projects.NewsWiz\Arcom.OA.DAL\DataProvider.cs:line 136
   at Arcom.MessageQueue.ServiceConfiguration.TimeStamp(DateTime stamp) in D:\soft\BackUp\AhmedSenjab_Hover\Arcom.Projects.NewsWiz\Arcom.MessageQueue\ServiceConfiguration.cs:line 466
   at Arcom.MessageQueue.MessageController.TimeStamp(DateTime stamp) in D:\soft\BackUp\AhmedSenjab_Hover\Arcom.Projects.NewsWiz\Arcom.MessageQueue\MessageController.cs:line 395
   at Arcom.WinService.FtpReader.FtpReader.OnElapsedTime(Object source, ElapsedEventArgs e) in D:\soft\BackUp\AhmedSenjab_Hover\Arcom.Projects.NewsWiz\Arcom.WinService.FtpReader\FtpReader.cs:line 93

Exception Source : Telerik.OpenAccess.Runtime

Exception InnerException :

Exception Data : System.Collections.ListDictionaryInternal

Exception HelpLink :

Exception Method : System.Exception Throw()
End exception

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 10 Jun 2013, 02:24 PM
Hi Omar,

 The exception message suggests that you are calling 'IObjectScope.Transaction.Rollback()' without calling 'IObjectScope.Transaction.Begin()' before. Please ensure that a  call to 'Rollback' or 'Commit' is preceded by a call to 'Begin'

Do get back in case you need further assistance. 

Regards,
Ady
Telerik
OpenAccess Samples Kit boasts 50+ sample applications providing diverse real-life business solutions. Click to read more and see OpenAccess ORM in action.
Tags
General Discussions
Asked by
Omar
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or