Solved

Login to Crystal Reports Info View Programatically from .NET

Posted on 2010-09-14
1
617 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

632 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