none
SSRS - The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. RRS feed

  • Question

  • Hi,

    I am getting below while opening RDL file from C# win form application:

    Error- The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version.

    Code-

    ServerReport report = new ServerReport();
    report.ReportPath = "/ReportsFR/AONOfferteNewFR";
    report.ReportServerUrl = new Uri("https://srvdevnet.gmd.lab/Reports");

    ReportDataSource reportDataSource = new ReportDataSource();
    reportDataSource.Name = "DS_AONOOfferNew";
    reportDataSource.Value = (new DbHandler()).GetAllEmployees();
    Byte[] mybytes = report.Render("pdf", null); - Error coming at the line

    Thanks in advance for your help.

    Tuesday, July 7, 2015 3:23 AM

Answers

All replies