This project has moved. For the latest updates, please go here.

How to deal with ConfigurationErrorsException was unhandled

Oct 20, 2011 at 11:50 PM
Edited Oct 20, 2011 at 11:50 PM

Downloaded the latest source code. After building Samples and trying to run them in Visual Studio 2010 and I get configuration exception when bootstrapper.Run() is called:

System.Configuration.ConfigurationErrorsException was unhandled  Message=An error occurred creating the configuration section handler for modules:

Request failed. (C:\Users\me\Documents\Visual Studio 2010\Projects\ExtendedWPFToolkitSolution\Src\Samples\Samples\bin\Debug\Samples.vshost.exe.Config line 7) 


When running in Explorer the main frame appears briefly and then program crashes.

I am administrator on my box and I must admit that figuring out .NET security-related exceptions (like this one appears to be, inner exceptions mention the need for full trust) is not my forte.

Oct 21, 2011 at 1:42 PM

When you downloaded the source code zip file, did you right-click the zip file -> click properties -> then unblock the files?

Oct 21, 2011 at 3:54 PM

That was it. Much appreciated!