Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Linked server error

Author  Topic 

pramod21
Yak Posting Veteran

64 Posts

Posted - 2013-04-26 : 03:27:36

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "OAK".
OLE DB provider "MSDASQL" for linked server "OAK" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed". (.Net SqlClient Data Provider)

HI I'm getting the above error while establishing a connection through link server. Can u plz help me out from this...


Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-04-26 : 04:13:44
have you added to the PATH variable full path of the ODBC driver client DLLs?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pramod21
Yak Posting Veteran

64 Posts

Posted - 2013-04-26 : 05:51:58
This error does not come on windows XP machine.
it only come on windoes 7 or upper version
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-04-26 : 05:58:01
are path of ODBC driver dlls same in all?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -