Event Viewer Error

SOLVED

Just wondering if anyone has come across the following application error in event viewer. 

System Registry Error. The operating system reported "The system cannot find the file specified. " on attempting to create or open the ACCPAC International, Inc. registry subkey of the \HKEY_LOCAL_MACHINE\Software key (writable was 0)

The error sounds like Accpac is trying to write to the local machines registry. A standard user would not have the rights to do that. 

I'm reasonably sure this  error is coming from a custom VB6 application that uses the Accpac COMAPI

Sage 300 2021 PU7
Windows Server 2019

Parents
  • +1
    verified answer

    I must be going senile in my old age. I ran into this issue 4 years ago and found a workaround. The only difference is this time we weren't getting an error message pop up, the application just freezes.

    Solution:

    (This solution is for a 64 bit machine.  On a 32 bit machine simply omit the references to Wow6432Node.)

    Open the registry, navigate to HKLM\Software\Wow6432Node\Accpac International, Inc.
    Export this key to a .reg file. (this export will include all subkeys and values).
    Edit that .reg file, replacing evey reference to

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\

    with

    [HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\

    .Now log in as the affected user, and import the edited .reg file. (You can just double click on it to invoke the registry import).

     

    [1] Note that on a 64 bit computer, the actual location of the above registry key is \HKLM\Software\WOW6432Node\Accpac International, Inc., due to Registry Redirection and Reflection. – However, as far as the 32 bit programs are concerned, it is seen as being at \HKLM\Software\Accpac International, Inc. This is not the cause of the problem.

    Source: Modulo eImagepac and Sage 300 Ops Inquiry Registry Virtualisation (UAC Virtualisation) Error - Business Software Tasmania (bussofttas.com.au)

Reply
  • +1
    verified answer

    I must be going senile in my old age. I ran into this issue 4 years ago and found a workaround. The only difference is this time we weren't getting an error message pop up, the application just freezes.

    Solution:

    (This solution is for a 64 bit machine.  On a 32 bit machine simply omit the references to Wow6432Node.)

    Open the registry, navigate to HKLM\Software\Wow6432Node\Accpac International, Inc.
    Export this key to a .reg file. (this export will include all subkeys and values).
    Edit that .reg file, replacing evey reference to

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\

    with

    [HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\

    .Now log in as the affected user, and import the edited .reg file. (You can just double click on it to invoke the registry import).

     

    [1] Note that on a 64 bit computer, the actual location of the above registry key is \HKLM\Software\WOW6432Node\Accpac International, Inc., due to Registry Redirection and Reflection. – However, as far as the 32 bit programs are concerned, it is seen as being at \HKLM\Software\Accpac International, Inc. This is not the cause of the problem.

    Source: Modulo eImagepac and Sage 300 Ops Inquiry Registry Virtualisation (UAC Virtualisation) Error - Business Software Tasmania (bussofttas.com.au)

Children
No Data