cancel
Showing results for 
Search instead for 
Did you mean: 

SSO3.0 from IIS web browser based .NET app to SAP

mandeep_kauldhar
Participant
0 Kudos

Hi All, We are trying to connect to SAP EHP8 from a .NET web based application.

this is what we did as of now.

1. Our SAP ERP system is configured to connect through SSO/SSL using active directory Kerberos Login mechanism using SAP GUI. This works fine using SSO 3.0 (

sapcryptolib library and Secure login client)

2. Now we are trying from .NET application with these three parameter to login using SSO but we are not successful yet. We are getting error can't initialize SBUS.EXE.

We are getting below error in the application when try to login:

"LOCATION CPIC (TCP/IP) on local host with Unicode ERROR GSS-API(maj): Miscellaneous failure GSS-API(min): A2200204:Unspecified internal error. See logs. Could't acquire DEFAULT INITIATING credentials"

trace file gives below detail about the error:

---------------------------------------------------

trc file: "nco_cpic_5472.trc", trc level: 3,
release: "721"
---------------------------------------------------
[Thr 1832] Thu Nov 30 17:15:21 2017
[Thr 1832] opened by SAP_CMTRACE (version=721.2015.03.10)
[Thr 1832] STIChangeTraceAll: all active connections updated
to trace level 3 and C:\Temp\SapCryptoLibTrace\nco_cpic_5472.trc


[Thr 1832] *************** SAP_STINIT3 ***************


[Thr 1832] SAP_STINIT3: my TP_name: >w3wp<


[Thr 1832] SAP_STINIT3: dt structure created


[Thr 1832] 


[Thr 1832] SAP_STINIT3:START:
{root-id=35413230333644313541323033364431}_{conn-id=35413230383246393541323038324639}_1


[Thr 1832] SAP_STINIT3: GWHOST=wat1sapSID.viziya.com


[Thr 1832] SAP_STINIT3: GWSERV=4800


[Thr 1832] SAP_STINIT3: PROTOCOL=I


[Thr 1832] ->>
SncSessionInit(&snc_hdl=000000D6938FC758)


[Thr 1832] <<- SncSessionInit()==SAP_O_K


[Thr 1832]     out:
&snc_hdl = 000002A91D0A3270


[Thr 1832] ->>
SncSessionInitiator(snc_hdl=000002A91D0A3270, auth_type=1, buf_size_hint=0,


[Thr 1832]     
target='p:CN=SAPServiceSID')


[Thr 1832]
SncPSessionUpdate(snc_hdl=000002A91D0A3270,idx=0): Uses adapter default cred


[Thr 1832]    
"<empty>"


[Thr 1832] *** ERROR =>
SncPAcquireCred()==SNCERR_GSSAPI 
[sncxxall.c 1465]


[Thr 1832]      
GSS-API(maj): Miscellaneous failure


[Thr 1832]      
GSS-API(min): A2200204:Unspecified internal error. See logs.


[Thr 1832]     Could't
acquire DEFAULT INITIATING credentials


[Thr 1832] 


[Thr 1832] <<- SncSessionInitiator()==SNCERR_GSSAPI


[Thr 1832]      in:
target    = "p:CN=SAPServiceSID"


[Thr 1832] *** ERROR => STISncInit: SncSessionInitiator
(SNCERR_GSSAPI) [r3cpic.c     14953]


[Thr 1832] 


[Thr 1832] LOCATION   
CPIC (TCP/IP) on local host with Unicode


[Thr 1832] ERROR      
GSS-API(maj): Miscellaneous failure


[Thr 1832]            
GSS-API(min): A2200204:Unspecified internal error. See logs.


[Thr 1832]            
Could't acquire DEFAULT INITIATING credentials


[Thr 1832] TIME       
Thu Nov 30 17:15:21 2017


[Thr 1832] RELEASE    
721


[Thr 1832] COMPONENT  
SNC (Secure Network Communication)


[Thr 1832] VERSION    
6


[Thr 1832] RC         
-4


[Thr 1832] MODULE     
sncxxall.c


[Thr 1832] LINE       
1465


[Thr 1832] DETAIL     
SncPAcquireCred


[Thr 1832] SYSTEM CALL gss_acquire_cred


[Thr 1832] COUNTER    
8


[Thr 1832] 


[Thr 1832] *** ERROR => SAP_STINIT3:STISncSetUpInit
failed 20 [r3cpic.c     4682]


[Thr 1832] 


[Thr 1832] LOCATION   
CPIC (TCP/IP) on local host with Unicode


[Thr 1832] ERROR      
GSS-API(maj): Miscellaneous failure


[Thr 1832]            
GSS-API(min): A2200204:Unspecified internal error. See logs.


[Thr 1832]            
Could't acquire DEFAULT INITIATING credentials


[Thr 1832] TIME       
Thu Nov 30 17:15:21 2017


[Thr 1832] RELEASE    
721


[Thr 1832] COMPONENT  
SNC (Secure Network Communication)


[Thr 1832] VERSION    
6


[Thr 1832] RC         
-4


[Thr 1832] MODULE     
sncxxall.c


[Thr 1832] LINE       
1465


[Thr 1832] DETAIL     
SncPAcquireCred


[Thr 1832] SYSTEM CALL gss_acquire_cred


[Thr 1832] COUNTER    
8


[Thr 1832]


Are we missing anything; I went through many SDN thread but they seems old or not answered or doesn't look relevant to SAP EEO 3 but prior version where you generate and import manual steps.

Mandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

mandeep_kauldhar
Participant
0 Kudos

Anybody?