Last post Oct 25, 2016 12:49 PM by Eric Du
Oct 24, 2016 01:54 AM|aoshi_kh|LINK
OracleConnection objConnection = new OracleConnection(System.Configuration.ConfigurationManager.ConnectionStrings["Connection"].ConnectionString);
using (OracleTransaction OracleTransaction = objConnection.BeginTransaction())
using (OracleBulkCopy OracleBulkCopy = new OracleBulkCopy(objConnection, OracleBulkCopyOptions.Default, OracleTransaction))
OracleBulkCopy.DestinationTableName = "OP_TTP_TBL";
My code as above with the reference I using in my page, but I always hit error 'The type or namespace name 'OracleBulkCopy' could not be found (are you missing a using directive or an assembly reference?)
Anyone know how to resolve of this? try to search from Google and tested many way also same..
If I added //using Oracle.DataAccess;
it will showing "Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Oct 25, 2016 12:49 PM|Eric Du|LINK
According to your description and error message , As far as I know , you can try set your Application pool enable property to false . here is the detail of solve method, you can reference it .
Could not load file or assembly ‘ChilkatDotNet2’ or one of its dependencies. An attempt was made to load a program with an incorrect format：