RAD Studio : Error when launching IDE. How to correct this?

907 Views Asked by At

Just install the RAD Studio with default option and when I start IDE, I have the following error message.

Any idea ?

One more stuff : Exception

Add: I try to install on a VM … and it's ok. So it's something on my PM but what?

2

There are 2 best solutions below

2
On BEST ANSWER

I "just do it" manually with

regasm "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\Embarcadero.Studio.Modeling.dll"
0
On

It looks like it wasn't able to register (initialize) a package because the ...Modeling.dll is missing or isn't where it's expected to be.

In Windows 10 in a corporate environment, there could also be some permissions issues, especially if an uninstall / reinstall doesn't fix it.

I'd look at the folder structure and see what's there. Are the BPLs and DLLs where they're expected to be? Do you have full admin rights to the folders? Also, do all of the files have full accessibility to everybody or just the Admin user?

You need to run the installer with elevated permissions for Win 10, although the IT Dept can impose stricter limitations than inside of VMs. This can lead to files being installed but not accessible when you launch the program.

(The last place I was at, we had a separate Admin login from our normal login. We'd use it to install stuff. But component libs would sometimes go into ProgramFiles and sometimes into the User's Documents folder. Perms on those two folder trees were handled differently, and the components would be installed as only visible to the Admin and the IDE couldn't load them up. It was quite a PITA.)