Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebService msxml4.dll Access is denied
Message
 
To
14/01/2009 18:49:07
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Web Service
Miscellaneous
Thread ID:
01373818
Message ID:
01374004
Views:
28
try loading an xml file on local drive, does it work?

>I tried to create a WebService using the VFP 9 Walkthrough ShowCustomers example.
>I used VFP 9 SP2
>XP Pro SP2
>IIS 5.1
>The dll worked fine
>When I tried to create a WebService as per the instructions, I got the following error.
>
>OLEIDispatch exception code 0 from msxml4.dll Access is denied
>
>location oweb
>number 1429
>Method addfoxcode
>Message: IF loXMLDOM.load(lcWSML)
>Line 31
>
>IF loXMLDOM.load(lcWSML)
>
>I put a halt in the _ws3utils.vcx _webservice class, addfoxcode method.
>
>
>halt()
>lcWSDL = tcWSDL
>IF EMPTY(tcWSML)
>	lcWSML = FORCEEXT(lcWSDL,"WSML")
>ENDIF
>* Load in class using XMLDOM Object
>loXMLDOM = CREATEOBJECT(MSXML4_CLASS)
>loXMLDOM.Async = .F.
>IF loXMLDOM.load(lcWSML)
>	lcWSML_XML = loXMLDOM.XML
>	IF ATC("GenericCustomTypeMapper",lcWSML_XML)#0
>		lcWSMLGTM=lcWSML
>	ENDIF
>ENDIF
>
>
>the loXMLDOM is created
>but the
>IF loXMLDOM.load(lcWSML)
>line creates the error message
>
>The debugger shows.
>lcWSML = "http://DOUGSVOSTRO/webservice2/ShowCustomers.WSML" and this file does exist.
>
>Thinking I may be denied access I have given full control
>rights (not inheritable) rights to every user for this file and its directory.
>
>I did make the changes Bernard Bout recommended ie
>lcServiceDoc = NVL(loService.Documentation,"")
>but this line is further down in the code and this error occurs before Bernard's change would kick in.
>
>Any suggestions ?
>
>Doug Spencer
Mathias Banda

Time is longer than a rope.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform