Results 1 to 10 of 10
  1. #1
    Yasser is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    5

    missing reference to mso.dll with some access 2010 machines when running ade, adp correct

    I have an application compiled on access 2003 on XP.
    It is installed on a server and there is a mechanism that copies on the client side the ade file when it detects a version change.

    Some new machines are running access 2010 runtime with Windows 7 64 bits and 32 bits office (did not verify access runtime)


    Most of those machines are running fine but some have a missing or broken reference to mso.dll version 2.3 (dll for office 2003). The error comes from a function that checks all the references during the initialization of our app. Mso.dll is located on the problematic machines under office 14 (office2010) and found under registery.

    When looking closely at the machine, I am able to run the adp file of the exact same version with no error while the ade gives the error.

    Any idea what could cause this error or what are the possible solutions?

    Thank you

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    ...server and there is a mechanism that copies...
    I would guess an ade file would run fine as long as the machine that compiled it was using an earlier version of Access (I think you could still do this with A2007??). After the ade file is compiled, make sure another machine does not try to open it.

    According to Microsoft, adp files can still be opened with A2010.

  3. #3
    Yasser is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    5
    But some machines with access 2010 do run fine and some don't.
    So I would guess that there is something specific with those problematic machines!

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Are they all running ade's. Maybe one or two are running the adp?

    If one machine is working and another is not, you are going to have to find out what is different. The only other thing I can think of is that two machines tried to open the same ade or adp file. Each machine needs to have their own front end files, locally or over a network (as long as it is their own). If two battle for a single file, one machine might work when the other does not. Or, both will not work because the file will stop working.

  5. #5
    Yasser is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    5
    Each machine has its own front end Ade file copied locally by our mechanism so no battle for files possible.

    Adp file was just a test that i did myself as an admin but cannot be accessed by regular users.

    But now that I think of it, the adp was executed while still on the server while ade file is copied locally on the machine!!

    Could this mean something?

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by Yasser View Post
    ...But now that I think of it, the adp was executed while still on the server while ade file is copied locally on the machine!!
    ...
    This is something I avoid doing. I avoid it because I have been able to break files on purpose. I have used two machines to open a single file over a network. The two machines are different hardware, OS, version of Access. Eventually, the file breaks. I have done this with mdb files but have not tried it with accdb files. FWIW

  7. #7
    Yasser is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    5
    I did some additional tests and here is what I found.

    On the majority of the access 2010 machines, adp and ade files work fine.

    On 6 machines:
    Adp files work fine.
    Ade files created with access 2003 give mso.dll missing reference error
    Ade files created with office 2010 works fine.

    But we need to keep files compatible with both 2003 and 2010.

    Not sure why those 6 machines that were installed with same packages and image as the rest of the working machines have this problem

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I really don't have an answer. I would think that references to Microsoft Office would update themselves when opening the ade or adp. Perhaps there is a nuance between the executable and the adp. Beyond that, all I can do is guess why the symptoms between different machines running Office 2010. So, I will guess some machines had an earlier version of office installed and their registry has the dll registered with the old path, avoiding the error.

    But, it sounds like you have all the clients working. I go through the trouble of producing version specific apps regardless. So, your situation does not seem so bad to me. I mean, now that your clients are all working.

  9. #9
    Yasser is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    5
    I guess you are right.

    Thanx a lot for your answers

  10. #10
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    You bet. And I forgot to mention that you could change VBA code from early binding to late binding in an effort to avoid the error. Maybe you have some code that uses early binding to automate Outlook or something.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 10-19-2012, 02:21 AM
  2. Missing Reference dll files
    By YaseenIskaf in forum Programming
    Replies: 2
    Last Post: 08-22-2012, 10:21 AM
  3. Missing Reference
    By lrobbo314 in forum Access
    Replies: 1
    Last Post: 04-20-2012, 07:13 PM
  4. Missing Reference
    By teebumble in forum Access
    Replies: 17
    Last Post: 10-05-2011, 01:35 PM
  5. Replies: 1
    Last Post: 06-23-2011, 07:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums