Error: "Object variable or With block variable not set" when opening NuGenesis Archive Template Builder - WKB17046
Article number: 17046
SYMPTOMS
- The following error message appears when creating a new or opening an existing SDMS Archive Template:
- Run-time error '91': Object variable or With block variable not set
- The Archive Template Builder program does not run.
ENVIRONMENT
- NuGenesis 9 SDMS
- NuGenesis 8 SDMS
CAUSE
A program file was not registered in the system
FIX or WORKAROUND
- Open a command prompt with admin rights and enter the following command:
- For servers or 64-bit clients:
- C:\Windows\syswow64\regsvr32.exe C:\Windows\syswow64\NgArMSLObs.dll
- For 32-bit clients:
- C:\Windows\system32\regsvr32.exe C:\Windows\system32\NgArMSLObs.dll
- For servers or 64-bit clients:
ADDITIONAL INFORMATION
Generically, the message "object variable or with block variable not set" when it occurs during program load, means that a necessary DLL file could not be found or is not registered. In the case of the NuGenesis Archive Template Builder, the file NgArMSLObs.dll is the most likely reason for the error. If registering this file does not solve the problem, then use the Process Monitor and/or Dependency Walker tools to identify the required DLLs for the program.
id17046,