Skip to Content
0
Former Member
Apr 23, 2009 at 02:36 PM

Login Prompt when on live server

53 Views

I have a Crystal Report that I created locally within .net framework 2.0. It displays on a web page and is called via a web service. All of this works fine. When I moved it to the testing site I got it to work okay also. Now I have moved it to the live site (first Crystal Report on the live web site) and I get a message:

The report you requested requires further information and displays login entry fields. When I enter the login information and click on the log on button nothing happens.

Within in my code I pass the login information this way:

TableLogOnInfos crTableLogonInfos = new TableLogOnInfos();

TableLogOnInfo crTableLogonInfo = new TableLogOnInfo();

CrystalDecisions.Shared.ConnectionInfo crConnectionInfo = new CrystalDecisions.Shared.ConnectionInfo();

crConnectionInfo.ServerName = Application["ServerName"].ToString();

crConnectionInfo.DatabaseName = "";

crConnectionInfo.UserID = Application["UserName"].ToString();

crConnectionInfo.Password = Application["Password"].ToString();

crTableLogonInfo.ConnectionInfo = crConnectionInfo;

crTableLogonInfo.TableName = "";

crTableLogonInfos.Add(crTableLogonInfo);

CrystalReportViewer1.LogOnInfo = crTableLogonInfos;

I pass parameter information - then have this code:

CrystalReportViewer1.ParameterFieldInfo = paramFields;

CrystalReportViewer1.DataBind();

Since I am passing all of the information, I cannot figure out why it is still prompting me to enter the login information (especially since it worked okay locally and on the testing server).