Hi,
I have a problem where a report that works when deployed via Visual Studio throws an exception when copied to a different report server.
Here is an extract from the error dump (any help would be appreciated). I can see there a null reference exception but can't see what is missing.
Thanks in advance.
System.Threading.Thread.Abort(Object stateInfo)at System.Web.HttpResponse.End()
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
library!WindowsService_416!19c0!01/14/2013-10:09:20:: i INFO: Call to CleanBatch()
library!WindowsService_416!19c0!01/14/2013-10:09:20:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
library!WindowsService_416!19c0!01/14/2013-10:09:20:: i INFO: Call to CleanBatch() ends
library!WindowsService_416!19c0!01/14/2013-10:19:20:: i INFO: Call to CleanBatch()
library!WindowsService_416!19c0!01/14/2013-10:19:20:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
library!WindowsService_416!19c0!01/14/2013-10:19:20:: i INFO: Call to CleanBatch() ends
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetPermissionsAction(/RSFolder).
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetPropertiesAction(/RSFolder, PathBased).
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetPropertiesAction(/RSFolder, PathBased).
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetSystemPermissionsAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to ListChildrenAction(/RSFolder, False).
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:06:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetPermissionsAction(/RSFolder/r2).
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetPropertiesAction(/RSFolder/r2, PathBased).
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetPropertiesAction(/RSFolder/r2, PathBased).
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetSystemPermissionsAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to ListChildrenAction(/RSFolder/r2, False).
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1b74!01/14/2013-10:26:08:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetPermissionsAction(/RSFolder/r2).
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetPropertiesAction(/RSFolder/r2, PathBased).
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetPropertiesAction(/RSFolder/r2, PathBased).
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetSystemPermissionsAction().
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to ListChildrenAction(/RSFolder/r2, False).
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!155c!01/14/2013-10:26:12:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetPermissionsAction(/RSFolder/r2).
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetPropertiesAction(/RSFolder/r2, PathBased).
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetPropertiesAction(/RSFolder/r2, PathBased).
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetSystemPermissionsAction().
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to ListChildrenAction(/RSFolder/r2, False).
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!1238!01/14/2013-10:26:42:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!155c!01/14/2013-10:27:37:: Call to GetSystemPropertiesAction().
library!ReportServer_0-439!15cc!01/14/2013-10:27:37:: Call to GetItemTypeAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!15cc!01/14/2013-10:27:38:: Call to GetItemTypeAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!15cc!01/14/2013-10:27:38:: Call to GetReportDefinitionAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!15cc!01/14/2013-10:27:43:: Call to GetItemDataSourcesAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!155c!01/14/2013-10:27:43:: Call to GetItemTypeAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!155c!01/14/2013-10:27:43:: Call to GetReportItemReferencesAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!15cc!01/14/2013-10:27:43:: Call to GetItemTypeAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!15cc!01/14/2013-10:27:43:: Call to GetReportParametersAction(/RSFolder/r2/CopiedReport).
library!ReportServer_0-439!15cc!01/14/2013-10:27:43:: Call to GetPropertiesAction(/RSFolder/r2/CopiedReport, PathBased).
library!ReportServer_0-439!15cc!01/14/2013-10:27:43:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: , Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.ReportingServices.Library.RSService.CombineDataSources(DataSetInfoCollection dataSets, DataSourceInfoCollection existingDataSources)
at Microsoft.ReportingServices.Library.RSService.ProcessingGetAllDataSources(ReportProcessing repProc, CatalogItemContext reportContext, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, DataSetInfoCollection thisReportDataSets, Boolean checkIfUsable, RuntimeDataSourceInfoCollection& runtimeDataSources, RuntimeDataSetInfoCollection& runtimeDataSets)
at Microsoft.ReportingServices.Library.RSService.GetAllDataSources(ReportProcessing repProc, BaseReportCatalogItem report, ReportSnapshot intermediateSnapshot, Boolean checkIfUsable, RuntimeDataSourceInfoCollection& runtimeDataSources, RuntimeDataSetInfoCollection& runtimeDataSets)
at Microsoft.ReportingServices.Library.RSService.GetAllDataSources(BaseReportCatalogItem report, Boolean checkIfUsable, Boolean useServiceConnectionForRepublishing, ReportSnapshot& compiledDefinition, RuntimeDataSourceInfoCollection& runtimeDataSources, RuntimeDataSetInfoCollection& runtimeDataSets)
at Microsoft.ReportingServices.Library.BaseReportCatalogItem.DeriveProperties()
at Microsoft.ReportingServices.Library.GetPropertiesAction.PerformActionNow()
at Microsoft.ReportingServices.Library.RSSoapAction`1.Execute()
--- End of inner exception stack trace ---;