Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

After applying SQL Server SP2 and CU 14, getting SSRS Error

$
0
0

Hi,

I just installed SQL Server 2014 SP2 (KB3171021) and started getting the following error when trying to bring up SSRS:

The version of the report server database is either in a format that is not
valid, or it cannot be read. The found version is '164'. The expected version is
'163'. (rsInvalidReportServerDatabase)

So I figured I would install the latest CU (KB3158271) because that fixed a similar error in the past. So I installed CU 14 and am still getting the error.

I also tried installing the latest rsSharePoint.msi but that didn't help.

Any ideas how to fix this issue without backing out SP2 or CU 14?

Regards,

Randy


Report Viewer shows blank page - only some reports

$
0
0

I hope someone can help me.  I've been struggling with this issue for a couple of days.  Any guidance will be appreciated.

I have an ASPX page with a ReportViewer component. Basically that's all there is on the page (the ASPX is included further down).  This is served on IIS 7.5 on a Windows Server 2003 box.

I have 3 reports that I can view from this page.  The first report always works - the full report renders and the control buttons (export, print, next page, etc) all work fine.

However, on the other 2 reports I get a blank page rendered.  Nothing is visible at all except for the scrollbar.

A bit bizarre because the first report does show correctly.  Only the other two reports don't show.

So, I thought that maybe there was something wrong with the report files themselves - like another error can't be reported on screen for some reason.  But I am able to render those reports directly via the SSRS management web.  This screen below is one of the ones that fails via ReportViewer but works just fine in the SSRS management website.

