Error creating report instance

2 posts, 0 answers
  1. Mehmet
    Mehmet avatar
    3 posts
    Member since:
    May 2014

    Posted 15 May 2014 Link to this post


    I new user in Telerik. I prepaire a report page in mvc5 with web API.  I complete these steps but. cant see my report browser:

    my default connection:   
      <add name="Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString" connectionString="Data Source=.;Initial Catalog=ModularicaDb;Integrated Security=SSPI" providerName="System.Data.SqlClient" />

    My Database: SqlServer 2012 Database Name: ModularicaDb

                serviceUrl: "http://localhost:55098/api/reports/",
                templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate.html',
                reportSource: {
                    report: "as.trdx",
                    parameters: {
                        ReportYear: "2003"
                viewMode: "ViewModes.INTERACTIVE",
                scaleMode: "ScaleModes.SPECIFIC",
                scale: "1.0"

    I can show my report on Report Designer StandAlone software but cant see on mvc project?


  2. Stef
    Stef avatar
    3611 posts

    Posted 20 May 2014 Link to this post

    Hello Mehmet,

    The attachment cannot be opened.

    Please take a look at my post in the 400 Bad Request for /api/reports/clients/{client_id}/parameters forum thread, and verify all settings listed in the linked articles are applied correctly.

    The major settings you have to check are:
    1. If the folder with the TRDX files is mapped correctly in the ReportscontrollerBase.CreateReportResolver method;
    2. If relative paths are resolved correctly based on the projects structure;
    3. If the Reporting REST service is reachable at the given address. If the service is hosted separately, you will need to enable CORS to allow the communication with the viewer.
    4. If all connection strings used in the report are copied in the corresponding section of the service's project. If you have extended the Standalone Designer with external assemblies, please check the Deploying trdx (XML report definition) that uses external assembly KB article.

    If you need further help, please reattach the details about the received error. You can also check the failed requests with Fiddler at your side.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top