URI formats are not supported.

monkeybiz

Member
Joined
Mar 5, 2003
Messages
12
Location
Singapore
hELLO,..

I get this error message when i load an xmlfile from a webserver and try to save it.

Is this because I dont have the access rights or need to import or set something to get it to support URI format?

Theres no prob reading the xmlfile but only when saving...
 
umm, well i did this

xmldocument.load("http://www.somewhere.com/myXml.xml")

then made some changes to the xml file then

xmldocument.save("http://www.somewhere.com/myXml.xml")
and theres where the exception is thrown.

Is this what you mean?
By the way, I didnt do any connection to the server prior to this, just directly loaded from the website..
 
monkeybiz, you have me really confused. How do you expect anything to be able to save to a webserver? They are inherantly read-only. Otherwise, I could just save my work to http://www.microsoft.com. :P
 
thats what i thought so too.

Now Im thinking of using Java Server Pages cos Ive used it before, as everytime I try to add an Active Server page, they will prompt me for some directory which I can make no sense of..

My friend passed me something like this:
<%ConnString = "Provider=Microsoft.Jet.OLEDB.4.0; DataSource=c:\blalbalba %>

Does this mean that I can direcly access the files on the server?
 
No, thats a connection string for a database. Its possible that you could write some ASP that would write files to the webserver depending on information passed to it, but the best way would be to go in via FTP if possible.
 
Do this

Code:
Dim feed As New RSSFeed
        Dim webRead As New System.Net.WebClient
        Dim XMLDoc As XPathDocument
         Load data from web in XPathDocument
  
        XMLDoc = New XPathDocument(webRead.OpenRead(strRSSUrl))
         Makes a Node interator
        Dim docNavigator = XMLDoc.CreateNavigator()

If you want to node iterate.

Ive used WebReader because in my set of classes i access stuff that does not allways end in .xml, and XPAthDocument() doesnt like that :)
 
Hello!!
Just wanted to thank everyone for their help and advice, I have finally solved my problem by sourcing the internet for FTP class Libraries, and Im currentl using one now on trial version. Which is fine by me anyway cos its a school project, not a real live commercial thing.

In case youre wondering, I downloaded Key Technologys FTP class libraries.
 
Back
Top