Skip to Main Content

Oracle Developer Tools for Visual Studio

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Could not load file or assembly 'Oracle.DataAccess, Version=4.112.4.0?

BaonergesJan 26 2015 — edited Jan 27 2015

Hi Guys,

As the title says "Could not load file or assembly 'Oracle.DataAccess, Version=4.112.4.0". The program crashes when I attempt to run the following code.

OracleConnection Con = new OracleConnection(ConfigurationManager.ConnectionStrings["ConnectionString1"].ToString());

            OracleCommand sqlCmd = new OracleCommand();

            //OracleDataReader dr;

            sqlCmd.Connection = Con;

            Con.Open();

            sqlCmd.CommandText = "INSERT INTO FGID values (0, 0, 0, ' ', sysdate)";

            sqlCmd.ExecuteNonQuery();

            sqlCmd.Clone();

            MessageBox.Show("Record Inserted!");

Any help would be appreciated.

This post has been answered by svenkatn-Oracle on Jan 27 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2015
Added on Jan 26 2015
4 comments
7,024 views