Showing posts with label internal. Show all posts
Showing posts with label internal. Show all posts

Friday, March 30, 2012

ReportViewer Control Internal Secrets

Hi,
unfortuntely, MS has changed the logic of their generated Report HTML
between RS 2000 and SSRS 2005 using the WEB RepotViewer control.
In RS 2005 the generated HTML
a) the values of parameter list are no longer the REAL report values -
now it's only the collection id
b) the name of the parameter control can't be identified anymore
because it shows someting like:
"ReportViewerControl_ctl01_ctl01_ctl01_ctl00" that was in RS 2000
always the name of the control - especially of the parameter values.
Now a few question regarding the RS 2005 Web ReportView internals,
perhaps somebody could answer:
1) Is there a possibilty during the runtime to lookup the parameter
controls ReportViewerControl_ctl01_ctl01_ctl01_ctl00 via webservices or
ReportingServices DB to find out what is the original name of the
control?
2) Is there a possibility during the runtime to lookup the collection
id values to find out the corresponding parameter values via
webservices or ReportingServices DB to find out what is the original
name of the control?
3) Is there the plan of MS to allow customizable parameterwith your own
ASP implementation with the next SP'
4) Has somebody experience/ idea how to extract the underlying SQL for
the report parameter or already an inplemenation of a dynamicly
generated Parameter screen only based on the RDL definition &
dependencies?
Thanks a lot
best regards
BBBruce, curious to know if you made any headway on your #2 problem?
As I understand, your trying to get the values that the dropdown list is
populated with.
The best I've come up with so far is to run your own dataset (ADO.NET) and
load the dataset into a combo box. Then pass the ddlist.selectedvalue to the
report parameter collection and send that along to the webservice when
rendering the report.
Let me know if you have more, I'm really trying to find way to build dynamic
webpages, based off the parameters of a particular report. Hence the user
selects a report from a dropdown, and the page (an aspx page) shows the
appropriate controls to satisfy the parameter requirements.
When a different with different set of parameters is selected the screen is
changed accordingly.
Thanks,
rwiethorn
"BB_Reporting" wrote:
> Hi,
> unfortuntely, MS has changed the logic of their generated Report HTML
> between RS 2000 and SSRS 2005 using the WEB RepotViewer control.
> In RS 2005 the generated HTML
> a) the values of parameter list are no longer the REAL report values -
> now it's only the collection id
> b) the name of the parameter control can't be identified anymore
> because it shows someting like:
> "ReportViewerControl_ctl01_ctl01_ctl01_ctl00" that was in RS 2000
> always the name of the control - especially of the parameter values.
> Now a few question regarding the RS 2005 Web ReportView internals,
> perhaps somebody could answer:
> 1) Is there a possibilty during the runtime to lookup the parameter
> controls ReportViewerControl_ctl01_ctl01_ctl01_ctl00 via webservices or
> ReportingServices DB to find out what is the original name of the
> control?
> 2) Is there a possibility during the runtime to lookup the collection
> id values to find out the corresponding parameter values via
> webservices or ReportingServices DB to find out what is the original
> name of the control?
> 3) Is there the plan of MS to allow customizable parameterwith your own
> ASP implementation with the next SP'
> 4) Has somebody experience/ idea how to extract the underlying SQL for
> the report parameter or already an inplemenation of a dynamicly
> generated Parameter screen only based on the RDL definition &
> dependencies?
> Thanks a lot
> best regards
> BB
>

Wednesday, March 21, 2012

ReportServer - http://localhost/ReportServer - Error

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

Object reference not set to an instance of an object.

And my ReportServer log:

<Header>

<Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>

<Locale>en-US</Locale>

<TimeZone>Pacific Standard Time</TimeZone>

<Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServer__03_24_2006_16_45_06.log</Path>

<SystemName>USPROFILING</SystemName>

<OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>

<OSVersion>5.2.3790.65536</OSVersion>

</Header>

w3wp!webserver!1!3/24/2006-16:45:06:: i INFO: Reporting Web Server started

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing ConnectionType to '1'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsSchedulingService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsNotificationService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsEventService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsWebServiceEnabled to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing ProcessRecycleOptions to '0'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonFlags to '1064'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing SecureConnectionLevel to '0'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DisplayErrorLink to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'as specified in Configuration file.

