Skip to Content
0
Former Member
May 13, 2010 at 08:07 PM

CrystalEnterprise.SessionMgr Error

414 Views

Really strange issue just started occuring with Authentication on our system running Crystal Web Compent Server. We have Single Sign On Turned on but when a user checks the SSO checkbox and clicks Log In, the page just hangs. This is where it gets strange... If you open up a second browser session and click Log In while the first Session is still trying to authenticate, the user is immediatly logged in on the second session. This is true enterprise wide. In other words if I am at workstation A and click login and a different user at workstation B clicks login, whoever clicked login second gets let in and the first user gets a message saying failed to authenticate. I have isolated the issue to the below lines of code:

***************************

'INSTANTIATE INFOSTORE OBJECT FOR SESSION

Set sm = CreateObject("CrystalEnterprise.SessionMgr")

If CheckErrorGeneral() Then Exit Sub End If

'SET THE SOCKS SERVER IF ANY

sm.SOCKSURI = Request.ServerVariables("WCS_SOCKS_URI")

'LOGON USER

Set es = sm.Logon(username, password, apsname, authentication)

***************************

When the code hits the LOGON USER step, the first sesson throws Error.Number = -2147210999 and the below event is logged in the Event Viewer:

Source: Crystal_WebCompServer

Event Id: 35302

Description: Log message: NT Authorization Required.

The Crystal Web Compent Server is running on a Windows 2003 Server.

Thanks in advance,

Steven