Multimobile Development: Building Applications for any Smartphone
Updater Application Block for .NET config problem
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.


Peter Yang
I just downloaded the sample application for "Updater Application Block for .NET" at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/updater.asp,I started to run the application,but a exception ocurred, it is looks like this:
Unable to load configuration from the XML configuration file: 'E:\Code\Csharp\selfupdater\SayHello\bin\Debug\SayHello.exe.config'.
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.

i checked the xsd file and the xml, it seems ok, i dont know where the problem is!

can any help me?
thanks in advance

Reply to this message...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
    
Peter
Can any one help me?
"Peter Yang" <Click here to reveal e-mail address> дÈëÏûÏ¢
news:Click here to reveal e-mail address...
> I just downloaded the sample application for "Updater Application Block
for .NET" at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/updater.asp,I
started to run the application,but a exception ocurred, it is looks like
this:
> Unable to load configuration from the XML configuration file:
'E:\Code\Csharp\selfupdater\SayHello\bin\Debug\SayHello.exe.config'.
> 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.
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
First volume of Multimobile Development nearly ready to go to press
A mention on Developing for the iPhone and Android: The pros and cons
 
    
DotNetJunkies User
Hello Peter,

did you ever solve this problem? I am working with sharpdevelop as well and I am encountering exactly the same problem. Did you solve it?

Jan

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Frasse
Hi Peter and Jan,
did you solve the problem?
I'm getting nowhere...

/F
--------------------------------
Reply to this message...
Vote that this is a GOOD answer...
 
First chapters of Multimobile Development book now available on Apress Alpha program
iPad
 
    
DotNetJunkies User
I have the same problem now, did you solve it?

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Reply to this message...
Vote that this is a GOOD answer...
 
New book project – Multimobile Development: Building Applications for any Smartphone
Dive into HTML5
 
    
Mark Travis
Hey guys,

I got the same problem last night.

Unable to load configuration from the XML configuration file: 'E:\Project
Work\AppLauncher\bin\SKM.Windows.Client.AppLauncher.exe.config'.
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." String

On debugging the Microsoft Application Block updater, I discovered that as
the block reads the configuration file, it validates locally specified
directories and files (must be full path and must exist).

Although the error states that there is a problem with the xml file, my
problem was that a directory I had specified did not exist.

I hope this helps

Mark

"DotNetJunkies User" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]


Reply to this message...
Vote that this is a GOOD answer...
 
 
 




Multimobile Development: Building Applications for any Smartphone
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734