Config file not working in Windows 7

edited May 2012
I am using app config and connection string settings in LINQPad.config.

That works fine in XP but not on my windows 7 machine. I run linqpad as administrator, the config is not read only and I gave all user rights. Still the sections do not show up , and my EF4 code fails with invalid connection as the connection strings are obiously also not read (the config file has app settings and connectionstrings)

void Main()
Configuration lConfig=ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

Sign In or Register to comment.