Today I encountered an old Asp.net + Oracle problem, solved the old problem, and found a new problem.

Source: Internet
Author: User

Today, when I used Asp.net as a WAP website, I encountered the following problems:

09:35:59-2147467259
09:35:59 system. Data. oledb. oledberrorcollection
At 09:35:59, the Oracle client and network components were not found. These components are provided by Oracle and are part of Oracle 8i (or higher) client software installation.

These components cannot be used before they are installed.Program.
09:35:59 Microsoft ole db provider for Oracle
09:35:59 at system. Data. oledb. oledbconnection. processresults (int32 hr)
At system. Data. oledb. oledbconnection. initializeprovider ()
At system. Data. oledb. oledbconnection. open ()
At WAP. Data. getdata (int32 servicetype, string ID, string & content)

This problem has been solved before, but is not recorded. I forgot to go to Google to search for information about the permission to access the bin directory of the Oracle installation directory, you can solve this problem by adding the ASPnet and iuser_machine users and giving them the execution permission. After doing so, you can solve the problem. However, these users are deleted and can still be used normally. Is it because the permission takes effect until the next start? Shouldn't it, because the machine is not restarted when the user is added, strange?

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.