SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Linked server error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pramod21
Yak Posting Veteran

62 Posts

Posted - 04/26/2013 :  03:27:36  Show Profile  Reply with Quote

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

India
52309 Posts

Posted - 04/26/2013 :  04:13:44  Show Profile  Reply with Quote
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

62 Posts

Posted - 04/26/2013 :  05:51:58  Show Profile  Reply with Quote
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

India
52309 Posts

Posted - 04/26/2013 :  05:58:01  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000