Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

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

asked 4 years ago

updated 4 years ago

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

Preview: (hide)

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  ( 4 years ago )

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  ( 4 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

updated 4 years ago

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.

Preview: (hide)
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  ( 4 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

3 followers

Stats

Asked: 4 years ago

Seen: 682 times

Last updated: Jun 05 '20