We have been able to get SSO working with between the SAPPortal and JAVA applications but we are not having the same luck with .NET applications.
There is not much documentation available on this topic. I have found a couple of whitepapaers and downloaded the examples available from SAP. However, we are still unable to get the SSO to work properly.
It looks like we may have an issue with the registration and use of sapssoext.dll and sapsecu.dll. But I am not entirely certain. I was also expecting to have to create the PSE on the .NET application server using sapgenpse, but I do not see this captured anywhere in the documentation either.
I have captured the current error we are seeing below. Any ideas?
Server Error in '/SAP_SSO' Application.
-
Ticket verifying failed. Return codes error=1 and ssf error=0
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Ticket verifying failed. Return codes error=1 and ssf error=0
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80040001): Ticket verifying failed. Return codes error=1 and ssf error=0]
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2501104
SSO_NSPC.SSO.evalLogonTicket(String ticket, String pab, String pab_password) +127
Default.PageLoad(Object sender, EventArgs e) +207
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
-
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Thanks ahead of time or your help.
Michael