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

SQL Server Reporting Services configuration issue

$
0
0

When I click on “System Settings” in the SSRS service application management I get an 503 (server Unavailable) error even though the service is running.

The farm consists of 4 servers (2 Web and 2 Application server). SSRS is running on one of the application server. SharePoint 2013, SSRS 2012.

SP2013 WFEs - Installed only RS Add In

SP2013 APP1 - Installed RS in SP Mode, SQL 2012 SP1 and Add-in.

In services on server, The SSRS service is started on the application server.

I can activate/deactivate Site collection feature for Report Server Integration Feature.

Add Reports Content Type in document library.

Has anyone see anything like this or have an explanation of what is happening?


Thanks and Regards, Parth


How to pass series of dates (between startdate and enddate) to subreport, which takes only one date as parameter

$
0
0
Relatively new to Microsoft report services. I have created a report which takes a single parameter named 'SelectedDate'. This report runs fine (uses complex query of hours of the selected date and complex joins & aggregate calculations between SQL database tables). I created a new report with two parameters, namely, StartDate and EndDate. Also created a sql stored procedure which gives all dates between StartDate and EndDate. Added subreport to this report which calls my first report and defined 'SelectedDate' parameter to get the value as "=First(Fields!dt.Value, "DataSet1") - where dt is the resultset of procedure called in DataSet1. When I run this report, in the subreport, all I see is the report for 'StartDate' which is the passed value of the first parameter. I can't find a way to pass entire array of dates as parameter, to which user can browse forwards and backwards. Any idea? Thanks in advance for your help!

What steps can be taken to improve the performance of Data Driven Subscriptions (MaxQueueThreads) ?

$
0
0

Hi there

I have a data driven subscription that renders 8000 reports, and takes many hours.

Each report render has approximately the following performance characteristics

TimeDataRetrieval        TimeProcessing          TimeRendering 

135ms                            52ms                          95ms

I have the following setting in the config file..

<MaxQueueThreads>0</MaxQueueThreads>

Can anyone comment on what the limits are for setting MaxQueueThreads to a manual value? I have heard 2 subscriptions per logical core is what the rough limit is, but nothing is mentioned in the documentation, apart from the fact the 0 is an Automatic setting.

Apart from the documented settings in the RsConfig (memory configuration etc) has anyone found any tweaks that can push subscriptions through faster?

Cheers

Josh



Josh Ash

Export as Tab Delimited Text File

$
0
0

 

Hi,

I am trying to export as a tab delimited text file. For that I have changed my config file as :

<ExtensionName="TXT"Type="Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering">
<
OverrideNames>
 <
NameLanguage="en-US">TXT (Tab Delimited Text File)</Name>
</
OverrideNames>
<
Configuration>
<
DeviceInfo>
 <
FieldDelimiter>&#9;</FieldDelimiter>
 <
Extension>TXT</Extension>
 <
Encoding>ASCII</Encoding>
 <
NoHeader>true</NoHeader>
 </
DeviceInfo>
</
Configuration>
</
Extension>

 

I got this code from another one of the MSDN forms. When I run the report and try to export using this format, it still gives me a csv file instead of tab delimited file.

 

Can someone please help me fix this code so I can get tab delimited text files.

Thanks a lot,

-Rohit

Report Manager Error : Item has already been added. Key in dictionary: 'Read Properties' Key being added: 'Read Properties'

$
0
0

Using SSRS2012 with Forms Authentication.  I successfully login and ultimately land on

http://ssrs.foo.com/Reports/Pages/Folder.aspx

At this point I get the following error in ReportManager

Stack Trace:      

>mscorlib.dll!System.Collections.Hashtable.Insert(object key, object nvalue, bool add) Line 437C#
ReportingServicesWebUserInterface.DLL!Microsoft.ReportingServices.UI.BasePermissions.ReadPermissions(string[] permissions) Line 27C#
ReportingServicesWebUserInterface.DLL!Microsoft.ReportingServices.UI.Permissions.GetPermissions() Line 78C#
ReportingServicesWebUserInterface.DLL!Microsoft.ReportingServices.UI.Permissions.Permissions(string path) Line 50C#
ReportingServicesWebUserInterface.DLL!Microsoft.ReportingServices.UI.Permissions.CurrentUser(string itemPath) Line 67C#
ReportingServicesWebUserInterface.DLL!Microsoft.ReportingServices.UI.ReportingPage.RSUser.get() Line 319C#
ReportingServicesWebUserInterface.DLL!Microsoft.ReportingServices.UI.FolderPage.Page_Init(object sender, System.EventArgs e) Line 42C#

BasePermissions.ReadPermissions is blowing up when trying to add the "Read Properties" permission.

protected virtual void ReadPermissions(string[] permissions)
        {
            foreach (string str in permissions)
            {
                Global.TraceVerbose("Read Permission: " + str);
                this.m_perms.Add(str, true);  //ArgumentException - Item has already been added. Key in dictionary: 'Read Properties'  Key being added: 'Read Properties'
            }
        }

What might cause this error?  How do you troubleshoot?

thanks

export to excel does not show all text (wrap is missing) - row height not growing

$
0
0

Hi NG,

I have a report with a table on it.

In the details I have a cell with a textbox containing text of individual length.
I want to export this report to excel - but then there is only one visible line - the cell is not growing and the rest is not directly visible. fixed height is not possible in this scenario.

Has anyone an idea on how to solve this? cangrow and canshrink is true... problem is only when exporting to excel.
 (SQL-Server 2008 R1)

thx!

Regards
Benjamin

Get week ending date from Year and Week Number

$
0
0

I would like to display the week ending date in a Report.

My dataset query has grouped the results by year and week number, so I am trying to construct the week ending date from year and week number.

SSRS Report Manager error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"

$
0
0

Hi All,

I am getting error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"

in one of my Test Environment when trying to run the SSRS 2012 report from report manager.

Any clue why it is happening.


Thanks Shiven:) If Answer is Helpful, Please Vote


SSRS Visual Studio 2010 Report Server project template

$
0
0

