XP_CmdShell and OLE provider
From: Sarah Bram (SarahBram_at_hotmail.com)
Date: 11/30/04
- Next message: Del M: "Re: Migrating from MDB database to internet"
- Previous message: Pavel: "Re: Migrating from MDB database to internet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Nov 2004 10:40:24 -0600
Hi,
I have to update/modify a VisualFoxPro table from SQL Server stored
procedure.
I created an executable that takes a SQL statement as param and executes
that statement against the foxpro table.
I used the Microsoft OLE DB Provider for Visual FoxPro
from
http://www.microsoft.com/downloads/details.aspx?familyid=0f43eb58-7a94-4ae1-a59e-965869cb3bc9&displaylang=en#filelist
I am using an external UDL file for connection.
For testing purpose, I created a windows shortcut and gave an update
statement as param.
This worked perfect. The table value changed.
But, when I call the same utility from Query Analyzer using XP_CmdShell, it
returns the following error:
"Provider cannot be found. It may not be properly installed"
For debugging purpose, I am also returning the sql string I passed to that
program.
There is no problem with the sql statement.
Any ideas...?
Thanks in advance,
Sarah
- Next message: Del M: "Re: Migrating from MDB database to internet"
- Previous message: Pavel: "Re: Migrating from MDB database to internet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|