Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Generic COM API Error
Posted 20 set 2018, 10:29 GMT-4 General, API, COMSOL Server Version 5.3 0 Replies
Please login with a confirmed email address before reporting spam
Hi,
I found and adapted a COM based connection to the Comsol server to use with different prog. languages (mainly python). The original author and version is from git ("cmphy"). I can start the server, build the ModelUtil and ComsolUtil COM dispatcher. As soon as I try to connect to the server, I'm getting
APIError: Exception occured: ((0, 'ComsolCom', 'COMSOL API can only run in Excel Add-In.', None, 0, -2146233088)
Any idea of a fix or is this the COMSOL way of saying "no third party, please"?
Hello Max Elfner
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.