Unable to get report parameters. An error has occurred. Unable to establish a connection to the database.

2 posts, 0 answers
  1. Senthil
    Senthil avatar
    6 posts
    Member since:
    Jul 2017

    Posted 27 Dec 2017 Link to this post

    I have recently installed reporting onto my machine. All the example projects works fine but the below one is not loading the report fine and throws exception. 

    CSharp.Asp.NetCoreDemo

     

    Unable to get report parameters.
    An error has occurred.
    Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.

    It looks like all the reports which connects to DB with .NetCore is not working. 

     

    Can you fix and let me know what is the issue? 

  2. Katia
    Admin
    Katia avatar
    693 posts

    Posted 02 Jan 2018 Link to this post

    Hi Senthil,

    Thank you for reporting this issue, we managed to reproduce it on our side. It seems that the connection string is not saved correctly in the configuration file of the .NET Core demo project during the installation of Telerik Reporting.
    We will log it into our system for further investigation and improvements. Your Telerik points were updated to thank you for bringing this issue to our attention.

    In order to run the project, change the connection string in application configuration file. In .NET Core projects, Reporting engine will look in the project's root app.config for any named connection strings.
      

    Regards,
    Katia
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top