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

SSRS report with Custom Assembly error

$
0
0

Hi All,

I am trying to get an SSRS report that uses a Custom Assembly (called AgeLib.dll) to work with a test SQL 2012, SharePoint 2013, and Windows 2012 server. The same SSRS report worked perfectly with the same Custom Assembly on a SharePoint 2010, SQL Server 2008, and Windows 2008 RS server.

To get the SSRS report to work on the SharePoint 2010 I needed to copy the Custom Assembly to two locations on the server. The first location was the report server bin folder "C:\Program Files\Microsoft SQL Server\MSRS10_50.CEMOSSDB\Reporting Services\ReportServer\bin", and the second location was the Visual Studio 2010 "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies" folder.

On the new SharePoint 2013 server there is a VS 2010 folder "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies", but there is no Report Server bin folder. The Report Server folder goes up to "C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services", and only has a LogFiles folder within it.

I tried created the missing folders (ReportServer and bin) and placing the Custom Assembly file in to it and then running the SSRS report but I get an error:

*********Error Message***********

Error while loading code module: ‘AgeLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2a5a595faa959cbb’. Details: Could not load file or assembly 'AgeLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2a5a595faa959cbb' or one of its dependencies. The system cannot find the file specified.

********************************

All my other SSRS reports that do not require a Custom Assembly work perfectly on SharePoint 2013. When I setup SSRS on the test SharePoint 2013 server I installed the "Report Services – SharePoint"and the "Reporting Services Add-in for SharePoint Products"SQL Server features, but not the "Report Services – Native" feature. Do I need to also install the “Report Services – Native” SQL Server feature, or do I need to change the permissions on the folders I created manually?

I hope you can help.
CEStar





building an expression using param's label field instead of value field

$
0
0
Hi.  We run 2012 enterprise and i wonder what the path of least resistance is to using a param's query based label field (instead of value field) in an expression for chart title?  Label field doesnt seem to be available in the expression panel.

How to get SharePoint Group in SSRS

$
0
0
I generated a report in SSRS 2008, deployed in MOSS 2007 (SSRS in integration Mode). I want to pass loggedin user group(SharePoint Group) to the report as a parameter. how can i solve this problem.

Index was outside the bounds of the array.

$
0
0

I created a report for a web application based on SQL Server 2005 reporting service. Somehow, I get this "Index was outside the bounds of the array" error once a while. I have no idea how to trouble shoot this problem. Please give me some advice. Thanks!

 

====================================

Index was out side the bounds of the array.

 

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: System.IndexOutOfRangeException: Index was outside the bounds of the array.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

[IndexOutOfRangeException: Index was outside the bounds of the array.]

  System.Collections.Generic.List`1.Add(T item) +47

  Microsoft.ReportingServices.Library.MemoryReportSnapshot.CreateReportChun(String name, report...

  Microsoft.ReportingServices.ReportProcessing.DataChunkWriter.Flush() +900

  Microsoft.ReportingServices.ReportProcessing.DataChunkWriter.FinalFlush() +10

  Microsoft.ReportingServices.ReportProcessing.RuntimeReportDataSetNode.FirstPassCleanup(...

  Microsoft.ReportingServices.ReportProcessing.RuntimeDataSetNode.FirstPass() +307

  Microsoft.ReportingServices.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean&...

  Microsoft.ReportingServices.ReportProcessing.RuntimeReportDataSetNode.Process() +227

  Microsoft.ReportingServices.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object ...

 

[ProcessingAbortedException: And error has occurred during report processing.]

  Microsoft.ReportingServices.ReportProcessing.AbortHelper.ThrowAbortException(int32 report...

  Microsoft.ReportingServices.ReportProcessing.ProcessingContext.CheckAndThrowIfAborted()...

  Microsoft.ReportingServices.ReportProcessing.Merge.Process(ParameterInfoCollection parameter...

  Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report,...

  Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report,...

  Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExten...

  Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExten...

  Microsoft.Reporting.LocalService.RenderWithDataCache(PreviewItemContext itemContext, Param...

  Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowIntern...

 

[LocalProcessingException: An error occurred during local report processing.]

  Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInterr...

  Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInterr...

  Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, String&...

  ...

 

-----------------------------------------------------------------

Version Information: Microsoft.NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

====================================

 

Henry

x axis labels appear only intermittently on bar chart

$
0
0
Hi.  We run 2012 enterprise and my x axis category groups are showing up only intermittently.  Their string format is xxx yyyy where xxx is month abbrev and yyyy is year.  I see all of my sales bars between jan 2012 and mar 2013 but only the dates may 2012, oct 2012 and mar 2013 are labeled.  I want all labeled.  What is happening here?  The problem occurs when label are rotated -45 as well as -90 degrees.

ssrs 2008 want parameter default values to display

$
0
0

In an ssrs 2008 report, I want to add a parameter called Processed and have default values set so the
user does not have to select the parameters. The problem is the default parameters are not preselected
when the report is executed.

The following is the query for the dataset that is used for the parameter called Processed. This
is used under available values.


select DISTINCT IsNull(Processed,'') as Processed,
CASE IsNull(Processed,'')
  WHEN 0 then 'Non Processed'
  WHEN 1 then 'Processed'
  END AS label
FROM [Items]
where Processed in (0,1)
order by label

The default values are set to 0 and 1.

The column called Processed as defined as 'bit'.

Thus can you tell me what you think could be wrong? Do I need to specify the bit values as
something else? If so, how should I refer to the values for bit?

what is the meaning for 15 days old and greater in ssrs

$
0
0

Hi Friends,

Can any one pls tell me what is the meaning for 15 days old and greater data should be displayed in the report.

It means Date column >= getdate() -15  ??? or  Date column <= getdate() -15   ??

Please suggest me.

Thanks,

LuckyAbdul

How to reorder columns and make all labels appear?

$
0
0

I have a chart in my 2008 R2 report:

I want to reorder these programs in alphabetical order and I want to display all programs.  In the image above, see how only some of the program labels appear?

Here is some sample table data:

create table sample_programs
(
program_name varchar(25),
LOS int,
people_id int identity(1,1)
)

insert sample_programs values('transitional living',50),('educational services',65),('Residential Treatment', 77),
('Regular Foster Care', 23)

And the SSRS Chart Value expression:

=Sum(Fields!program_los.Value) / 
(CountDistinct(Fields!people_id.Value))

Where program_name is the Category group.


Ryan D


ssrs rendering on click of path not dispalying xls file

$
0
0

I have an link where i need to click and open report in the format needed.

pdf is working

http://localhost/ReportServer?%2fReport&rs:Command=Render&rs:format=pdf

xls is not working

http://localhost/ReportServer?%2fReport&rs:Command=Render&rs:format=xls

Reporting Services Error

You have attempted to use a rendering extension that is either not
registered for this report server or it is not supported in this edition of
Reporting Services. (rsRenderingExtensionNotFound) Get Online Help




SQL Server Reporting Services

ShanmugaRaj

how export report SSRS to TIFF image programticlly

$
0
0

dear all,

 I have in my application reports called from my page to the reporting service of SQL-Server.

I want in my web-form (with programming) to export this report to TIFF image ...

StartDate and EndDate Vlaidation with messagebox

$
0
0

Hi All,

Iam finding issue with custom code for date validation.i wana show error message like this



can anyone tell me how to get it.

how to default SSRS reports to hide parameters bar at top

$
0
0

hi all,

When a report is open I want the default view to hide the parameter bar at top. however if a user wants to he/she should be able to make the parameters visible. is this possible?

thanks

sonny 

popup column value in new window instead of tooltip

$
0
0

I have columns called as STATUS , STATUS_Description.

Earlier i had Tooltip of STATUS as STATUS_Description.

Now i would like to openup the  STATUS_Description on click of STATUS

enabling user to copy the STATUS_Description  message.

Kindly suggest. i am trying to use the actions menu and cannot get any idea on

="javascript:void window.open('http://ServerName/ReportServer/Pages/ReportViewer.aspx?%2fCheckReports%2fReport2&rs:Command=Render+Name&ReportParameter1="&Fields!STATUS_Description.Value&  "&rs:Command=Render','_blank','resizeable=1,toolbar=0,status=0,menu=0,top=20,left=20,width=740,height=730')"


ShanmugaRaj


rrRenderingError after upgrading to SQL Server 2008 R2

$
0
0

Hi you all,

 

We upgraded from SQL Server 2008 to SQL Server 2008 R2, we exported and imported our reports and most of them worked but some of them don't.

 

The problem occurs when we provide multiple values for a parameter (We want to view values of more then 1 Machine), we then get the error: 

The value '4' is invalid.  Valid values are between '0' and '1'. ---> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The value '4' is invalid.  Valid values are between '0' and '1'. 

(--> from the log file)

 

The weird thing is that when only 1 machine is selected, the report works correctly. 

I hope somebody can help me because I'm searching for the cause for almost a day now.

 

Kind Regards,

Lennart

 

If you have any further questions, don't hesitate to ask!

 

Additional Information:

- When more then 1 machine is selected, 1 page per machine and per day is shown

- Stacktrace below the error: (from logfile of Reporting Services)

   at Microsoft.ReportingServices.OnDemandReportRendering.InternalTablixMemberCollection.get_Item(Int32 index)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.GetTablixMembersInstanceIndex(TablixMemberCollection rowMembers, Int32 level, List`1 instanceState)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.GetTablixMembersInstanceIndex()

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.WritePaginationInfo(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.PageItemContainer.WritePaginationInfoProperties(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.ReportBody.WritePaginationInfo(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.ReportSection.WritePaginationInfo(BinaryWriter reportPageInfo)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.Report.UpdatePagination()

   at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing.PaginateReport(Int32 startPage, Int32 endPage)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing.InitializeForInteractiveRenderer(Report report, CreateAndRegisterStream createAndRegisterStream, Boolean registerEvents, Hashtable& renderProperties)

   at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing..ctor(Report report, CreateAndRegisterStream createAndRegisterStream, Boolean registerEvents, String rplVersion, Hashtable& renderProperties)

   at Microsoft.ReportingServices.Rendering.RPLRendering.RPLRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)

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

Index of the Headings in the Table - Group row number 1. 1.1

$
0
0

I need to see the data as below in the grouping table

Index of the Headings in the Table.

1  Heading

1.1 Sub Heading

1.1.1 Detail Heading1

1.1.2 Detail Heading2

etc..

Table structure

kindly help me on the expression


ShanmugaRaj




Can someone help me with the correct SQL code to use in SSRS to get two columns to work together if a specific code is present then populate the name associated?

$
0
0
I have two columns for the fields staff_role and the other column contains last_name, first_name. What I want to do is pull three specific staff roles, if they are present, then also fill in the last name, first name fields associated with those roles in the other column. If there is nothing in those three codes then both columns should be blank or at least the name column should be blank. I have the expression in the staff_role field set to render labels for Lead Atty, BK Mgr, and Partner in Charge instead of just the 4 digit code which is great but I cannot figure out how to make the name column dependent on the staff role column. Not sure if this should be established with a parameter or a filter or just in the query. Any ideas??

Report Model Project in SQL SSRS 2012

$
0
0

Hello,

I am trying to create a report model in SSRS 2012. Unfortunately the option create new report model project is not avaialble any more. How can i create a report model in this version?

Thanks in advance,

Andreas

How to make a table to display perticular number of rows per page??

$
0
0

Hi,

Can anybody tell how to ristrict the number of rows per page in SSRS?

I have a table in my report.I know we have to use" =Int(RowNumber(Nothing)/25)" in group expression.But I already have 3 group expression in my table.Where to write??

Thanks.

Arial Unicode text overlapping after updgrading from ssrs 2008 to ssrs 2008 R2.

$
0
0

Hi, 

we recently upgraded our dev environment to SSRS 2008 R2 SP2. We are seeing issues with Arial Unicode font when exported to PDF. Text is overlapping and hard to read. Below is the example especially with special characters. 

Please advice


Any help is appreciated

Thanks


SSRS 2008R2 Reports issue (Rendering??)

$
0
0

Hi

I have some SSRS 2008 R2 reports.. 

They look ok in Development Studio but not ok on the report server (see below). Few reports are ok.. but most of them are not.

I don't know what it is going on. Can someone help me with this please? 

Viewing all 10045 articles
Browse latest View live


Latest Images

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