I did go through other posts like these (http://forums.asp.net/t/1388924.aspx?ReportViewer+showing+an+Empty+report+on+Windows+Server+2008 and http://stackoverflow.com/questions/16607184/reportviewer-control-returns-blank-page) , but the config issue they described isn't a problem because one report does work.  And I tried all of the combinations of config they describe - classic mode / integrated and even 32-bit / 64-bit.  Broke it a few times (so that none worked), fixed it a few times (so that 1 out of 3 worked), but no closer to a fix for all reports.

Please help.  I've removed and added the site, changed the config many times, tried different pipeline modes in the app pool, re-installed the report viewer redistributable.  I'm not sure what else to try.

SimpleReportView.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SimpleReportView.aspx.cs" Inherits="SimpleReportView" %><%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %><!DOCTYPE html><htmlxmlns="http://www.w3.org/1999/xhtml"><headrunat="server"><title>Report Viewer</title><styletype="text/css">
        h2 {font-size:14pt;font-family: Calibri,'Microsoft Sans Serif','Open Sans', sans-serif;font-weight: bold;}#divErrorDetails {font-size:11pt;font-family: Calibri,'Microsoft Sans Serif','Open Sans', sans-serif;}</style></head><body><formid="form1"runat="server">    <asp:ScriptManagerID="ScriptManager1"runat="server"></asp:ScriptManager>

<divid="divReportViewer"runat="server"style="display: block;"><rsweb:ReportViewerID="rvMain"runat="server"ProcessingMode="Remote"Width="100%"Height="700"ShowExportControls="True"ShowFindControls="True"ShowParameterPrompts="False"ShowPromptAreaButton="True"ShowRefreshButton="True"BackColor="White"><ServerReportDisplayName="MainReport"Timeout="60000"/></rsweb:ReportViewer></div><divid="divError"runat="server"style="display: none;"><br/><br/><h2>There was an error generating this report</h2><divid="divErrorDetails"runat="server">Error details to go here</div></div></form></body></html>

Web.config

<?xml version="1.0" encoding="UTF-8"?><!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  --><configuration><connectionStrings></connectionStrings><system.web><compilationdebug="false"defaultLanguage="c#"targetFramework="4.0"></compilation><httpRuntime/><pages><namespaces></namespaces></pages><authenticationmode="Windows"></authentication><globalizationuiCulture="en-ZA"/></system.web><runtime><assemblyBindingxmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentityname="DotNetOpenAuth.Core"publicKeyToken="2780ccd10d57b246"/><bindingRedirectoldVersion="1.0.0.0-4.0.0.0"newVersion="4.1.0.0"/></dependentAssembly><dependentAssembly><assemblyIdentityname="DotNetOpenAuth.AspNet"publicKeyToken="2780ccd10d57b246"/><bindingRedirectoldVersion="1.0.0.0-4.0.0.0"newVersion="4.1.0.0"/></dependentAssembly></assemblyBinding></runtime><system.serviceModel><bindings><basicHttpBinding><bindingname="BasicHttpBinding_IWcfReportProcesses"/></basicHttpBinding></bindings><client><endpointaddress="http://servername/WcfReportProcesses.svc"binding="basicHttpBinding"bindingConfiguration="BasicHttpBinding_IWcfReportProcesses"contract="ReportProcessesWcf.IWcfReportProcesses"name="BasicHttpBinding_IWcfReportProcesses"/></client></system.serviceModel><system.webServer><handlers><addname="ReportViewerWebControlHandler"preCondition="integratedMode"verb="*"path="Reserved.ReportViewerWebControl.axd"type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/></handlers><modulesrunAllManagedModulesForAllRequests="true"/><validationvalidateIntegratedModeConfiguration="false"/></system.webServer></configuration>

SSRS 2012 Report Manager won't display from another subnet

$
0
0

in SSRS 2012 the report manager works fine for workstations in the same subnet as the SSRS server.  Using the same account and try from a workstation on another subnet, it never seems to even get to the server.  It just has a spinning ring waiting for the site.  No error no nothing.  In Firefox it repeatedly prompts for credentials.

Sever IP 10.8.6.158

workstations that work  10.8.6.255, 10,8,20.62

workstation that doesn't work. 10.1.2.142

any suggestions?

Total of the child group Expression instaed of total of the detail cell

$
0
0

Seeking the way total of expression of the child groups:

AccountNo   Invoice    Charge     Paid      Due

123                1111       50         15        

123               1111        50         35         

123     Child Group 111  50         50          0        Expression:Charge  - Sum(paid)  ----->0

123                 2222      50         50

123  Child Group 222     50         50         0         Expression:Charge  - Sum(paid)  --->0

123                 3333     100        25         75       Expression:Charge  - Sum(paid)  --->75

Group for Account 123                                   Total Due for Account 123   Total of Expression of the child group 75.

Thanks for any idea!

Daphne12

Group Expression column with Case statement

$
0
0
 Hi, I think I need to help to get the column group with case statement?

                     IncidentCount     99?1    99?2   99?3    99?4   99?5    99?6   99?7  99?8   99?9  Other  

                               1            Total     Total     

                                2            Total     Total   

                                 3            Total     Total     

                                4            Total     Total   

99XX is the account number.

THANKS!!!

How put the Case code in the group Expression window

$
0
0

Hi,

I notice Microsoft post the group expression reference.

=Code.GetRangeValueByAge(Fields!Age.Value)  How it knows find the Code.   

Custom code:   (Not this line?)

 Function GetRangeValueByAge(ByVal age As Integer) As String   -- Is this implanted right after=Code.GetRangeValueByAge(Fields!Age.Value) inside of the group expression?

Need put in the Group value as well?

 Select Case age

 Case 0 To 25

 GetRangeValueByByAge = "25 or Under"

 Case 26 To 50

 GetRangeValueByByAge = "26 to 50"

 Case 51 to 75

 GetRangeValueByByAge = "51 to 75"

 Case Else

 GetRangeValueByByAge = "Over 75"

 End Select

 Return GetRangeValueByByAge

 End Function

Hide expression error

$
0
0

I get IgnorAlarm's value either 0 or 1.

1. Why I get  Sum(Fields!IgnoreAlarm.Value) is blank or 0? IgnoreAlarm in smallint allow Null in the SQL

2. Hide the cell value =0.

Got error from:  Hide the cell value base on =IIF(Sum(Fields!IgnoreAlarm.Value)=0 True, False)

Thanks!

Daphne12

SSRS 2016 Report Viewer Control Compatibility

$
0
0

Hi,

We are upgrading our SSRS server from 2012 to 2016.  Our application is still using the 2012 viewer control.  When we view a report and click on the printer icon we get the error: "Printing is not available. Verify that ActiveX is enabled, or try using IE for the desktop".  We don't get that error when running the viewer control with SSRS 2012.   Is there a Compatibility issue with SSRS 2016 and Viewer control 2012?   Should I use the 2016 viewer control instead?

Thanks,

Pilar S


SSRS: Export to excel issue. Index was out of range. Must be non-negative and less than size of the collection.

$
0
0
I have a report that runs a sub report.  This sub report can hide or show certain columns.  The issue that I am having is that when I run or preview or export to PDF then everything is OK.  When I export to Excel then I get the following error:

An error occurred during local report processing.
An error occurred during rendering of the report.
An error occurred during rendering of the report.
Index was out of range.  Must be non-negative and less than size of the collection.
Parameter name: index


I am running: Windows 2003 Server SP2, SQL Server 2005 SP2

I have checked the forums and tried all of the solutions with no resolution.  I made sure the sub report is smaller than the space reserved for it.  I made sure nothing in the RDLs had negative widths/heights.  I removed/added headers/footers.  My last ditch effort is to start a blank report and try to copy the objects over to it. (Updated: didn't work)

Are there any solutions to this issue?  Are there any hot fixes?  I read that there was a bug for this issue and it was resolved in SP1 but I already have that applied.

Thank you in advance for your time.

How to download KPI tile definition?

$
0
0

We are able to download the definition of paginated report (.rdl), mobile report (.rsmobile), shared dataset (.rsd) from 2016 report manager. Is there a way to somehow download the KPI tile definition as well? It must reside somewhere in reportserver database.



Multi page SSRS Report exports to multi-Excel sheets

$
0
0
Finance reports are usually multipage and each page need to be exported to multiple sheets in Excel. SSRS reports can have multi-page reports and number of pages are depend on dynamic selection of prompts. each page on SSRS reports should be exported to individual sheet in excel. This will allow to mine data based on external formula in Excel. 

Parameter change does not refresh default values of dependent parameters

$
0
0
Hi,

I have a problem with my dependent multi-value parameters in my SSRS 2008 SP1 reports. The default values for the parameters are correctly loaded when the report is opened, but when a primary parameter value is changed the default values for the dependent parameters are not set. Let me describe this problem further more with an example:

Parameter 1: Region
Parameter 2: Property

Both parameters are filled each by a query to the database where the query for Property has the selected values of Region in its where clause.

Region: select Region_ID, Region_Key from Region order by SortOrder
Property: select Property_ID, Property_Key from Property where Region_ID in (@Region) order by Property_Key

For both parameters I have set the Default Values to the same dataset as selected for Available Values.

1. Now, when the report is opened, all parameters are filled with the correct values and set to the correct default values (all selected).
2. When I change the Region parameter to only one of the 4 available values the Property parameter is refreshed and filled with the correct values (for that one region) and set to the correct default values (all selected).
3. The problem occurs when I change the Region Parameter back to "(Select All)". The multi-value parameter drop-down-list Property is filled with the correct values for all 4 regions but the default values are not selected. Only those properties are (or better: remain) selected, which were selected before when only one region was selected.

Can you please help me with this problem? Setting the Property parameter to "Always refresh" under the "Advanced" properties does not solve the problem. It occurs both in the Business Intelligence Studio and then browsing the report through the web published on SSRS.

Regards,
Alex

Report Viewer 2016 Does Not Work

$
0
0

We installed the Report Viewer 2016 on two different developer machines and got the same problems on both.

First of all, it does not render properly.  Note the artifacts on the left:

None of the functionality of the report viewer itself works.  In addition, we see the following javacript errors



[EDIT]
I now believe this to be 3 separate errors.

  1. The missing icon (404 error)
  2. The artifacts during rendering
  3. The javascript error which prevents functionality (Uncaught Sys.ArgumentUndefinedException)

I created a brand new web forms project and the only change I made to the vanilla code was to NUGET the report viewer in and create a simple test page.  In that project I got errors 1 & 2 but not 3.  It did display the report under the artifacts. There is obviously some collision with existing configuration/packages or, perhaps, another dependency not mentioned in the documentation.



need min(value) greater than zero

$
0
0

I need to return the first value greater than zero as my min(value). Is that possible? I'm using 2012 SQL and SSRS.

I need to give a summary at the end of my report showing the min() and max() values of a field for that row.

Thank you,

Luke

SSRS Data-driven Subscription Error Details

$
0
0

In the following case, the report was scheduled to be delivered to 82 customers. How to find out which 5 customers didn't receive the report? 



SSRS 2014 error Failed with win32 error 0x03E3, pipeline=0x0000001E4812E870

$
0
0

Hi Guys,

We are randomly getting this error for some of the larger reports. We have increased the timeout settings for SSRS to 12hr. Our server memory is 32GB and we are running SQL Server 2014 standard edition. Within  SSRS Site settings, we have turned on the option to DO NOT TIMEOUT report.

We get this error when we try to use ReportingService2005 asmx call to generate EXCEL format. Code works fine with CSV file.

What is the solution here ? 

rshost!rshost!1c70!09/12/2016-23:26:45:: e ERROR: WriteCallback(): failed to write in write callback.

rshost!rshost!1c70!09/12/2016-23:26:45:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x0000001E4812E870.

rshost!rshost!58dc!09/12/2016-23:26:45:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.

rshost!rshost!58dc!09/12/2016-23:26:45:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x0000001E4812E870.

httpruntime!ReportServer_0-2!58dc!09/12/2016-23:26:45:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)

   at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)

   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)

