The project file could not be loaded

Ask general questions here.
Posts: 14
Joined: Wed Jan 07, 2015 10:01 pm

The project file could not be loaded

Post by AndyS » Tue Mar 17, 2015 6:27 pm

I opened up the Ranorex application today and received the following error.

The project file could not be loaded. Unexpected end of file has occurred. The following elements are not closed: Compile, ItemGroup, Project. Line 167, position 3.

Why has this occurred and how can I retrieve my project?


User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: The project file could not be loaded

Post by odklizec » Tue Mar 17, 2015 6:50 pm


It sounds like a corrupted solution/project? I would suggest you to backup the solution and load the last working version from source control. If you don't have any previous (working) version, you could send the existing solution to Ranorex support ([email protected]) and hope they can fix it.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration