Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

XmlConfiguration and WPF

$
0
0
XmlConfiguration and WPF
West Wind Application Configuration
XmlConfiguration and WPF
Jul. 16, 2013
12:32 pm
3U00QVAGHShow this entire thread in new window
Gratar Image based on email address
From:vRITHNER
To:All
Hi Rick, I'm just testing the XmlFileConfiguration in the Asp.NET sample and I get an error
"Unhandled Execution Error

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); }

Any idea what's is going on ?

txs in advance
-Vince

-Vince


Viewing all articles
Browse latest Browse all 10393

Trending Articles