IIS Web site program does not have access to Oracle

Source: Internet
Author: User

System environment: Win7 + IIS7

ORA-12560:TNS: Protocol Adapter error when an ASP. NET application accesses the Oracle database.

Using the C/S program to access the database is no problem, plsql is no problem, the Oracle driver installation is not a problem.

There is no problem using the Visual Studio Development server, so determine whether IIS settings or permissions are an issue.

Then, as a general practice, the Oralce installation directory is licensed to the network service, as well as to the users specified by anonymous users in IIS.

The result is still the same error;

Finally, change the user identity of the application pool to the local system and successfully resolve the issue.

IIS Web site program does not have access to Oracle

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.