I have installed the current newest NUnit version from http://nunit.org/ (2.6.0.12051).
When I try running nunit.exe file, I get the ConfigurationErrorsException with a message saying: "Configuration system failed to initialize". It also contains an InnerException with a message "Unrecognized configuration section startup. (C:\Program Files (x86)\NUnit 2.6\bin\nunit.exe.Config line 10)".
If I launch nunit-86.exe, it works although it uses exactly the same config file.
I compared the Machine.config on my machine with Machine.config from the clean virtual machine and they are identical. Also, nunit.exe works on the clean VM, therefore something might be wrong with my development machine.
.NET 4 is installed on my machine. It runs Windows 7 x64.
How could this be fixed? What might be the causes for such behavior?