Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bizarre WebService/COM Error
Message
De
05/10/2012 02:34:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Bizarre WebService/COM Error
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01554350
Message ID:
01554350
Vues:
62
Ok, I have a really bizarre error, not quite sure where to post this one, I decided to post it here as the error seems to be in VFP.

I have a Web page, it is written in ASP.Net, it uses a VFP Com object via a VB.Net WebService that I have created. The Com Object receives parameters via XML as a string.

So the error conditions ;

1. ONLY occurs on IE8 & Safari, does not occur in IE9, Chrome or FireFox.
2. Does not occur if you access page direct - only occurs if my page is hosted in an iFrame.

Actual error ;
Message: Sys.WebForms.PageRequestManagerServerErrorException: System.Web.Services.Protocols.SoapException: 
Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x80004004): 
.getratesxml c:\[Redacted]\erol4.prg Error in line 79 Command contains unrecognized phrase/keyword. 36
The actual lines of code are ;
  FUNCTION GetRatesXML(SiteName AS STRING, FilterXML AS STRING) AS STRING

78.    ldStart="{^"+STREXTRACT(FilterXML,"<StartDate>","</StartDate>")+"}"
79.    ldStart=&ldStart
So that would imply that the XML received is invalid, but how can it differ from browser to browser? or direct page to iFrame, makes no sense!

Anyone have any ideas?

Gary.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform