ActiveX Server Creation Failed with no error message

5 ビュー (過去 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 Center および File ExchangeActiveX についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by