SAP Knowledge Base Article - Public

1219774 - How to implement Single Sign On in a Visual Studio .NET web application

Symptom

How do you implement Single Sign On (SSO) using Crystal Reports XI in a Visual Studio .NET web application?

Resolution

====================

NOTE:

This article applies to Crystal Reports XI, Crystal Reports XI Release 2, and Crystal Reports for Visual Studio .NET 2005. The solution will not work in Crystal Reports 10 or lower.

====================

There are two steps to implementing Single Sign On (SSO) using Crystal Reports XI in a Visual Studio .NET web application. The first step has several sub-steps that are outlined in the referenced article.

  1. The required system configuration is explained in a Microsoft white paper. Search for "Troubleshooting_Kerberos_Delegation" at www.microsoft.com.
  2. Within your Visual Studio .NET code, you will need to add code between the section in which report objects are set and the section in which the log on code is set ('if .IntergatedSecurity = False'). The code to add is:

Report.DataSourceConnections(0).IntegratedSecurity = True

See Also

For more information about using integrated and SQL authentication in applications that use the Crystal Reports .NET SDK, please refer to the technical paper Using Integrated and SQL Authentication in .NET Applications.

Keywords

SSO DOT NET WEB APP KERBEROS DELEGATION HOP HOPPING INTEGRATEDSECURITY Crystal Reports for Visual Studio Troubleshooting Kerberos Delegation Crystal Reports for Visual Studio .NET 2005 , c2018929 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, version for Visual Studio .NET 2005 ; SAP Crystal Reports, version for Visual Studio .NET 2008 ; SAP Crystal Reports, version for Visual Studio .NET 9.1