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

Attempting to migrate from SSRS2k5 to SSRS2k8R2 Printing from IE freezes

$
0
0

Strange issue, we have a Windows Server 2003 R2 SP2 Citrix Xenapp 4.5 environment. We have been attempting to migrate from an SSRS 2005 server to a new SSRS 2008 R2 server. We have installed RSClientPrint on these servers for both for SSRS 2005, and the latest from the SSRS 2008 R2. We have several users who are able to print reports fine under 2005, however when they print under 2008 R2, the print job starts but seems to freeze at the last page and never completes. It doesn't seem to happen every time, or to every user, but happens fairly consistently is such that we've had to roll back to SSRS 2005. No error was reported on the client, and nothing logged that I can find on either the client or the report server itself.

I've not found much reference to this online. As previously noted, these are Windows Server 2003 R2 SP2 servers, at present they are running IE7, but we are upgrading to IE8 shortly if anyone thinks that might help. I've tried various tricks with the registering/unregistering the RSclientprint, but I am open to suggestions if anyone has one there. Is it possible there is some sort of conflict between the SSRS2005 and SSRS2008 R2 causing the freeze? Maybe something lingering in a temp folder? Hoping someone else has an idea there.


Adding the collapse/expand function to a subgroup

$
0
0

Good morning,

I'm quickly getting a handle on building some very nice reports with SSRS.

When I do the first grouping of data, the expand/collapse function is added to the top level. Works great. When I add a subgroup, the expand/collapse (+) function is not included. I'm not able to find a property setting that accomplishes this.

Thanks to whoever can point me in the right direction!

SSRS 2012. ReportServer takes long time to be up.

$
0
0

SSRS 2012 Sp1

Hi guys,

I am using SSRS as my reporting platform, but I have always got the following issue.

SSRS ReportServer takes time to load.

The first time takes long, then less time but only if the ReprotServer web page is continuosly retrived.

HERE the problem:

If the ReprotServer page is not used after a short time (let me say 10 min), the page takes long time to be up again.

I have checked the configuration that is set as for default 12 hours.

Is there a way to speed up the ReportServer opening page time?

Thanks for your help 

Local RDLC report does not display external image...

$
0
0

Hi,

I have a windows application in which i have developed one report.

In this report,i have set one image in header & the other in footer as external image.

I have provided proper path to image.

i have also set EnableExternalImages to true.

Still in client machine, report viewer 2005 does not display image.

Can anyone tell me why this is happening?

SSRS Column Value based on Previous columns

$
0
0

Hi,

I have 3 excel worksheets named one, two & three respectively. Each has a column named 'value', that contains either yes or no. The data making up the worksheets comes directly from SQL tables.i.e. captured values.

I need to create a report that will have a column named 'Resultant'. This is based on this:  - if the 'value' in 2 or more of the worksheets is a yes, then 'Resultant' column should be yes. Otherwise it should be no.

The data making up the worksheets comes directly from sql tables.

Please assist

Regards

SSRS report displaying as XML in vs 2013

$
0
0

Hi  I installed this :

Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013 

but I still see the ssrs  (.rdl) reports as xml in visual studio 2013. What else do I need to do???

Details of Reports scheduled on SSRS (Report name, userdetails, frequency, etc)

$
0
0

Hi all,

Is there a way to find all SSRS scheduled reports details such as (Report Name, schedule time, mail IDs configured, etc.)?
Please help as we have many SCCM reports on SRS, and manual work will take very long time..

scorpITs | http://scorpITs.blogspot.com


RB 3.0 Expression for returning current Quarter. Quarter Fields already defined

$
0
0

Hello,

I have a query which contains Month, Year, Quarter of the year (1-4) and Quarter (Q1,Q2,Q3,Q4)

The report parameter is setup with available values of Q1-Q4, but I want the default value to be the current Quarter.

How do I write this using a Report Builder Expression  (not as a select sql statement)

I tried using RB 1.0 solution of Quarter(now( )) but get the error that Quarter is not declared. 

Do I put the expression in the parameter under default value or in the field settings.

Thank you





MS SQL Server Report Builder 3.0 how to convert Parameter (clarion date) input to display as date type on report.

$
0
0

I am creating a report based on data from joint tables. Data in the report is filtered by Parameters - variable dates range which are passed from external application as a clarion date.

I would like to display on my report the values that were entered to parameters @date_from and @date_to in clarion date format but converted into date format.

The T-SQL code that converts the clarion date is: 

cast ([date_from] - 36163 as datetime)

but when I use the above code it is displayed on report as text.

In Report Builder I understand an expression should do the conversion:

=CDate(Parameters!date_from.Value)

but that returns an #Error in the actual report.

What am I doing wrong?

******EDIT******

Correct syntax in Report Builder 3.0 for code Simon_Hou has supplied:

=DateAdd(DateInterval.Day, Parameters!date_from.Value, #12/28/1800#)

or =DateAdd(DateInterval.{Hour/Day/Month/etc.}, Int Value, #MM/DD/YYYY#)


Attempting to migrate from SSRS2k5 to SSRS2k8R2 Printing from IE freezes

$
0
0

Strange issue, we have a Windows Server 2003 R2 SP2 Citrix Xenapp 4.5 environment. We have been attempting to migrate from an SSRS 2005 server to a new SSRS 2008 R2 server. We have installed RSClientPrint on these servers for both for SSRS 2005, and the latest from the SSRS 2008 R2. We have several users who are able to print reports fine under 2005, however when they print under 2008 R2, the print job starts but seems to freeze at the last page and never completes. It doesn't seem to happen every time, or to every user, but happens fairly consistently is such that we've had to roll back to SSRS 2005. No error was reported on the client, and nothing logged that I can find on either the client or the report server itself.

I've not found much reference to this online. As previously noted, these are Windows Server 2003 R2 SP2 servers, at present they are running IE7, but we are upgrading to IE8 shortly if anyone thinks that might help. I've tried various tricks with the registering/unregistering the RSclientprint, but I am open to suggestions if anyone has one there. Is it possible there is some sort of conflict between the SSRS2005 and SSRS2008 R2 causing the freeze? Maybe something lingering in a temp folder? Hoping someone else has an idea there.

Adding the collapse/expand function to a subgroup

$
0
0

Good morning,

I'm quickly getting a handle on building some very nice reports with SSRS.

When I do the first grouping of data, the expand/collapse function is added to the top level. Works great. When I add a subgroup, the expand/collapse (+) function is not included. I'm not able to find a property setting that accomplishes this.

Thanks to whoever can point me in the right direction!

Display next page value in current page in SSRS

$
0
0

Hi Friends,

I have a requirement where i have to display each student in different page and need to display some text based on Next(ID)

Here is the detailed description.

I have tried to use the condition as  

=IIF (Last(Fields!ID.Value)<>Previous(Fields!ID.Value),"Created Date:    ", "Modified Date:    ")

but it is not giving the correct order..Please someone help me.

Looking forward for your help.

Thanks,

Samhith


Deleted Project - Recovery

$
0
0

 

I moved my projects off of the C drive and onto a larger drive a few months back.  I discovered recently, like a lot of us have unfortunatly in the past, that we are not pulling a backup of the drive I put the projects on.  While going back through some old stuff on the C drive, I deleted a project inside the old Projects folder.  This was a mistake because it was a project that is in use.  The report still runs fine, but when I went to edit one of the reports in the project, much to my dismay, the project could not be found.  I have a txt file of every SQL script that I wrote to create these reports, but am wondering if there is any way to salvage the reports from somewhere on the system so I don;t have to rebuild them?

Custom code in SSRS gives error when uploaded to report in CRM online

$
0
0

Hi All;

Below is my custom code 

Function SumLookup(ByVal items As Object()) As Decimal
If items Is Nothing Then
Return Nothing
End If
Dim suma As Decimal = New Decimal()
Dim ct as Integer = New Integer()
suma = 0
ct = 0
For Each item As Object In items
suma += Convert.ToDecimal(item)
ct += 1
Next
If (ct = 0) Then return 0 else return suma
End Function

and this code is used in 

=Code.SumLookup(LookupSet(Fields!new_mainprogrammeid.Value & "," &
Fields!new_subprogrammeid.Value & "," &
 Fields!new_outputs.Value & "," &
 Fields!new_claimmonthid.Value,
 Fields!new_mainprogrammeid.Value & "," &
 Fields!new_subprogrammeid.Value & "," &
 Fields!new_outputs.Value & "," &
 Fields!new_claimmonthid.Value,
Fields!new_fte.Value,  "JobOutcome"))

when this code is uploaded in CRM online report it gives an error 

below is the error from the log file 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An error occurred while trying to add the report to Microsoft Dynamics CRM. Try adding the report again. If this problem persists, contact your system administrator.Detail:<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"><ErrorCode>-2147188072</ErrorCode><ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /><Message>An error occurred while trying to add the report to Microsoft Dynamics CRM. Try adding the report again. If this problem persists, contact your system administrator.</Message><Timestamp>2014-10-07T14:21:25.5823821Z</Timestamp><InnerFault i:nil="true" /><TraceText i:nil="true" /></OrganizationServiceFault>

but when i remove the custom code and upload the lookup as below i dont get any error

=(LookupSet(Fields!new_mainprogrammeid.Value & "," &
Fields!new_subprogrammeid.Value & "," &
 Fields!new_outputs.Value & "," &
 Fields!new_claimmonthid.Value,
 Fields!new_mainprogrammeid.Value & "," &
 Fields!new_subprogrammeid.Value & "," &
 Fields!new_outputs.Value & "," &
 Fields!new_claimmonthid.Value,
Fields!new_fte.Value,  "JobOutcome"))

I need to calculate the sum of fte hence needed the custom code

Any help on this much appreciated

Thanks



Pradnya07


Sharepoint Integrated SQL Reporting - Unable to connect to the server that is specified......

$
0
0

This is driving me crazy.  I have Reporting services implemented on several sites in Sharepoint.  For some reason just one site refuses to work.  I see all the features are there.  I can create data sources. 

When I try to create a report I get :

"Unable to connect to the server that is specified in the URL, http://help.site.  Make sure that the server is running, the URL is correct, and you have permission to use the server"

I'm using my domain admin account, I know know this works on every other site.  I know I haven't forgotten the general setup of the service. 

The only difference is this site allows "anonymous" connections.  Has anyone heard of an issue about using anon and reporting services?  Either way I authenticate before I login but that doesn't have an effect.

 


David Jenkins

Within Microsoft Visual Studio 2013 and SSRS, how do I get "View Report" to appear in black on the button

$
0
0

Within Microsoft Visual Studio 2013 and SSRS and when I go to Previewmy report, how do I get "View Report" to appear in black on the button rather than white on a gray background?

I did check out Tools ===> Options and poked around in there a little bit but couldn't find where I could dynamically change the color of the button text.

Any help sure would be appreciated.

Thanks for your review and am hopeful for a reply.

ITBobbyP85

SSRS 2012. ReportServer takes long time to be up.

$
0
0

SSRS 2012 Sp1

Hi guys,

I am using SSRS as my reporting platform, but I have always got the following issue.

SSRS ReportServer takes time to load.

The first time takes long, then less time but only if the ReprotServer web page is continuosly retrived.

HERE the problem:

If the ReprotServer page is not used after a short time (let me say 10 min), the page takes long time to be up again.

I have checked the configuration that is set as for default 12 hours.

Is there a way to speed up the ReportServer opening page time?

Thanks for your help 

Date parameters with Sage

$
0
0

I am attempting to build a report for SSRS using Visual Studio. 

I have a query that is returning results, and the report is functioning perfectly.  However, the end user decided they wanted a date range selector on this report.  I have done this hundreds of times before with standard SQL databases/reports, but never before when accessing a Sage database.

Here is my issue.  When I put the date parameters into the query, it throws an error message.  Here is the line in the query that is causing me the issue:

AND SO_SalesOrderDetail.PromiseDate between {d @beginDate} and {d @endDate}

And here is the error message it gives:

Error[37000][ProvideX][ODBC Driver]Expected lexical element not found: <identifier>.

This query functions perfectly if I hard code a static date into it, but the user wants to be able to select a date range of their own.  Any ideas on how to fix this issue?


Mitchell Colwell

Chart in Subreport not visible

$
0
0

Hi All,

I am creating a report which has 9 subreports.

Each of the subreport has a chart. When I run the subreport rdls independently it works fine. But when I add it to a report as a subreport and set up the parameters, it behaves in the following way:

1. If the sp which gets the data for the sub report has rows, a chart is displayed.

2. If no rows are present, there is a blank space in the parent report where the subreport should have been present.

If I pass  the same parameters to the subreport directly(when its not embedded in the main report) and no data is returned, I get the data not available message displayed.

I was hoping to get the same thing in the main report as well but it just gives the blank space.

Can anyone point me in the right direction on how to tackle this issue?

I am using SSRS 2008.

Your suggestions are really appreciated.

Regards,

Manish

Can I create a result set filter on a SSRS Report similar to what you can do in Excel?

$
0
0

Asking this question in a different way...I have my SSRS Result set. Now the Business User wants to filter down a 15-page report to what they want to specifically see....Sooo my result set has a list of claims. And now the Business User just wants to see the list of claims by a certain Provider, which is also in the report. So I don't want to put that "filter" on the front-end...within the Stored Procedure that is producing the report because they want to see everything. Is there a way to make SSRS intelligent enough to parameterize the back-end result set? Or do I need to do it the old fashioned way by allowing for an optional parameter, let them run their report, define the available values by a query similar to the stored procedure filtering, and let them drill down that way?

I have tried playing around with Dataset filters and a parameter using the existing result set and existing Dataset, but I just cannot seem to get this to work the way I envision. If this entails creating a Function or Procedure within the SSRS, bring it on...I'm willing to learn. And I do have some VBA experience...so I'm not intimidated.

Again...I apologize for the similar type question, but I felt the need to be a little more clear.

Thanks for your review and am hopeful for a reply.

PSULionRP

 
Viewing all 10045 articles
Browse latest View live