473,505 Members | 15,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FoxPro ODBC Link Servers and the Dreaded 7399 Error

(SQL 2K SP3a on W2K. VFP 6 data lives on W2K. GIGABIT BACKBONE, gig
cards on the data servers)

I'm sure anyone who attempts to retrieve or alter FP/VFP data through
a SQL link server will commiserate.

I'm getting sick of restarting my instance after attempting a simple
OPENQUERY statement on a VFP 6.0 DBC link server:

select * from openquery(ofsdbc,'select onestinkinfield from mytable
where onestinkinfield = whatever')

and being rewarded with

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager]
Driver's SQLSetConnectAttr failed]
[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager]
Driver's SQLSetConnectAttr failed]
[OLE/DB provider returned message: [Microsoft][ODBC Visual FoxPro
Driver]Cannot open file \\mydevbox\mydbpath\myvfpdata.dbc.]
OLE DB error trace [OLE/DB Provider 'MSDASQL'
IDBInitialize::Initialize returned 0x80004005: ].

The only remedy is to restart the SQL services. The link server then
behaves for a variable number of queries, and then we do the dance
again.

Come on, MS, this is unacceptable. VFP is your own technology and you
can't make SQL play nice with it? Pshaw. This gets old when you're
five or six layers into a BizTalk process trace. ("When you're up to
your arse in alligators, it's tough to remember that the objective was
to drain the swamp.")

I RDP to the SQL box and can ping the datasource server all day long.
I can open the folder in which the DBC and data live all day long. I
can run the DBC in VFP, FROM THE SQL BOX, all day long. I just can't
get a link server to live more than one or two days, or sometimes more
than one or two queries.

NB I've already been through PSS for this garbage, and was essentially
told that MS no longer supports ODBC connections to VFP data from SQL
link servers. Furthermore, they don't support inserts, updates or
deletes through same with the VFP OLEDB provider.

Any and all war stories, tonics, suggestions, rants, corrections,
upbraids, horse laughs, and snickers appreciated in reply.
Jul 20 '05 #1
0 2027

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2730
by: Colin Colin | last post by:
We migrated our intranet site from IIS4 NT4 (\\GHCNT8) to a Windows 2003 server with IIS6 (\\NT58) using the IIS Migration Tools. I have a few ASP pages that access Foxpro data on a different...
2
6584
by: Salad | last post by:
OS = WinXP & Win98. Access = A97 & AXP Q1) Where can I find the VFP ODBC driver at Microsoft. I have been working developing an app in Access that will link to some DOS FoxPro tables. I...
0
1768
by: Salad | last post by:
My operating system is WinXP Pro. I have 1 gig of memory and the chip is an Intel Pentium 4. I am using Access97. A table has been supplied to me from an external source createdc from Visual...
2
22086
by: Maverick | last post by:
If i try to create foxpro table by the following "sql" statment, the C# compiler will only return an error "xxxx not support in non-dbc version". The "index on" command statement return some kind...
1
3922
by: GPBSOFT | last post by:
I am Italian developer, escuse me for my bad English I have a problem with ODBC. I must link to a database from Visual FoxPro, I have installed Windows XP Professional with service pack 2. When I...
4
8436
by: Robert Hooker | last post by:
I have installed our .NET application on a system running Microsoft Windows Vista operating system. When I run our application, I receive the following error message whenever it tries to create...
1
1251
by: ilanwajsman | last post by:
I'm linking a DB2 database running on Linux to SQL Server 2000, in Enterprise Manager. I've done this successfully on several servers, but on some servers I'm getting the following error when I try...
7
5472
by: z71mdridin | last post by:
I have an asp.net website that uses Form authentication to authenticate users. I need to provide users with a report based on FoxPro data that resides on a remote server. When I attempt to...
3
5148
by: HistoricVFP | last post by:
Hello, I’ve been given the task of importing .dbf files from a very old version of Visual FoxPro (version 2.1) into Access (2003). When I import the data straight to Access it errors with: ...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.