Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC CursorAdapter sanity check...
Message
 
À
25/06/2003 10:13:24
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00803757
Message ID:
00803876
Vues:
19
Pat,
You may want to load up the dll in COM+ and impersonate a user that has data access. I think the problem has to do with anonymous user access to the database. This would be the same issue in .VFP. web services.
The funny thing is that if you create the .NET assembly from that mtdll it will probably work without COM+ (from personal experience)...
>In the process of moving some working code to an ActiveVFP environment I find that the "cursor.datasource = sqlstringconnect('....')" returns a -1. I have checked that the same code works fine in a normal VFP program - SQL Server is running, the database exists, etc.
>
>Anyway, has anyone accessed SQL Server data from the ActiveVFP DLL? Is there a trick I am missing...
>
>Thanks,
>Pat
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform