"VBA Study" ORA-06413: Connection not open error

Source: Internet
Author: User

Iamlaosong

I do Excel tools, connect Oracle database query data, usually can run very well, both XP and Win7 can. Later encountered a Win7 (64-bit) system, found unable to connect to the database, reported " connection is not open" error .

error Description: Sqlplus can be connected with Oracle's tool, but the macro in Excel is "ORA-06413: Connection not open" Error . such as:


Click Debug, the Error statement is:

Cnn. Open "Provider=msdaora;data source=dl580; User ID=EMSSXJK; PASSWORD=EMSSXJK; "


obviously not a statement problem, on-line check, the judge may be the directory in which the program is located in parentheses, the inspection found that the installation directory of Office software is indeed under Programs file (x86), unloading load, found still installed in that directory, although the selection of the path is not ( x86). The path (x86) is removed directly, and the system automatically re-installs a band (x86) at runtime .

I think is not the 32-bit software installed after the addition of a (x86), the experiment found not so, as long as the installation directory is not program file, enter what directory is what directory. Uninstall Office again, reinstall without the program file directory, change to office directory, problem resolution.



"VBA Study" ORA-06413: Connection not open error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.