NET use of data.oracleclient errors

Source: Internet
Author: User
Premise:

In addition to leaders and developers with administrator privileges, other people are using domain accounts.

Process:

On request to develop a Winfrom project, using data.oracleclient Local development, debugging error, put to the server shared domain user use, error ocienvcreate failure, return code is-1,

Best of all, there are many such errors on the internet, one attempt, and no end problem. However, if the domain user has administrator privileges, then the program can be used normally.

After listening to the suggestion, whether the Oracle server is not in the domain, and then add the development server to the domain, the result of PL/SQL is not connected to the Oracle server, no solution.

And then I heard data. OracleClient use is administrator permission, think about whether it is because of this problem, try to use other DLLs,

The old-fashioned oralce was used first. DataAccess local debugging error, side to the server run, the results oralce. DataAccess version conflict, no solution. then gave up.

And then try to oracle.manageddataaccess. Locally viable, on the server is also feasible, happy.

Results:

This ocienvcreate failure, the return code is-1 tortured for several days, has been unable to find a solution, in order to catch the progress, set up a WEBAPI, the workload increased, and maintenance is not good,

But can not give up the solution to the problem, today Ting, although do not know the specific reasons why, but ultimately to solve the problem.

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.