Re: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.

Tech-Archive recommends: Fix windows errors by optimizing your registry




qumar hussain wrote:
Hello All,

I am facing following issue:
The application flow is:

Application[ on BEA Weblogic8.1SP3]-------[create connection using
connection pool]-----> MS SQL Data base[ on windows 2003]-------[fetch
some data, using the same connection pool]------> MS SQL Data Base[On
Windows 2000].
I get following exception:

SQLException: SQLState(HY000) vendor code(7391)
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]The operation could not be performed because the OLE DB
provider 'SQLOLEDB' was unable to begin a distributed transaction.

Also post this error message to the comp.databases.ms-sqlserver group
because the message does come from the DBMS and may not have
anything to do with the JDBC driver...

Joe Weinstein at BEA Systems

.



Relevant Pages

  • Re: Handling exceptions
    ... // to open a database connection. ... // offline a SqlException will occur and the catch block ... Let's assume that there is an SQL error: this will throw an exception. ... What to show when giving an error message? ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Biztalk 2006 Tutorial 3
    ... There are some known issues w/ the tutorials. ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • RE: Concerns about exception string revealing internals/data about
    ... exceptions could return certain information as part of the error message. ... exception occurs in my program, is it possible that the exception error ... built in ADO objects in Visual Studio for Microsoft SQL Server. ... the build-in controls in SQL Server2000 or .Net winform/Asp.net controls? ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Concerns about exception string revealing internals/data about
    ... Sorry in last post I meant an "unhandled" exception should never be shown to ... exceptions could return certain information as part of the error message. ... built in ADO objects in Visual Studio for Microsoft SQL Server. ... the build-in controls in SQL Server2000 or .Net winform/Asp.net controls? ...
    (microsoft.public.dotnet.framework.clr)
  • RE: Biztalk 2006 Tutorial 3
    ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)