Ralph,
no joy with any of your suggestions. I had already checked permissions and
on all the files that I could see were relevant, the permissions were
identical.
The web site you referenced deals with SQL Server and Access, and I couldn't
see anything relevant to the particular Oracle problem that we have. The text
of the message is "Oracle error occurred, but error message could not be
retrieved from Oracle."
I have been working on Citrix 1 and 2 and ignoring 3 for the moment. On both
servers, I can connect to the Oracle databases directly via sqlplus, which
tells me that all the Oracle database and networking is functioning
correctly. I have also found that the Citrix 2 VBA is not making the
connection to the listener on the database server, where both Citrix 1 and
sqlplus on Citrix 2 do connect. Somewhere between connection.open and the
Oracle host listener is where the problem occurs. I have also swapped from
ver 2.5 to 2.7 on the problem machine, and the situation is unchanged.
Another curious piece of the puzzle i have just found out, if you run
outside of debug mode and click on "End" when the error message comes up, the
data is loaded anyway! I don't think it is a good idea though to get users
used to ignoring error messages.
> > > Darryl
> >
[quoted text clipped - 27 lines]
>
> -ralph
Ralph - 25 May 2006 11:00 GMT
> Ralph,
>
[quoted text clipped - 52 lines]
> >
> > -ralph
I agree. Providing instructions to ignore error messages does usually
install much customer convidence. <g>
ADO is a data access library which works with an Oracle OLE DB provider to
access the Oracle database. The fact that sqlplus works only indicates that
Oracle is installed - not whether the ADO provider and Oracle are configured
correctly.
By "permissions" I was referring to the whole gambit of properties
associated with a particular "Profile" which includes not only ACLs, but
environ variables, registery entries, logical paths, etc.
The fact you can still receive data leads me to suspect some kind of
datatype issue (eg, the ToDate() fix mentioned in a link below.)
http://www.intranetjournal.com/ix/msg/39969.html
http://support.microsoft.com/kb/q264012/
http://www.bauerfoto.com/OracleConnectFix_EnvVariable.html
Oracle OLE DB providers:
http://www.oracle.com/technology/software/index.html
And now for the silly question - you did install the Oracle Client on the
Citrix 2/3 servers using /install mode, right?
-ralph
Darryl - 26 May 2006 01:09 GMT
I have trouble believing that it is a data type problem because the exact
same spreadsheet/VBA works 100% correctly on Citrix 1. Thus I believe the is
external to the spreadsheet. I am fairly convinced that the problem lies in
the configuration on Citrix 2 and is external to both the spreadsheet and to
Oracle networking on the host system. I have then narrowed down the search to
somewhere between "connection.Open" method in the VBA code and the Oracle
listener on the host. Given that the only change between Citrix 1 and 2 is
the machine and OS itself, it has to be an environmental problem somewhere.
After sending the previous and searching the system further, there is some
evidence that the Oracle clients may not have been cleanly installed. I have
passed this on to the manager responsible for installing them and asked him
to check it out. A corrupted registry or similar could explain the problem.
> I agree. Providing instructions to ignore error messages does usually
> install much customer convidence. <g>
[quoted text clipped - 22 lines]
>
> -ralph
Ralph - 26 May 2006 03:59 GMT
> I have trouble believing that it is a data type problem because the exact
> same spreadsheet/VBA works 100% correctly on Citrix 1. Thus I believe the is
[quoted text clipped - 36 lines]
> >
> > -ralph
If you ever find out, please post back.
-ralph