Showing posts with label rsinternal. Show all posts
Showing posts with label rsinternal. Show all posts

Monday, March 19, 2012

An internal error occurred on the report server. See the error log for more details. (rsInternal

I've been sufferring from the following error for weeks:

  • An internal error occurred on the report server. See the error log for more details. (rsInternalError)

    I'm accessing the reports through QueryString. Sometimes the reports work and sometimes not.

    The content of the Reporting Services' log files are listed bellow:

    (SQLDUMPER_ERRORLOG.log)

    08/25/06 14:22:49, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () failed (00000514)
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 4012
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x14DB9AF4
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x00000000
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x00000000
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
    08/25/06 14:22:49, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
    08/25/06 14:22:51, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
    08/25/06 14:22:51, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files\Microsoft SQL Server\MSSQL.6\Reporting Services\LogFiles\SQLDmpr0119.mdmp
    08/25/06 14:22:51, ACTION, w3wp.exe, Watson Invoke: No

    (SQLDmpr0118.log)

    w3wp!library!8!8/25/2006-14:14: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!library!8!8/25/2006-14:14:59:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.6\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson
    w3wp!library!9!8/25/2006-14:15:00:: i INFO: Call to RenderFirst( '/Reports/Report3' )
    w3wp!processing!9!8/25/2006-14:15:00:: w WARN: The grouping expression for a category grouping returned a null value.
    w3wp!library!1!8/25/2006-14:16:35:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams
    w3wp!library!9!8/25/2006-14:16:35:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams
    w3wp!library!5!25/8/2006-14:21:32:: i INFO: Call to RenderFirst( '/Reports/Report3' )
    w3wp!processing!5!8/25/2006-14:21:32:: w WARN: The grouping expression for a category grouping returned a null value.
    w3wp!processing!5!25/8/2006-14:21:32:: a ASSERT: Assertion failed! Call stack:
    Microsoft.ReportingServices.ReportProcessing.ReportProcessing.UpdateTimingInformation(RunningJobContext jobContext, Int64 totalDurationMs, Int64 reportDataRetrievalDurationMs, Int64 reportRenderingDurationMs)
    Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension renderer, DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc, CreateReportChunk cacheDataCallback, Boolean& dataCached)
    Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallback, ProcessingContext pc, RenderingContext rc)
    Microsoft.ReportingServices.Library.RSService.RenderAsLive(CatalogItemContext reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Boolean isLinkedReport, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoCollection& alldataSources, UserProfileState& usedUserProfile)
    Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
    Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
    Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
    Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
    Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
    Microsoft.ReportingServices.Library.RenderReportAction.Render(String format, String deviceInfo)
    Microsoft.ReportingServices.WebServer.ReportExecutionService.InternalRender(String Format, String DeviceInfo, Stream& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
    Microsoft.Reporting.WebForms.ServerReport.InternalRender(String format, String deviceInfo, String& extension, String& mimeType, String& encoding, String[]& streams, Warning[]& warnings)
    Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, NameValueCollection additionalParams, String& mimeType, String& extension)
    Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(String format, String deviceInfo, NameValueCollection additionalParams, String& mimeType, String& fileExtension)
    Microsoft.Reporting.WebForms.ReportControlSource.RenderReportHTML4(String deviceInfo)
    Microsoft.Reporting.WebForms.ReportControl.RenderReport(ReportControlSource controlSource, String instanceIdentifier, String navigationID, ZoomMode zoomMode, Int32 zoomPercent, Int32 pageNumber, String prefix, String searchText, String linkTarget, String replacementRoot, String alertMessage, Boolean enableFindNext, Boolean sizeToContent)
    Microsoft.Reporting.WebForms.ReportAreaPage.OnPreRender(EventArgs e)
    System.Web.UI.Control.PreRenderRecursiveInternal()
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.Web.UI.Page.ProcessRequest()
    System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    System.Web.UI.Page.ProcessRequest(HttpContext context)
    System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
    System.Web.HttpServerUtility.Transfer(IHttpHandler handler, Boolean preserveForm)
    Microsoft.Reporting.WebForms.ReportAreaPageOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
    Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
    System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    System.Web.HttpApplication.ResumeSteps(Exception error)
    System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)

    w3wp!library!5!25/8/2006-14:21:32:: 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.

    I've reinstalled the SQL Server 2005 and the SP1 trying to solve this problem but it didn't work.

    Is there anyone who can help me?

    Thanks since now

    Jo?o Talles Dantas Batista
    jtdbf@.hotmail.com

    Did you ever get a solution? We're seeing the same error re: "AdjustTokenPrivileges"|||

    Not yet.
    I've installed the SP1 and the HotFix2153. Even after this, I still have the same error.
    It's very strange because the Microsoft's support asked me to do it, but it didn't work.
    Have you tried anything different?

    Jo?o Talles Dantas Batista

  • An internal error occurred on the report server. See the error log for more details. (rsInternal

    Hello everybody,

    I am trying to use the reporting services on Windows 2003 with SQLServer 2005. Everything works fine in the report manager and I can access and render the reports without any problem. But when I try to access the reports directly with the URL from the ReportServer, I get the following error :

    Reporting Services Error


    An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help

    The type Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 does not implement IReportServerConnection or could not be found


    SQL Server Reporting Services

    So I went to see the error log, and here is what it says :

    <Header>
    <Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>
    <Locale>en-US</Locale>
    <TimeZone>GMT Standard Time</TimeZone>
    <Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServer__11_10_2006_13_43_22.log</Path>
    <SystemName>VODAFONE</SystemName>
    <OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>
    <OSVersion>5.2.3790.65536</OSVersion>
    </Header>
    w3wp!webserver!5!11/10/2006-13:43:23:: i INFO: Reporting Web Server started
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing ProcessRecycleOptions to '0' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
    w3wp!resourceutilities!5!11/10/2006-13:43:23:: i INFO: Reporting Services starting SKU: Enterprise
    w3wp!resourceutilities!5!11/10/2006-13:43:23:: i INFO: Evaluation copy: 0 days left
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Database Cleanup (Web Service) timer enabled: Next Event: 600 seconds. Cycle: 600 seconds
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
    w3wp!library!5!10/11/2006-13:43:23:: Unhandled exception was caught: Microsoft.Reporting.WebForms.InvalidConfigFileTypeException: The type Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 does not implement IReportServerConnection or could not be found
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.EnsurePropertyLoaded()
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.GetInstance()
    at Microsoft.Reporting.WebForms.ReportViewer.CreateServerReport()
    at Microsoft.Reporting.WebForms.ReportViewer..ctor()
    at Microsoft.ReportingServices.WebServer.ReportViewerHost..ctor()
    at ASP.pages_reportviewer_aspx.__BuildControlReportViewerForm()
    at ASP.pages_reportviewer_aspx.__BuildControlTree(pages_reportviewer_aspx __ctrl)
    at ASP.pages_reportviewer_aspx.FrameworkInitialize()
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    w3wp!library!5!10/11/2006-13:43:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., ;
    Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. > Microsoft.Reporting.WebForms.InvalidConfigFileTypeException: The type Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 does not implement IReportServerConnection or could not be found
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.EnsurePropertyLoaded()
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.GetInstance()
    at Microsoft.Reporting.WebForms.ReportViewer.CreateServerReport()
    at Microsoft.Reporting.WebForms.ReportViewer..ctor()
    at Microsoft.ReportingServices.WebServer.ReportViewerHost..ctor()
    at ASP.pages_reportviewer_aspx.__BuildControlReportViewerForm()
    at ASP.pages_reportviewer_aspx.__BuildControlTree(pages_reportviewer_aspx __ctrl)
    at ASP.pages_reportviewer_aspx.FrameworkInitialize()
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    End of inner exception stack trace
    w3wp!library!5!10/11/2006-13:43:25:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson
    w3wp!library!5!10/11/2006-13:43:26:: i INFO: Catalog SQL Server Edition = Enterprise
    w3wp!webserver!5!11/10/2006-13:43:34:: i INFO: Reporting Web Server stopped

    Does anyone have any idea about what happends ? Any suggestions maybe about anything I should try ?

    Thanks very much in advance.

    [edit] I just installed a few minutes ago the service pack 1 for SQL Server 2005 and Reporting services, but obviously it doesn't change anything to my problem. [/edit]

    Have you added / defined a ReportViewerServerConnection key in the <appSettings> for ReportServer's web.config file?

    If yes, can you remove it and try agan?

    thanx,
    Prash

    |||

    Hi,

    First, thank you for answering.

    Actually I haven't any <appsetings> in the ReportServer's web.config file. I have that in the ReportManager, which works fine, but not in the ReportServer.

    Here is my web.config file for the Report Server :

    <?xml version="1.0" encoding="utf-8" ?>

    <configuration>

    <configSections>

    <section name="RStrace" type="Microsoft.ReportingServices.Diagnostics.RSTraceSectionHandler,Microsoft.ReportingServices.Diagnostics" />

    </configSections>

    <system.diagnostics>

    <switches>

    <!-- 1 = error, 2 = warning, 3 = info, 4 = verbose -->

    <add name="DefaultTraceSwitch" value="3" />

    </switches>

    <assert assertuienabled="false" />

    </system.diagnostics>

    <RStrace>

    <add name="FileName" value="ReportServer_" />

    <add name="FileSizeLimitMb" value="32" />

    <add name="KeepFilesForDays" value="14" />

    <add name="Prefix" value="tid, time" />

    <add name="TraceListeners" value="debugwindow, file" />

    <add name="TraceFileMode" value="unique" />

    <add name="Components" value="all,RunningJobs:3,SemanticQueryEngine:2,SemanticModelGenerator:2" />

    </RStrace>

    <system.web>

    <pages validateRequest="false" />

    <authentication mode="Windows" />

    <identity impersonate="true" />

    <compilation defaultLanguage="c#" debug="false">

    <assemblies>

    <clear />

    <add assembly="ReportingServicesWebServer" />

    </assemblies>

    </compilation>

    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />

    <sessionState mode="Off" />

    <httpHandlers>

    <add verb="*" path="Reserved.ReportServer" type="Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler, ReportingServicesWebServer" />

    <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />

    </httpHandlers>

    <httpModules></httpModules>

    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />

    <httpRuntime executionTimeout = "9000" />

    <securityPolicy>

    <trustLevel name="RosettaSrv" policyFile="rssrvpolicy.config" />

    </securityPolicy>

    <trust level="RosettaSrv" originUrl="" />

    </system.web>

    <runtime>

    <legacyImpersonationPolicy enabled="true"/>

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

    <dependentAssembly>

    <assemblyIdentity name="Microsoft.ReportingServices.Interfaces"

    publicKeyToken="89845dcd8080cc91"

    culture="neutral" />

    <bindingRedirect oldVersion="8.0.242.0"

    newVersion="9.0.242.0"/>

    9.00.1399.00

    </dependentAssembly>

    </assemblyBinding>

    </runtime>

    </configuration>

    If any of you has any suggestion, I already spent a few hours on that problem...

    |||

    Found a solution here

    http://groups.google.com/group/microsoft.public.sqlserver.reportingsvcs/browse_thread/thread/a22799e1a354ea79/9aca125282998795

    This fix works assuming that the IIS virtual server that reporting services is installed on uses the same home directory as the Report Manager (in which case the ReportServer web.config inherits the settings from its parent).

    An internal error occurred on the report server. See the error log for more details. (rsInternal

    Hello everybody,

    I am trying to use the reporting services on Windows 2003 with SQLServer 2005. Everything works fine in the report manager and I can access and render the reports without any problem. But when I try to access the reports directly with the URL from the ReportServer, I get the following error :

    Reporting Services Error

    An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help The type Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 does not implement IReportServerConnection or could not be found

    SQL Server Reporting Services

    So I went to see the error log, and here is what it says :

    <Header>
    <Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>
    <Locale>en-US</Locale>
    <TimeZone>GMT Standard Time</TimeZone>
    <Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServer__11_10_2006_13_43_22.log</Path>
    <SystemName>VODAFONE</SystemName>
    <OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>
    <OSVersion>5.2.3790.65536</OSVersion>
    </Header>
    w3wp!webserver!5!11/10/2006-13:43:23:: i INFO: Reporting Web Server started
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing ProcessRecycleOptions to '0' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
    w3wp!library!5!11/10/2006-13:43:23:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
    w3wp!resourceutilities!5!11/10/2006-13:43:23:: i INFO: Reporting Services starting SKU: Enterprise
    w3wp!resourceutilities!5!11/10/2006-13:43:23:: i INFO: Evaluation copy: 0 days left
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Database Cleanup (Web Service) timer enabled: Next Event: 600 seconds. Cycle: 600 seconds
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
    w3wp!runningjobs!5!11/10/2006-13:43:23:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
    w3wp!library!5!10/11/2006-13:43:23:: Unhandled exception was caught: Microsoft.Reporting.WebForms.InvalidConfigFileTypeException: The type Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 does not implement IReportServerConnection or could not be found
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.EnsurePropertyLoaded()
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.GetInstance()
    at Microsoft.Reporting.WebForms.ReportViewer.CreateServerReport()
    at Microsoft.Reporting.WebForms.ReportViewer..ctor()
    at Microsoft.ReportingServices.WebServer.ReportViewerHost..ctor()
    at ASP.pages_reportviewer_aspx.__BuildControlReportViewerForm()
    at ASP.pages_reportviewer_aspx.__BuildControlTree(pages_reportviewer_aspx __ctrl)
    at ASP.pages_reportviewer_aspx.FrameworkInitialize()
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    w3wp!library!5!10/11/2006-13:43:23:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., ;
    Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. > Microsoft.Reporting.WebForms.InvalidConfigFileTypeException: The type Microsoft.ReportingServices.UI.WebControlConnection, ReportingServicesWebUserInterface, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 does not implement IReportServerConnection or could not be found
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.EnsurePropertyLoaded()
    at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.GetInstance()
    at Microsoft.Reporting.WebForms.ReportViewer.CreateServerReport()
    at Microsoft.Reporting.WebForms.ReportViewer..ctor()
    at Microsoft.ReportingServices.WebServer.ReportViewerHost..ctor()
    at ASP.pages_reportviewer_aspx.__BuildControlReportViewerForm()
    at ASP.pages_reportviewer_aspx.__BuildControlTree(pages_reportviewer_aspx __ctrl)
    at ASP.pages_reportviewer_aspx.FrameworkInitialize()
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    End of inner exception stack trace
    w3wp!library!5!10/11/2006-13:43:25:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson
    w3wp!library!5!10/11/2006-13:43:26:: i INFO: Catalog SQL Server Edition = Enterprise
    w3wp!webserver!5!11/10/2006-13:43:34:: i INFO: Reporting Web Server stopped

    Does anyone have any idea about what happends ? Any suggestions maybe about anything I should try ?

    Thanks very much in advance.

    [edit] I just installed a few minutes ago the service pack 1 for SQL Server 2005 and Reporting services, but obviously it doesn't change anything to my problem. [/edit]

    Have you added / defined a ReportViewerServerConnection key in the <appSettings> for ReportServer's web.config file?

    If yes, can you remove it and try agan?

    thanx,
    Prash

    |||

    Hi,

    First, thank you for answering.

    Actually I haven't any <appsetings> in the ReportServer's web.config file. I have that in the ReportManager, which works fine, but not in the ReportServer.

    Here is my web.config file for the Report Server :

    <?xml version="1.0" encoding="utf-8" ?>

    <configuration>

    <configSections>

    <section name="RStrace" type="Microsoft.ReportingServices.Diagnostics.RSTraceSectionHandler,Microsoft.ReportingServices.Diagnostics" />

    </configSections>

    <system.diagnostics>

    <switches>

    <!-- 1 = error, 2 = warning, 3 = info, 4 = verbose -->

    <add name="DefaultTraceSwitch" value="3" />

    </switches>

    <assert assertuienabled="false" />

    </system.diagnostics>

    <RStrace>

    <add name="FileName" value="ReportServer_" />

    <add name="FileSizeLimitMb" value="32" />

    <add name="KeepFilesForDays" value="14" />

    <add name="Prefix" value="tid, time" />

    <add name="TraceListeners" value="debugwindow, file" />

    <add name="TraceFileMode" value="unique" />

    <add name="Components" value="all,RunningJobs:3,SemanticQueryEngine:2,SemanticModelGenerator:2" />

    </RStrace>

    <system.web>

    <pages validateRequest="false" />

    <authentication mode="Windows" />

    <identity impersonate="true" />

    <compilation defaultLanguage="c#" debug="false">

    <assemblies>

    <clear />

    <add assembly="ReportingServicesWebServer" />

    </assemblies>

    </compilation>

    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />

    <sessionState mode="Off" />

    <httpHandlers>

    <add verb="*" path="Reserved.ReportServer" type="Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler, ReportingServicesWebServer" />

    <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />

    </httpHandlers>

    <httpModules></httpModules>

    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />

    <httpRuntime executionTimeout = "9000" />

    <securityPolicy>

    <trustLevel name="RosettaSrv" policyFile="rssrvpolicy.config" />

    </securityPolicy>

    <trust level="RosettaSrv" originUrl="" />

    </system.web>

    <runtime>

    <legacyImpersonationPolicy enabled="true"/>

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

    <dependentAssembly>

    <assemblyIdentity name="Microsoft.ReportingServices.Interfaces"

    publicKeyToken="89845dcd8080cc91"

    culture="neutral" />

    <bindingRedirect oldVersion="8.0.242.0"

    newVersion="9.0.242.0"/>

    9.00.1399.00

    </dependentAssembly>

    </assemblyBinding>

    </runtime>

    </configuration>

    If any of you has any suggestion, I already spent a few hours on that problem...

    |||

    Found a solution here

    http://groups.google.com/group/microsoft.public.sqlserver.reportingsvcs/browse_thread/thread/a22799e1a354ea79/9aca125282998795

    This fix works assuming that the IIS virtual server that reporting services is installed on uses the same home directory as the Report Manager (in which case the ReportServer web.config inherits the settings from its parent).