I am trying to connect to an IBM AS/400. Can anyone help me interpet the error and possible guid me what to do. Thanks
Code:
Dim myAS400Connection As New OleDb.OleDbConnection
myAS400Connection.ConnectionString = ("Provider=SNAOLEDB;" & _
"Data source=as820;" & _
"User Id=vbuser;" & _
"Password=vbuser")
myAS400Connection.Open()
Error:
Exception Details: System.Data.OleDb.OleDbException: No error information available: REGDB_E_CLASSNOTREG(0x80040154).
Line 46: myAS400Connection.Open()
[InvalidOperationException: The 'SNAOLEDB' provider is not registered on the local machine.]