I get this error from my migration of NUnit to Team System when running some of the tests in Visual Studio:
Test method XXX.XXX.Data.Tests.Path.Method> threw exception: System.Configuration.ConfigurationException: Invalid section name. The section 'dataConfiguration' does not exist in the requested configuration file 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vstesthost.exe.Config' or the file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config'. Make sure that the 'enterpriseLibrary.configurationSections' configuration section exists in one of the files and that the section 'dataConfiguration' is defined..
- We are assuming it is the enterprise
library, what is needed in the
"configuration section" for my tests to work? - Where does one usually find the configuration file in team system?
- Also why is the application still working and the tests not?