Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
We run a VBA script through excel to update a Siebel database, works perfectly in x86 OS but not in x64. Obviously all the files are x86.
The code is throwing an error:
[4096] An Oracle database error has occurred. Possibly the database name is invalid.
The correct connection is definitely referenced correctly (its loaded from a cfg file setup for the actual Siebel applcation, which works fine)
The ODBC connection is shown in the odbcad32 applications (the x86 version not x64)
Through Siebel we can force it to run x86 with a parameter, is there anyway we can force excel to connect to the x86 connection?
–
–
–
You will have to use 32bit version of Excel. And have 32bit drivers for the database. I am using a similiar vb macro in excel and this still works for me.
Years ago, I based my custom excel sheet on this
Sel2xl.xls
file , and modified on it. It connects to ODBC via DSNs, and it still works till date. Try and test this on your instance, you can see the macro code if it works.
–
–
–
–
I know I'm a few months late to the party, but based on a comment on an answer above it looks like you are trying to use the custom DataDirect Oracle driver that comes packaged with Siebel. You can't use that outside of the Siebel software because it requires a license key that only the Siebel software can provide. Try it with your own DSN using the plain old Oracle ODBC driver.
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.