TeraGSS Security Library [115022] Exception occured in TERAGSS layer. See inner exception

Tools & Utilities
Fan

TeraGSS Security Library [115022] Exception occured in TERAGSS layer. See inner exception

Gettting this exception whenever try to open the connection.

Teradata.Client.Provider.Tdexception (0x80004005): [TeraGSS Security Library] [115022] Exception occured in TERAGSS layer. See inner exception for details. --> System.NullReferenceException: Object reference not set to an instance of an object, at Teradata.Client.Provider.WpSession.CreateSecureBuffer(Buffer buffer, UInt32 length, Boolean privacy) at Teradata.Client.Provider.WpSession.Send(WpMessage message, Buffer buffer, Boolean encryption, Boolean integrity, Boolean unicodecharset, Boolean allowSessionStateChange) at Teradata.Client.Provider.WpSession.Send(WpMessage message, Buffer buffer, Boolean unicodecharset) at Teradata.Client.Provider.WpMessageManager.Send(WpMessage message) at Teradata.Client.Provider.WpConfigManager.Action() at Teradata.Client.Provider.WpSession.InvokeConfigManager(In32 connectionTimeout, Utilstopwatchwrapper watch, Buffer buffer, ParcelFactory pclFactory) at Teradata.Client.Provider.WpSession.InvokesessionInitializerManagers(Boolean reconSession, Int32 connecitonTimeout, String password, Utlstopwatchwrapper watch, ParcelFactory& pclFactory, Buffer& buffer, String& logonstring, string& dbsVersion, WpConfigManger& configManager) at Teradata.Client.Provider.WpSession.InvokeOpenManager(Int32 connectionTimeout, String password, UtlStopwatchwrapper watch) at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password) at Teradata.Client.Provider.ExeContext 3.Open(Int32 timeout, String password) at Teradata.Client.Provider.Connecttion.open(utlConnectionString connectionstring UInt32 timeout) at Teradata.Client.Provider.ConnectionFactory.GetConnection(object owningobject, UtlConnectionString connStr) at Teradata.Client.Provider.TdConnection.Open() at JDWSecurity.ConnectToTeradata()