w3wp!resourceutilities!1!3/24/2006-16:45:06:: i INFO: Reporting Services starting SKU: Enterprise

w3wp!resourceutilities!1!3/24/2006-16:45:06:: i INFO: Evaluation copy: 0 days left

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Database Cleanup (Web Service) timer enabled: Next Event: 600 seconds.Cycle: 600 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!library!1!03/24/2006-16:45:06:: 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. > System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetAuthenticationType()

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.get_UsingWindowsAuth()

at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()

at Microsoft.ReportingServices.WebServer.Global.ShouldRejectAntiDos()

at Microsoft.ReportingServices.WebServer.Global.Application_AuthenticateRequest(Object sender, EventArgs e)

End of inner exception stack trace

w3wp!library!1!03/24/2006-16:45:09:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

w3wp!library!1!03/24/2006-16:45:11:: i INFO: Catalog SQL Server Edition = Enterprise

w3wp!library!1!03/24/2006-16:45:11:: 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. > System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetAuthenticationType()

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.get_UsingWindowsAuth()

at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()

at Microsoft.ReportingServices.WebServer.Global.Application_EndRequest(Object sender, EventArgs e)

End of inner exception stack trace

w3wp!library!1!03/24/2006-16:45:14:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

Any help would be appreciated:

System 2003 Server IIS6 and Sql2005 enterprise all housed on Virtual Server. all housed locally.

Check whether your ReportServer\web.config file has an XML namespace in it. SRS doesn't expect one to be present, but some tools from VS2005 web projects will add one in some cases.

If there is a namespace present, you can safely remove it.

Hope that helps,

Tudor

|||

Thanks here is my webconfig file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<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>
<customErrors mode="On" defaultRedirect="http://usprofiling/ReportCustomErrorPage.htm" />
<pages validateRequest="false" />
<authentication mode="Windows" />
<identity userName="" password="" 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"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Ant this has been working for the past month suddenly stopped. I removed the xmlns per request and it works now, so when using vs2005 it adds this tag?

|||

Hi,

I have the same problem and deleted the xmlns in the web.config:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

But then another error happens: rsServerConfigurationError. The log indicates the following:

aspnet_wp!library!1!12/07/2006-10:06:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details., Could not load Authorization extension;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details.
aspnet_wp!library!6!07/12/2006-10:07:40:: i INFO: Catalog SQL Server Edition = Developer
aspnet_wp!library!1!12/07/2006-10:08:47:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details., Could not load Authorization extension;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details.

Any idea? Help will be much appreciated, thanks a lot! :)

|||

Look in the ReportManager\web.config and ReportServer\web.config files, you should have the authentication mode set to "Windows".

<system.web>

<pages validateRequest="false" />

<authentication mode="Windows" />

<identity impersonate="true" />

This should be enough to solve your problem.

Greets.

|||Thanks, that was the solution for me!|||

.. so close to resolving my problem - but I'm still getting error 'Object reference not set to an instance of an object'.

I have checked out all of the above - but my Reporting Manager is still not my friend - anymore. Something must have happened ...

Subscribtions from Reporting Manager are still working, when I'm sending file (pdf e.g.)

Web.config is on both RepMan and RepServ =

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

--

<system.web>
<pages validateRequest="false" />
<authentication mode="Windows" />
<identity impersonate="true" />
<compilation defaultLanguage="c#" debug="false">
<assemblies>
<clear />

SQL server 2005 is installed on MS server 2003 Stand ed., SP1

Is there any good souls who can help me find a solution to this problem?

ReportServer - http://localhost/ReportServer - Error

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

Object reference not set to an instance of an object.

And my ReportServer log:

<Header>

<Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>

<Locale>en-US</Locale>

<TimeZone>Pacific Standard Time</TimeZone>

<Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServer__03_24_2006_16_45_06.log</Path>

<SystemName>USPROFILING</SystemName>

<OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>

<OSVersion>5.2.3790.65536</OSVersion>

</Header>

w3wp!webserver!1!3/24/2006-16:45:06:: i INFO: Reporting Web Server started

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing ConnectionType to '1'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsSchedulingService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsNotificationService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsEventService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsWebServiceEnabled to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing ProcessRecycleOptions to '0'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonFlags to '1064'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing SecureConnectionLevel to '0'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DisplayErrorLink to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'as specified in Configuration file.

