Results 1 to 4 of 4
  1. #1
    diloft is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2013
    Location
    Michigan
    Posts
    2

    access 365 crash with mso.dll version 2.8 error


    have a db created with access 7, upgraded to 10 and now 365. several of us use the db but 2 are getting the mso.dll version 2.8 crash error when they try to sign into the db. the only change is we have upgraded to office 365. all are using Dell laptops, various processor models. not really sure what is causing the db to crash for these two team mates and not for the rest, nor am I sure how to fix it. any help is greatly appreciated.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    you might have to set up conditional drivers. Depending on version, some of this code will highlight as red but when it runs it should detect your version and use the appropriate driver

    i.e.

    Code:
    Option Compare Database
    #If VBA7 Then
        Private Declare PtrSafe Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As LongPtr
        Private Declare PtrSafe Function RegEnumValue Lib "advapi32.dll" Alias "RegEnumValueA" (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpValueName As String, lpcbValueName As Long, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long
        Private Declare PtrSafe Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long
    #Else
        Private Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long
        Private Declare Function RegEnumValue Lib "advapi32.dll" Alias "RegEnumValueA" (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpValueName As String, lpcbValueName As Long, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long
        Private Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long
    #End If
    
    Const HKEY_CLASSES_ROOT = &H80000000
    Const HKEY_CURRENT_USER = &H80000001
    Const HKEY_LOCAL_MACHINE = &H80000002
    Const HKEY_USERS = &H80000003
    Const ERROR_SUCCESS = 0&
    Const SYNCHRONIZE = &H100000
    Const STANDARD_RIGHTS_READ = &H20000
    Const STANDARD_RIGHTS_WRITE = &H20000
    Const STANDARD_RIGHTS_EXECUTE = &H2000
    Const STANDARD_RIGHTS_REQUIRED = &HF0000
    Const STANDARD_RIGHTS_ALL = &H1F0000
    Const KEY_QUERY_VALUE = &H1
    Const KEY_SET_VALUE = &H2
    Const KEY_CREATE_SUB_KEY = &H4
    Const KEY_ENUMERATE_SUB_KEYS = &H8
    Const KEY_NOTIFY = &H10
    Const KEY_CREATE_LINK = &H20
    Const KEY_READ = ((STANDARD_RIGHTS_READ Or KEY_QUERY_VALUE Or KEY_ENUMERATE_SUB_KEYS Or KEY_NOTIFY) And (Not SYNCHRONIZE))
    Const REG_DWORD = 4
    Const REG_BINARY = 3
    Const REG_SZ = 1

  3. #3
    diloft is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Dec 2013
    Location
    Michigan
    Posts
    2
    nothing has changed except we now use Access 365. It works for 6 of the 8 users. nothing really different about the two users who get the error message. and I did not set up any conditionals, as far as I am aware, to determine which version of access or windows is being used. all our computers use same version OS and Access. any other suggestions?

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Ok I didn't pick that up from your original post.

    On the machines that are *not* working, are you unable to open the database at all? Even holding down the shift key until it's fully open?

    If you can get it open and get to the VBA screen you might be able to see what it's having problems with in the References.

    If you can't open it at all, you can try searching for the offending .dll and remove it from the 'bad' computers and copy a 'good' version from one of the computers that works.

    You can try what is suggested here:

    http://answers.microsoft.com/en-us/o...df1c020?auth=1

    or here

    http://microsoftsupportus.com/mso-dll-error-code/

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

Similar Threads

  1. Replies: 4
    Last Post: 06-02-2016, 09:58 AM
  2. Replies: 6
    Last Post: 02-18-2016, 10:15 AM
  3. Replies: 5
    Last Post: 07-07-2015, 01:35 PM
  4. Runtime version Access 2003 error 429
    By Docjsj in forum Programming
    Replies: 1
    Last Post: 06-25-2015, 08:14 AM
  5. Update error (3144) on French Access version
    By Euler in forum Programming
    Replies: 13
    Last Post: 02-04-2015, 02:41 PM

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