Skip to Content
avatar image
Former Member

SAP.NET connector 3.0

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 22, 2017 at 09:50 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 09, 2016 at 03:03 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 13, 2016 at 04:55 AM

    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
    10|10000 characters needed characters exceeded