Solved

Working with "OraOLEDB.Oracle.1" Provider with VisualBasic

Posted on 2003-10-29
3
5,527 Views
Last Modified: 2012-06-27
Hi Friends,
Can Any body help me,

i have taken one adodc control and build the connection string with "Provider=OraOLEDB.Oracle.1;Password=pwd;Persist Security Info=True;User ID=uid;Data Source=ds",cursorlocation=aduseserver;
 i am trying to fetch the data from a view,then its giving the following error

ORA-02041:CLIENT DATABASE DIDNOT BEGIN A TRANSACTION

AND ALSO I AM GETIING ERROR WITH CRYSTAL REPORT ALSO
0
Comment
Question by:srinivas_gowd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:catchmeifuwant
ID: 9648126
Reason from Oracle docs

***********************************************************************************************
ORA-02041 client database did not begin a transaction

Cause: An update occurred at a coordinated database without the coordinator beginning a distributed transaction. This may happen if a stored procedure commits and then performs updates, and the stored procedure is invoked remotely. It could also happen if an external transaction monitor violates the XA protocol.

Action: If the cause is the former, check that any commit is not followed by an update.

***********************************************************************************************
0
 
LVL 12

Accepted Solution

by:
catchmeifuwant earned 40 total points
ID: 9648137
0
 
LVL 1

Expert Comment

by:Mustak_Shaikh
ID: 9650618
srinivas_gowd,

Even i have tried this scenario at my end and it is working fine with me.
can give me some idea about your view, because i am damm sure there
is no problem from VB side.

Regards,
Mustak_Shaikh
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question