We are trying to .NET use Authentication features in EP Portal. Here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/edb8a190-0201-0010-d398-c23e34f30295#_header1_2 it's said that you can use portal SSO to connect with SAP .NET Connector and then use MySAPSSSO2 ticket directly.
Here's my code:
Dim m_oDestination As New SAP.Connector.Destination
Dim conn As SAP.Connector.SAPConnection
m_oDestination.MySAP_SSO2 = HttpUtility.UrlDecode(Request.Cookies("MYSAPSSO2").Value)
m_oDestination.AppServerHost = "18.104.22.168"
m_oDestination.Client = "800"
m_oDestination.SystemNumber = "00"
conn = New SAP.Connector.SAPConnection(m_oDestination) 'create a new connection
proxy.Connection = conn
But when the conn.Open() Line is reached an Exception is raised : SAP.Connector.RfcLogonException: It's been received a SSP ticket that cannot be interpreted
So we don't know what to do next? Do we need to install an specific library before trying this?
Thanks for you help