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

Error when Running Report

2 Answers 192 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Donald
Top achievements
Rank 1
Donald asked on 21 Apr 2014, 03:32 PM

When I try to run the report on a specific machine, I am getting the following error message. This program runs locally, and on other servers just fine.

System.ArgumentException: Unable to find the requested .Net Framework Data Provider.

Full Error message and call stack:

Telerik.Reporting.Processing.Data.SqlDataSourceException: 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. ---> 
System.ArgumentException: Unable to find the requested .Net Framework Data Provider.  It may not be installed.
   at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
   at Telerik.Reporting.Processing.Data.SqlProviderFactory.CreateConnection()
   at Telerik.Reporting.Processing.Data.SqlCommandProvider.CreateConnection(String connectionString)
   at Telerik.Reporting.Processing.Data.SqlQueryProvider.CreateConnection()
   --- End of inner exception stack trace ---
   at Telerik.Reporting.Processing.Data.SqlQueryProvider.CreateConnection()
   at Telerik.Reporting.Processing.Data.SqlDataEnumerable.<GetEnumerator>d__0.MoveNext()
   at Telerik.Reporting.Processing.Data.ResultSetAdapter.Fill(ResultSet resultSet, IEnumerable`1 data)
   at Telerik.Reporting.Processing.Data.SimpleDataProvider`1.Execute(MultidimensionalQuery query)
   at Telerik.Reporting.Processing.Report.ResolveData()
   at Telerik.Reporting.Processing.Report.ProcessItemCore()
   at Telerik.Reporting.Processing.Report.ProcessItem()
   at Telerik.Reporting.Processing.ReportItemBase.ProcessElement()
   at Telerik.Reporting.Processing.ProcessingElement.Process(IDataMember dataContext)

2 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 22 Apr 2014, 03:28 PM
Hello Donald,

You can test if the used in the connection string data provider is properly installed and registered on the server by creating a simple report with the Standalone Report Designer on the machine. If the provider is not listed, please reinstall it and verify it is registered correctly.

Regards,
Stef
Telerik
 

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.

 
0
Donald
Top achievements
Rank 1
answered on 28 Apr 2014, 09:16 PM
We had two dbproviderfactories in our machine.config
Tags
General Discussions
Asked by
Donald
Top achievements
Rank 1
Answers by
Stef
Telerik team
Donald
Top achievements
Rank 1
Share this question
or