Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8219 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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? crazy.gif" border="0

  • 8 months later...

This topic is 8219 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.