Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Read about achieving the basic levels of HRIS security in the workplace.
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
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…

735 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