Unix Technical Forum

SQLServer Linked "Text" server using Jet engine problems...

This is a discussion on SQLServer Linked "Text" server using Jet engine problems... within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I've created a "Text" Linked Server via Jet OLEDB. Everything works great when testing from the server itself, but ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:43 PM
Blaise
 
Posts: n/a
Default SQLServer Linked "Text" server using Jet engine problems...

I've created a "Text" Linked Server via Jet OLEDB. Everything works great
when testing from the server itself, but when trying to query the
linked-server from any workstation fails with this message:

Error 7399: OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
[OLE/DB provider returned message: Unspecified error]
OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0'
IDBInitialize::Initialize returned 0x80004005: ].

I get the same message from Enterprise Manager (on a workstation) when I
highlight the LinkedServer Tables. This too, works fine from the server.

I've read all the MS-KB's for this error (yes, I have the correct version of
Jet OLEDB/MDAC, etc) but nothing seems to help.

I pointed the Temp and Tmp env-vars to the server local drive and allowed
access to that dir to all users (another suggestion from the KB's) - but
this didn't help either.

(I suppose, if all else fails, I could line up all the users outside the
server room and have them take turns working directly from the server -
RIGHT! <g>.)

Any assistance is greatly appreciated...
Blaise


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:43 PM
Sue Hoegemeier
 
Posts: n/a
Default Re: SQLServer Linked "Text" server using Jet engine problems...

You can try turning on a trace flag to try to see if you get
additional information on the 7399 error. Execute
dbcc traceon(7300,3604)
and then run the query.
You could also use profiler and capture the OLEDB Errors
event.
You may also want to recreate the linked server using the
stored procedure sp_addlinkedserver:
EXEC sp_addlinkedserver @server ='TextLinkServer',
@srvproduct='',
@provider ='Microsoft.Jet.OLEDB.4.0',
@datasrc='D:\',
@provstr='Text'

From a client, try something like:
select *
from TextLinkServer...[YourFile#txt]
to access D:\YourFile.txt

-Sue
On Mon, 02 May 2005 23:24:00 GMT, "Blaise"
<mgathome@pacbell.net> wrote:

>I've created a "Text" Linked Server via Jet OLEDB. Everything works great
>when testing from the server itself, but when trying to query the
>linked-server from any workstation fails with this message:
>
>Error 7399: OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
>[OLE/DB provider returned message: Unspecified error]
>OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0'
>IDBInitialize::Initialize returned 0x80004005: ].
>
>I get the same message from Enterprise Manager (on a workstation) when I
>highlight the LinkedServer Tables. This too, works fine from the server.
>
>I've read all the MS-KB's for this error (yes, I have the correct version of
>Jet OLEDB/MDAC, etc) but nothing seems to help.
>
>I pointed the Temp and Tmp env-vars to the server local drive and allowed
>access to that dir to all users (another suggestion from the KB's) - but
>this didn't help either.
>
>(I suppose, if all else fails, I could line up all the users outside the
>server room and have them take turns working directly from the server -
>RIGHT! <g>.)
>
>Any assistance is greatly appreciated...
>Blaise
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:28 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com