TonyVFP


When using the XMLTOCURSOR() function in version 9, I receive the follow message [msxml3.dll : The system cannot locate the specified object ]. Steps taken include uninstalling VFP9 and reinstalling both 7 and 9 and installing the service pack and registering the dll separately. The code works fine in version 7 but not in 9;

Test Code

lcxmlalias = 'xmlalias'

lcfilename = 'c:\indir\pfpcxmlfile2.xml'

XMLTOCURSOR('c:\indir\pfpcxmlfile2.xml',lcXMLAlias,512)

Anyone encountered this issue. any ides would be helpful




Re: msxml3.dll error when using XMLTOCUROSR()

dni


May be the dll file is not registered and you may use regserv.exe to register (with run).





Re: msxml3.dll error when using XMLTOCUROSR()

TonyVFP

used regserv32.exe to register previously no help, is regserv.exe different from regserv32.exe




Re: msxml3.dll error when using XMLTOCUROSR()

Alex Feldstein

First of all I'd recommentd to install the latest versions

msxml3 (SP5)

http://www.microsoft.com/downloads/details.aspx familyid=4A3AD088-A893-4F0B-A932-5E024E74519F&displaylang=en

msxml4 (SP2)

http://www.microsoft.com/downloads/details.aspx FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&displaylang=en

That should solve most problems. Make sure you install in all boxes using your program.





Re: msxml3.dll error when using XMLTOCUROSR()

TonyVFP

Attempted registering DLL and various version through to xml 6.0 and still receiving error. Attempt same on different workstation in standalone environment still receiving error.



Re: msxml3.dll error when using XMLTOCUROSR()

AndyKr

>> Attempted registering DLL and various version through to xml 6.0 and still receiving error

I ran your code on my machine using an XML file of my own. It works just fine!

Sorry but this has to be a set up problem on your end - the syntax is undoubtedly correct and works when the correct classes are registered properly and the XML file is properly formatted.