Oracle.DataAccess Error

前端 未结 5 1370
失恋的感觉
失恋的感觉 2021-01-03 06:13

I have an asp.net / C# web application running in a Windows environment. The project builds fine and runs perfectly on my local machine\'s VB.net development server.

5条回答
  •  太阳男子
    2021-01-03 06:28

    I was able to solve this by searching for Oracle.DataAccess.dll on the prod server. So instead of trying to build/deploy the project with the Oracle.DataAccess.dll from my development environment, I copied the .dll down from the prod server oracle client directory and included that as a reference instead. I also set the .dll properties "Copy Local = true" and "Specific Version" = true. So it looks like there is a mismatch between the oracle client version on my dev server and the prod server.

提交回复
热议问题