Solved

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

Posted on 2003-10-29
3
5,519 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
  • 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
Read about achieving the basic levels of HRIS security in the workplace.
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now