This is a migrated thread and some comments may be shown as answers.

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

1 Answer 273 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Senthil
Top achievements
Rank 1
Senthil asked on 27 Dec 2017, 10:35 PM

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? 

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 02 Jan 2018, 08:07 AM
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
Tags
General Discussions
Asked by
Senthil
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or