Setting the servicebus to transactional="false" seems to help the
situation.  I'm unsure of what negative consequences it might have,
but it fixes my immediate issue.

On Jun 4, 8:13 am, JakeS <[email protected]> wrote:
> It seems that if I try to open a simple connection to a SQL Server
> database within the Consume() method of a consumer, it throws an
> exception:
>
> "Network access for Distributed Transaction Manager (MSDTC) has been
> disabled. Please enable DTC for network access in the security
> configuration for MSDTC using the Component Services Administrative
> tool."
>
> I've enabled network access for MSDTC on the sql server, but it's not
> helping.
>
> It's the only database connection I'm making.  It occurs when simply
> trying to open the connection, and ONLY when inside a consumer:
>
> public void Consume(MessageType message)
> {
>     using (var conn = new SqlConnection(connectionString))
>     {
>         conn.Open(); //BOOM CRASH
>     }
>
> }
>
> My consumer is running inside an IStartableServiceBus.  Does anyone
> know what's going on here?  And better yet, how I can avoid it?

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to