Quantcast
Viewing all 10045 articles
Browse latest View live

RDLC report page break

i have used rdlc report. how can i set the page break in report

InternalCatalogException in Reporting Services 2008 - no reports rendering

Hi all,

We've had an unexpected outage on two of our reporting services server overnight and we're hoping someone can point us in the right direction.  We have a Windows Server 2008 machine running about 5 instances of reporting services in standalone, non-IIS mode.

Two of these instances have started hitting exceptions when rendering any reports.  I include an excerpt from the log below.

The first evidence of a problem in the log is an InternalCatalogException, of which I can find many unrelated hits when searching the forums so I don't think this is specific enough to trace.  I do note a reference to "segmentedChunkStore" in the text which seems like a better clue.

I've eliminated the idea of a machine/OS issue due to several instances not affected by this problem.  There is some possibly related info which may help:

-This machine is a HyperV VM which has been moved between hosts within the last few weeks. In the process, all Report Server databases were backed up and restored at the new site.
- It uses a Custom Authentication extension authored by us.
- Within the last few days, users of three RS instances advised that a role permission they had prior to the move (Consume Reports Task) was no longer granted.  I had to re-grant this to the role.  The two RS instances now experiencing the InternalCatalogException issue raised an error at the time about not being able to find a group when I granted the task.  I added the group, granted again, and it granted without error so I thought nothing more of it.
- These two RS instances have been working fine since the HyperV host move right up until last night.
- The machine had several Windows Updates queued up which were installed last night.  Since completion of the updates and subsequent reboot, these two Reporting Services instances now raise this InternalCatalogException error when trying to render any reports from Report Manager, Report Server, or previous from Report Viewer.

At this point, I'm suspecting some sort of data corruption has occurred in the ReportServer databases, initially causing the loss of the Consume Reports permission and, after a reboot, these exeptions. But any suggestions on how to troubleshoot further greatly appreciated. Here is the excerpt from the log.

library!ReportServer_0-1!8d4!09/19/2012-20:55:53:: Call to GetItemTypeAction(/Risk Manager/Dashboard Module/Medsys/IncConseqCountYTD).
library!ReportServer_0-1!12f0!09/19/2012-20:55:53:: Call to GetItemTypeAction(/Risk Manager/Dashboard Module/Medsys/IncCount13Months).
library!ReportServer_0-1!f98!09/19/2012-20:55:53:: Call to GetItemTypeAction(/Risk Manager/Dashboard Module/Medsys/my30DayActionList).
library!ReportServer_0-1!10c0!09/19/2012-20:55:53:: Call to GetItemTypeAction(/Risk Manager/Dashboard Module/Medsys/org30DayStatusPanel).
library!ReportServer_0-1!830!09/19/2012-20:55:54:: i INFO: RenderForNewSession('/Risk Manager/Dashboard Module/Medsys/org30DayStatusPanel')
library!ReportServer_0-1!830!09/19/2012-20:55:54:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.,segmentedChunkStore;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!830!09/19/2012-20:55:55:: i INFO: Exception InternalCatalogException dumped to: C:\Program Files\Microsoft SQL Server\MSRS10.TESTIMPACRS\Reporting Services\Logfiles flags= ReferencedMemory, AllThreads, SendToWatson
chunks!ReportServer_0-1!830!09/19/2012-20:55:55:: w WARN: Rolling back shared chunk transaction for snapshot '49663ae9-6692-4ea2-8a5d-210de4729653', Permanent=False.
library!ReportServer_0-1!830!09/19/2012-20:55:55:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!ff8!09/19/2012-20:55:55:: i INFO: RenderForNewSession('/Risk Manager/Dashboard Module/Medsys/my30DayStatusPanel')
library!ReportServer_0-1!8d4!09/19/2012-20:55:55:: i INFO: RenderForNewSession('/Risk Manager/Dashboard Module/Medsys/triCountPanel')
library!ReportServer_0-1!8d4!09/19/2012-20:55:55:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., segmentedChunkStore;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!ff8!09/19/2012-20:55:55:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., segmentedChunkStore;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
chunks!ReportServer_0-1!ff8!09/19/2012-20:55:55:: w WARN: Rolling back shared chunk transaction for snapshot '68d6456c-1ed0-46eb-8bec-37b04f94065a', Permanent=False.
library!ReportServer_0-1!ff8!09/19/2012-20:55:55:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!8d4!09/19/2012-20:55:56:: i INFO: Exception InternalCatalogException dumped to: C:\Program Files\Microsoft SQL Server\MSRS10.TESTIMPACRS\Reporting Services\Logfiles flags= ReferencedMemory, AllThreads, SendToWatson
chunks!ReportServer_0-1!8d4!09/19/2012-20:55:56:: w WARN: Rolling back shared chunk transaction for snapshot '464d6ec5-f256-4633-97d9-792c700931a0', Permanent=False.
library!ReportServer_0-1!8d4!09/19/2012-20:55:56:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!b90!09/19/2012-20:55:56:: i INFO: RenderForNewSession('/Risk Manager/Dashboard Module/Medsys/my30DayActionList')
library!ReportServer_0-1!b90!09/19/2012-20:55:56:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., segmentedChunkStore;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!1598!09/19/2012-20:55:57:: i INFO: RenderForNewSession('/Risk Manager/Dashboard Module/Medsys/IncCount13Months')
library!ReportServer_0-1!b90!09/19/2012-20:55:57:: i INFO: Exception InternalCatalogException dumped to: C:\Program Files\Microsoft SQL Server\MSRS10.TESTIMPACRS\Reporting Services\Logfiles flags= ReferencedMemory, AllThreads, SendToWatson
chunks!ReportServer_0-1!b90!09/19/2012-20:55:57:: w WARN: Rolling back shared chunk transaction for snapshot '94bb87a7-bece-454e-b418-78b18b9eacb1', Permanent=False.
library!ReportServer_0-1!b90!09/19/2012-20:55:57:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!8d4!09/19/2012-20:55:57:: i INFO: RenderForNewSession('/Risk Manager/Dashboard Module/Medsys/IncConseqCountYTD')
library!ReportServer_0-1!1598!09/19/2012-20:55:57:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., segmentedChunkStore;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!8d4!09/19/2012-20:55:58:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., segmentedChunkStore;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
chunks!ReportServer_0-1!8d4!09/19/2012-20:55:58:: w WARN: Rolling back shared chunk transaction for snapshot 'e254656f-6c22-49e6-b473-5ed986e0a730', Permanent=False.
library!ReportServer_0-1!8d4!09/19/2012-20:55:58:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!ReportServer_0-1!1598!09/19/2012-20:55:58:: i INFO: Exception InternalCatalogException dumped to: C:\Program Files\Microsoft SQL Server\MSRS10.TESTIMPACRS\Reporting Services\Logfiles flags= ReferencedMemory, AllThreads, SendToWatson
chunks!ReportServer_0-1!1598!09/19/2012-20:55:58:: w WARN: Rolling back shared chunk transaction for snapshot 'e15cc0b9-c8b1-446a-a3bf-da2ceba6273d', Permanent=False.
library!ReportServer_0-1!1598!09/19/2012-20:55:58:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details.
library!WindowsService_0!14a0!09/19/2012-21:01:07:: i INFO: Call to CleanBatch()
library!WindowsService_0!14a0!09/19/2012-21:01:13:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings.

Regards,

Michael


Repeat column headers works except after export to excel

I am exporting my RDL report to Excel.  I want the column headers to be at the top of each page and to freeze when scrolling.

I have seen a lot of post around the tablix properties and advanced mode.

I can get the column headers to behave when I am viewing the report in a VS Report Server project. When I export the report to Excel, its the page header that is frozennot the column headers

Is the problem my page header or is the problem the excel renderer?

If I open the excel file directly I have to do the following to set the freeze panes manually

- View: Split (to disable it)

- Set cursor in excel for freeze panes

- View: Freeze Panes: Freeze Panes

I am wondering:

- How the split gets set.

- Could it be if the split wasn't getting set that the other steps I followed would actually work.

Tablix Properties - No checks in Row Headers or Columns Headers

Row Group Static Properties = Fixed Data = True; KeepWithGroup = None; RepeatOnNewPage = True

Column Group - Static columns  = fixed Data = false;  

I have also tried setting all static columns to fixed data but it didnt work either

Help please!

expression error

hi

=iif(Fields!gender.Value =  "1","M",
Fields!gender.Value =  "2","F",
"U")

i am using this expression ,but its gives me error

IIF Statement on Time

Hello people