library!ReportServer_0-2!58dc!09/12/2016-23:26:45:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_REPCENTER_0-2-131182052998828671.  ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)

   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)

   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)

   --- End of inner exception stack trace ---;

Changing Credentials problem in Report Server Web Interface

$
0
0

I why can you not change Credentials for a data source inside the web based report server interface? When I select a data source and go to manage I can see the credentials (Credentials stored securely in the report server). If I attempt to change the User name or the password I instantly see the message:

The password is not valid. Please retype the password.

Once the new User name and Password have been entered the message will not go away and this prevents saving of that information. I end up having to load the project update the credentials in Visual Studio and deploy the data source again. This problem has persisted from 2005 and not to 2014. 

What am I missing?

Dynamic Report Orientation (Landscape - Portrait)

$
0
0

Assalam-O-Alaikum

Can I change my Report Oreintation dynamically from Landscape to Portrait OR from Portrati to Landscape?

If its not possible can I handle it at run time through coding.??

Please help

Thank you


Zubair Afridi | Please mark as answered or vote helpful if this post help resolved your issue. Thanks!

SSRS

$
0
0

Hi Friends,

i have a requirment in SSRS (matrix report), where the column group is sorted by date like '2016-09-01', 2016-09-02 etc.

i want to hide the entire row, if the column group value is 0.



Thanks

Santosh

SSRS Mobile Publisher Installation Error

$
0
0

When trying to install SQL Server Mobile Report Publisher, I'm getting this error to install .NET framework. When I try to install .NET framework from the suggested link, I get error that I already have it installed (same or higher version).

Please advise what to do.



Viewing all 10045 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>