Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Guids
Message
 
To
20/06/2008 17:59:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Re: Guids
Environment versions
Environment:
C# 3.0
OS:
Vista
Database:
MS SQL Server
Miscellaneous
Thread ID:
01325529
Message ID:
01326188
Views:
21
I have successfully created my linked vfp server on the Sql Server instance. When I run the query like you have below I get an OLE/DB provider error" Invalid path name.

I have checked the properties of my linked server in the Sql Manager and they all have the correct attributes such as Provider, Data Source, Location, Provider String, and Product name.

I have tried adding the path and the linked server as a prefix to the table name in the OpenQuery function but that does not work either.

Any ideas?

Code:

lcQuery = "select * into " + lcTableName + " from OpenQuery( " + tcLinkedServer + ", 'select * from " + lcTableName + "' ) "

SQLEXEC( tnConn, lcQuery )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform