Howto SSO (Single Sign On) and SmarterTrack webservice?
Question asked by E Nierop - 10/9/2014 at 8:58 AM
I have followed the SSO KB on how to enable single sign logon.
this delivers (and I'm nearly sure all the recommended settings are ok)

Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.

at SmarterTrack.HelperClasses.Security.UserBase.Login(HttpContext context, String Username, String Password, Boolean isPersistent, String& Message)

at SmarterTrack.MRS.Main.HttpHandlers.UserFunctions.DoLogin(HttpContext context, JsonTextWriter w)

at SmarterTrack.MRS.Main.HttpHandlers.UserFunctions.HandleRequest(HttpContext context)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Request information: Request URL: https://somesite/HttpHandlers/Portal/User/login.ashx

Request path: /HttpHandlers/Portal/User/login.ashx

Please any tips you can give.


My site is .NET 4.5 and the machinekey and Forms authentication settings are according KB.


2 Replies

Reply to Thread
E Nierop Replied
I think I found a solution, however, not documented by SM

My own site runs .NET 4.5
SmarterTrack runs 4.0
by setting <httpRuntime targetFramework="4.5" /> (to 4.5)
SSO seems to work.
Lowering encryption settings (machinekey) down to .NET 20 SP2 on my own domain (not SM) seems to have issues.

So, in short, set SmarterTrack to run .NET framework 4.5) however, I am not sure if other issues will arise.
E Nierop Replied

one problem stays, the SSO works for the smartertrack / (root) but not for /Management/Root.aspx

So, the employee user needs to logon after all. This is weird!

(Yes, domain='mydomain.com' has been set)

Reply to Thread