Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening table in web service
Message
De
23/11/2004 16:09:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00963974
Message ID:
00964029
Vues:
13
Claude,

Thanks for the info.

Jerry


>If the table is on another computer on your network (or if you're using SQL/MSDE), you'll need to create a COM+ package, add your mtdll, and specify an account with proper rights to impersonate. Otherwise, if it's on the same machine as IIS, just give the IUSR and IWAM accounts (and ASPNET if using .NET) proper rights to those files.
>
>
>>I am trying to create a VFP8 web service. My dll runs great as a Com server from the VFP command window, but when I publish the dll as a web service, I get an error when trying to open a vfp table.
>>
>>The methods of my web service that don't open a table work great. However, the methods of my web service that do open a table cause an error to appear within the Web Service Test Results window.
>>
>>Here is part of the error that is returned:
>>
>>Error: 1429 - OLE IDispatch exception code 0 from cjt.cZip1 cjt.cZip1: .p_opendbf p:\foxpro\common\libshare\czip1.prg Error in line 744 File 'f:\data\zipcodes.dbf' does not exist. 1..
>>
>>
>>However, this table does exists at the specified location. Again, running this as a Com server, everything works great(o=createobject("myserver.myclass")).
>>
>>Why can't my web service open the above table? What do I need to do?
>>
>>Thanks,
>>
>>Jerry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform