×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

OLE error 1429 on a VFP web service

OLE error 1429 on a VFP web service

OLE error 1429 on a VFP web service

(OP)
Hi all:

Short version...
We are migrating VFP apps to an Windows 2003 server then to a 2016 server.
I have installed and tested one 2003 server successfully. The second 2003 server returns this error:

Error: 1429 - OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
..
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.

The installation files are exactly the same on both servers.
Permissions are identical.

I had a similar 1429 error when installing another web service. The dlls were not registered.
This time I made sure the dlls were registered.

I have googled the first line of the error but cannot find "Access is denied" anywhere.

Any hints would be appreciated

Thanks





Michael Ouellette

RE: OLE error 1429 on a VFP web service

Wel0l,

1. Even when you have a COM/OLE DLL, when VFP reports OLE errors, they happen in OLE objects the VFP code uses. They all have eror number 1429. but they can have vastly different reasonss.
2. The error message reads "...from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied

This means what it says:
a) VFP uses WSDLReade
b) That reader has Access denied to an XML file it wants to parse.

Look up what you have at hand from the vendor of this component, don't just copy over a DLL and register it. You should either have a setup or instructions what to do. But these are as important as the filea in the installation folder itself, and maybe some more runtimes files, when they were installed into the system folder.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

RE: OLE error 1429 on a VFP web service

(OP)
Thanks Olaf:

I knew it would be you answering. Last time you helped with a similar issue.
Instructions? Ha! The web service was created 15 years ago and all I basically have is the installation scripts.
I used the same scripts on both servers but only one works.
I'll check on WSDLReader next week when I'm back on board.
Thanks

Michael Ouellette

RE: OLE error 1429 on a VFP web service

If all you have is a script (cmd file?) then this has to run elevated.

But the error doesn't point out a problem of installation, it points out a problem of usage.
Configuration of access permissions to a folder of XML processed by the COM Server.

If this VFP COM Server, for example, is used in the IIS context (ie providing or being a web service, not consuming one), then this folder in question has to grant access to the IIS windows account. In short you might have nothing more than a folder permission problem.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close