This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Sorry in advance if this seems slighly vague - we're tracking down a problem and while we're certain what the problem is (a database spanning trancaction on SQL Server requires RPC, which isn't allowed in our DMZ) we're still uncertain as to why its happening.
So, are there any known issues with Lightspeed (Version 3.1.1834.14582) and:
Also, does Lightspeed wrap everything up in a transaction by default?
The problem we have is summed up here:
MSDTC will need to be allowed through any firewalls on both machines as will port 134 (the RPC endpoint mapper). Check to make sure these things are setup properly and let me know if it's still failing. To expand on what is happening here: (Taken from this thread: http://social.msdn.microsoft.com/Forums/en-US/windowstransactionsprogramming/thread/71f7a219-c85d-4a04-973b-c73464f59606/)
Cheers,
Matt.
p.s. its entirely possible that we've cocked up some threading code somewhere and things are being shared that should not be shared. Still investigating.
|
|
|
Hi Matt, We dont have any known issues with the scenario you have outlined, but LightSpeed does indeed employ transactions to cover some situations. The queries generated by a call to SaveChanges are wrapped in a transaction to ensure they are atomic (see: http://www.mindscapehq.com/documentation/lightspeed/Basic-Operations/Transactions for details). Additionally the KeyTable identity generator and the Sequence identity generator will create seperate transactions for the queries that they generate to reserve a block of identifiers. That said each transaction is isolated to its connection (and to the situations mentioned above) so I would not expect there to be any ambient enlistment taking place. Do you have any transaction use in your calling code?
Jeremy |
|
|
Thanks for that - as far as I'm aware this code doesn't explicitly use transactions.
And the problem appears to have magically disappeared... Not something I was hoping for, today's going to be fun :-)
Cheers,
Matt. |
|