ActiveX Server Creation Failed with no error message

5 次查看(过去 30 天)
I'm trying to call a dll using an activeX server (KULI 64-bit dll, matlab R2015b x64). I register the activeX server in a try/catch block and output the error message, but the only message I recieve is "Server Creation Failed: ".
KULI = actxserver('KuliAnalysis2.KuliAnalysisCtr2.10.1SR1.x64');
I have registered the dll in the registry, and added the folder to the windows path.
How can I proceed with the error analysis?

回答(1 个)

Shreeya
Shreeya 2024-10-10
Hello
Server creation failure can be caused due to an unclean registry. The wrong CLSID may be referenced for the MATLAB.Application node in the registry. Follow the below mentioned steps to resolve this issue:
  1. Unregister all installed MATLAB versions using unregserver startup flag.
  2. Go through the registry and delete any CLSIDs and references to the MATLAB automation server.
  3. After ensuring that the registry is cleaned up, register the required MATLAB version.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by