Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connect to TeraDatabase using Teradata.Client.Provider

Status
Not open for further replies.

Premalm

Programmer
Mar 20, 2002
164
US
I am trying to connect to TeraDatabase from an ASP.NET 2.0 application using Teradata.Client.Provider.

I get the following error :

System.DllNotFoundException: Unable to load DLL 'wincli32.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) at Teradata.Client.Provider.WpSession.CLI.DBCHINI(Int32& returnCode, IntPtr contextArea, CliDbcArea& DbcArea) at Teradata.Client.Provider.WpSession..ctor() at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout) at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout) at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject) at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr) at Teradata.Client.Provider.TdConnection.Open() at AppWTeradata._Default.butConnect_Click(Object sender, EventArgs e) in C:\Inetpub\ 33

I have installed the latest version of .Net Teradatabase Driver 1.0.0.0.
Also I have CLIv2 Interface DLL 4.8.1.2, Teradata GSS version 6.1.0.7 installed on my PC.

Here is the code I have used.
cString = "Data Source=VSAFESEND;User Id=xxxxx;Password=xxxxxx"
cn = New TdConnection(sCString)
cn.Open()

Any Ideas ?

Thank you
Pr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top