Solved

Login to Crystal Reports Info View Programatically from .NET

Posted on 2010-09-14
1
611 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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