Migrating from Web reporting

Posted by: peterf on 9 March 2023, 6:00 am EST

    • Post Options:
    • Link

    Posted 9 March 2023, 6:00 am EST

    I inherited a project using C1ReportViewer. I’m refactoring the project to use Winforms and reusing the xml reports parameters (I’ve migrated to flxr using the Xml2Flxr solution, though they appear to be very similar).

    I have a C1FlexViewer control on my form and in the code behind I’m doing:

    var myrpt = new C1FlexReport();
    myrpt.Load("Reports.flxr", "101");
    cfv.DocumentSource = myrpt;

    At this point I get the following error:

    System.ArgumentException
      HResult=0x80070057
      Message=Only 'http' and 'https' schemes are allowed.
    Parameter name: requestUri
      Source=System.Net.Http
      StackTrace:
       at System.Net.Http.HttpRequestMessage.InitializeValues(HttpMethod method, Uri requestUri)
  • Posted 9 March 2023, 2:05 pm EST

    Hello Peter,

    Your case has been replied on the support case CAS-38633-N1M7K7.

    https://www.grapecity.com/my-account/my-support/case/5bd967bf-efbd-ed11-83ff-002248244c88

    Please continue the thread there only to avoid confusion.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels