Symptom
- Using the Enterprise .NET SDK to log on with a Trusted Principal.
- An exception is thrown on the call to SessionMgr.LogonTrustedPrincipal(oTrustedPrincipal);
Server Error in '/62896_TrustedSSO' Application.
External component has thrown an exception.
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.SEHException: External component has thrown an exception.
Source Error:
Line 32: CrystalDecisions.Enterprise.TrustedPrincipal boTrustedPrincipal = boSessionMgr.CreateTrustedPrincipal(userName, cms);
Line 33:
Line 34: CrystalDecisions.Enterprise.EnterpriseSession boEnterpriseSession = boSessionMgr.LogonTrustedPrincipal(boTrustedPrincipal);
Line 35: Session.Add("EnterpriseSession", boEnterpriseSession);
Line 36:
Source File: c:\Inetpub\wwwroot\62896_TrustedSSO\default.aspx.cs Line: 34
Stack Trace:
[SEHException (0x80004005): External component has thrown an exception.]
CrystalDecisions.Enterprise.zz_SessionMgrClass.LogonTrustedPrincipal(ISTrustedPrincipal TrustedPrincipal) +0
CrystalDecisions.Enterprise.SessionMgr.LogonTrustedPrincipal(TrustedPrincipal trustedPrincipal) +132
main.CrystalReportsConfig() in c:\Inetpub\wwwroot\62896_TrustedSSO\default.aspx.cs:34
main.Button1_Click(Object sender, EventArgs e) in c:\Inetpub\wwwroot\62896_TrustedSSO\default.aspx.cs:22
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
Read more...
Environment
Business Intelligence Server
- Windows Server OS
- BusinessObjects Enterprise XI 3.1, SP3
Application Server
- Windows Server OS
- SAP BusinessObjects Enterprise XI 3.1 .NET SDK Runtime SP3
- .NET Framework 2.0
Product
Keywords
Shared secret TrustedPrincipal.conf TrustedPrincipal SharedSecret ADAPT01523394 01523394 1523394 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.