Unable to load OraOps10w.dll:Invalid access to memory location

2 posts, 0 answers
  1. Tracy
    Tracy avatar
    8 posts
    Member since:
    Mar 2013

    Posted 14 Nov 2013 Link to this post

    I have been working on OpenAccess with Oracle for about a year.

    Soem days ago, I noticed that the visual designer throw the exception:
    Unable to load OraOps10w.dll:Invalid access to memory location
     photo img3_zpsd571cd14.jpg

     photo img4_zps86e822d1.jpg

    In the programe runtime,  also exists the same exception. for example:
    Sunny.Model.Person person = new Sunny.Model.EntitiesModel().People.First();

    run the code above will throw the same OraOps10w.dll exception.

    But, I found that reference the Oracle.DataAccess.dll and read data from database outside OpenAccess without any exception.

    Even more incredible is that if open a OracleConnection before the OpenAccess operation:
    new Oracle.DataAccess.Client.OracleConnection(connectionString).Open();
    Sunny.Model.Person person = new Sunny.Model.EntitiesModel().People.First();

    the code will run without any exception. but I can not find a solution to solve the exception throw from the visual designer.

    I have tried to reinstall "Oracle Data Access Components 10", grant all permission to everyone to the oracle directoy, and update the OpenAccess to the latest version, and so on... but the exception still exist.

    Thank you for any help in advance!
  2. Ralph Waldenmaier
    Admin
    Ralph Waldenmaier avatar
    202 posts

    Posted 14 Nov 2013 Link to this post

    Hi Tracy,
    You said you are working with the Product for about a year. What has changed recently on your machine? Was everything working before? Have you upgraded your project to a newer .NET version?
    According to this information, have you referenced the assemblies that match your .NET framework version?

    To provide more help on this, can you elaborate a bit more about your environment? Which Oracle Client are you using? Which architecture is your project? x86 vs. X64. Which Visual Studio are you using?

    I am looking forward to hearing from you soon and getting this solved with you.

    Regards,
    Ralph Waldenmaier
    Telerik
    OpenAccess ORM Q3 2013 simplifies your model operations even further providing you with greater flexibility. Check out the list of new features shipped with our latest release!
  3. DevCraft banner
Back to Top