Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
parthi4u
 
Posts: n/a
Default XL - Oracle connection Error


Hi All,

I have written a VB macro in XL to pull some data from the Oracle
datadase and display it on the XL.

My macro is working fine in some PCs and its throwing an error in the
rest.

The error is

Run-time error '-2147467259 (80004005)':
Oracle error occured, but error message could not be reterived from
Oracle

Am using the following code to connect to Oracle.
Cn.Open "Provider=MSDAORA.1;Data Source =" & Input1.Database.Value &
";User Id= " & Input1.UserID.Value & ";Password=" &
Input1.Password.Value & ";Persist Security Info=False"

Pl help me in finding the solution.

Thanks,
Parthiban


--
parthi4u
------------------------------------------------------------------------
parthi4u's Profile: http://www.excelforum.com/member.php...o&userid=27075
View this thread: http://www.excelforum.com/showthread...hreadid=467640

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime error '1004' General ODBC error star_lucas New Users to Excel 0 August 29th 05 04:09 PM
Ignore error msgs in formula references gharden Excel Discussion (Misc queries) 4 June 17th 05 12:14 AM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 7 March 7th 05 06:29 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 0 February 28th 05 06:26 PM
ERROR Pinto1uk Excel Discussion (Misc queries) 1 February 8th 05 03:15 AM


All times are GMT +1. The time now is 04:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"