Reports error on Reporting Services
Hi
When I run reports in Report Server ServiceManager.Report.ChangeManagement.ListOfRFCs happens the following error:
The Value expression for the query parameter '@ AllLabel' contains an error: An error occurred while deserializing the object. The serialized data is corrupt.
In this report SCSM console runs normally.
I did the same test lab and the error was the same, however was another parameter.
Can anyone help me?
I'd like to customize this report.
Thanks,
|| Aurélio Alves || - http://aurelioalves.wordpress.com
Ok looks like the console report works fine.....they are having issues since all they use is the console to run the reports which has the option in there for the time zone.
Not sure but it seems they should rewrite the reports properly....so for now I can setup the reports through SSRS but will need to verify it runs through the console if that makes any sense.
Help
Similar Messages
-
Reporting Services Point status message errors.
My Reporting Services Point seems to work OK -all reports are available and run correctly both through the console and via the website. However, I am seeing the following warning in the SMS_SRS_REPORTING_POINT status messages every hour:
"The SQL Reporting Services datasource on Reporting point server "Databaseserver.contoso.com" is missing or has been changed outside of Configuration Manager. It will be rebuilt based on the RSP configuration."
Here's what I think is causing the issue, but I don't know how to solve it.
The reports database is on the same remote SQL server as my site database. Because these site systems were installed automatically through the SCCM installation process, they show up in the Servers and Site Systems Role without an intranet FQDN. However,
when I add the RSP to the database server, it creates a new entry because when manually adding site systems SCCM insists on automatically adding the intranet FQDN. So I now have two separate entries for the same server:
\\DBServer01 - component server, site database server, site system
\\DBServer01.contoso.com - component server, reporting services point, site system
Any thoughts on how to stop these errors?Yes, I know this is an old post, but I’m trying to clean them up.
In the past when I have seen this, they will automatically clean themselves up after a few days. (aka up to a week later). Have it clean itself up yet?
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Good morning all,
I'm using SQL Server 2008 R2 reporting services, and I'm having a problem with the report server and manager pages. I've been able to configure everything in the Reporting Services Configuration Manager, and created the ReportServer and ReportServerTempDB
databases in my SQL Server instance, but when I try to hit either the Web Service URL or the Report Manager URL, I get a 500 error. The stack trace is below, with the error lines in bold. If anyone could help, I would really appreciate it.
Thanks.
rshost!rshost!4c4!08/17/2010-09:19:53:: i INFO: Application domain type ReportManager statistics: created: 11, unloaded: 11, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:53:: i INFO: Appdomain:29 ReportManager_MSSQLSERVER_0-23-129265247936138778 started.
rshost!rshost!4c4!08/17/2010-09:19:53:: i INFO: Application domain type ReportManager statistics: created: 12, unloaded: 12, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:53:: i INFO: Appdomain:30 ReportManager_2-24-129265247938638554 started.
rshost!rshost!4c4!08/17/2010-09:19:54:: i INFO: Application domain type ReportManager statistics: created: 13, unloaded: 13, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:54:: i INFO: Appdomain:31 ReportManager_3-25-129265247940669622 started.
rshost!rshost!4c4!08/17/2010-09:19:54:: i INFO: Application domain type ReportManager statistics: created: 14, unloaded: 14, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:54:: i INFO: Appdomain:32 ReportManager_4-26-129265247942700690 started.
rshost!rshost!4c4!08/17/2010-09:19:54:: i INFO: Application domain type ReportManager statistics: created: 15, unloaded: 15, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:54:: i INFO: Appdomain:33 ReportManager_5-27-129265247944731758 started.
rshost!rshost!4c4!08/17/2010-09:19:54:: i INFO: Application domain type ReportManager statistics: created: 16, unloaded: 16, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:54:: i INFO: Appdomain:34 ReportManager_6-28-129265247946762826 started.
rshost!rshost!4c4!08/17/2010-09:19:55:: i INFO: Application domain type ReportManager statistics: created: 17, unloaded: 17, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: i INFO: Appdomain:35 ReportManager_7-29-129265247948793894 started.
rshost!rshost!4c4!08/17/2010-09:19:55:: i INFO: Application domain type ReportManager statistics: created: 18, unloaded: 18, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: i INFO: Appdomain:36 ReportManager_8-30-129265247950981198 started.
rshost!rshost!4c4!08/17/2010-09:19:55:: i INFO: Application domain type ReportManager statistics: created: 19, unloaded: 19, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: i INFO: Appdomain:37 ReportManager_9-31-129265247953168502 started.
rshost!rshost!4c4!08/17/2010-09:19:55:: i INFO: Application domain type ReportManager statistics: created: 20, unloaded: 20, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: i INFO: Appdomain:38 ReportManager_10-32-129265247955355806 started.
rshost!rshost!4c4!08/17/2010-09:19:55:: i INFO: Application domain type ReportManager statistics: created: 21, unloaded: 21, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: i INFO: Appdomain:39 ReportManager_11-33-129265247957386874 started.
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: e ERROR: AppDomain ReportManager_11 failed to start. Error: The configuration system has already been initialized.
library!DefaultDomain!4c4!08/17/2010-09:19:55:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: Failed to create HTTP Runtime, Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException:
An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_11. ---> System.InvalidOperationException: The configuration system has already been initialized.
at System.Configuration.ConfigurationManager.SetConfigurationSystem(IInternalConfigSystem configSystem, Boolean initComplete)
at System.Configuration.Internal.InternalConfigSettingsFactory.System.Configuration.Internal.IInternalConfigSettingsFactory.SetConfigurationSystem(IInternalConfigSystem configSystem, Boolean initComplete)
at System.Web.Configuration.HttpConfigurationSystem.EnsureInit(IConfigMapPath configMapPath, Boolean listenToFileChanges, Boolean initComplete)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists, Boolean throwOnError)
at ReportingServicesHttpRuntime.RsHttpRuntime.Create(RsAppDomainType type, String vdir, String pdir, Int32& domainId)
--- End of inner exception stack trace ---;
appdomainmanager!ReportManager_11-33-129265247957386874!4c4!08/17/2010-09:19:55:: i INFO: Appdomain:39 ReportManager_11-33-129265247957386874 unloading
appdomainmanager!DefaultDomain!4c4!08/17/2010-09:19:55:: e ERROR: AppDomain:ReportManager_11-33-129265247957386874 failed to unload. Error: System.ArgumentNullException: Value cannot be null.
Parameter name: WaitCallback
Server stack trace:
at System.Threading.ThreadPool.QueueUserWorkItemHelper(WaitCallback callBack, Object state, StackCrawlMark& stackMark, Boolean compressStack)
at System.Threading.ThreadPool.QueueUserWorkItem(WaitCallback callBack)
at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand()
at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace)
at System.Web.HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason reason, String message)
at System.Web.HttpRuntime.UnloadAppDomain()
at Microsoft.ReportingServices.AppDomainManager.RsAppDomainManager.UnloadAspDomain(Boolean memoryRecycle)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.AppDomainManager.RsAppDomainManager.UnloadAspDomain(Boolean memoryRecycle)
at Microsoft.ReportingServices.AppDomainManager.RsAppDomainManager.CreateHttpRuntime(RsAppDomainType appDomainType, String vdir, String pdir, Int32& domainId).
library!DefaultDomain!4c4!08/17/2010-09:19:55:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerAppDomainManagerException: Failed to create Report Server HTTP Runtime, Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerAppDomainManagerException:
An error occurred when attempting to start the application domain ReportManager within the Report Server service. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the
HTTP Runtime object for application domain ReportManager_11. ---> System.InvalidOperationException: The configuration system has already been initialized.
at System.Configuration.ConfigurationManager.SetConfigurationSystem(IInternalConfigSystem configSystem, Boolean initComplete)
at System.Configuration.Internal.InternalConfigSettingsFactory.System.Configuration.Internal.IInternalConfigSettingsFactory.SetConfigurationSystem(IInternalConfigSystem configSystem, Boolean initComplete)
at System.Web.Configuration.HttpConfigurationSystem.EnsureInit(IConfigMapPath configMapPath, Boolean listenToFileChanges, Boolean initComplete)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type, String virtualPath, String physicalPath, Boolean failIfExists, Boolean throwOnError)
at ReportingServicesHttpRuntime.RsHttpRuntime.Create(RsAppDomainType type, String vdir, String pdir, Int32& domainId)
--- End of inner exception stack trace ---
at ReportingServicesHttpRuntime.RsHttpRuntime.Create(RsAppDomainType type, String vdir, String pdir, Int32& domainId)
at Microsoft.ReportingServices.AppDomainManager.RsAppDomainManager.CreateHttpRuntime(RsAppDomainType appDomainType, String vdir, String pdir, Int32& domainId)
--- End of inner exception stack trace ---;
rshost!rshost!4c4!08/17/2010-09:19:55:: e ERROR: Failed to create HttpRuntime 80131500.
rshost!rshost!4c4!08/17/2010-09:19:55:: e ERROR: Failed to get appdomain 80131500, pipeline=0x00F99350.
rshost!rshost!4c4!08/17/2010-09:19:55:: e ERROR: Error state. Internal abort for pipeline=0x00F99350 ...Hi Chris,
From the error messages you posted, the error is caused by the Reporting Services is not able to create the HttpRuntime.
Based on my research, the issue should be caused by the account the Reporting Services is running under does not have sufficient privilege to write files under folder 'RSTempFiles'.
To verify the cause, please check if there is message that resembles the following error message in the Reporting Services error logs:
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerAppDomainManagerException: An error occurred when attempting to start the application domain ReportManager within the Report Server service. --->
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_MSSQLSERVER_0. ---> System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\RSTempFiles\'.
In case we can verify the issue is caused by insufficient privilege to write files to 'RSTempFiles', we can assign the mentioned account (Service Account) the permissions to write files to the folder to solve the issue.
Generally speacking, giving permission to the service account in the folder per log error in reporting services granted access.
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT -
Reporting Services Error activating ReportingWebService.svc in SharePoint 2013
I get below error when i tried accessing System Settings after creating Reporting Services Service Application in SharePoint 2013, looked in to many blogs but didn't find any fix
tried https://social.msdn.microsoft.com/forums/sqlserver/en-US/c2066c96-d8d0-46b5-89ff-abd806b3169d/reportingwebservicesvc-could-not-be-activated
tried http://sharepointconnoisseur.blogspot.com/2014/07/how-to-resolve-requested-service-http.html
and also tried http://sharepoint.stackexchange.com/questions/80118/sharepoint-2010-reporting-services-integration-set-server-defaults-error
but nothing worked
The Error is:
The requested service, 'http://localhost:32843/99f510a2628e4f24a5dbde00a57f0cbb/ReportingWebService.svc' could not be activated. See the server's diagnostic trace logs for more information.
Error Log:
Application error when access /_admin/ReportServer/ReportingServicesSystemSettings.aspx, Error=The requested service, 'http://localhost:32843/9a9f58cdb5b34551921277056e5ebc82/ReportingWebService.svc' could not be activated. See the server's diagnostic trace
logs for more information. Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System.ServiceModel.ServiceActivationException: The requested service, 'http://localhost:32843/9a9f58cdb5b34551921277056e5ebc82/ReportingWebService.svc' could not be activated. See the server's diagnostic trace logs for more information. Server stack
trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.ServiceActivationException: The requested service, 'http://localhost:32843/9a9f58cdb5b34551921277056e5ebc82/ReportingWebService.svc'
could not be activated. See the server's diagnostic trace logs for more information. Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Hi MOSSDeveloper1,
Below is our suggestions:
1, try to open the URL in the Browser directly, then to see what happen. Maybe you can do the next action plan based on the error message in the Browser.
http://localhost:32843/99f510a2628e4f24a5dbde00a57f0cbb/ReportingWebService.svc
2,Try to get the application pool id based on the Reporting Web Service id "99f510a2628e4f24a5dbde00a57f0cbb"
Locate The Web Service in the sharepoint Web services in IIS, then click the advanced setting, you would see the application pool id;
Then Browse IIS manager "Application Pool", select the pool with the ID , restart it.
3,If the above two didn't helpful. tried to reboot the server or the steps below.
Update the web.config in the service host IIS web site and add the following. Set minFreeMemoryPercentageToActivateService to a lower percentage.
<configuration>
< system.serviceModel>
< serviceHostingEnvironment multipleSiteBindingsEnabled=”true” minFreeMemoryPercentageToActivateService=”1″/>
< /system.serviceModel>
< /configuration> -
Reporting Services Error after Interactive sorting and drill down in pps
Hi
i have a report that has a drill down option that shows all workgroups within a specific parent group and an interactive sorting ass well on both columns parent group & workgroup
This is displayed in pps combined with a SharePoint
---the problem is that after sorting the parent group column by name i then press the drill through icon (+) next to it hopping to see all workgroups related to each parent group
- but instead
i receive this Reporting Services Error :
The value for parameter 'SortItem' is not specified. It is either missing from the function call, or it is set to null. (rsMissingParameter) Get
Online Help
If I don't press the sorting and just drill through it works fine. the sorting itself also works fine.
any suggestions ?
Hi Hyaron,
I am unable to reproduce the issue in my test environment. How did you add the drilldown feature? Were you doing that by setting visibility of the column or of the group? Please ensure to add the drilldown functionality by set the visibility of the workgroup
from the Grouping Pane in the Report Designer.
How did you add the Interactive Sorting on the headers of the two columns? Based on the drilldown functionality, the Interactive Sorting on the second column doesn’t work. So, you can move the Interactive Sorting on the second column. When configuring the
Interactive sorting on the first column, you should set the parent group to sort, and sort by the field that the parent group groups by.
Hope this helps.
Regards,
Mike Yin
TechNet Community Support -
SharePoint 2013 Reporting Services Error activating ReportingWebService.svc
I get below error when i tried accessing System Settings after creating Reporting Services Service Application in SharePoint 2013, looked in to many blogs but didn't find any fix
tried https://social.msdn.microsoft.com/forums/sqlserver/en-US/c2066c96-d8d0-46b5-89ff-abd806b3169d/reportingwebservicesvc-could-not-be-activated
tried http://sharepointconnoisseur.blogspot.com/2014/07/how-to-resolve-requested-service-http.html
and also tried http://sharepoint.stackexchange.com/questions/80118/sharepoint-2010-reporting-services-integration-set-server-defaults-error
but nothing worked
The Error is:
The requested service, 'http://localhost:32843/99f510a2628e4f24a5dbde00a57f0cbb/ReportingWebService.svc' could not be activated. See the server's diagnostic trace logs for more information.
Error Log:
Application error when access /_admin/ReportServer/ReportingServicesSystemSettings.aspx, Error=The requested service, 'http://localhost:32843/9a9f58cdb5b34551921277056e5ebc82/ReportingWebService.svc' could not be activated. See the server's diagnostic trace
logs for more information. Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System.ServiceModel.ServiceActivationException: The requested service, 'http://localhost:32843/9a9f58cdb5b34551921277056e5ebc82/ReportingWebService.svc' could not be activated. See the server's diagnostic trace logs for more information. Server stack
trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.ServiceActivationException: The requested service, 'http://localhost:32843/9a9f58cdb5b34551921277056e5ebc82/ReportingWebService.svc'
could not be activated. See the server's diagnostic trace logs for more information. Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown
at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ReportingServices.ServiceContract.IReportServiceManagement.GetSystemProperties(ICollection`1 properties)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.<>c__DisplayClass9.<GetSystemProperties>b__8(IReportServiceManagement mchannel)
at Microsoft.ReportingServices.SharePoint.SharedService.ProxyHelper.DoManagementChannelCall(Action`1 caller)
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.get_SystemProperties()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.LoadSettings()
at Microsoft.ReportingServices.SharePoint.SharedService.UI.ReportingServicesSystemSettings.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Hi,
From your description, my understanding is that you got an error when you clicked System settings after configuring Reporting Services service application.
What size did you use for the memory? Please make sure the server has enough memory to run SharePoint and all services.
In addition, please open
http://localhost:xxxxx/SecurityTokenServiceApplication/securitytoken.svc to check if there is something about this issue.
Here is a similar post about this issue, please take a look at:
http://whitepages.unlimitedviz.com/2012/07/setting-up-reporting-services-2012-with-sharepoint-2013/
As this issue is about Reporting Services, I suggest you create a new thread on SSRS forum, more experts will assist you with SSRS.
SSRS forum:
https://social.technet.microsoft.com/Forums/office/en-US/home?forum=sqlreportingservices
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
SQL Server Reporting Services Configuration Error(Subscription)
I have just deployed a new project on the server and i can successfully run report from the BI Site; [Server Name]\Reports and no issue there. But when i try to create Subscription for the same report; I am trying File Share and it throws error as given
below. Do i have to configure anything for subscription in the Reporting Services Configuration Tool???
I also have few questions regarding Configuration;
What account should i use for the Deployed Data Source on the Server? A valid SQL Server Account I assume!!!
What account should i use for the Execution Account (For Unattended Operations) ? A valid Windows Account? or SQL Server account?
What account should i use for the File Share Subscription (Credentials used to access the file share:)? A Valid Windows Account with permission for that folder?
Here is the error I am getting in the log file..
ReportingServicesService!library!b!06/17/2010-09:35:04:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for
more information., AuthzInitializeContextFromSid: Win32 error: 110;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
ReportingServicesService!library!b!06/17/2010-09:35:04:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
ReportingServicesService!subscription!b!06/17/2010-09:35:04:: Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The report server has encountered a configuration error. See the report server log files for more information. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. See the report server log files for more information.
at Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntPtr userSid)
at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String userName)
at Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(String userName, IntPtr userToken)
at Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(String userName, IntPtr userToken, Byte[] secDesc, ReportOperation requiredOperation)
at Microsoft.ReportingServices.Library.Security.CheckAccess(ItemType catItemType, Byte[] secDesc, ReportOperation rptOper)
at Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionFromCatalog(CatalogItemContext reportContext, String historyID, Boolean forRendering, Guid& reportID, Int32& executionOption, String& savedParametersXml,
ReportSnapshot& compiledDefinition, ReportSnapshot& snapshotData, Guid& linkID, DateTime& historyOrSnapshotDate, Byte[]& secDesc)
at Microsoft.ReportingServices.Library.RSService._GetReportParameters(ClientRequest session, String report, String historyID, Boolean forRendering, NameValueCollection values, DatasourceCredentialsCollection credentials)
at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]&
secondaryStreamNames)
at Microsoft.ReportingServices.Library.ReportImpl.Render(String renderFormat, String deviceInfo)
at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.SaveReport(Notification notification, SubscriptionData data)
at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Deliver(Notification notification)
I also get following error when I try to create email Subscriptoin
w3wp!processing!6!6/17/2010-09:58:53:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'EU_Database'., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'EU_Database'. ---> System.Data.SqlClient.SqlException: Could not obtain information about Windows NT group/user 'THRY\RPUser',
error code 0x6e.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper.ImpersonateUser()
at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper.Open()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ReportRuntimeDataSourceNode.OpenConnection(DataSource dataSourceObj, ReportProcessingContext pc)
--- End of inner exception stack trace ---
Thanks,
RPHi RP,
For your first issue "cannpt create subscriptions", after analyzing the error logs, it seems to be caused to the service account for the Reporting Services service does not have proper permissions to invoke the WIN32 API.
The SQL Server Reporting Services invokes the Win32 API to impersonate user's permissions to write files to shared folder or call COM+ components.
In this case, we can change the service account to a account has permissions to invoke the Win32 API to solve the issue. For example, we can change the account to be NetworkService or LocalSystem:
1. Backup the encryption key using Reporting Serivces Configuration Manager.
2. Change the service account using Reporting Serivces Configuration Manager.
3. Restore the encryptiong key using Reporting Serivces Configuration Manager.
For your others questions, please see the following inline reply:
--What account should i use for the Deployed Data Source on the Server? A valid SQL Server Account I assume!!!
The account should be a Windows account or the SQL Server account, that has read permissions in the source data base at least.
--What account should i use for the Execution Account (For Unattended Operations) ? A valid Windows Account? or SQL Server account?
The account must be a Windows user account. For best results, choose an account that has read permissions and network logon permissions to support connections to other computers. It must have read permissions on any external image or data file that you
want to use in a report. Do not specify a local account unless all report data sources and external images are stored on the report server computer. Use the account only for unattended report processing.
--What account should i use for the File Share Subscription (Credentials used to access the file share:)? A Valid Windows Account with permission for that folder?
You are right. It must be a Windows account, which has permissions to access and write files to the shared folder.
For more information, please see:
Configuring the Report Server Service Account:
http://msdn.microsoft.com/en-us/library/ms160340.aspx
Execution Account (Reporting Services Configuration):
http://msdn.microsoft.com/en-us/library/ms181156.aspx
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT -
Report Services Integrated mode : Error 503 after 100 seconds
Hello,
After resolving an issue with some timeouts in shared datasets (updated value not taken into account), i am now facing another timeout (?) issue with our production sharepoint server and reporting services :
If a report takes more than 100 seconds to display, the following message is displayed on the top of the page :
"Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 503"
The exception is triggered by the scriptmanager, but i don't know why : all the applications pool are running fine, and if i look in SSRS log, it shows that the task completed successfully !
Our development server is not affected by this strange behavior.
Is there a secret timeout switch hidden somewhere ??Hi Raphael,
In Reporting Services, if the report server is under high memory pressure, the report server will refuse new requests until the current application domain is unloaded and a new one instantiated. While requests are refused, you will receive HTTP 503 errors.
To avoid this issue, you can add more memory, move the report server installation to a computer that has more memory, or change the memory configuration settings. For the detail information about it, please see HTTP 503 Service is Unavailable section on the
link below:
http://technet.microsoft.com/en-us/library/ms159778(v=sql.105).aspx
Besides, for the timeout issue, you can refer to the links below to troubleshooting it.
http://blogs.msdn.com/b/mariae/archive/2009/09/24/troubleshooting-timeout-errors-in-reporting-services.aspx
http://geekswithblogs.net/ssrs/archive/2009/10/30/steps-to-resolve-ssrs-timeout-issues.aspx
If you have any questions, please feel free to ask.
Regards,
Charlie Liao
TechNet Community Support -
Error in running report services
i installed 9iAS release 2.
while installing i selected only forms and report services options.
now while starting all the services reports services showing down.....
when seperately i am starting that services some ikon coming..but it is being there for small time only
so anybody help me in this.CAUSE
The problem is caused by not using VALID dates values in the dataset.
- This data problem was masked in the original version as the Predicate(s) used can change between versions of Oracle
- Oracle does *not* guarantee the same explain plan or the specific order of predicates used between versions of Oracle
Reviewing the EXPLAIN PLAN for both versions revealed in this case:
1) The table was partitioned
2) The EXPLAIN PLANS were not the same due to how the partitions were accessed
3) If the same query was used against a non-partitioned table using the same data, the following error would always occur
ORA-01843: not a valid month
4) The problem string value was in this case found to include the string value of '0000-00-00'
The ORA-01843 occurred when using the TO_DATE function against '0000-00-00'
There is *no* Year= '0000' Month= '00' or day = '00' -- therefore the ORA-01843: not a valid month
--Prashanth -
Error REP-0001 While starting the Report service
Hi
When trying to start the reports service from 9iAS, i am getting error message as "REP-0001 Unable to open the message file", and in the Window Title it shows "Message 16200 not found, No message file for product rw".
Regards
RanganathHi,
You(The user) need to have access permission to read the mesg files. The DBA installing Reports will be able to run the reports.
Grant read access to rwus.msb and rwus.msg files on $ORACLE_HOME/reports/mesg/
Try to run it, should work.
Thanks,
Oracle Reports Team. -
Hi,
I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
m_fields = NewArrayList()
Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
Next i
'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
stream = File.OpenWrite("D:\MyTestReport2.rdlc")
Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
' Causes child elements to be indented
writer.Formatting = Formatting.Indented
' Report element
writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
writer.WriteStartElement("Report")
writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
writer.WriteStartElement("ReportSections")
writer.WriteStartElement("ReportSection")
writer.WriteElementString("Width", "11in")
writer.WriteStartElement("Body")
writer.WriteElementString("Height", "5in")
writer.WriteStartElement("ReportItems")
writer.WriteStartElement("Tablix")
writer.WriteAttributeString("Name", Nothing, "Tablix1")
writer.WriteElementString("Top", ".5in")
writer.WriteElementString("Left", ".5in")
writer.WriteElementString("Height", ".5in")
writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
writer.WriteStartElement("TablixBody")
' Tablix Columns
writer.WriteStartElement("TablixColumns")
ForEach fieldName In m_fields
writer.WriteStartElement("TablixColumn")
writer.WriteElementString("Width", "1.5in")
writer.WriteEndElement() ' TableColumnNext fieldName
writer.WriteEndElement() ' TablixColumns' Header Row
writer.WriteStartElement("TablixRows")
writer.WriteStartElement("TablixRow")
writer.WriteElementString("Height", ".25in")
writer.WriteStartElement("TablixCells")
ForEach fieldName In m_fields
writer.WriteStartElement("TablixCell")
writer.WriteStartElement("CellContents")
writer.WriteStartElement("Textbox")
writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
' writer.WriteAttributeString("CanGrow", True)' writer.WriteAttributeString("Keeptogether", True)
writer.WriteStartElement("Paragraphs")
writer.WriteStartElement("Paragraph")
writer.WriteStartElement("TextRuns")
writer.WriteStartElement("TextRun")
writer.WriteElementString("Value", fieldName)
writer.WriteStartElement("Style")
writer.WriteElementString("TextDecoration", "Underline")
writer.WriteElementString("PaddingTop", "0in")
writer.WriteElementString("PaddingLeft", "0in")
writer.WriteElementString("LineHeight", ".5in")
''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
writer.WriteEndElement() ' Style
writer.WriteEndElement() ' TextRun
writer.WriteEndElement() ' TextRuns
writer.WriteEndElement() ' Paragraph
writer.WriteEndElement() ' Paragraphs
writer.WriteEndElement() ' TexBox
writer.WriteEndElement() ' CellContents
writer.WriteEndElement() ' TablixCellNext
writer.WriteEndElement() ' TablixCells
writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows") Since Rows tag in header is not closed not need to open fresh tag
writer.WriteStartElement("TablixRow")
writer.WriteElementString("Height", ".25in")
writer.WriteStartElement("TablixCells")
ForEach fieldName In m_fields
writer.WriteStartElement("TablixCell")
writer.WriteStartElement("CellContents")
writer.WriteStartElement("Textbox")
writer.WriteAttributeString("Name", Nothing, fieldName)
' writer.WriteAttributeString("CanGrow", True)' writer.WriteAttributeString("Keeptogether", True)
writer.WriteStartElement("Paragraphs")
writer.WriteStartElement("Paragraph")
writer.WriteStartElement("TextRuns")
writer.WriteStartElement("TextRun")
'writer.WriteElementString("Value", fieldName)
writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
writer.WriteStartElement("Style")
writer.WriteElementString("TextDecoration", "Underline")
writer.WriteElementString("PaddingTop", "0in")
writer.WriteElementString("PaddingLeft", "0in")
writer.WriteElementString("LineHeight", ".5in")
''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
writer.WriteEndElement() ' Style
writer.WriteEndElement() ' TextRun
writer.WriteEndElement() ' TextRuns
writer.WriteEndElement() ' Paragraph
writer.WriteEndElement() ' Paragraphs
writer.WriteEndElement() ' TexBox
writer.WriteEndElement() ' CellContents
writer.WriteEndElement() ' TablixCellNext
writer.WriteEndElement() ' TablixCells
writer.WriteEndElement() ' TablixRow
writer.WriteEndElement() ' TablixRows'End of Details Rows
writer.WriteEndElement() ' TablixBody
writer.WriteStartElement("TablixRowHierarchy")
writer.WriteStartElement("TablixMembers")
writer.WriteStartElement("TablixMember")
' Group
writer.WriteElementString("KeepWithGroup", "After")
writer.WriteEndElement() ' TablixMember' Detail Group
writer.WriteStartElement("TablixMember")
writer.WriteStartElement("Group")
writer.WriteAttributeString("Name", Nothing, "Details")
writer.WriteEndElement() ' Group
writer.WriteEndElement() ' TablixMember
writer.WriteEndElement() ' TablixMembers
writer.WriteEndElement() ' TablixRowHierarchy
writer.WriteStartElement("TablixColumnHierarchy")
writer.WriteStartElement("TablixMembers")
'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
writer.WriteStartElement("TablixMember")
writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
writer.WriteEndElement() ' TablixMembers
writer.WriteEndElement() ' TablixColumnHierarchy
writer.WriteElementString("DataSetName", "tbdataset")
writer.WriteEndElement() ' Tablix
writer.WriteEndElement() ' ReportItems
writer.WriteEndElement() ' Body
writer.WriteStartElement("Page")
' Page Header Element
writer.WriteStartElement("PageHeader")
writer.WriteElementString("Height", "1.40cm")
writer.WriteStartElement("ReportItems")
writer.WriteStartElement("Textbox")
writer.WriteAttributeString("Name", Nothing, "Textbox1")
writer.WriteStartElement("Paragraphs")
writer.WriteStartElement("Paragraph")
writer.WriteStartElement("TextRuns")
writer.WriteStartElement("TextRun")
writer.WriteElementString("Value", Nothing, "ABC CHS.")
writer.WriteEndElement() ' TextRun
writer.WriteEndElement() ' TextRuns
writer.WriteEndElement() ' Paragraph
writer.WriteEndElement() ' Paragraphs
writer.WriteEndElement() ' TextBox
writer.WriteEndElement() ' ReportItems
writer.WriteEndElement() ' PageHeader
writer.WriteEndElement() ' Page
writer.WriteEndElement() ' ReportSection
writer.WriteEndElement() ' ReportSections' DataSources
writer.WriteStartElement("DataSources")
writer.WriteStartElement("DataSource")
writer.WriteAttributeString("Name", Nothing, "tbdata")
writer.WriteStartElement("DataSourceReference")
writer.WriteEndElement() ' DataSourceReference
writer.WriteEndElement() ' DataSource
writer.WriteEndElement() ' DataSources'DataSet
writer.WriteStartElement("DataSets")
writer.WriteStartElement("DataSet")
writer.WriteAttributeString("Name", Nothing, "tbdataset")
writer.WriteStartElement("Query")
writer.WriteElementString("DataSourceName", Nothing, "tbdata")
'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
writer.WriteElementString("CommandText", Nothing, "TableDirect")
writer.WriteEndElement() ' Query'Fields
writer.WriteStartElement("Fields")
ForEach fieldName In m_fields
writer.WriteStartElement("Field")
writer.WriteAttributeString("Name", Nothing, fieldName)
writer.WriteElementString("DataField", fieldName)
writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
writer.WriteEndElement() ' FieldNext
writer.WriteEndElement() ' Fields' rd datasetinfo
writer.WriteEndElement() ' DataSet
writer.WriteEndElement() ' DataSets
writer.WriteEndElement() ' Report' Flush the writer and close the stream
writer.Flush()
stream.Close()
'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
Dim ms AsNewMemoryStream(myByteArray)
'Supply Stream to ReportViewer
ReportViewer1.LocalReport.LoadReportDefinition(ms)
ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
An error occurred during local report processing.
The definition of the report '' is invalid.
The definition of this report is not valid or supported by this version of Reporting Services.
The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
Details: Data at the root level is invalid. Line 1, position 1.
Can anybody guide me?Hi Wendy Fu,
Thanks for your feed back. I could see Microsoft.ReportViewer.ProcessingObjectModel.dll to add as reference to my project. Actually I can open generated rdlc in designer, at run time I get error. I could not make out where is the exact mistake out of three
options flashed.
The definition of this report is not valid or supported by this version of Reporting Services.
The report definition may have been created with a later version of Reporting Services
or contain content that is not well-formed or not valid based on Reporting Services schemas
Details: Data at the root level is invalid
My web config has following references
<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
May be I have to change these versions to 9 or 10.
First I will try adding Microsoft.ReportViewer.ProcessingObjectModel.dll .
Once thanks for your reply.
Races -
System.InvalidOperationException: Cannot start service ReportServer on computer ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at System.ServiceProcess.ServiceController.Start()
at ReportServicesConfigUI.Panels.ServerInformationPanel.StartStopServiceTask(Boolean start)
Services
Could not start the SQL Server Reporting Services (MSSQLSERVER) service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
OK
Report Server (MSSQLSERVER) cannot connectrty to sta to the report server database.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
eventid=107check the following link
http://support.microsoft.com/kb/839174?wa=wsignin1.0
http://support.microsoft.com/kb/886695
Sharad Singh | My blogs: SharadTech | Twitter:
@SinghSharaad | | Please remember to click “Mark as Answer” on the post that helps you.This can be beneficial to other community members reading the thread. -
SQL Server Reporting Services Error
Hi, have just completed a default installation of SSRS (2005) on Windows Server 2003 and am getting the following error when browsing to http://localhost/reportserver.
Server Error in '/ReportServer' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The format of the file 'ReportingServicesWebServer' is invalid.
Source Error:
Line 27: <assemblies>
Line 28: <clear />
Line 29: <add assembly="ReportingServicesWebServer" />
Line 30: </assemblies>
Line 31: </compilation>
Source File: C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\web.config Line: 29
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ReportingServicesWebServer' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = ReportingServicesWebServer
(Partial)
LOG: Appbase = file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: ReportingServicesWebServer
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/reportserver/51fe26c7/144cb435/ReportingServicesWebServer.DLL.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/reportserver/51fe26c7/144cb435/ReportingServicesWebServer/ReportingServicesWebServer.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/ReportingServicesWebServer.DLL.
Version Information: Microsoft .NET Framework Version: 1.1.4322.2407; ASP.NET Version:1.1.43222.2407Try to reconfigure SSRS.
Take a look on below link
http://technet.microsoft.com/en-us/library/cc512033.aspx -
Migrating SQL Reporting Services error
Hi I followed this
technet documentation for migrating the reporting services database and temp database to a new server.
I got the error here below ... what i was trying to do is create a new folder however it's throwing out an error and not letting me do this .... any idea how i can fix this ? not sure why it's trying to access our "smam_apps" database since it's
pretty much is an LOB database that has nothing to do with SQL Server Reporting services
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException:
An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: Could not find server 'smam_apps' in sys.servers. Verify that
the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers.
at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateFolder(String Folder, String Parent, Property[] Properties, CatalogItem& ItemInfo)
at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateFolder(String Folder, String Parent, Property[] Properties, CatalogItem& ItemInfo) at Microsoft.ReportingServices.UI.BaseProperties.ApplyChanges() at
Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-3!2af8!03/24/2014-11:37:36:: i INFO: Call to GetSystemPropertiesAction().
ui!ReportManager_0-1!1bc8!03/24/2014-11:37:36:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
eddy.aHi
the issue here is that one of the developers altered the procedure dbo.CreateObject proc which prevented the report manager from uploading (creating ) new reports to
SQL Server .
I restored the proc from another SSRS SQL Reporting Server and it fixed the issue.
thanks
ed
eddy.a -
SQL Reporting services installing sharepoint mode - Error while installing
Hi I have SharePoint 2013 environment and now i am trying to install SSRS sharepoint mode.
I use SQL server enterprise version 2012 SP1.
While installing this i got and error at the end.
TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
The following error has occurred:
Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
1- Now i am not able to uninstall this
2- I also don't see the service application in Central admin under New.
Please help me to resolve this issue.
My name is yogendraHi,
According to your post, my understanding is that you failed to install SSRS sharepoint mode.
Please make sure you install Reporting Services SharePoint Mode for SharePoint 2013
correctly.
You can refer to:
Install Reporting Services SharePoint Mode for SharePoint 2013
Installing and configuring SQL Reporting services on SharePoint 2013
In addition, please install Windows Management Framework 3.0 on the
build server.
More information:
Exception
Message: Could not load file or assembly 'System.Management.Automation, PublicKeyToken=31bf3856ad364e35'
How to use SQL Server in Windows and Windows Server environments
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
SQL Reporting Services report hyperlink error
I have an issue were experiencing with SQL SCCM Reporting Services
When we run reports in SQL RS and the reports have are able to be drilled into detail by selecting the eg. computer name we find that we get the following issue.
"The item '/ConfigMgr_CEN/Hardware - General/Computer information for a specific computer' cannot be found. (rsItemNotFound) " by default all of the other reports are fine its just some of the reports that have the option to drill into detail by selcting an item on the report I get the mentioned error.
Many thanksMomoHi,
Please follow Kent's instructions below. Basically we host reports under a root folder and then group them under specific categories. For instance in the above case, the report "Computer Information for a specific computer" should be located under /ConfigMgr_CEN/Hardware - General/ - basically if you open http://servername/reports then you should see a root folder called ConfigMgr_CEN. Click on that folder and you should find a folder called Hardware - General and if you click on that folder you should see the report. The parent report expects this precise path as the location for the drilldown report. So if you have somehow moved/copied the SQL RS report to a different folder the drilldown from the parent report will not work.
Also can you tell me from which report is the drilldown not working for you? I will take a look at it on my end as well just to be doubly sure.
Thanks,
bhaskar
Maybe you are looking for
-
FCE Import Issues with 720p resolution (from Panasonic GH1)
I cannot import 1280x720, 50fps videos from my Panasonic GH1 using the log and transfer window. If I try, the system crashes. Still they play in the preview window. With full HD everything works fine. I would assume that this format is not supported,
-
Creating one file per each 50 Mb of data received from PI
Hi Experts, I have a scenario JMS to FIle.I have to create separate files for each maximum of 50MB received by SAP PI. For example if PI receive 160 MB data then i have to create 4 files i.e 1st file with 50 MB file data ,2nd file with 50 MB file dat
-
GLITCH ALERT! iPhone 5 contacts syncing
GLITCH ALERT! iPhone 5 contacts syncing Hey all, I wanted to make you all aware of a glitch I just experienced with my iPhone 5 (black, 32 GB). The glitch concerns the syncing of contacts between the iPhone 5 and my laptop. I synced my contacts today
-
SRV2008R2 SP1: Software Protection Service failed to start. RDP not working
Hi folks, I'm currently working on an issue on a Windows 2008 R2 SP1 Hyper-V Host where RDP from one moment tio the other does not work anymore. After an investigation I found that the Software Protection Service can't be started. The following event
-
Why won't my camera work after I update my Iphone 3GS to IOS 6.0.1?
After I updated my phone to IOS 6, it worked fine. But once I updated to IOS 6.0.1, my camera will no longer work. Sometimes it freezes my phone, and my phone goes through 2 resets. Sometimes it just sits at the screen waiting for the shutter to open