Results 1 to 9 of 9

Thread: Programming Help !

  1. #1
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    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. #2
    Raw Wave
    Join Date
    Jun 2004
    Location
    On the beach
    Posts
    2,223
    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

  3. #3
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    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!

  4. #4
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    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

  5. #5
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    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

  6. #6
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    Yap, goto the Msado27.tlb in the Setup project, right mouse click and select "Exclude"
    Skinning to go... VisualDesigner2!

  7. #7
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    .

    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

  8. #8
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173

    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

  9. #9
    Low Bitrate omar's Avatar
    Join Date
    Dec 2004
    Location
    San Diego
    Posts
    89
    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.

Similar Threads

  1. Wanting to learn some programming, help me pick a language!
    By RS3RS in forum Software & Software Development
    Replies: 32
    Last Post: 10-15-2004, 05:38 PM
  2. Programming D-Link Radio Interface
    By keegan in forum Software & Software Development
    Replies: 12
    Last Post: 08-30-2004, 01:07 PM
  3. C++: GUI Programming with >NET Framework
    By [iG] in forum Software & Software Development
    Replies: 3
    Last Post: 05-24-2004, 07:57 PM
  4. batch file programming LCD's
    By mosh in forum LCD/Display
    Replies: 6
    Last Post: 05-19-2002, 01:55 AM
  5. Need to start somewhere with Hardware programming
    By 168db in forum Software & Software Development
    Replies: 7
    Last Post: 01-11-2002, 09:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •