We currently use csp to auto-authenticate a user using WindowsAD, query for the folder requested and open the Crystal Folder in the web page(using default aspx supplied by Cystal enterprise installation). We would like to migrate this csp to aspx. Please suggest the aspx code equivalent to this csp code. Just changing the extension to aspx didn't work.
For those users where accounts are created on Crystal server do not need to login to Crystal to view reports.
Environment: Crystal Enterprise 11.5 (Business Objects XI).
Code in login.csp
Set SessionManager = Server.CreateObject("CrystalEnterprise.SessionMgr")
Set Sess = SessionManager.Logon("", "", "WCS_NAME_SERVER", "secWinAD")
Set LogonTokenMgr = Sess.LogonTokenMgr
LogonToken = LogonTokenMgr.CreateLogonToken(("WCS_HOST_NAME", 60, 100)
IF(request("fldURL")="testingFolder") THEN
Qry= "Select SI_ID, SI_NAME,SI_PATH from CI_INFOOBJECTS where SI_PROGID = 'CrystalEnterprise.Folder' and SI_INSTANCE=0 and SI_NAME = 'testingFolder'"
end if;
Set OResult = iStore.query(Qry)
if (OResult.Item(i).Properties("SI_PATH").Properties("SI_FOLDER_NAME1")="TEST") then
Set DirID = OResult.Item(i).Properties("SI_ID")
end if