Current report disappears when doing a 'SAVE AS'?
ReportViewer on IIS 7 Windows 2008 not rendering, usual fix not working
- Open Internet Information Services (IIS) Manager and select your Web application.
- Under IIS area, double-click on Handler Mappings icon.
- At the Action pane on your right, click on Add Managed Handler.
- At the Add Managed Handler dialog, enter the following:
Request path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler
Name: Reserved-ReportViewerWebControl-axd - Click OK.
My Web.Config is below. Any insights appreciated.
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings/>
<system.web>
<!--<compilation debug="false" strict="false" explicit="true">-->
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
validate="false" />
</httpHandlers>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="AuthCookie" timeout="60">
<credentials passwordFormat="Clear">
<user name="foo" password="bar" />
</credentials>
</forms>
</authentication>
<compilation>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<authorization>
<deny users="?" />
</authorization>
<sessionState mode="InProc"/>
<pages>
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Caching"/>
<add namespace="System.Web.SessionState"/>
<add namespace="System.Web.Security"/>
<add namespace="System.Web.Profile"/>
<add namespace="System.Web.UI"/>
<add namespace="System.Web.UI.WebControls"/>
<add namespace="System.Web.UI.WebControls.WebParts"/>
<add namespace="System.Web.UI.HtmlControls"/>
</namespaces>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified" />
</handlers>
</system.webServer>
</configuration>
General SSRS Question
I am very new to SSRS and have really no experience with SQL server. I am trying to use this software in conjunction with CRM 2011 and have taken a few training classes on it. However my computer is not running SQL server or bids. Is there some way I can access SSRS from our server machine or is it required that I would have to get sql server and bids installed on my local computer?
Thanks for any help.
-Trevor
Any idea what could be causing this error: exception is “Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.”?
Curious if anyone has encountered this situation and if you could help point us in the right direction to resolve.
We are having a sproadic problem where we're getting this error when trying to run a SSRS 2008 report within one of our applications. When we look at the SSRS log, we only see the below line for the report (w/ no error) and looking at the execution log data also shows the status as "rssuccess"... leading us to believe the issue is not with Reporting Services.
In log: "library!ReportServer_0-8!17c0!11/05/2013-15:07:29:: i INFO: RenderForNewSession('/Campaign Systems/MLBIValidationData')"
The application that is getting this error runs a work flow which the report is part of. It calls a "ReportRender.exe" which we built.“This application calls reporting services .rdls to generate reports that are triggered in a batch process by Affinium Campaign. The batch file passes the ReportName with Path, EmailTo Group, Type of file to return, CampaignDescription, and any key=value parameter pairs that are needed to the application and Reporting Services. The application calls Reporting Services and passes all arguments to Reporting Services, waits for Report Creation and accepts report file back. The application then names the report with datetime stamp and stores the report where configured. Then email is send to group with a file link back to where the report has been stored. Any errors during report creation are reported back in email with link to the log file. Application exists with return code of 99 if any error, otherwise if no errors, return code of zero.”
The overall process is:
- We have an IBM tool called IBM campaign(aka UNICA). This tool is used by the Campaign execution team to run campaigns.
- We create flowcharts in UNICA to run the processes.
- The RenderReports.exe is called by flowcharts in UNICA. (see description above)
- In the current process, the flowchart consists of multiple steps.
- Once of the steps in the flowchart is the Report rendering step. This is the step which is failing intermittently.
- After the report rendering step, there are other steps in the flowchart. The last step in the flowchart is to trigger another flowchart.
- When the report step fails, the whole flowchart stops and the next flowchart does not get triggered.
Exception reported in the log file of the application:
The Process RUN MLBI report generates the report MLBIValidationData.
Exception details are as follows:
------------------------------------------------------------------------------
***** BEGIN DBKAS RENDER REPORTS 11/5/2013 3:07:28 PM *****
------------------------------------------------------------------------------
*****Creating Report MLBIValidationData DS-MAACDesigners@cunamutual.com EXCEL 2013-12 Bi-Monthly Campaign C000001100 CampaignCode=C000001100 *****
Program Started at: 11/5/2013 3:07:28 PM
------- Exception Log Entry -------
ENVIRONMENT INFORMATION:
TimeStamp: 11/5/2013 3:10:46 PM
MachineName: VMPAFFCMP02
AppDomainName: RenderReports.exe
ThreadIdentity:
WindowsIdentity: CMUTUAL\SA-AFFP1
EXCEPTION INFORMATION:
Severity: Fatal
Exception Type: System.Net.WebException
Status: ReceiveFailure
Message: The underlying connection was closed: An unexpected error occurred on a receive.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Net.WebResponse GetWebResponse(System.Net.WebRequest)
Source: System.Web.Services
Stack Trace:
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at RenderReports.ReportingServices.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at RenderReports.Main.RenderEmailLinkReport(String[] strParms, Int32 intReportParameters)
INNER EXCEPTION INFORMATION:
Exception Type: System.IO.IOException
Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Data: System.Collections.ListDictionaryInternal
TargetSite: Int32 Read(Byte[], Int32, Int32)
Source: System
Stack Trace:
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
INNER EXCEPTION INFORMATION:
Exception Type: System.Net.Sockets.SocketException
ErrorCode: 10054
Message: An existing connection was forcibly closed by the remote host
SocketErrorCode: ConnectionReset
NativeErrorCode: 10054
Data: System.Collections.ListDictionaryInternal
TargetSite: Int32 Read(Byte[], Int32, Int32)
Source: System
Stack Trace:
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
ADDITIONAL INFORMATION:
Error Rendering Report: MLBIValidationData
------- Exception Entry End -------
**
** This run had fatal severity messages, please check the error log!!!
**
** StartReport = 11/5/2013 3:07:29 PM StopReport = 11/5/2013 3:10:45 PM
** Report MLBIValidationData failed after 3 minutes 16 seconds
Program Ended at: 11/5/2013 3:10:47 PM
*---------------------------------------------------------------------------*
Thanks for any help or direction you can provide!!! :)
SSRS 2008 R2 Matrix report Detail Rows Sort
Hi, I am using SSRS 2008 R2 to write Products information report. I am stuck with how to sort the details row.
For instance:
ProductCategory ProductSubcategory Product Size Price
Clothing Athletic Wear Shirt Medium $10.00
Small $9.00
Large $11.00
X-Large $11.00
X-Small $8.00
But I would like to sort my report on Size
ProductCategory ProductSubcategory Product Size Price
Clothing Athletic Wear Shirt X-Small $8.00
Small $9.00
Medium $10.00
Large $11.00
X-Large $11.00
Thanks in advance....
Ione
Closing gap between columns in report chart within their category grouping
I have a stacked column report that uses two category groups - the first is the organizational categories and the second is the month of activity. The data is reported on for the previous three months. Currently the report looks like this:
The problem with this is that the organizational grouping (Categories A through E) are not visually obvious. I need the report to look like this:
To be very clear, there are no series groups in this report, just the summed values and the two category groups. Does anyone know of a way that I can edit a property to set the column spacing separately for the two category groups so that the month category spacing is tighter than the org category spacing?
Thanks.
An unexpected error occurred while compiling expressions. Native compiler return value: ‘-1073741502’.
We are using ReportViewer in Local mode to render PDFs. This has been working fine for a long time - the last change of any kind to the report or program was early in 2012.
As of Tuesday, the report works fine for a while, then starts getting the above error. Once we start getting the error, the report does not work at all. Full trace is:
Server Error in '/' Application.
An unexpected error occurred while compiling expressions. Native compiler return value: ‘-1073741502’.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred while compiling expressions. Native compiler return value: ‘-1073741502’. Source Error:
|
Stack Trace:
[ReportProcessingException: An unexpected error occurred while compiling expressions. Native compiler return value: ‘-1073741502’.] Microsoft.ReportingServices.ReportProcessing.ReportPublishing.CreateIntermediateFormat(CatalogItemContext reportContext, Byte[] definition, CreateReportChunk createChunkCallback, CheckSharedDataSource checkDataSourceCallback, PublishingErrorContext errorContext, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions, String& description, String& language, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks) +417 Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(CatalogItemContext reportContext, Byte[] reportDefinition, CreateReportChunk createChunkCallback, CheckSharedDataSource checkDataSourceCallback, AppDomain compilationTempAppDomain, Boolean generateExpressionHostWithRefusedPermissions) +728 Microsoft.Reporting.ReportCompiler.CompileReport(CatalogItemContext context, Byte[] reportDefinition, Boolean generateExpressionHostWithRefusedPermissions, ReportSnapshotBase& snapshot) +323 [DefinitionInvalidException: The definition of the report 'Main Report' is invalid.] Microsoft.Reporting.ReportCompiler.CompileReport(CatalogItemContext context, Byte[] reportDefinition, Boolean generateExpressionHostWithRefusedPermissions, ReportSnapshotBase& snapshot) +559 Microsoft.Reporting.StoredReport.CompileReport() +97 Microsoft.Reporting.StoredReport.get_Snapshot() +45 Microsoft.Reporting.StandalonePreviewStore.GetCompiledReport(CatalogItemContext context, Boolean rebuild, ReportSnapshotBase& snapshot) +482 Microsoft.Reporting.LocalService.GetCompiledReport(CatalogItemContext itemContext, Boolean rebuild, ReportSnapshotBase& snapshot) +38 Microsoft.Reporting.LocalService.CompileReport(CatalogItemContext itemContext, Boolean rebuild) +31 Microsoft.Reporting.WebForms.LocalReport.CompileReport() +162 [LocalProcessingException: An error occurred during local report processing.] Microsoft.Reporting.WebForms.LocalReport.CompileReport() +606 Microsoft.Reporting.WebForms.LocalReport.SetParameters(IEnumerable`1 parameters) +63 _Default.addCommonReportParameters() +1461 _Default.getReportGirlsUnder24() +2605 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42 System.Web.UI.Control.OnLoad(EventArgs e) +132 System.Web.UI.Control.LoadRecursive() +66 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428 |
If I make a change to Web.config, then change it back, this will clear the error, however we need the application to continue to work without this intervention.
Our Web.config specifies version 9 of the report viewer:
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
Please advise.
Browser compatibility of SSRS report
Hello,
I have created SSRS report in sql server 2008 R2, I have used date time picker in parameter section.
the Datatime picker is not working [Not visible] in other than IE [picker Not visible in Chrome or firefox]
1. Is SSRS report are having browser compatibility issue.is there any solution for the same
2. is this issue get resolved in sql server 2012 [Latest version]
Sort Month in Ascending Order.
Hi,
I am newibe in ssrs 2008 report. I created a tablix report. In my report , month is showing ascending order. But i want to display (JAn to December ). How its possible.
Thanks
Dileep
Expressions: IIF and Replace Statments
HI,
Currenlty,I have an expression:
=Replace(Space(6) + Fields!ABC.Value," "," ")
Now, I need to replace the value that says "Hello" to "GoodBye".
If the spaces weren't needed, I know to write the expression as:
=IIF(Fields!ABC.Value = "Hello","Goodbye", Fields!ABC.Value)
but how do I make this change and still keep the spaces?
I have tried several ways and either I get #Error for all the values or I cannot preivew.
Please help!
Thanks!!
#Error using IIF and divide by zero
I am getting an error in a calculated field that could potentially divide by zero, even though I'm using an IIF. The column displays in the report as "#Error". My expression looks like this:
"None", Fields!Hours.Value / Fields!Qty.Value)= IIF(Fields!Qty.Value = 0,
I have successfully used this approach with INT fields, but this time the Hours field is a NUMERIC(9,2). My workaround is to do this:
IIF(Fields!Qty.Value = 0, "None", IIF(Fields!Qty.Value = 0, 42, Fields!Hours.Value) / Fields!Qty.Value)
I guess the 42 is cast to an INT inside the second IIF and the calculation works.
What's strange is that the division would even be carried out in the event of Qty = 0 from the first IIF, because the expression should just evaluate to "None" and that would be that.
Has anybody run into this problem? Is my workaround the recommended approach?
-Larry
SSRS Export report via URL: Issues with downloding Report
Hi,
I am facing problem is programatically downloading ssrs report in Word format.
Error :Unexpected error in ProcessRequest: 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.SharePoint.Utilities.SPUtilityInternal.SendResponse(HttpContext context, Int32 code, String strBody) at Microsoft.SharePoint.Utilities.SPUtility.EnsureAuthentication(SPWeb web) at Microsoft.ReportingServices.SharePoint.Common.RSProxyUtils.EnsureUserAuthenticated() at Microsoft.ReportingServices.SharePoint.Soap.RSBaseHttpHandler.ProcessRequest(HttpContext context) 7ea4a339-cf98-4e23-97c4-8f882e706d9c
Here are details.
Application Detail:
1) SSRS report (2008 R2) are accessed in Sharepoint 2010 via url parameters.
2) User can preview the report in IFRame.
3) If user ops for Save, Report is downloded in word format by using
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(source);
myHttpWebRequest.Timeout = 1000 * 60 * 60;
myHttpWebRequest.UseDefaultCredentials = true;
HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();
receiveStream = myHttpWebResponse.GetResponseStream();
4) Url :
http://myserver:myport/_vti_bin/ReportServer/RSViewerPage.aspx?http://myserver:myport/RDLReports/myrdl.rdl&rs:Command=Render&rs:Format=WORD&ContractKey=18&ConfigID=1&ContractYear=2012&KPIStatus=0&ShowBenchmark=1
5) Authentication Kerborose.
Please suggest.
Thanks in advance
Hemant
SSRS label to Zebra printer
I've read that SSRS automatically shifts to landscape when the paper width > paper height (i.e. 4.1 inches wide by 2.75 inches high).
We've tried several attempts to solve this: setup the label size specification in the printer driver dialog, ask for landscape in the printer dialog to try to get another 90 degree rotation, and inserting the Zebra Programming Language command in the printer driver dialog (^FWR) to request a 90 degree rotation.
Nothing has worked yet, and this is a high profile solution!
Note: no barcodes are involved.
An impersonation error occurred using the security context of the current user
I'm getting "An impersonation error occurred using the security context of the current user" error while running report fileshare subscription.
Any thoughts to resolve this?
Thanks,
- JL
ssrs 2008 report timeout
The ssrs report is calling a stored procedure to populate data...
The stored proc. takes about 15 minutes to complete.
Therefore the report gives a timeout message after 10 minutes.
For business reasons, the stored proc. should remain as is.
Question:
How can I increase the timeout so that this timeout is not shown and the report is populated even if it takes longer than 10 minutes to complete?
Thanks
How to build an inner joins on report model entities
We are using SSRS 2008 R2 with an Oracle data source. I have created a report model with 2 tables, Orders Table and Dates Table. For some reason, these 2 tables doesn't have any primary or unique constraints but the orders table has a bus_date column which
relates to the bus_date column of the dates table. I have defined a logical key in the model entity using the order_id as the logical primary key of the orders table and date_category as the logical key of the dates table. Then created a relationship between
the bus_date column. Generated the report model and deployed it to our report server
When I created a report using this model, dragging all the columns of both tables in the dataset, and ran the report. I was surprised to see that the report generated a left outer join on the orders table, it showed all the orders and null values on the fields from the dates table. I opened up the report log to check on the sql statement and it affirmed that the sql query generated was that of an outer join.
I was actually expecting the report model should do an inner join on both tables. Is this an expected behavior? how do we control the join being done by the report model, i.e. how do i create two model entities which are using an inner join, outer join, full outer join? Please shed some light on the behavior of report models. I don't find a lot of white papers or documents describing the behavior of SSRS report models
Colors in legend does not match bar graph
Hi
I have a bar graph with custom colors applied to it.
The custom colors displays nicely in the bar graph, but not in the legend.
The legend displays a mix of some of the "correct" custom colors, and some of the "wrong" standard colors. The colors in the legend vary, depending on the parameters passed to the report. Sometimes legend colors are all right, other times all wrong but must times a mix of right and wrongs.
The value for the custom color of the graph is retrieved from a field in the dataset. However I doubt that this is the cause of the error because, the bar graph colors are correct at all times, and I have validated thet correct color names are actually in the dataset.
Hope someone can help me out with this one...
/Henrik
Issue with SSRS Data Bar in IE 9/IE 10
Hey There,
I am facing weird issue with SSRS report. I am using Data Bar in report using Interactive Sorting. . If you I sort, first ascending then descending, the length of the bars do not correspond to actual value. I am not able to find a pattern when the report is behaving different but out of 15-17 tried, around 5-6 times it shows wrong bar length. I have other 6 fields in reports and all working fine but only Data Bar sometimes doesn’t refresh according to sorting. This is happening only if reports are open in IE 9/IE 10. All reports are working 100% fine in Mozilla Firefox/Chrome/IE 8. Client are using IE 9/ IE 10 so I need to fix my report to compatible with IE 9/IE 10. I tried to search this type of issue online but did not get much help.
Server : Windows Server 2008 R2
Microsoft SQL Server Reporting Services Version 10.0.4000.0
Any help would be appreciate. Thanks in advance!!!
Thanks,
Ankit
SSRS dropdown should allow null value
I have a dropdown in SSRS reports that is databound. I want this to be nullable\optional. Even if I select allow null it raises alert.
I searched on lot of articles on the net which says change SP to return null as one of the item. However i dont think this is the better solution. Is there any other way?
Error "Line too long" - Report too large-BUG- error [BC30494]
is this is a BUG
i need to create a BIG report but i cannot !
Why is Reporting Services limiting the number of expressions
how to fix this error
my file is big tahn 4 MB
what to do ?
need help
need solution
i have reporting server 2008 - vs 2008
TNX