Failed to initialize CLI. CLI returned 321 error code.

Tools

Failed to initialize CLI. CLI returned 321 error code.

Loaded .NET 2.0 on our production IIS and then installed the Teradata .NET Provider 1.02. This worked just fine on our development server, but I get the following error on the production server. Both servers are IIS 5.0 running on Windows 2000 machines.

Error:

Teradata.Client.Provider.TdException: [.NET Data Provider for Teradata] [100003] Failed to initialize CLI. CLI returned 321 error code. 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 main.changePassword(TdConnection tdc, String uid, String npwd)
1 REPLY
Teradata Employee

Re: Failed to initialize CLI. CLI returned 321 error code.

I think there is an OLD version of CLI in Windows\System32 directory.

Use the steps in .NET Data Provider for Teradata error [Call-Level Interface,... to diagnose the issue.