Skip to main content

Uniface 9: Error while registering DLL into COM

  • November 19, 2018
  • 3 replies
  • 0 views

Jan Cees Boogaard

Error while registering DLL into COM

Author: osti@romagnole.com.br (osti)

Hi everyone,   Whenever i'm trying to generate a DLL using the command "/sto /mwr=COM /cfg=cfgname dllname.dll SERVICENAME", the following error appears: ... Registering the new DLL into COM ... Error: The new DLL failed the COM self-registration Error: COM component generation failed: UACT error -1   Any ideas?

3 replies

Jan Cees Boogaard

Error while registering DLL into COM

Author: osti@romagnole.com.br (osti)

Hi everyone,   Whenever i'm trying to generate a DLL using the command "/sto /mwr=COM /cfg=cfgname dllname.dll SERVICENAME", the following error appears: ... Registering the new DLL into COM ... Error: The new DLL failed the COM self-registration Error: COM component generation failed: UACT error -1   Any ideas?

Not running it as someone with permissions to register dlls (not adminstrator?)


Author: Iain Sharp (i.sharp@pcisystems.co.uk)

Jan Cees Boogaard

Error while registering DLL into COM

Author: osti@romagnole.com.br (osti)

Hi everyone,   Whenever i'm trying to generate a DLL using the command "/sto /mwr=COM /cfg=cfgname dllname.dll SERVICENAME", the following error appears: ... Registering the new DLL into COM ... Error: The new DLL failed the COM self-registration Error: COM component generation failed: UACT error -1   Any ideas?

Iain Sharp said Not running it as someone with permissions to register dlls (not adminstrator?)  

Yes, indeed. We have an issue with that... All the .asn, .ini, forms, signatures are in a fileserver, wich are shared between developers. When I run as an administrator, the local administrator profile cannot access the shared folder, resulting that I can't run the idf at all.


Author: osti (osti@romagnole.com.br)

Jan Cees Boogaard

Error while registering DLL into COM

Author: osti@romagnole.com.br (osti)

Hi everyone,   Whenever i'm trying to generate a DLL using the command "/sto /mwr=COM /cfg=cfgname dllname.dll SERVICENAME", the following error appears: ... Registering the new DLL into COM ... Error: The new DLL failed the COM self-registration Error: COM component generation failed: UACT error -1   Any ideas?

Use \\\\servername\\folder and not a mapped network drive to solve you issue


Author: Stijn Courtheyn (stijn.courtheyn@xperthis.be)