Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Login to Crystal Reports Info View Programatically from .NET

Posted on 2010-09-14
1
Medium Priority
?
628 Views
Last Modified: 2013-11-15
how to log on to InfoView .NET programmatically on my custom ASP .NET page (C#) and then transfer the user to InfoView without them having to type in the logon information.
0
Comment
Question by:gautam_reddyc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
gautam_reddyc earned 0 total points
ID: 33670316
string username = "administrator";
            string password = "fhjjh";
            string server = "CMS1:6400";
            string auth_type = "secEnterprise";
// logon
            SessionMgr session_mgr = new SessionMgr();
            EnterpriseSession session = session_mgr.Logon(username, password, server, auth_type);
// get the serialized session
            string session_str = session.SerializedSession;
// pass the session to our custom bypass page on the CRS
            string url = "http://Server/InfoViewApp/transfer.aspx?session=";

            url += HttpUtility.UrlEncode(session_str);
            Response.Redirect(url);

The above code gives transport communication error
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question