Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Porblem Running a DTS from a Prg
Message
De
18/03/2003 10:51:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Porblem Running a DTS from a Prg
Divers
Thread ID:
00767060
Message ID:
00767060
Vues:
45
I have a DTS that converts a SQL Server table to VFP. The DTS runs fine when I run it from SQL Server Enterprise Manager. However, when running the DTS from my Prg, it logs that it cannot open my DBC.

I checked the DBC name and location the DTS logged, and both are correct.

Also, the DTS always fails if I have Cdx indexes.

Any thoughts or experience with these issues?
=============================================
Here's the code snippet:

...some pre-processing stuff, after which I close the tables and database
CLOSE DATABASE

loDTSPackage=CREATEOBJECT('dts.package')
loDTSPackageName=loDTSPackage.LoadFromStorageFile(curdir()+"ConsultWare - AS400 Facility Address Parsing.dts","")
loDTSPackage.Execute
...some post-processing stuff
GOOOOOOOO BUCS !!!!!!!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform