Does anyone know why when I load an Xml document using the XML DOM, then
turn around and save it again, I get "URI Formats are not supported."  What
are URI formats and why are they not supported?

This is a Windows Service app that uses a configuration file.  When the
service executes, I want the service to update the Xml document with the
date and time it was last executed.  No big deal here.

However, it seems that running this as a service apps requires some security
or authentication that I am not providing.  The folder that contains the Xml
document has it's security wide open, at least I think it does.

So I am not sure what this error is telling me.  Any ideas how I could
update this Xml document via a Windows Service?  Any ideas why I'm running
into this error?

Any help or suggestions would be very much appreciated.  I found a few
references to this on the web, but they all seem to have to do with web
services and not windows services.  So the solutions they offer to not fit
what I am doing.  There was one that used a resolver, but I cannot figure
out the equivalent windows code.  It was attached to the Server.MapPath()
object and that's not available in winform apps.  I tried
System.IO.Path.GetDirectoryName. But do not see a way to add the resolver to
this.  And then... I'm not even sure if this is the correct approach.

Any ideas?

Best regards,

Greg Rothlander

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to