Strange Interop.JRO Error off Server

  • Thread starter Thread starter Mr. B
  • Start date Start date
M

Mr. B

ADO.net using VB.net

I've written a simple application which will import data from one MS Access db
to another. The file is on our 2K Server.

The application works fine when I run it from VB.net... but when I create an
EXE file of my application, and then run it from my PC (ie via a Schedule...
or the EXE manually), I get the following error message:

File or assembly name Interop.JRO, or one of its dependencies, was not found.

Anyone know what is going on? It's kind of strange that it works when I'm
testing my program... but when I run the EXE... nada! Hmmmm...

I'm using .NET Framework v1.1.4322

Anyone know what's going on and a solution to this?

Regards,

Bruce
 
Cor Ligthert said:
Are you sure you using only ADO.NET and not Ado classic?

?? I'm not sure what you mean (:

I'm writting my app in VB.net and using ADO to open my Mdb file, etc. Ado
classic? Never heard of it!

Regards,

Bruce
 
¤ ADO.net using VB.net
¤
¤ I've written a simple application which will import data from one MS Access db
¤ to another. The file is on our 2K Server.
¤
¤ The application works fine when I run it from VB.net... but when I create an
¤ EXE file of my application, and then run it from my PC (ie via a Schedule...
¤ or the EXE manually), I get the following error message:
¤
¤ File or assembly name Interop.JRO, or one of its dependencies, was not found.
¤
¤ Anyone know what is going on? It's kind of strange that it works when I'm
¤ testing my program... but when I run the EXE... nada! Hmmmm...
¤
¤ I'm using .NET Framework v1.1.4322
¤
¤ Anyone know what's going on and a solution to this?

If you have added the Jet Replication Objects (JRO) library to your Project References then you need
to include the Interop.JRO.dll file in the bin folder of your application.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
¤ Anyone know what's going on and a solution to this?

If you have added the Jet Replication Objects (JRO) library to your Project References then you need
to include the Interop.JRO.dll file in the bin folder of your application.

Thanks Paul... that was an easy fix (once you know what to look for). That
for sure is a new one on me.

Works okay now... Now I'll wait for the next problem to pop up (:

Regards,

Bruce
 
Back
Top