SQL Server Q&A

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘Report’

The server that is running SQL Server 2008 Reporting Services stops responding when you use the “Asynchronous Processing = True” setting in the connection string property to generate a report

Symptoms
On server that is running Microsoft SQL Server 2008 Reporting Services, you generate a report from a custom data extension data source. To do this, you use the “Asynchronous Processing = True” setting in the connection string property.When you run the report, the report server stops responding.
Resolution
This issue occurs because the System.Data.SQLclient namespace does not support asynchronous processing in any hosted common language runtime (CLR) environment. Because Reporting Services hosts the CLR within the Reporting Services process, the asynchronous call always fails.
Note The System.Data.SQLclient namespace is the SQL Server .Net Data Provider.

The results of rule checks may be logged incorrectly when you try to install or upgrade to SQL Server 2008

Symptoms
When you try to install or upgrade to Microsoft SQL Server 2008, the results of rule checks may be logged incorrectly in the System Configuration Check Report (SystemConfigurationCheck_Report.htm) file and in the Detail.txt log file. For example, the results of the Engine_UserHasNotDefinedSchemaSysCheck rule check may be logged as “Not Applicable.” This occurs even though there is a schema named “sys” in one of the SQL Server databases.
Note This rule check determines whether the user has defined a schema called ’sys’.
Resolution
This problem can occur if the rule is evaluated by using a three-state rule check in SQL Server 2008. A three-state rule check is a rule that can return a Passed, Failed, or Warning status.

FIX: Error message when you use SQL Server 2005 Report Manager to try to run a linked report: “An internal catalog exception has occurred”

Symptoms
When you use SQL Server 2005 Report Manager to try to run a linked report, you receive an error message that resembles the following:

An Internal Catalog Exception has occurredWhen you examine the Reporting Services log files after you receive the error message, you may notice the following call stack:

w3wp!library!1!1/27/2006-13:10:27:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., un-named assertion fired for component processing; Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.w3wp!processing!7!1/27/2006-13:10:27:: a ASSERT: Assertion failed!Call stack:Microsoft.ReportingServices.ReportProcessing.Persistence.IntermediateFormatReader.Initialize(Stream stream)Microsoft.ReportingServices.ReportProcessing.Persistence.IntermediateFormatReader..ctor(Stream stream)Microsoft.ReportingServices.ReportProcessing.ChunkManager+DataChunkReader..ctor(DataSet dataSet, Int32 reportUniqueName, UInt32 subreportLevel, GetReportChunk getChunkCallback)This problem occurs when the following conditions are true: The linked report contains the user dependency. For example, you use the expression User!UserID for a field.The linked report has an execution property that is set to use snapshots.
Resolution
The problem occurs because the report properties are not replicated to the linked reports.