Re: XP_CmdShell and OLE provider
From: Sarah Bram (SarahBram_at_hotmail.com)
Date: 11/30/04
- Previous message: Pavel: "Re: Migrating from MDB database to internet"
- Next in thread: Brian Bushay TeamB: "Re: XP_CmdShell and OLE provider"
- Maybe reply: Brian Bushay TeamB: "Re: XP_CmdShell and OLE provider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Nov 2004 16:21:50 -0600
New info:
If I execute the below line in SQL Query Analyzer,
exec master..xp_enum_oledb_providers
it returns a list of OLE DB Providers.
I am not finding the one I installed: "Microsoft OLE DB Provider for Visual
FoxPro"
(Windows sees it alright and I am able to select it while creating a
connection through UDL file etc.,)
This could be the reason that it complains about the provider not being
found.
1) Does anyone know how we can make SQL Server aware of the newly installed
OLE DB Providers?
BTW, I am using SQL Server 2000 on a Windows XP machine.
2) Is there a dbExpress driver available for Visual FoxPro so that I can
totally eliminate this ADO hell?
Thanks,
Sarah
"Sarah Bram" <SarahBram@hotmail.com> wrote in message
news:41aca2f5$1@newsgroups.borland.com...
> 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
>
- Previous message: Pavel: "Re: Migrating from MDB database to internet"
- Next in thread: Brian Bushay TeamB: "Re: XP_CmdShell and OLE provider"
- Maybe reply: Brian Bushay TeamB: "Re: XP_CmdShell and OLE provider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|