w3wp!resourceutilities!1!3/24/2006-16:45:06:: i INFO: Reporting Services starting SKU: Enterprise

w3wp!resourceutilities!1!3/24/2006-16:45:06:: i INFO: Evaluation copy: 0 days left

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Database Cleanup (Web Service) timer enabled: Next Event: 600 seconds.Cycle: 600 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!library!1!03/24/2006-16:45:06:: 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. > System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetAuthenticationType()

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.get_UsingWindowsAuth()

at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()

at Microsoft.ReportingServices.WebServer.Global.ShouldRejectAntiDos()

at Microsoft.ReportingServices.WebServer.Global.Application_AuthenticateRequest(Object sender, EventArgs e)

End of inner exception stack trace

w3wp!library!1!03/24/2006-16:45:09:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

w3wp!library!1!03/24/2006-16:45:11:: i INFO: Catalog SQL Server Edition = Enterprise

w3wp!library!1!03/24/2006-16:45:11:: 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. > System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetAuthenticationType()

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.get_UsingWindowsAuth()

at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()

at Microsoft.ReportingServices.WebServer.Global.Application_EndRequest(Object sender, EventArgs e)

End of inner exception stack trace

w3wp!library!1!03/24/2006-16:45:14:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

Any help would be appreciated:

System 2003 Server IIS6 and Sql2005 enterprise all housed on Virtual Server. all housed locally.

Check whether your ReportServer\web.config file has an XML namespace in it. SRS doesn't expect one to be present, but some tools from VS2005 web projects will add one in some cases.

If there is a namespace present, you can safely remove it.

Hope that helps,

Tudor

|||

Thanks here is my webconfig file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<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>
<customErrors mode="On" defaultRedirect="http://usprofiling/ReportCustomErrorPage.htm" />
<pages validateRequest="false" />
<authentication mode="Windows" />
<identity userName="" password="" 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"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Ant this has been working for the past month suddenly stopped. I removed the xmlns per request and it works now, so when using vs2005 it adds this tag?

|||

Hi,

I have the same problem and deleted the xmlns in the web.config:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

But then another error happens: rsServerConfigurationError. The log indicates the following:

aspnet_wp!library!1!12/07/2006-10:06:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details., Could not load Authorization extension;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details.
aspnet_wp!library!6!07/12/2006-10:07:40:: i INFO: Catalog SQL Server Edition = Developer
aspnet_wp!library!1!12/07/2006-10:08:47:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details., Could not load Authorization extension;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details.

Any idea? Help will be much appreciated, thanks a lot! :)

|||

Look in the ReportManager\web.config and ReportServer\web.config files, you should have the authentication mode set to "Windows".

<system.web>

<pages validateRequest="false" />

<authentication mode="Windows" />

<identity impersonate="true" />

This should be enough to solve your problem.

Greets.

|||Thanks, that was the solution for me!|||

.. so close to resolving my problem - but I'm still getting error 'Object reference not set to an instance of an object'.

I have checked out all of the above - but my Reporting Manager is still not my friend - anymore. Something must have happened ...

Subscribtions from Reporting Manager are still working, when I'm sending file (pdf e.g.)

Web.config is on both RepMan and RepServ =

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

--

<system.web>
<pages validateRequest="false" />
<authentication mode="Windows" />
<identity impersonate="true" />
<compilation defaultLanguage="c#" debug="false">
<assemblies>
<clear />

SQL server 2005 is installed on MS server 2003 Stand ed., SP1

Is there any good souls who can help me find a solution to this problem?

ReportServer - http://localhost/ReportServer - Error

An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Object reference not set to an instance of an object.

And my ReportServer log:

<Header>

<Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>

<Locale>en-US</Locale>

<TimeZone>Pacific Standard Time</TimeZone>

<Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServer__03_24_2006_16_45_06.log</Path>

<SystemName>USPROFILING</SystemName>

<OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>

<OSVersion>5.2.3790.65536</OSVersion>

</Header>

