Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Linked Server VFPOLEDB gives Access Denied error
When I login to the windows server as administrator, the query runs.  When I
login as anyone else (incl a user with as many admin rights as I can give
him), I get the following error:

Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "VFPOLEDB" for linked server "A" reported an error.
Access denied.
Msg 7301, Level 16, State 2, Line 1
Cannot obtain the required interface (" IID_IDBCreateCommand
") from OLE DB
provider "VFPOLEDB" for linked server "A".


Any help would be appreciated.

Report this thread to moderator Post Follow-up to this message
Old Post
Ashley Brewerton
03-31-06 08:23 AM


Re: Linked Server VFPOLEDB gives Access Denied error
"Ashley Brewerton" < AshleyBrewerton@disc
ussions.microsoft.com> wrote in
message news:800A97D6-2A65-4A2C-A746- 56A4D4931C2A@microso
ft.com...

Hi Ashley,

Be sure you have the latest FoxPro and Visual FoxPro OLE DB data provider,
downloadable from msdn.microsoft.com/vfoxpro/downloads/updates .

Here's what works for me to set up the Linked Server in SQL 2005 using the
Linked Server dialog:

Providers list: VFPOLEDB shows as an entry
Linked Servers > New Linked Server ...
Linked Server: MyLinkedServer
Provider: Choose "Microsoft OLE DB Provider for Visual FoxPro
Product name: Visual FoxPro (I think this is optional)
Data source: "C:\Program Files\Microsoft Visual
 FoxPro9\Samples\Nort
hwind\Northwind.dbc"  (Include quotes since there's
spaces in the string.)
Provider string: VFPOLEDB.1
Location: (blank)
Catalog: (blank)
Security page and Server Options page take defaults.

> When I login to the windows server as administrator, the query runs.  When
> I
> login as anyone else (incl a user with as many admin rights as I can give
> him), I get the following error:

What permissions does the SQL Server local system account have?

I'm ok on my laptop with the SQL Server started with "local
system account" and my Windows login being MachineName\Cindy. When I tried
against my SQL Express instance which was started using the "NT
 AUTHORITY\NetworkSer
vice" I had the same errors you report.

> Cannot obtain the required interface (" IID_IDBCreateCommand
") from OLE DB
> provider "VFPOLEDB" for linked server "A".

How are you executing your query? With the four-part naming or using
OpenQuery()?


--
Cindy Winegarden  MCSD, Microsoft Visual FoxPro MVP
 cindy_winegarden@msn
.com  www.cindywinegarden.com



Report this thread to moderator Post Follow-up to this message
Old Post
Cindy Winegarden
04-01-06 01:23 AM


Re: Linked Server VFPOLEDB gives Access Denied error
Hi Cindy

Yes, I saw your previous post and have already tried the setup you
indicated.  I run the query using the standard select syntax::

select * from AURORA...CMaster

"Cindy Winegarden" wrote:

> "Ashley Brewerton" < AshleyBrewerton@disc
ussions.microsoft.com> wrote in
> message news:800A97D6-2A65-4A2C-A746- 56A4D4931C2A@microso
ft.com...
>
> Hi Ashley,
>
> Be sure you have the latest FoxPro and Visual FoxPro OLE DB data provider,
> downloadable from msdn.microsoft.com/vfoxpro/downloads/updates .
>
> Here's what works for me to set up the Linked Server in SQL 2005 using the
> Linked Server dialog:
>
> Providers list: VFPOLEDB shows as an entry
> Linked Servers > New Linked Server ...
> Linked Server: MyLinkedServer
> Provider: Choose "Microsoft OLE DB Provider for Visual FoxPro
> Product name: Visual FoxPro (I think this is optional)
> Data source: "C:\Program Files\Microsoft Visual
>  FoxPro9\Samples\Nort
hwind\Northwind.dbc"  (Include quotes since there's
> spaces in the string.)
> Provider string: VFPOLEDB.1
> Location: (blank)
> Catalog: (blank)
> Security page and Server Options page take defaults.
> 
>
> What permissions does the SQL Server local system account have?
>
> I'm ok on my laptop with the SQL Server started with "local
> system account" and my Windows login being MachineName\Cindy. When I tried
> against my SQL Express instance which was started using the "NT
>  AUTHORITY\NetworkSer
vice" I had the same errors you report.
> 
>
> How are you executing your query? With the four-part naming or using
> OpenQuery()?
>
>
> --
> Cindy Winegarden  MCSD, Microsoft Visual FoxPro MVP
>  cindy_winegarden@msn
.com  www.cindywinegarden.com
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Ashley Brewerton
04-01-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 07:55 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006