Where to download the SSRS (SQL Server Reporting Server) project template for Visual Studio 2010? I have downloaded Sql Server Data Tools (http://msdn.microsoft.com/en-us/data/tools.aspx) and installed it, but I don't see the project template in VS.

I found this image in web, I am guessing this is how it should look..

Set Expression, combining values, blank space issues

$
0
0

=Fields!Lastname.Value+", "+Fields!Firstname.Value

When combining these values we get a result that contains to many spaces after the last name, result shows as "Smith       ,John".

Any assistance is greatly appreciated.

Thank you

Frank

How can I restrict the user to run the report based the access level at access table backend?

$
0
0

I have a report which pulls data of servicetickets. Now I have to work on security part which should retrict the people to look for specif sales team tickets based on their access at backend. They should access the tickets of the sales teams which they have access. Can anyone help on this.

Thanks,


Swapna


Use FormsIdentity.UserData with SSRS/Forms Authentication?

$
0
0

Is there a way to set the FormsIdentity.UserData property when using Forms Authentication with SSRS2012?

thanks

scott

ReportingService2005 keep db connection open

$
0
0

I have project that uses ReportingService2005 and I try write tests for this project. There are some tests which testing part where using ReportingSevice. After all test I have method that restore database from backup for saving original state.

The problem is reportingservice keep use database and I cannot restore it. I tried send command to mssql service close all connection directly. Now I can restore db, but I have another problem: when I start tests again, ReportingService try use closed connection and throw exception.

After that I tried just restart ReportingService before restore db. It help, but it is unsuitable solution.

Any guess how to resolve it? I want have possibility to restore db AND I don't want to restart Reporting service.

Thanks, Igor.


SSRS 2012 with MTHML subscriptions, Graphs, and Outlook cache issues

$
0
0

Hi,

I looked for a resolution to this but couldn't fine one; hopefully someone has solved this issue or has a workaround and can point me in the right direction.  This seems to be both an issue with the SSRS Render method and Outlook caching, but since the source of the problem is with the Render method I'm posting here.

We have several parameterized reports that use the same chart which is emailed in MTHML format to users.  Each email subscription sends a different parameter which in turn generates different chart data output.

I've noticed that when SSRS renders the graphs in MTHML it uses an algorithm that generates code similar to the following for the image source:

<img onerror="this.errored=true;" src="cid:C_632iT7_1">

This image src value is the same for EVERY chart output regardless of the parameters passed to it.  This value is the same across all emails even when the parameters are different.

The problem is when the report is emailed, Outlook's caching mechanism will display the wrong chart when clicking between different report result emails.  When opening the report in IE the correct chart for each is displayed correctly.  I understand this is because (a) the rendering engines are different and (b) due to how Outlook caches emails.

The Render method of the report seems to generate this value rather than using some uniqueId each time.  Without using a custom Render method implementation or a custom Email delivery assembly to intercept and change this source id, has anyone been able to find a resolution to this?

Due to our business model we cannot turn off cached exchange mode on the outlook client machines (although I haven't seen that this fixes anything in most circumstances).

Thanks,

Kevin

Sorting numbers and strings

$
0
0

Hi,

I've a column in report builder with values such as : 70x500, 100x200, 150x200 and 80x200

The above I will have sorted like:  70x500, 80x200, 100x200, 150x200   (right now they are sorted like 100x200, 150x200, 70x500, 80x200)

How to achive this..?

Thanks in advance.

H


SSRS - Page Break - Subreport

$
0
0

Hi,

I have a report with two subreports inside. the main report has keeptogether true and page break checked in a group. both subreports has keeptogether false and no page break. 

My environment is SSRS 2008 and VS 2013 (Reportviewer 11)

I got two (separate) issues:

1. the page break is not working when I display the reports in reportviewer in browser. But it works when I export it into pdf.

2. if the Main+subreports cannot fit to one page. then it basically cut the main report and subreport into different page (even though keeptogether in mainreport is true and subreport is false)

Is there someone that can suggest what is going on? Some sources stated that this is a default behaviour, if yes, is there any workaround for this?

Thanks before!

SSRS Report - Group Totals are Zero when Group Row Hidden

$
0
0

I have a report with one group called Counties. This group has a filter.

I added code to produce the totals for Prior, Current and DistinctCount:

Public Shared Dim grandTotal1 as Decimal = 0

Public Shared Dim CountyTotal1 as Decimal = 0

Public Function AddTotal1(ByVal b AS Decimal) AS Decimal

   grandTotal1 = grandTotal1 + b

    CountyTotal1 = CountyTotal1  + b

   return b

End Function

Public Function GetCountyTotal1()

   Dim ret as Decimal = CountyTotal1

   CountyTotal1 = 0

   return ret

End Function

Public Function GetGrandTotal1()

   Dim ret as Decimal = grandTotal1

   grandTotal1= 0

   return ret

End Function

Public Shared Dim grandTotal2 as Decimal = 0

Public Shared Dim CountyTotal2 as Decimal = 0

Public Function AddTotal2(ByVal b AS Decimal) AS Decimal

   grandTotal2 = grandTotal2 + b

    CountyTotal2 = CountyTotal2  + b

   return b

End Function

Public Function GetCountyTotal2()

   Dim ret as Decimal = CountyTotal2

   CountyTotal2 = 0

   return ret

End Function

Public Function GetGrandTotal2()

   Dim ret as Decimal = grandTotal2

   grandTotal2= 0

   return ret

End Function

Public Shared Dim grandTotal3 as Decimal = 0

Public Shared Dim CountyTotal3 as Decimal = 0

Public Function AddTotal3(ByVal b AS Decimal) AS Decimal

   grandTotal3 = grandTotal3 + b

    CountyTotal3 = CountyTotal3  + b

   return b

End Function

Public Function GetCountyTotal3()

   Dim ret as Decimal = CountyTotal3

   CountyTotal3 = 0

   return ret

End Function

When it runs, it gives me this:

This works fine. But now I need to hide the details on the counties. I just need the line with the 15, 32 and the 9.

I highlighted the group row, right clicked -> Row Visibility and changed it to Hide. But when I do this, my results are three zeros.

I am at a loss now on how to just show the totals. Does anyone have any suggestions for me to try?


cpemtp1

Employee data not showing up

$
0
0

Hi,

I executed this stored procedure on Friday and it worked fine with Employee '646219' able to open the reports and view contents. But today this employee is not able to open reports. I looked into this and it looks fine to me. Can someone help? as always second eye helps.

                                 

SELECT  [AuditID]
      ,convert(varchar,[Product_C]) + convert(varchar,[Policy_N]) as PolicyNumber
      ,[Insured_M]
      ,[Amendment_D] + [Amendment_T] as AmendmentDate
      ,[PolicyEffective_D]
      , Staff.First_M + ' ' + Staff.Last_M as EmployeeName
      ,[Agent_N]
      ,convert(varchar,[Branch_N]) + ' - ' + convert(varchar,[Branch_M]) as Branch
      ,[Team_C] as Team
      ,[AuditUser_M]

      ,[AuditStart_D]
      ,[AuditEnd_D]

      ,[UserPremium_A]
      ,[AuditPremium_A]

      ,case [Error1_I] when 'Error' then 'Red' else 'Transparent' end as Error1_I
      ,case [Error2_I] when 'Error' then 'Red' else 'Transparent' end as Error2_I
      ,[Error1_2_Comments]
      ,case [Error3_I] when 'Error' then 'Red' else 'Transparent' end as Error3_I
      ,[Error3_Comments]
      ,case [Error4_I] when 'Error' then 'Red' else 'Transparent' end as Error4_I
      ,[Error4_Comments]
      ,case [Error5_I] when 'Error' then 'Red' else 'Transparent' end as Error5_I
      ,case [Error6_I] when 'Error' then 'Red' else 'Transparent' end as Error6_I
      ,[Error5_6_Comments]
      ,case [Error7_I] when 'Error' then 'Red' else 'Transparent' end as Error7_I
      ,[Error7_Comments]
      ,case [Error8_I] when 'Error' then 'Red' else 'Transparent' end as Error8_I
      ,[Error8_Comments]
      , [Usable_I]
  , Supervisor.EmailAddress as TargetRecipient
  , 'ErrorFree' = case when (case when [Error8_I] = 'Error' then 1 else 0 end +
case when [Error7_I] = 'Error' then 1 else 0 end +
case when [Error6_I] = 'Error' then 1 else 0 end +
case when [Error5_I] = 'Error' then 1 else 0 end +
case when [Error4_I] = 'Error' then 1 else 0 end +
case when [Error3_I] = 'Error' then 1 else 0 end +
case when [Error2_I] = 'Error' then 1 else 0 end +
case when [Error1_I] = 'Error' then 1 else 0 end ) > 0 then 'Transparent' else 'LightGreen' end

  FROM AO_AUDIT.[dbo].[tblAOAudit] Audit (nolock)
  Inner Join CallCenterEmployee.dbo.tblStaff Staff(nolock)
  on Staff.Emp_N = Audit.Agent_N
  and Audit.Amendment_D between Staff.Eff_D and Staff.Exp_D
  Inner Join CallCenterEmployee.dbo.tblStaff Supervisor(nolock)
  on Supervisor.Emp_N = Staff.SupervisorEmp_N
  and Audit.Amendment_D between Supervisor.Eff_D and Supervisor.Exp_D


  where AuditID = 646219

Nothing has changed since Friday.

And the error is :- 

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot read the next data row for dataset 'ds_AOAccuracyForm' (rsErrorReadingNextDataRow)

For more information about this error navigate to the report server on the local server machine, or enable remote errors

problem regarding the size of exported report from reporting services to excel format

$
0
0

Hi All,

For developing a report I'm using SQL Server 2000 with SP4 & MS Visual Studio .Net 2003. After expoting a report in excel format file, the size of the excel file is so much big that while openning the report file it seemed to be hanged the PC.

Is there any way to reduce the size of the excel in reporting services?

Thanks,

Uttam Kr. Dhar

Medi Assist India Pvt. Ltd.

SSRS export to PDF spreading columns to multiple pages

$
0
0

Hi 

I'm developing a report in SSRS 2008 R2, which has more than 50 columns. Report looks good when viewing in report viewer, but when exporting to PDF columns are spreading to multiple pages. I have seen couple of suggestion in the forum to set the table width inline to the page width. But what I actually require is, I need to show only the first page and dont want the remaining pages in the PDF. Is there any way to remove the remaining pages while exporting to PDF ?

Lets assume the report has 20 columns with 100 records. currently when exporting to PDF, below is what I see.

Page 1 - column 1 to 10 of first 50 records

Page 2 - column 11 to 20 of first 50 records

Page 3 - column 1 to 10 of remaining 50 records

page 4 - column 11 to 20 of remaining 50 records

What I require is...

Page 1 - column 1 to 10 of first 50 records 

Page 2 - column 1 to 10 of remaining 50 records

Thanks


Viewing all 10045 articles
Browse latest View live


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