Registering the QSComApi DLL

You are here:

All Quota Server command-line tools and scripted integrations require that the QSComApi.dll is registered. This is done by default during installation of the NSS package but a manual registration may be required in some cases. If the ComApi is not registered the errors “Class not registered” or “Abnormal program termination” may be displayed when commands are executed.

REGISTRATION ON A SERVER WHERE THE NSS PACKAGE IS INSTALLED

1 Open the Command Line Interface (CLI) on the server where you wish to register the QSComApi.dll.
2 If you’re registering the QSComApi.dll on a 32bit system, the file that should be registered is located in the ‘QS’ folder, by default located on the C drive.

Execute the following command:
regsvr32.exe c:\Program Files\Northern\Storage Suite\QS\QSComApi.dll

If you’re registering the QSComApi.dll on a 64bit system, the file to be registered is located in the ‘x64’ folder, by default located on the C drive.

Execute the following command:
regsvr32.exe c:\Program Files\Northern\Storage Suite\QS\x64\QSComApi.dll

REGISTRATION ON A SERVER WHERE THE NSS PACKAGE IS NOT INSTALLED

1 Registration of the QSComApi.dll on a host where the NSS package has not been installed requires that certain files are copied that server.

Locate the files listed below on a server where the NSS package has been installed, and copy them to a folder on the server where you wish to register the QSComApi.dll.

installation-path\NORTHERN\Storage Suite\QS\CM32UT4.DLL
installation-path\NORTHERN\Storage Suite\QS\CM32CR3.DLL
installation-path\NORTHERN\Storage Suite\QS\CM32CT6.DLL
installation-path\NORTHERN\Storage Suite\QS\CM32L6S.DLL
installation-path\NORTHERN\Storage Suite\QS\CM32DW4.DLL
installation-path\NORTHERN\Storage Suite\QS\CM32L6.DLL
For 32bit systems: installation-path\NORTHERN\Storage Suite\QS\QSComApi.DLL
For 64bit systems: installation-path\NORTHERN\Storage Suite\QS\x64\QSComApi.DLL

2 Open the command line interface (CLI) on the machine where you wish to register the QSComApi.dll.

Execute the following command:
regsvr32.exe [path to the copied files]\QSComApi.DLL

VERIFY RESULTS

1 This information notification should be displayed when registration has been successful.

COMMON ISSUES

Class not registered
The error ‘Class not registered’ may be displayed when you attempt to use one of the Quota Server command Line tools. The most likely cause is that the wrong version of the QSComApi.DLL has been registered (32bit / 64bit). Refer back to the steps above and ensure you have followed the correct steps for the operating system on the machine where you are trying to register the dll.

STILL NOT WORKING?

If you weren’t able to find your solution in this or other KB articles then please open a case with Northern’s Support Team to receive direct assistance.

Last updated: September 17, 2019
×