none
VS2010/.Net 4 and ADODB/JRO RRS feed

  • Question

  • We are upgrading a project from VS2005 to VS2010 targeting .Net 4.

    We had a COM type library reference to Jet and Replication Objects (MSJRO) which is not available in the new project. In the list of COM Type Library references MSJRO is no longer listed in VS2010. It is shown in VS2008 and below. If I try to browse to the DLL directly (at \Program Files\Common Files\System\ado\msjro.dll) we get a "Could not add a reference" error saying "Please make sure the file is accessible, and that it is a valid assembly or COM component."

    Does anyone know if this component has been filtered from the COM reference list, or should I be looking toward specific problems on my system?

     

    Thanks in advance!
    - Everett

    Wednesday, October 6, 2010 3:57 PM

Answers

  • Why you want to use the deprecated JRO? The last version of JRO was released 9 years ago. If you just want to compress database you probably want to switch to the native DAO methods.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    • Marked as answer by eryang Thursday, October 14, 2010 6:20 AM
    Wednesday, October 6, 2010 6:55 PM

All replies

  • Why you want to use the deprecated JRO? The last version of JRO was released 9 years ago. If you just want to compress database you probably want to switch to the native DAO methods.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    • Marked as answer by eryang Thursday, October 14, 2010 6:20 AM
    Wednesday, October 6, 2010 6:55 PM
  •  

    Hi,

     

    Could you please try to generate interop assembly with Tlbimp.exe, and then add reference to the generated interop assembly?

     

    To use Tlbimp.exe, you may need to launch the Visual Studio Command Prompt (2010): Click Start, point to All Programs, point to Microsoft Visual Studio 2010, point to Visual Studio Tools, and then click Visual Studio Command Prompt (2010).

     

    If Tlbimp.exe reports any error, could you please post the error details here? You can also try to run the Tlbimp.exe within Visual Studio 2008 Command Prompt if you have VS2008 installed.


    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Thursday, October 7, 2010 1:46 AM