Cannot open Solution file

Ranorex Studio, Spy, Recorder, and Driver.
MichalSk
Posts: 37
Joined: Fri Jul 10, 2020 9:23 am
Location: Pforzheim, Germany

Cannot open Solution file

Post by MichalSk » Tue Aug 18, 2020 12:34 pm

Hello together,

currently I cannot open the solution file, which I am developing..

When I try to open it (no matter whether via File Explorer or via Studio) I get an error message (attachment: Ranorex_Open_Solution_Bug.PNG).

It's pretty weird because I am already trying to opening the .rxsln file...
Other files from the directory like the Test suite or the Visual Studio solution file, I can still open, only the Solution makes problems.


Any ideas why I am getting the bug and how to fix it?
You do not have the required permissions to view the files attached to this post.

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

Re: Cannot open Solution file

Post by odklizec » Tue Aug 18, 2020 12:48 pm

Hi,

I would suggest to compare the problematic rxsln file with an existing or new one. It looks like the rxsln is somehow corrupted? Unfortunately, it's impossible to tell what's wrong without seeing the file (entire solution). Also, are you using most recent Ranorex version (9.3.2)?
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

MichalSk
Posts: 37
Joined: Fri Jul 10, 2020 9:23 am
Location: Pforzheim, Germany

Re: Cannot open Solution file

Post by MichalSk » Tue Aug 18, 2020 1:11 pm

Hello odklizec,

thanks for your fast response!

I tried many things out, also comparing the files, like you suggested but unfortunately I couldn't find the problem.

Thankfully I am using TSVN, so I could just check out the latest working version, and I am back at the business :D

So please everybody who reads that, make sure to ALWAYS use a version control system, otherwise you could experience a nasty surprise.

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

Re: Cannot open Solution file

Post by odklizec » Tue Aug 18, 2020 1:35 pm

Hi,

This is very true. Nobody should ever consider to start with TA, without proper source control system in place ;)
MichalSk wrote:
Tue Aug 18, 2020 1:11 pm
So please everybody who reads that, make sure to ALWAYS use a version control system, otherwise you could experience a nasty surprise.
BTW, have you tried to compare problematic rxsln, with the one from TSVN?
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

MichalSk
Posts: 37
Joined: Fri Jul 10, 2020 9:23 am
Location: Pforzheim, Germany

Re: Cannot open Solution file

Post by MichalSk » Tue Aug 18, 2020 2:52 pm

Hey,

to be honest, that one I didn't tried - I made try it next time, I should experience the same problem (hopefully not)...

But I am still wondering how a laptop/PC crash might have changed settings in the Ranorex Solution file.. :?: