Error when I run my C# program that work's with Oracle

痞子三分冷 提交于 2019-12-11 13:45:06

问题


I Made Setup from my C# program (that work's with Oracle 10g)

when I try to run this program - in different Computer, i got this error message:

unable to load dll 'OraOps10.dll'

what it can be ?

thank's in advance


回答1:


If you're using the Oracle ODP (Oracle.DataAccess.Client) and not the default Microsoft ODP (System.Data.OracleClient) then you have to download install the Oracle Data Access Compontents before you can use it. So installing the ODAC must be the part of your deployment process.




回答2:


Maybe, just maybe, oracle isn't installed on this 'different Computer'?




回答3:


Either Oracle is not installed or the oracle dll can't be found for some reason.




回答4:


I've came across this and various Oracle errors before. It is usually an authorization issue, provided that of course, Oracle is installed and configured correctly.

Locate the 'ORACLE_HOME' folder, right click and set the security settings. Make sure the SYSTEM account has permission to Read & Execute the files in the folders and all subfolders and files. If you're accessing Oracle from a web application, do this for the ASP.NET user.

For more information see also: http://forums.oracle.com/forums/thread.jspa?threadID=67364



来源:https://stackoverflow.com/questions/776720/error-when-i-run-my-c-sharp-program-that-works-with-oracle

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!