-1

Delphi 2007 can't start anymore. I 've tried re-installed many times but still not working.

root element is missing

Danilo Casa
  • 506
  • 1
  • 9
  • 18
justyy
  • 5,831
  • 4
  • 40
  • 73
  • Thanks for asking the question, the problem just happened to me, I suspect that the EnvOptions.proj was corrupte when I ran out of disk space. The suggested answer of deleting the .proj file from Application Data\Borland\BDS\5.0 was the solution I needed – David Dyck Jul 07 '21 at 23:05

2 Answers2

4

You are probably encountering the following issue mentioned on the Delphi Wikia page:

Root element is missing

If you get the error "root element is missing" when you start the Delphi 2007 IDE, this can be caused by a corrupt file EnvOptions.proj, located in the Application Data\Borland\BDS\5.0 subdirectory of your profile. Move this file somewhere else and restart the IDE. If that was the problem, the IDE will regenerate the file and work again.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
0

I had the very same error message when Windows update force shutdown my system.

My system is Win11, and Alexandria 11.2, while I am testing my project with Android Phone. The IDE showed me "Root element is missing. it cannot process myproject.deployproj".

I tried to save the project as another project, and select the very same name as origin project file, and then recompile it.

Everything comes normal.

halfer
  • 19,824
  • 17
  • 99
  • 186
Dennies Chang
  • 564
  • 5
  • 15