Ole Error 80030002
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project reason code: 0x80030002 Hire for a Full Time Job Ways to Get Help Expand Search Submit 0x80030002 restart Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts error code 0x80030002 Exchange > Questions > OLE Error 80030002 Want to Advertise Here? Solved OLE Error 80030002 Posted on 2007-03-22 MS Development-Other System Programming 1 Verified Solution 7 Comments 4,241 Views Last Modified: 2013-11-25 I am coding a Program in Borland C++ Builder 5. I am using ADO Connections, queries, datasets, and command components. I am initializing the COM Objects with CoInitialize(NULL), but i am always getting a return value of S_FALSE. I realize that this means that the COM Library is already open, but I only do this call once and have a corresponding CoUninitialize for the CoInitialize. Everything works fine until a try to connect to the SQL Server database with the ADO Component. As soon as I do an ADOConnection1->Open(), I get an error OLE Error 80030002. I have found out by reading other issues with this error and found that it is a file not found error. I decided to try to run the program on another computer and to my amazement the program works fine. Obviously there is something wrong with my computer. Does anybody have an idea as to what I need to look for or fix in order for my computer to run this program? 0 Question by:trs28 Facebook Twitter LinkedIn Google LVL 1 Best Solution byalireza815 hi i faced the same problem. after searching for solution, i found that the adoconnection could not find the UDL file. so i provide the total phisical path to the UDL file and the problem resolved. Go to Solution 7 Comments LVL 11 Overall: Level 11 System Programming 4 MS Development-Other 3 Message Expert Comment by:DeepuAbrahamK2007-03-24 ADO components may not be registered/may not be ava
only NT (Administrator Privileges). Thanks Pierre FinalFile Delphi Developer Tue, 25 Nov 2003 14:19:33 GMT Re:OLE Error 80030002 FYI, the error occurs when there's no connection string :( Quote"FinalFiler"
Server, Internet Protocols, Database, Exchange . » Development » Microsoft Programming » OLE » Problem: OLE http://microsoft.programming4.us/forums/t/3687.aspx Error 80030002 Problem: OLE Error 80030002 05-28-2009 12:03 PM Problem: OLE Error 80030002 I am coding a Program in Borland C++ Builder 5. I am using ADO Connections, queries, datasets, and command components. I am initializing the COM Objects with CoInitialize(NULL), but i am always getting a return ole error value of S_FALSE. I realize that this means that the COM Library is already open, but I only do this call once and have a corresponding CoUninitialize for the CoInitialize. Everything works fine until a try to connect to the SQL Server database with the ADO Component. As ole error 80030002 soon as I do an ADOConnection1->Open(), I get an error OLE Error 80030002. I have found out by reading other issues with this error and found that it is a file not found error. I decided to try to run the program on another computer and to my amazement the program works fine. Obviously there is something wrong with my computer. Does anybody have an idea as to what I need to look for or fix in order for my computer to run this program? Filed under: OLE, 80030002, error 05-28-2009 12:03 PM In reply to Solution: OLE Error 80030002 hii faced the same problem.after searching for solution, i found that the adoconnection could not find the UDL file.so i provide the total phisical path to the UDL file and the problem resolved.by.My code : con.connectionstrong="File Name=tc.udl";true code : con.connectionstring="File Name=c:\\tc.udl";