w3wp!webserver!1!3/24/2006-16:45:06:: i INFO: Reporting Web Server started

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing ConnectionType to '1'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsSchedulingService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsNotificationService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsEventService to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing IsWebServiceEnabled to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing ProcessRecycleOptions to '0'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonFlags to '1064'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing SecureConnectionLevel to '0'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing DisplayErrorLink to 'True'as specified in Configuration file.

w3wp!library!1!3/24/2006-16:45:06:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'as specified in Configuration file.

w3wp!resourceutilities!1!3/24/2006-16:45:06:: i INFO: Reporting Services starting SKU: Enterprise

w3wp!resourceutilities!1!3/24/2006-16:45:06:: i INFO: Evaluation copy: 0 days left

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Database Cleanup (Web Service) timer enabled: Next Event: 600 seconds.Cycle: 600 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!runningjobs!1!3/24/2006-16:45:06:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.Cycle: 60 seconds

w3wp!library!1!03/24/2006-16:45:06:: 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. > System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetAuthenticationType()

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.get_UsingWindowsAuth()

at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()

at Microsoft.ReportingServices.WebServer.Global.ShouldRejectAntiDos()

at Microsoft.ReportingServices.WebServer.Global.Application_AuthenticateRequest(Object sender, EventArgs e)

End of inner exception stack trace

w3wp!library!1!03/24/2006-16:45:09:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

w3wp!library!1!03/24/2006-16:45:11:: i INFO: Catalog SQL Server Edition = Enterprise

w3wp!library!1!03/24/2006-16:45:11:: 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. > System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetWebConfigAuthenticationAttribute(String attrName)

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.GetAuthenticationType()

at Microsoft.ReportingServices.Diagnostics.WebConfigUtil.get_UsingWindowsAuth()

at Microsoft.ReportingServices.WebServer.Global.EnableAntiDos()

at Microsoft.ReportingServices.WebServer.Global.Application_EndRequest(Object sender, EventArgs e)

End of inner exception stack trace

w3wp!library!1!03/24/2006-16:45:14:: i INFO: Exception dumped to: C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson

Any help would be appreciated:

System 2003 Server IIS6 and Sql2005 enterprise all housed on Virtual Server. all housed locally.

Check whether your ReportServer\web.config file has an XML namespace in it. SRS doesn't expect one to be present, but some tools from VS2005 web projects will add one in some cases.

If there is a namespace present, you can safely remove it.

Hope that helps,

Tudor

|||

Thanks here is my webconfig file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<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>
<customErrors mode="On" defaultRedirect="http://usprofiling/ReportCustomErrorPage.htm" />
<pages validateRequest="false" />
<authentication mode="Windows" />
<identity userName="" password="" 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"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Ant this has been working for the past month suddenly stopped. I removed the xmlns per request and it works now, so when using vs2005 it adds this tag?

|||

Hi,

I have the same problem and deleted the xmlns in the web.config:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

But then another error happens: rsServerConfigurationError. The log indicates the following:

aspnet_wp!library!1!12/07/2006-10:06:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details., Could not load Authorization extension;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details.
aspnet_wp!library!6!07/12/2006-10:07:40:: i INFO: Catalog SQL Server Edition = Developer
aspnet_wp!library!1!12/07/2006-10:08:47:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details., Could not load Authorization extension;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: An internal error occurred on the report server. See the error log for more details.

Any idea? Help will be much appreciated, thanks a lot! :)

|||

Look in the ReportManager\web.config and ReportServer\web.config files, you should have the authentication mode set to "Windows".

<system.web>

<pages validateRequest="false" />

<authentication mode="Windows" />

<identity impersonate="true" />

This should be enough to solve your problem.

Greets.

|||Thanks, that was the solution for me!|||

.. so close to resolving my problem - but I'm still getting error 'Object reference not set to an instance of an object'.

I have checked out all of the above - but my Reporting Manager is still not my friend - anymore. Something must have happened ...

Subscribtions from Reporting Manager are still working, when I'm sending file (pdf e.g.)

Web.config is on both RepMan and RepServ =

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

--

<system.web>
<pages validateRequest="false" />
<authentication mode="Windows" />
<identity impersonate="true" />
<compilation defaultLanguage="c#" debug="false">
<assemblies>
<clear />

SQL server 2005 is installed on MS server 2003 Stand ed., SP1

Is there any good souls who can help me find a solution to this problem?