Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default XL - Oracle Connection error


Hi All,

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

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

The error is

RUN-TIME ERROR '-2147467259 (80004005)':
ORACLE ERROR OCCURED, BUT ERROR MESSAGE COULD NOT BE RETERIVED FRO
ORACL

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,
Parthiba

--
parthi4
-----------------------------------------------------------------------
parthi4u's Profile: http://www.excelforum.com/member.php...fo&userid=2707
View this thread: http://www.excelforum.com/showthread.php?threadid=46594

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
link ODBC connection to an Oracle database Richard Excel Discussion (Misc queries) 1 November 5th 06 04:29 PM
XL - Oracle connection Error parthi4u Excel Discussion (Misc queries) 0 September 14th 05 08:45 PM
ADO Connection to ORACLE 9.2 through EXCEL fails Dave Bash Excel Programming 5 November 14th 04 06:32 AM
connection to oracle with excel andy[_6_] Excel Programming 1 August 10th 04 03:53 PM
returning a spreadsheet from code - ASP, OO4O Oracle Database connection starbucknfinity Excel Programming 0 May 7th 04 03:16 PM


All times are GMT +1. The time now is 10:24 AM.

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

About Us

"It's about Microsoft Excel"