Skip to Content
0

SAP.NET connector 3.0

Dec 09, 2016 at 06:16 AM

138

avatar image
Former Member

Dear all,

I try to check connection .NET to SAP by connector 3.0. But facing the error:

"The method or operation is not implemented"

Please tell me the problem.

I using Visual basic .NET on VS 2013.

Thank you so much,

Quang

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Markus Tolksdorf
Feb 22, 2017 at 09:50 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Markus Tolksdorf
Dec 09, 2016 at 03:03 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 13, 2016 at 04:55 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded