hi,
i am developing web base report portal in asp.net (vs2012). my back end database is oracle 64bit under linux. i have deployed web base application in windows 2008 r2 64bit server. in that server i have installed oracle 11g 32 bit client, installed crystal report 2008 and also installed crystal report viewer ver 13 32bits. when i am previewing report in crystal report 2008 with jdbc connection there is no error and preview the report. but when try to run the report through asp.net, i am getting error "failed to load database information". i have tried to resolve by changing different viewer version, but to fail. is there any error in code? code is written as follows
if (Request.QueryString["cr"] != null)
{
reportPath = "c:\\rptreports\\" + Request.QueryString["cr"];
CrystalReportViewer1.ReportSource = reportPath;
ConnectionInfo crConnectionInfo = MyClass.ConInfo();
TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
crtableLogoninfos = CrystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo crtableLogoninfo in crtableLogoninfos)
{
crtableLogoninfo.ConnectionInfo = crConnectionInfo;
}
}
public static ConnectionInfo ConInfo()
{
ConnectionInfo connInfo = new ConnectionInfo();
connInfo.ServerName = "orcl";
connInfo.DatabaseName = "ORCL";
connInfo.UserID = "uml";
connInfo.Password = "uml";
return connInfo;
}
can anybody help me to resolve error?