Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2003-10-29
3
Medium Priority
?
5,528 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 120 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

722 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