ActiveX Server Creation Failed with no error message

조회 수: 9 (최근 30일)
Fabian Jonsson
Fabian Jonsson 2016년 6월 22일
답변: Shreeya 2024년 10월 10일
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.

카테고리

Help CenterFile Exchange에서 ActiveX에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by