September 12, 200124 yr Newbies I am having trouble with the simplest beginning to read an xml file from my fmp db. In the head i have <% Dim objxml 'xml initialisation Set objxml = Server.CreateObject("Microsoft.XMLDOM") objxml.async = false objxml.validateOnParse = true objxml.load("http:.../FMPro?-db=dbname.fp5&-format=-dso_xml&-max=1&-findall") If objxml.readyState = 4 And objxml.parseError.errorCode = 0 Then Response.Write "Doc is good" Else .. code to desribe the error End If %> This fails with a message "load and parse failed because No data is available for the requested resource". However, the db is not empty. When I use the url "http:.../FMPro?-db=dbname.fp5&-format=-dso_xml&-max=1&-findall"directly in the Address line of the browser, I get the expected xml file displayed. What am I doing wrong?
Create an account or sign in to comment