Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".


Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".

Author
Message
yogeshkadvekar-619759
yogeshkadvekar-619759
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 20
hi Friends

i m getting following error msg on my production server

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".

while creating sp which contain

code

select productid,productkeyword,brand,Manufacturer,manfid,upc,price,saleprice,variablecommission,@advid,@commission from OpenRowset('MSDASQL',
'Driver={Microsoft Text Driver (*.txt; *.csv)}; DefaultDir=C:\perfeed','select * from catalog.txt')


this sp is executing properly on my local machine

my production server have jet driver 4.0 and i m using sql2005

i m login remotely to my server

and i ready run
sp_configure 'Ad Hoc Distributed Queries', 1
reconfigure

still getting this problem

any solution
Matija Lah
Matija Lah
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2871 Visits: 380
Note that "C:\perfeed" refers to a folder located on the C: drive at the server.

Does that folder exist at the server? Does the file exist in that folder? Does the SQL Server service account have appropriate permissions in that folder? How are you connecting to the server (i.e. which authentication mode are you using)?

ML

---
Matija Lah, SQL Server MVP
http://milambda.blogspot.com
azd.bpl
azd.bpl
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 4
OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".
azd.bpl
azd.bpl
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 4
hi dear friends,

please provide me the solution while i'm trying to select openrowset


OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search