Hello Quang,
This is code that seems to be based on NCo 2.0 Connection String is not used for NCo 3.0
Best regards,
Markus
Hello Quang,
I think it makes sense that you provide some more information. With current info it is nearly impossible to help.
Best regards,
Markus
Dear Markus,
Sorry for late reply.
My purpose is very simple. I just want to check connection to SAP is OK/not OK.
Here is my Code:
Namespace Connect2SAP Class Connect2SAP Function Connection() As Object Throw New NotImplementedException End Function End Class End Namespace
Dim l_c2sap As Connect2SAP.Connect2SAP _SapConnectionString = "TYPE=A; ASHOST= <host address>;SYSNR= 00;CLIENT= 100;USER= <SAP User>;PASSWD= <Password>" Try l_c2sap = New Connect2SAP.Connect2SAP(_SapConnectionString) l_c2sap.Connection.Open() MessageBox.Show(_SAPUser) l_c2sap.Connection.Close() l_c2sap.Connection.Dispose() Catch ex As Exception MessageBox.Show(ex.Message) End Try
And i get Exception: "The method or operation is not implemented".
Please help to find out problem.
Thanks,
Quang
Add comment