Running Ranorex 5.4.0.24580
Running Windows 10
Upgraded from windows 8 to windows 10. Now when I attempt to Run a recording I get several hundred errors similar to the one below
The type or namespace name 'Ranorex' could not be found (are you missing a using directive or an assembly reference?) (CS0246)
I have tried rerunning the installer, first doing the repair option then again using the change settings option (though I didn't actually change any settings)
Should I just completely uninstall /reinstall? Will that negatively affect my current test suites?
Thank you
Test execution fails to start after upgrade to Windows 10
Re: Test execution fails to start after upgrade to Windows 10
Please complete a clean re-install of Ranorex.
1. Uninstall Ranorex.
2. Reboot your computer.
3. Reinstall Ranorex.
This should not affect your test suites.
The issues is that your installation of Windows 10 completely wipes out the library records for Ranorex (and possibly other software) in the Global Assemblies database in the operating system.
You may also need to re-install .NET 3.5 or 4.0 since Windows 10 comes with 4.5 (or 4.6, maybe), but that should be done by Ranorex automatically.
1. Uninstall Ranorex.
2. Reboot your computer.
3. Reinstall Ranorex.
This should not affect your test suites.
The issues is that your installation of Windows 10 completely wipes out the library records for Ranorex (and possibly other software) in the Global Assemblies database in the operating system.
You may also need to re-install .NET 3.5 or 4.0 since Windows 10 comes with 4.5 (or 4.6, maybe), but that should be done by Ranorex automatically.
Shortcuts usually aren't...
Re: Test execution fails to start after upgrade to Windows 10
Uninstalling and reinstalling seems to have done the trick.
Thank you for your help
Thank you for your help
Re: Test execution fails to start after upgrade to Windows 10
Hi,krstcs wrote:Please complete a clean re-install of Ranorex.
1. Uninstall Ranorex.
2. Reboot your computer.
3. Reinstall Ranorex.
This should not affect your test suites.
The issues is that your installation of Windows 10 completely wipes out the library records for Ranorex (and possibly other software) in the Global Assemblies database in the operating system.
is it possible to restore the missing assemblies via batch or script? We've to reinstall Ranorex on five computer after each cumulative patch of Windows 10. It would be a great easement if we could do this by script.
Regards,
BCTest
Re: Test execution fails to start after upgrade to Windows 10
There should be no need to reinstall Ranorex after Windows 10 patches. I use 10 and have no issues like that.
Are you sure that the installation of .NET worked correctly?
In addition, I would advise against trying to manually restore assembly libraries. My suggestion would be to use Jenkins to manage your remote systems. I have a Jenkins job that manages the install of new versions of Ranorex to all of my remote systems at the same time, and it works wonderfully.
Are you sure that the installation of .NET worked correctly?
In addition, I would advise against trying to manually restore assembly libraries. My suggestion would be to use Jenkins to manage your remote systems. I have a Jenkins job that manages the install of new versions of Ranorex to all of my remote systems at the same time, and it works wonderfully.
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Test execution fails to start after upgrade to Windows 10
You can (re-)install Ranorex using a batch script, see the corresponding user guide section "Silent Installation of Ranorex"BCTest wrote:is it possible to restore the missing assemblies via batch or script?
Regards,
Alex
Ranorex Team