Tuesday, 3 June 2014

CRM 2011/ CRM 2013 Reporting Error : Error Occurred while setting the data source for the report. {0}

Hi, I just want to share that I have this error when I try to add new report.

“Error Occurred while setting the data source for the report. {0}”

image

I don’t know exactly why but this error really make me so stressed.

Then, I tried to Restart the Reporting Services through Reporting Services Configuration Manager, and IT DID NOT WORK!

I go to the my reports location : http://servername/reports

Then I found that I cannot access the MSCRM_DataSource Properties

image

image

Then, I tried to check the log, and here the errors what I encountered:

#1st Error
“extensionfactory!ReportServer_0-2!da8!06/03/2014-23:10:51:: e ERROR: Exception caught instantiating TERADATA report server extension: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Teradata.Client.Provider, Version=12.0.0.0, Culture=neutral, PublicKeyToken=76b417ee2e04956c' or one of its dependencies. The system cannot find the file specified.
File name: 'Teradata.Client.Provider, Version=12.0.0.0, Culture=neutral, PublicKeyToken=76b417ee2e04956c'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper.LoadTdAssembly()
   at Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper.GetTdConnectionType()
   at Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper..ctor()”

#2nd Error
extensionfactory!ReportServer_0-2!da8!06/03/2014-23:10:51:: e ERROR: Exception caught instantiating SQLPDW report server extension: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider.  It may not be installed.

#3rd Error
library!ReportServer_0-2!2274!06/03/2014-23:10:51:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: Adding more than one data source with null original name, Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.

#4th Error
\Reporting Services\Logfiles flags= ReferencedMemory, AllThreads, SendToWatson
ui!ReportManager_0-1!b0c!06/03/2014-23:10:54:: e ERROR: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
   at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetDataSourceContents(String DataSource, DataSourceDefinition& Definition)
   at Microsoft.ReportingServices.WebServer.ReportingService2010.GetDataSourceContents(String DataSource, DataSourceDefinition& Definition)

I try to go to another Organization_MSCRM and it works.
image

Here is my Resolution :

1. I move the MSCRM_DataSource to another folder, before that I create a folder. (This one to backup the original data source config because you cannot just rename that since you have no access to this record.)

2. I create new MSCRM_Datasource, I make sure the values are same with the other organization_MSCRM that does not have problem.

I create new Data Source same as the above picture with name : MSCRM_DataSource,
Data source type: Microsoft Dynamics CRM SQL

Connection String: MSCRM Data Connector Connection String
and choose the Connect using, choose the first one, then Apply.

3. For make sure, try to repair the SRS Data Connector as well and Restart the Services one more time.
Then, I try to add my report, it works and I can run the Report as well.

image

Well, it works in my case Smile

4 comments:

  1. very useful really good information thanks for posting such a good information it will helps the people a lot keep it up.
    Microsoft Dynamics CRM Online Training | Microsoft Dynamics AX Training

    ReplyDelete
  2. Wow! Great post! The content is very rich, and I really like it. It help me very much to solve some problems. It is very helpful for all the people on the web. Thanks a lot. Ecommerce Product Photography || Ecommerce Product Photoshoot || Products Catalogue

    ReplyDelete
  3. Wow! Great post! The content is very rich, and I really like it. It help me very much to solve some problems. It is very helpful for all the people on the web. Thanks a lot. Ecommerce Product Photography || Ecommerce Product Photoshoot || Products Catalogue

    ReplyDelete
  4. I am getting same error for online instance. did not found a way to resolve it.

    ReplyDelete

My Name is..