If possible step into the code (you can recompile the configuration assembly in debug mode and distribute the PDB file) to see where in the code it breaks, but my guess is permissions are at fault here.
+++ Rick ---
If possible step into the code (you can recompile the configuration assembly in debug mode and distribute the PDB file) to see where in the code it breaks, but my guess is permissions are at fault here.
+++ Rick ---
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException:
Source Error:
Line 240: Provider = provider;
Line 241: if (!Provider.Read(this))
Line 242: throw new InvalidOperationException(Provider.ErrorMessage);
Line 243: }
Line 244:
"
When I test the XmlConfiguration in a WPF project (.NET 4.5), I get also an error "An unhandled exception of type 'System.InvalidOperationException' occurred in Westwind.Utilities.Configuration.dll "
protectedvirtualvoid OnInitialize(IConfigurationProvider provider, string sectionName,object configData) {if (provider == null) provider = OnCreateDefaultProvider(sectionName, configData); Provider = provider; if (!Provider.Read(this))thrownew InvalidOperationException(Provider.ErrorMessage); }
txs in advance
-Vince