Terminal Session - Object Reference not set for an instance of an object

Hi, We’re trying to connect to AS400 using terminal session but we’re getting this error.

Connection String : {‘AttachExisting’:false,‘ConnectionProtocol’:0,‘ConnectionType’:2,‘EhllBasicMode’:false,‘EhllDll’:‘C:\Program Files (x86)\IBM\Client Access\Emulator\pcshll32.dll’,‘EhllEnhanced’:true,‘EhllFunction’:‘hllapi’,‘EhllSession’:‘A’,‘EnableSSL’:false,‘Host’:null,‘InProcessMode’:false,‘Mode’:1,‘Port’:23,‘Profile’:null,‘ProviderType’:4,‘ShowTerminal’:true,‘TerminalType’:0}“.Replace(”‘EhllSession’:‘A’", “‘EhllSession’:'” + TerminalSession + “'”)

Note: TerminalSession variable is not empty

TerminalActivityVersion - 2.7.1

@sgalang

can you check if there are two variables with same name

Cheers

there’s no variable with the same name

Had to install .Net 6.0.6

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.