We are getting this error intermittently and I have failed to find find a solution
since I don't fully understand the issue.

All I can gather is that the transaction is running too long and this is the cause
of the problem (?)

If someone could suggest a solution I would really appreciate it, or give more
clues on the cause of the error.

Shortening the time the transaction runs is not really possible since we use a payment
gateway which can take up to 2-3 minutes.

PL.

Re: Transaction context in use by another session by Pablo

Pablo
Mon Mar 14 17:33:37 CST 2005

Can you post some details around your scenario and on what you code is doing
when this occurs?

--
Pablo Castro
Program Manager - ADO.NET Team
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.


"PL" <pblse2@yahoo.se> wrote in message
news:u0EeHkuJFHA.4012@TK2MSFTNGP09.phx.gbl...
>
> We are getting this error intermittently and I have failed to find find a
> solution
> since I don't fully understand the issue.
>
> All I can gather is that the transaction is running too long and this is
> the cause
> of the problem (?)
>
> If someone could suggest a solution I would really appreciate it, or give
> more
> clues on the cause of the error.
>
> Shortening the time the transaction runs is not really possible since we
> use a payment
> gateway which can take up to 2-3 minutes.
>
> PL.
>



Re: Transaction context in use by another session by PL

PL
Wed Mar 16 23:45:02 CST 2005

I shortened the path in the code that needed to be in the transaction by skipping
the Transaction="Required" and instead using a SqlTransaction object and it seem
to work much better.

The error appeared when I tried to access another database using a different
connection string, I was loading localized language resources from a completely
different database, apparently this caused an issue when being in the same transaction.

However, the error didn't always appear, possibly because I was caching the resources.

PL.

"Pablo Castro [MS]" <pablocas@online.microsoft.com> skrev i meddelandet news:%23TeBC5OKFHA.2132@TK2MSFTNGP14.phx.gbl...
> Can you post some details around your scenario and on what you code is doing when this occurs?
>
> --
> Pablo Castro
> Program Manager - ADO.NET Team
> Microsoft Corp.