For Programmers: Free Programming Magazines  


Home > Archive > MSDN > December 2005 > Application Updater Block









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Application Updater Block
Amjath

2005-12-01, 7:01 pm

I put all my application updater block dll to GAC, to avoid keeping this
dll's in my bin folder.
After doing this all i build my project, it works fine, now i run my project
it give me an error like this,

"Unable to load configuration from the XML configuration file: 'My
Application Path'.
This can be caused by a number of problems, but the most common problem is
an incorrectly configured Updater configuration file.
The most probable sources of error are: missing nodes, incorrect attribute
names, white space within attributes or within elements, white space between
elements in the same sub-node, badly formed xml, or xml that does not conform
to the ConfigSchema.XSD."

the problem arise in the place of

When my app tries to open my app.config file (in Init() of
UpdaterConfiguration.vb - line is: _configuration =
CType(ConfigurationSettings.GetConfig("appUpdater"), UpdaterConfiguration))

I get the following error:
ConfigurationSettings.GetConfig("appUpdater")Run-time exception thrown:
System.Configuration.ConfigurationException -
Microsoft.ApplicationBlocks.ApplicationUpdater.UpdaterSectionHandler,Microso
ft.ApplicationBlocks.ApplicationUpdater does not implement
IConfigSectionHandler.

But i place the dll inside my bin folder the same code works fine, whats the
problem,i am in very critical stage,its urgent
plz give me a solution.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com