cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to logon to CMS using Crystal Decision Enterprise Reference

Former Member
0 Kudos

Post Author: fionafoo

CA Forum: Deployment

Dear All,

Appreciate your advice for the problem as stated below.

My workstation is installed with the Crystal Report XI Release 2. I have implemented the crystal report loaded from specified path as following:

MyReportDocument.Load(Server.MapPath("report.rpt"));

The crystal report is loaded correctly from the IIS server.

Then, I installed the Crystal Report Server XI on the same server where the IIS server resided. The report template is successfully published to the CMS.

There is an error message prompted u201CAccess denied. You cannot logon to an older version of the CMSu201D when the program trace until u201CenterpriseSessionMgr.Logonu201D block in u201CsetReportUsingPageServeru201D function as highlighted in the following source code.

using CrystalDecisions.Enterprise;

using CrystalDecisions.CrystalReports.Engine;

using CrystalDecisions.Shared;

using CrystalDecisions.ReportAppServer.ClientDoc;

using CrystalDecisions.Enterprise.Viewing;

using CrystalDecisions.ReportAppServer.Controllers;

u2026

protected void Page_Load(object sender, EventArgs e)

{

// Set up the viewer using the Page Server Report Factory

setReportUsingPageServer();

u2026

}

private void setReportUsingPageServer()

{

try

{

SessionMgr enterpriseSessionMgr = new SessionMgr();

EnterpriseSession m_enterpriseSession = enterpriseSessionMgr.Logon(

"Administrator",

"",

"servername",

"secEnterprise"

);

u2026.

}

Appreciate for any solution for this problem.

Thanks.

Regards,

Fiona

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Post Author: ejthunder

CA Forum: Deployment

Hello,

I'm not sure I have all the details, but the error message you're receiving - "Access denied. You cannot logon to an older version of the CMS" - suggests that you're trying to use CR Server XI R2 (v11.5) runtime files to connect to a CR Server XI (v11.0) system (or vice versa). Different versions of runtimes are not expected to connect correctly. The runtime versioning of the application has to match the CR Server system you're trying to reach for it to work as expected.

You'll either need to downgrade your application, or upgrade your CR Server system.

I hope this helps.

EJ