Announcement

Collapse
No announcement yet.

Programming Help !

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Programming Help !

    Hello all got a problem that has me going completely nuts ! Any help would be greatly appreciated...


    I'm releasing my frontend on to my target test machine, The front end is written in VB.Net

    On the test machine it's crashing when it tries to open the database. (here's the error) connection.class.open "class not registered" I'm using DAO 2.7 to connect, I've tried installing MDAC_27.exe which tells me that my OS has a newer version already installed (which means its 2.8) I've checked msdn and 2.8 is backwards compatible to 2.7.

    To run the app on my target machine I've basically copy and pasted the bin file, there's no dependencies that shouldn't already be on the machine...
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

  • #2
    Hey fella,

    Give the MDAC Component Checker a go to see if everything on the machine is the same MDAC version:

    http://support.microsoft.com/default.aspx?kbid=301202

    If they are different, this tool will let you replace individual files etc

    Comment


    • #3
      Using a Setup for .NET apps is always better then only copying bin files.

      If you're sure that it's the data access, you may run the MDAC ComponentChecker vom MS:
      http://www.microsoft.com/downloads/d...displaylang=en

      It helped me once when my install was messed up for any reason.
      Skinning to go... VisualDesigner2!

      Comment


      • #4
        .

        Gonna give this stuff a whirl. Boy is this frustrating..
        Progress [I will seriously never be done!]
        Via EPIA MII
        512MB RAM
        OEM GPS (embedded)
        nLite WinXP pro on
        1GB Extreme III CF card
        Carnetix 1260 startup/ DC-DC regulator
        Software: Still, re-Writing my existing front end in .Net

        Comment


        • #5
          .

          When I use the .Net setup app I get these messgages


          Error Msado27.tlb should be excluded from its source file because it's under windows file protection
          Progress [I will seriously never be done!]
          Via EPIA MII
          512MB RAM
          OEM GPS (embedded)
          nLite WinXP pro on
          1GB Extreme III CF card
          Carnetix 1260 startup/ DC-DC regulator
          Software: Still, re-Writing my existing front end in .Net

          Comment


          • #6
            Yap, goto the Msado27.tlb in the Setup project, right mouse click and select "Exclude"
            Skinning to go... VisualDesigner2!

            Comment


            • #7
              .

              I checked my mdac and its 2.8 sp1... there was another "unknown" but it was dao objects... not ADO
              Progress [I will seriously never be done!]
              Via EPIA MII
              512MB RAM
              OEM GPS (embedded)
              nLite WinXP pro on
              1GB Extreme III CF card
              Carnetix 1260 startup/ DC-DC regulator
              Software: Still, re-Writing my existing front end in .Net

              Comment


              • #8
                0x80040154

                0x80040154 Class not registered
                at ADODB.ConnectionClass.Open()
                Progress [I will seriously never be done!]
                Via EPIA MII
                512MB RAM
                OEM GPS (embedded)
                nLite WinXP pro on
                1GB Extreme III CF card
                Carnetix 1260 startup/ DC-DC regulator
                Software: Still, re-Writing my existing front end in .Net

                Comment


                • #9
                  I've gotten this before as well. Copy the file "ADODB.dll" onto your target machine. Specifically in the same path as your .NET executable. This should fix the problem.
                  MyMedia Website

                  Comment

                  Working...
                  X