I'm trying to write an IIF statement that returns a string depending on the time

e.g

IIF(currentTime between 02.00 and 06.00, "Process time", "Process not running")

I know the syntax is wrong, any suggestion is much appreciated

Thank you in advance



Poor Performance when using Report Viewer Control, Report runs fine in Report Manager

Hi we are experiencing a performance issue when a report is being run within the Report Viewer Control in ASP.NET. We are using the report viewer in Remote mode.

We are using SQL Server 2008 R2, Visual Studio 2010 and ASP.NET, .NET FrameWork v4.

We have 3 Servers: Webserver, Reporting Services Server and a Database Server. They are all virtual machines on the same virtual network.

The stored procedures execute in a very short period of time. Less than 5 seconds

When the report is executed via the Report Manager (RDP'ed onto the reporting server). It executes in 30 seconds (which is fine for this report). When the same report is Executed from within the ASP.NET page using the Report Viewer Control on the same machine, it takes around 5 minutes to run - which is not ok.

I have checked the Network/CPU/IO on the Reporting server, it appears that after a short while, the CPU is hit for a few seconds, after that there is a long period of Network Traffic from the SQL Server to the Report Server - 12-15mbps for around 5 minutes, After which the report is being rendered by Internet Explorer. This Network Traffic does not occur when the report is being executed in Report Manager, it just returns straight away. The virtual network also appears to be fine, when copying a file between the two servers the throughput is fine.

If you look at the execution log table on the ReportServer database, it claims to have finished within 15-20 seconds on both executions! 5 seconds data retrieva, 6 Seconds Processing, 6 Seconds Rendering. The question is what is different between the two executions? And what can we do about it?

The Reporting Services databases are both on the SQL server (Not local to the Reporting Services Server), however, we do have a development environment where it is on the same box as the Reporting Services Server, yet this still has the same issue.

How can Report Manager execute it perfectly and yet it takes ages using Report Viewer?

Problems with Tablix elements when i executing a report.

Hello everyone.

I have some problem with a report and i need help.

I make a report with many tablix elements inside. Every Tablix has connect with a DataSet (some Tablix with a own DataSet, and others share the same DataSet). The problem came when i execute this.

In Design View, every Tablix have an especific position in the body of the report, with a distance of 5 points between the end of one Tablix and the top from other. But when i execute the report, some Tablix element changes the position and the 5 points space between the "Crazy Tablix" and other similar now is... 15 or 30 points.

I tried to "manage" the position with a Rectangle element, but i have just a minimal success.

¿I have to define some configuration for the Rectangle element? ¿Can i modify Tablix attributes to a "static position"? ¿Can i "manage" the position?

Sergio Seguel.

P.S: Clearly I don't speak english, so if i not very clear my "english", my apologies.

FetchXML based SSRS report deployment error

Hi Guys, I am submitting a little problem I am unable to solve. Maybe it will help somebody in the future..

I am working with BIDS 2008 and Dynamics CRM 2011.

I just developed a FetchXML-based report (client requirement). Also, I usedexpressions as my dataset queries, such as:

= IIf(Parameters!strLob.Label = "Consulting","<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'><entity name='opportunity'><attribute name='mcs_internalreferrer' /><order attribute='mcs_internalreferrer' descending='false' /><link-entity name='mcs_lob' from='mcs_lobid' to='mcs_lobid' visible='false' alias='lob'><attribute name='mcs_name' /><!-- lob_mcs_name --><filter type='and'><condition attribute='mcs_name' operator='eq' value='Consulting' /></filter></link-entity><filter type='and'><condition attribute='mcs_internalreferrer' operator='not-null' /></filter></entity></fetch>","<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'><entity name='mcs_option'><attribute name='mcs_key' alias='mcs_internalreferrerValue'/><attribute name='mcs_value' alias='mcs_internalreferrer'/><filter type='and'><condition attribute='mcs_key' operator='eq' value='reports_param_na' /></filter></entity></fetch>" )

The purpose is to return a dummy value (2nd query) instead of the normal values (1st query), depending on the parameter value.

Everything works fine in Visual Studio's preview mode. I can see and use values from both queries.

But for some reason, when trying to deploy this report in Dynamics, I get anMalformed FetchXML error (details below). Indeed, when I replace the expression with a normal FetchXML value, the report deploys fine. Actually, I can put any valid FetchXML, even if it makes no sense in my reporting context, it deploys! So really the problem is the expressions, that are not recognized as valid XML.

Any Idea how I could make Dynamics accept my expression-based datasets?

Here is the error log:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Command text is invalid.Detail: <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"><ErrorCode>-2147220733</ErrorCode><ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><KeyValuePairOfstringanyType><d2p1:key>CallStack</d2p1:key><d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)</d2p1:value></KeyValuePairOfstringanyType></ErrorDetails><Message>Command text is invalid.</Message><Timestamp>2013-01-29T20:45:56.0253388Z</Timestamp><InnerFault i:nil="true" /><TraceText i:nil="true" /></OrganizationServiceFault>





SSRS any expression breaks report

I have a master report with a sub report on it I put the expression (for testing purposes) into Visibility  =IIF(1+1=2,true,false)...as far as I can see this should make the sub report visible.  the report however fails to run and I get an error back saying "The Located assembly's manifest definition does not match the assembly reference"  If I remove the expression the report runs again?

Why Is this not valid?

Microsoft Report Designer: Undocumented Error

Hi all, I am working with asp.net reporting using RDLC file. Everything was working fine but now when I add a new dataset, an error occurs.

Undocumented Error.

Could not load file or assembly 'PrecisionCareEntity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I have no more info than this, to provide you people to diagnose the problem. Have anyone idea what would be happening?

I just want to add a new dataset.

DateTime field shows Date and Time in Visual Studio, but only Date in Report Builder's Query Designer

I have a Dimension with DateTime field which shows Date and Time when browsing the dimension in Visual Studio.

But when I execute the query in Query Builder, it only shows the Date in Report Builder (2009-06-06 00:00:00:000).  I would prefer not to separate Date and Time into different fields, because I would eventually like to add Start and End Date and Time parameters (which is another thing I still need to conquer).

The source field in SQL Server is an actual DateTime field.


managing SSRS 2012 Service Application in Sharepoint 2013 returs internal Server Error (500)

Hello

At first ...Sorry for my not very well English

I Installed SQL Reporting services 2012 service with sharepoint 2013 ... and started it with succes

I followed the microsoft's procedure --> http://msdn.microsoft.com/fr-fr/library/b29d0f45-0068-4c84-bd7e-5b8a9cd1b538

After , I have notencountered any problems when I created the application  <--- 3 databases created in my SQLSERVER instance

The problem occured when I tried to click on my ssrs application_name --> system settings

ERROR 500 Correlation ID: f6c5f49b-6ab0-4009-6f31-fd019ddc3ecc

This what I read in the log of sharepoint -->

01/14/2013 12:18:36.22     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Monitoring                        nasq    Medium      Entering monitored scope (Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)). Parent No    
01/14/2013 12:18:36.22     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Logging Correlation Data          xmnv    Medium      Name=Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)   52aff49b-4a3c-4009-0000-0b8857fffd73
01/14/2013 12:18:36.22     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Monitoring                        b4ly    Medium      Leaving Monitored Scope (Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)). Execution Time=1,4493    52aff49b-4a3c-4009-0000-0b8857fffd73
01/14/2013 12:18:36.22     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Monitoring                        nasq    Medium      Entering monitored scope (Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)). Parent No    
01/14/2013 12:18:36.22     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Logging Correlation Data          xmnv    Medium      Name=Request (GET:http://vwaisql201202:22628/_admin/ReportServer/ReportingServicesSystemSettings.aspx?ID=5abbbf0d-e8dd-4e8e-93d6-eddc77225a9f)   52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.24     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Authentication Authorization      agb9s    Medium      Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.24     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Logging Correlation Data          xmnv    Medium      Site=/    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Topology                          e5mc    Medium      WcfSendRequest: RemoteAddress: 'http://vwaisql201202:32843/5abbbf0de8dd4e8e93d6eddc77225a9f/ReportingWebService.svc' Channel: 'Microsoft.ReportingServices.ServiceContract.IReportServiceManagement' Action: 'http://schemas.microsoft.com/sqlserver/reporting/2011/06/01/ReportServer/Management/GetSystemProperties' MessageId: 'urn:uuid:15feb989-6b39-4f6e-a705-ee603fb1fbcc'    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           8nca    Medium      Application error when access /_admin/ReportServer/ReportingServicesSystemSettings.aspx, Error=The remote server returned an error: (500) Internal Server Error.   at System.Net.HttpWebRequest.GetResponse()     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            Runtime                           tkau    Unexpected    System.Net.WebException: The remote server returned an error: (500) Internal Server Error.    at System.Net.HttpWebRequest.GetResponse()     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           ajlz0    High        Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html xmlns="http://www.w3.org/1999/xhtml">  <head>  <title>IIS 7.0 Erreur détaillée - 500.19 - Internal Server Error</title> <style type="text/css">  <!--  body{margin:0;font-size:.7em;font-family:Verdana,Arial...    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27*    w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           ajlz0    High        ...,Helvetica,sans-serif;background:#CBE1EF;}  code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}  .config_source code{font-size:.8em;color:#000000;}  pre{margin:0;font-size:1.4em;word-wrap:break-word;}  ul,ol{margin:10px 0 10px 40px;}  ul.first,ol.first{margin-top:5px;}  fieldset{padding:0 15px 10px 15px;}  .summary-container fieldset{padding-bottom:5px;margin-top:4px;}  legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}  legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;   border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;   border-bottom:1px solid #969696;background:#E7ECF0;font-weight:b'. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.   ...    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27*    w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           ajlz0    High        ...  at System.Net.HttpWebRequest.GetResponse()     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     --- End of inner exception stack trace ---    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, ...    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27*    w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           ajlz0    High        ...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.S...    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27*    w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           ajlz0    High        ...haredService.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...    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27*    w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           ajlz0    High        ...)     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)    52aff49b-4a3c-4009-0000-07155f7f0dee
01/14/2013 12:18:36.27     w3wp.exe (0x0BEC)                           0x05D8    SharePoint Foundation            General                           aat87    Monitorable         52aff49b-4a3c-4009-0000-07155f7f0dee

Does anyonesee the problem ?   Is that comming from  security acces  ? .. or  IIS ?

Thank you very much for your help

SSRS 2008 R2 - Report Using List to Loop Doesn't Generate in SSRS for Larger Record Count?

In SSRS, I have a report that is contained within a List Item. The report is looped for each student that is selected. The theory is for a principal to select his school and grade level, to create the report for all students within the grade. This works fine within BIDS.

The report generates fine for grade levels with lower enrollment. I have had success running this within SSRS for 10th, 11th and 12th grades (all with enrollment under 900 students for the school). When i run the report for 9th graders (967 students) or any combination of the grades that run successfully alone, the report doesn't generate.

This is not a timeout issue, since i have tried setting the timeout to 10 minutes. The "Loading" icon shows for about 1 or 2 seconds and then disappears, returning a blank screen.

Any limitations as to how many rows a list item can return? Any help would be appreciated. I can't seem to figure out why SSRS is not returning this report.

Case statement issue in MDX query....?

With MEMBER [Measures].[Week4] AS ( [Measures].[Teu], [Date].[Week].CurrentMember.Lag(3) ) MEMBER [Measures].[Week3] AS ( [Measures].[Teu], [Date].[Week].CurrentMember.Lag(2) ) MEMBER [Measures].[Week2] AS ( [Measures].[Teu], [Date].[Week].CurrentMember.Lag(1) ) MEMBER [Measures].[Week1] AS ( [Measures].[Teu], [Date].[Week].CurrentMember ) MEMBER [Measures].[WeekSum] AS Sum({[Date].[Week].CurrentMember.Lag(3) : [Date].[Week].CurrentMember}, [Measures].[Teu]) Select {[Measures].[Week4],[Measures].[Week3], [Measures].[Week2],[Measures].[Week1], [Measures].[WeekSum]} on 0, case when [Dimtop].[Id].&[1]=[Dimtop].[Id].currentmember then Topcount([Commodity _flat].[Commodity].[Commodity].Members,5,[Measures].[WeekSum]) when [Dimtop].[Id].&[2]=[Dimtop].[Id].currentmember then Topcount([Commodity _flat].[Commodity].[Commodity].Members,10,[Measures].[WeekSum]) else Topcount([Commodity _flat].[Commodity].[Commodity].Members,25,[Measures].[WeekSum]) End on 1 From [Commodities]

where (Strtomember("[Date].[Week].&[2012010101]",CONSTRAINED), Strtomember("[Dimtop].[Id].&[2]",CONSTRAINED))

HI.,

         here case statement fails for second condition., kindly suggest  where the mistake is..?

The output is always first condition. returns only top 5..,


Thanks, Avula.GK


How to get result from two calculated members comparision..?

Hi..,

      I created two calculated members., Name 1.Reference period and  2.analysis period..,  based on measure value.,

I am getting two set of results when i run them sepearatly..,

I need help regarding comparsion of customers..,

I need out put as 3 rd table but when i try to combine the members.., I get all are null values as 4th table.., for two date inputs., Please suggest me how to achieve this one.

Image may be NSFW.
Clik here to view.


Thanks, Avula.GK



Sorting Expression

Image may be NSFW.
Clik here to view.

 

The X-axis which is displayed is not sorted properly. 2007-2008 is a string. And when I convert Fields!CurrentMonth.value as CDATE(Fields!CurrentMonth.value ), I am getting error as cannot convert

String to date. Here it is sorting in Ascending order rather than Monthwise.

THE QUERY WHICH HAS BEEN WRITTEN:

createtable  #temp1(AIFR int,[Hours]int,[AIFR AVE] int, [HRS AVE] int, CurrentMonthvarchar(25))

Declare @aint

Declare @bint

Declare @cint

set @a=(Selectdistinctyear(convert(datetime,CurrentMonth))from  dbo.mst_tbl_SafetyStatisticsRpt

where convert(datetime,CurrentMonth)='2007-07-01')

set @b=(Selectdistinctyear(convert(datetime,CurrentMonth))from    dbo.mst_tbl_SafetyStatisticsRpt

where convert(datetime,CurrentMonth)=(cast(@Yearasvarchar)+'-'+'06'+'-'+'01'))

while (@a<= @b)

begin

set @c= @a + 1

insert into #temp1

Select nullas AIFR, nullas [Hours],

SUM(casewhen (convert(datetime,CurrentMonth))between(cast(@aasvarchar)+'-'+'07'+'-'+'01')and(cast(@casvarchar)+'-'+'06'+'-'+'01')then  (ATIAVEEMP)else 0 end )as [AIFR AVE],

SUM(casewhen (convert(datetime,CurrentMonth))between(cast(@aasvarchar)+'-'+'07'+'-'+'01')and(cast(@casvarchar)+'-'+'06'+'-'+'01')then  (HRSAVEEMP)else 0 end )as [HRS AVE],

casewhen @c <>(@b+1)then Cast(@aasVarchar)+''+'-'+''+CAST(@c asvarchar)endas CurrentMonth

                                                     2007-2008

from       dbo.mst_tbl_SafetyStatisticsRpt 

where      (convert(datetime,CurrentMonth))between(cast(@aasvarchar)+'-'+'07'+'-'+'01')and(cast(@casvarchar)+'-'+'06'+'-'+'01')

and              Plantid in(SELECT Plantid from dbo.mst_tbl_Plant innerjoin dbo.mst_tbl_MainLocationon

                                                           dbo.mst_tbl_Plant.LocationID= dbo.mst_tbl_MainLocation.LocationID

                                                                             where dbo.mst_tbl_MainLocation.LocationID= @LocationId)

and              @c <>(@b+1)

set              @a = @a + 1

end

select*from #temp1

UNIONALL

Select SUM(Nosworkinjuriesemp)as AIFR, SUM(NosHworknormaledemp)as [Hours],

      SUM(ATIAVEEMP)as [AIFR AVE],Sum(HRSAVEEMP)AS [HRS AVE],CurrentMonth

from dbo.mst_tbl_SafetyStatisticsRpt

innerjoin  dbo.tbl_Monthson

(SUBSTRING(DBO.MST_TBL_SAFETYSTATISTICSRPT.CURRENTMONTH, 1, 3)) = MonthDesc

innerjoin dbo.mst_tbl_Yearson (SUBSTRING(DBO.MST_TBL_SAFETYSTATISTICSRPT.CURRENTMONTH, 4, 4)) = YearDesc

wherePlantid in(SELECT Plantid from dbo.mst_tbl_Plant innerjoin dbo.mst_tbl_MainLocationon dbo.mst_tbl_Plant.LocationID= dbo.mst_tbl_MainLocation.LocationID

where dbo.mst_tbl_MainLocation.LocationID= @LocationId)

and  YearDesc = @Year

and  MonId between 1 and @Month

Groupby CurrentMonth

unionall

select SUM(Nosworkinjuriesemp)as AIFR, SUM(NosHworknormaledemp)as [Hours],

      SUM(ATIAVEEMP)as [AIFR AVE],Sum(HRSAVEEMP)AS [HRS AVE],

      CurrentMonth

from dbo.mst_tbl_SafetyStatisticsRpt

innerjoin dbo.tbl_Monthson (SUBSTRING(DBO.MST_TBL_SAFETYSTATISTICSRPT.CURRENTMONTH, 1, 3)) = MonthDesc

innerjoin  dbo.mst_tbl_Yearson (SUBSTRING(DBO.MST_TBL_SAFETYSTATISTICSRPT.CURRENTMONTH, 4, 4)) = YearDesc

wherePlantid in(SELECT Plantid from dbo.mst_tbl_Plant innerjoin dbo.mst_tbl_MainLocationon dbo.mst_tbl_Plant.LocationID= dbo.mst_tbl_MainLocation.LocationID

where dbo.mst_tbl_MainLocation.LocationID= @LocationId)

and  YearDesc = @Year - 1

and  MonId between @Month + 1 and 12

Groupby CurrentMonth

droptable #temp1


Thanks in advance, Akhila Vasishta



Multivalue paramater not working when single value selected

Hi,

I am using Teradata as Database. I have a multivalue parameter. In my Query i have mapped this paramtere as:

K.REGION IN (@P_Region)

The issue is when i select multiple values it works fine, but i when i select single value it return error that "There is a mistmatch between the number of parameters specified and number of parameteres required".

Any Quick Solution please

regards

RSViewerPage.aspx and POST

Hi guys,

i am currently working on a solution that calls reports running in a SharePoint-Integrated SSRS from an external application
therefore i built a HTML form where users can select some parameters and then pass them to the SSRS report
to do this i am using the RSViewerPage.aspx and the relative path the the report (similar as if you would click on the report in MOSS)
http://localhost/_layouts/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl=/test.rdl

the problem is, that some of these selections may be very big and exceed Internet Explorers URL length limit of 4000 (or 2000) characters

so i switched the HTML form's method to POST instead of GET so the parameters do not get passed in the URL to avoid the url length limit

i know that, if i am using ReportViewer, i have to prefix the parameters with "rp:"
this also works fine when using GET

unfortunatelly it does not work when using POST
i also tried other or no prefix but none of them seemed to work

here is a simplified example of my HTML form:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
<form id="form1" runat="server" target="_blank" method="post" action="http://localhost/_layouts/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl=/test.rdl">
 <input type="text" style="width: 250pt;" name="rp:Zeit" value="[Date].[Calendar].[Calendar Year].&[2006]"/>
        <input type ="submit" />      
    </form>
</body>
</html>

as i said, a call like below works just fine
http://localhost/_layouts/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl=/test.rdl&rp:Zeit=[Date].[Calendar].[Calendar Year].%26[2006]

does RSViewer.aspx even support parameters being passed using POST?
if yes, what has to be considered?

any help is kindly appreciated

kind regards,
gerhard


- www.pmOne.com -

how to combine group? rows if same contact

hi all, 

i have the following t-sql query

SELECT  
FilteredContact.contactid, 
FilteredContact.fullname, 
FilteredContact.birthdate, 
FilteredConnection.record2roleidname,
FilteredConnection.record1idname

FROM         
FilteredContact left JOIN
FilteredConnection ON FilteredContact.contactid = FilteredConnection.record2id 
						
WHERE
(FilteredConnection.statuscode = 1) AND
(FilteredConnection.record1id IN (@contactid,@partnerid)) AND 
(FilteredConnection.record2id = FilteredContact.contactid) AND
(FilteredConnection.record2roleidname in ('son','daugther'))

ORDER BY FilteredContact.fullname DESC

and if i get 2 rows because the result matches for record1id = @contactid and for record1id = @partnerid, then i only want to get 1 resultrow with as 'common child'

Do i have to use a condition in select, or group by, or union?

THX Greets Pit

How to report SQL users connections

Hello,

I'm trying to figure out how can we report "who" connects to databases on a SQL server? Is there a standard report or tool I use to create this type of auditing?

Thank you so much for your help!

David


David B.

Viewing all 10045 articles
Browse latest View live