views:

62

answers:

1

Hi,

I'm using entity framework with oracle DB.

I tried to use transaction scope (because I want the option to rollback):

using (TransactionScope ts = new TransactionScope())

{

  .....

}

The problem is that when I'm trying to query inside the using statement, an exception is thrown:

"Unable to load DLL 'oramts.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

How can I solve this problem?

Thanks!

+1  A: 

This answer should answer your question :) :

TransactionScope - Unable to load DLL 'oramts.dll'

Leniel Macaferi
All the above answers are about oracle 9,10. I have oracle 11g.BTW, I don't have the oramts.dll file.What can I do?
Mattan
Do you have Oracle MTS services installed? Read here for more info about Oracle MTS - http://download.oracle.com/docs/cd/B28359_01/win.111/b28377/toc.htm
Leniel Macaferi
No... From where can I download it?
Mattan
Have you managed to download it? Is it working as expected?
Leniel Macaferi
Yes, thanks.Can I configure the timeout to be longer?
Mattan