travis2005
MIS
Hello
After installing the CE10 SDK on our IIS Server my program generates a CR report but only about 50% of the time - the error I get is :-
"An internal error has occurred in the secLdap plugin."
Our templates reside on a CE10 server. Another server contains our SDK and the code that calls the API. Has anyone received this before or does anyone have any ideas ?
My code to logon is as follows :-
SessionMgr ceSessionmgr = null;
EnterpriseSession ceSession;
Response.Expires = 0;
ceSessionmgr = new SessionMgr();
//Get username
user = Request.ServerVariables.Get("HTTP_PROXY_REMOTE_USER");
//Get password/token
password = Request.ServerVariables.Get("HTTP_LDAPTOKEN");
apsName = "NYITDCED001";
string apsAuthType = "secLDAP";
ceSession = ceSessionmgr.Logon(user, password, apsName, apsAuthType);
ceSessionmgr.Dispose();
ceSessionmgr = null;
ceSession.Logoff();
ceSession.Dispose();
ceSession = null;
After installing the CE10 SDK on our IIS Server my program generates a CR report but only about 50% of the time - the error I get is :-
"An internal error has occurred in the secLdap plugin."
Our templates reside on a CE10 server. Another server contains our SDK and the code that calls the API. Has anyone received this before or does anyone have any ideas ?
My code to logon is as follows :-
SessionMgr ceSessionmgr = null;
EnterpriseSession ceSession;
Response.Expires = 0;
ceSessionmgr = new SessionMgr();
//Get username
user = Request.ServerVariables.Get("HTTP_PROXY_REMOTE_USER");
//Get password/token
password = Request.ServerVariables.Get("HTTP_LDAPTOKEN");
apsName = "NYITDCED001";
string apsAuthType = "secLDAP";
ceSession = ceSessionmgr.Logon(user, password, apsName, apsAuthType);
ceSessionmgr.Dispose();
ceSessionmgr = null;
ceSession.Logoff();
ceSession.Dispose();
ceSession = null;