Results 1 to 4 of 4
  1. #1
    agiercke is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    8

    ACCDE fails to load VBA on random workstations

    I have created a database to track leave requests for staff. After upgrading from XP to Win7 and upgrading to Access 2010, some workstations will not run the ACCDE front end, but the ACCDB runs fine.

    I am storing the front end ACCDE in C:\Users\%username%\appdata\Roaming which is trusted - and I do not receive a warning for this. When the ACCDE loads I receive the message that "The database cannot be opened because the VBA project contained in it cannot be read.". I have tried running the application with different users to eliminate privilege issues. All the workstations are built from the same image and I cannot find any missing references or different patches. The workstations in question are running RUNTIME version.

    I have checked for missing references in the dev version. I have compiled the database right before creating the ACCDE, finally I have run the app with the -DECOMPILE option.

    I appreciate any advice in trying to isolate this issue. I am sure there is something different on the machines, but I cannot determine what that is.



    Allan

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I don't have an answer. Do the users have permission to read/write in that location? Where is the backend located? I have been reading some user group info recently where permissions(or lack of) has locked the backend from users making it exclusive.

  3. #3
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Apart from above suggestion, check the version number of VBE7.dll located here C:\Program Files (x86)\Common Files\microsoft shared\VBA\VBA7 on development machine and target machine. I faced this problem with WinXP +Access 2010 runtime on one machine as the VBE7.dll version was lower than the development machine. A workaround I used was to decompile the database and compile using the VBE7.dll file from the target machine copied to development machine. I am not sure whether this method, though solved my problem, was correct or not.
    Here is a article from ms knowledge base http://support.microsoft.com/kb/2533794

  4. #4
    agiercke is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    8
    Thanks for the input - it appears to be related to VBE7.DLL - the development and working systems are running v7.00.16.27 and the problem systems have v7.00.15.00 - next step will be to work with the packaging team to determine why some systems are not at the latest level.

    Allan

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

Similar Threads

  1. ACCDE to ACCDB
    By breakingme10 in forum Security
    Replies: 2
    Last Post: 01-14-2014, 10:04 AM
  2. ACCDB vs ACCDE
    By data808 in forum Access
    Replies: 8
    Last Post: 01-09-2014, 04:39 PM
  3. ACCDE Problem
    By smikkelsen in forum Access
    Replies: 1
    Last Post: 07-13-2010, 12:26 AM
  4. Convert to ACCDE through VBA
    By johnrt87 in forum Programming
    Replies: 0
    Last Post: 06-28-2010, 07:50 PM
  5. ACCDE Recisions
    By Eric1066 in forum Access
    Replies: 1
    Last Post: 11-29-2009, 11:33 AM

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