Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC CursorAdapter sanity check...
Message
 
To
25/06/2003 10:13:24
General information
Forum:
Visual FoxPro
Category:
ActiveVFP
Miscellaneous
Thread ID:
00803757
Message ID:
00803876
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform