Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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
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…

710 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