INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

PInvoke Invalid Metadata error on Oracle DB

PInvoke Invalid Metadata error on Oracle DB

(OP)
I am trying to connect to an Oracle DB using Mimer. I'm getting the following error when I execute the MpmConnection.Open.

CODE

'PatientTracking.exe': Loaded 'c:\windows\assembly\gac\mimer.mpm.data.configfile\1.2.3.1__90474c83ee7ec777\mimer.mpm.data.configfile.dll', No symbols loaded.
'PatientTracking.exe': Loaded 'c:\windows\assembly\gac\mimer.mpm.data.msoracleplugin\1.2.3.1__90474c83ee7ec777\mimer.mpm.data.msoracleplugin.dll', No symbols loaded.
'PatientTracking.exe': Loaded 'c:\windows\assembly\gac\mimer.mpm.data.internal\1.2.3.1__90474c83ee7ec777\mimer.mpm.data.internal.dll', No symbols loaded.
'PatientTracking.exe': Loaded 'c:\windows\assembly\gac\system.data.oracleclient\1.0.5000.0__b77a5c561934e089\system.data.oracleclient.dll', No symbols loaded.
'PatientTracking.exe': Loaded 'c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll', No symbols loaded.
'PatientTracking.exe': Loaded 'c:\windows\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.thunk.dll', No symbols loaded.
Error: System.TypeLoadException: Invalid PInvoke metadata format.
   at Mimer.Mpm.Data.Internal.MpmPluginConnection.Open()
   at Mimer.Mpm.Data.MpmConnection.Open()

When I use a SQL server connection string, it connects properly. Any ideas?

Thanks,
Glenn

RE: PInvoke Invalid Metadata error on Oracle DB

Glenn,

What version of Oracle are you using? Have you installed the correct ADO.NET provider for Oracle? How is your DataSource configured?

With a little more information I will try to figure out what is going wrong.

By the way, it is better to use the forum, mailing list or support request at the Mpm SourceForge site, http://sourceforge.net/projects/mimerpm.

Regards,
Fredrik Ă…lund

RE: PInvoke Invalid Metadata error on Oracle DB

(OP)
Thanks for replying. I'm connecting to an Oracle 10 database (the Mimer Provider Administrator can successfully connect -- so I <i>assumed</i> my drivers and connection string were good).

I don't know about the ADO.NET provider for Oracle -- I did install the Oracle OraClient10g package. What should I look for on my XP system?

CODE

      <dataSource dataSourceName="Oracle_Test" pluginName="MsOracle" connectionString="Data Source=SUN9;User Id=validuser;Password=validpassword;" dbmsTypeName="Oracle" />

Thanks for the pointer to the SF forum. To be honest, I thought I followed a link to the forum from the mimer.com site.

Any additional help is greatly appreciated!

--G

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close