Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msxml2 noob

Status
Not open for further replies.

FoxAll

Programmer
Jun 13, 2003
49
CA
Hello all,

The hardware staff change a server during the weekend. they re-install everything. They have done a great job...and they re-install FoxPro 9 and sp 2. today everything seem to work good.

But, when I start foxpro. I receive a error in the task panel manager.

0: Class definition MSXML2.DOMDOCUMENT.4.0 is not found.

So I double check on the web ...
And each XML that we suppose to receive within foxpro are now generate error.

this is the original lines :

Code:
xmlDoc = Createobject("Msxml2.FreeThreadedDOMDocument.4.0")
xmlDoc.LoadXML(Request.Form())
lcXML = xmlDoc.XML

so in a rush ! I replaced all problematic program with :

Code:
xmlDoc = CREATEOBJECT("Msxml2.DOMDocument.3.0")
xmlDoc.LoadXML(Request.Form())
lcXML = xmlDoc.XML


Now ... it's look like functional ...

What do I have to do to fix this error in foxpro, is it critical ?? ... and most important ... if I patch with something ...is this will affect all the programs again?

If you have any suggestion/ comments ?

thanks

Martin
 
They installed VFP, but not the soap toolkit, therefore you have MSXML6 perhaps, but not MSXML3 and MSXML4, which VFP need.

Only your computer is affected, not all computers running your app. The error at vfp start is coming from the task pane, which uses msxml4.

Nothing critical, you can either install the soap toolkit from the VFP CD or install MSXML3 and MSXML4 to have all functionality also in reegard of XMLTOCURSOR() function (uses MSXML3) and the XMLAdapter class (uses MSXML4).

The VFP Team may have thought it's better to not rely on downward compatibility of MSXML and hardcoded the exact version of MSXML COM components used, so there is this dependency of VFP on these MSXML versions.

It's not a downgrade I ask and you would be asking from the hardware/administrator staff, MSXML versions install in parallel.

Bye, Olaf.
 
Again, a very often quoted reference:


This also tells you what dependencies you have with VFP9 and MSXML versions (as said above). So for future reference here you see what a VFP app needs for distribution, and the same goes for VFP itself, at least in regard C++ runtime, Gdiplus.dll and MSXML.

Bye, Olaf.
 
your answer is very appreciate.
Thank you Olaf,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top