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.