2

Why do I get a "Run-time error '13': Type mismatch" every time I try to launch IDF editor?

For some time now I'm unable to launch the IDF editor. Every time I try (either from the EP-lauch or directly from EP installation directory) I get a Run-time error '13': Type mismatch. I've tried uninstalling and reinstalling EP and tried different versions (8.2; 8.9; 9.2 & 9.3) but I always have the same issue. I've been using EP and IDF editor for several years and I'm only having this issue since a couple of month. This issue is only on my local machine (Windows 10 - 64 bits). When I use a remote machines it works just fine.

Any idea on how to solve this?

Thanks you very much in advance and best regards!image description

Tanguy Timmermans's avatar
33
Tanguy Timmermans
asked 2020-06-04 12:50:17 -0500, updated 2020-06-05 11:41:03 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I'm not sure this fix it but there is a bugfix release of 9.3.0 that has some installer changes related to registering ocx files.

https://github.com/NREL/EnergyPlus/re...

JasonGlazer's avatar JasonGlazer (2020-06-04 14:29:33 -0500) edit

Thanks for your answer Jason. I tried installing the bugfix but still got the same issue. I really suspect an bad un-installation of a previous version but I cannot figure out how to correct this

Tanguy Timmermans's avatar Tanguy Timmermans (2020-06-05 11:39:49 -0500) edit
add a comment see more comments

1 Answer

1

Try removing the IDF Editor keys from the Windows Registry. To do this click on the Windows button and start typing Registry. That should allow you to open the Registry Editor. Go to HKEY_CURRENT_USER then SOFTWARE then VB AND VBA PROGRAM SETTINGS. You should see IDF Editor. Right click on IDF Editor and select delete and then OK when it asks if you want the subkeys deleted.

I'm not certain this will work but it is worth trying.

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2020-06-05 12:28:45 -0500, updated 2020-06-05 12:47:28 -0500
edit flag offensive 0 remove flag delete link

Comments

It was definitely worth trying! It worked like a charm, thank you very much for your help. Regards

Tanguy Timmermans's avatar Tanguy Timmermans (2020-06-06 08:37:10 -0500) edit
add a comment see more comments