Solution to ASP connection to Oracle database using ADO

Source: Internet
Author: User
Tags driver manager

Error

----------- Connectionstring:
Provider = oraoledb. Oracle; Data Source = ORACLE; user id = sinodigital; Password = AAAAA;
------------ Err. Description:
Provider cannot be found. It may not be properly installed.
----------- Connectionstring:
Provider = msdaora.1; Password = AAAAA; user id = sinodigital; Data Source = ORACLE; persist Security info = true
------------ Err. Description:
Oracle client and networking components were not found. these components are supplied by Oracle Corporation and are part of the Oracle version 7.3.3 or later client software installation. provider is unable to function until these components are installed.

----------- Connectionstring:
DSN = dl; uid = sinodigital; Pwd = AAAAA; server = ORACLE;
------------ Err. Description:
[Microsoft] [ODBC driver manager] driver's sqlallochandle on SQL _handle_env failed

 

Cause: the authenticated users user permissions in the Oracle installation directory folder are insufficient. As a result, the system cannot access the Oracle directory when creating a database connection to an ASP file.

Solution: oracle9.2 is used as an example.

1. In the Oracle Installation Directory of the web server, right-click and select Properties of the ora92 folder.

2. on the "Security" Page, unselect the "read and run" permission of the authenticated user (For A Long Time) and click "OK ".

3. Open the properties page again, select "read and run" of the authenticated user on the "Security" page, and click "OK ".

If the "Security" page is not displayed, deselect "use simple file sharing (recommended)" under "Tools"> "View" and click "OK.

Related Article

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.