Newbies telemark Posted September 12, 2001 Newbies Share Posted September 12, 2001 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? Link to comment Share on other sites More sharing options...
timolous Posted May 22, 2002 Share Posted May 22, 2002 Did you get it work? Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8153 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now