cancel
Showing results for 
Search instead for 
Did you mean: 

DHTML Viewer

Former Member
0 Kudos

<p>Does anyone know how to call infoview from within an ASP.NET web page <strong>without</strong> displaying the login screen? </p><p>Thanks in advance</p>

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

0 Kudos

It&#39;s not clear from your posting exactly what you are doing, but by default BusinessObjects supports the use of a "guest" or anonymous user. To access infoview uses "guest" you make sure there is NO username or password entered and click .

In order to avoid the logon page you can have the user hit an ASP or JSP page that uses the SDK to log them in using the "guest" user and secEnterprise authentication, add the logon token into a cookie value that InfoView users.... or pass it in on the URL. (This will depend on your implementation/version of InfoView)

Former Member
0 Kudos

I have an ASP.NET/C# app that allows the user to select a report and either schedule it or view a report instance. We are doing this because our client does not want to use infoview. Everything is working well except the viewer (CrystalDecisions.Web.CrystalReportViewer) takes an unacceptable amount of time to load. Basically, I need a way to speed up the viewer.

Former Member
0 Kudos

Hi there, I also need to link a 3rd party software that is displaying our companies business processes to access my webi/crystal reports without the slep to login. How do I get the token specified? I looked at the opendocument.jsp sdk, but don't know how to get the token and then specify it. Can you may help?

Re Abel

Former Member
0 Kudos

You could also use Trusted Authentication to automatically log the user in to Infoview. There's a little bit of one-time setup to get this working, but the code to do the login is fairly simple. Here's the code I'm using:

         SessionMgr sess = new SessionMgr();
         TrustedPrincipal tp = sess.CreateTrustedPrincipal(userName, ConfigurationManager.AppSettings["CMS"]);
         EnterpriseSession esess = sess.LogonTrustedPrincipal(tp);
         CrystalDecisions.Enterprise.WebControls.Identity ident = new CrystalDecisions.Enterprise.WebControls.Identity();
         ident.EnterpriseSession = esess;

         string token = ident.GetToken();
         HttpCookie identCookie = new HttpCookie("IdentityCookie", token);
         identCookie.Domain = "zcsterling.com";
         Response.Cookies.Add(identCookie);
         Response.AddHeader("P3P", "CP="ADMa OUR IND DSP ALL COR"");

-Dell

- A computer only does what you told it to, not what you thought you told it to!</p>