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

Export To CSV format

$
0
0

Hi,

 

I am using Reporting Services 2000. I would like to export the report to CSV format. The column header value is a field value based which can change every month(I am trying to get the current month).

 

For instance, the report will show

CUSTNAME     JAN    FEB

Jamie               100    200

 

When I Export that to CSV fiel in ASCII encoding, I get

CUSTNAME    Period1   Period2

Jamie              100         200

 

The column headers are based on datafield name.

 

I understand that I can set the column header from the DataElementName property. However, I need the value to be based on a datafield value.

 

How can I achieve that?

 

Thanks in advance for any reply.

 


Help: Unable to Generate Report with URL with StartDate and EndDate Parameters

$
0
0

Hi All.

i have problem generating the SSRS Reports. 

i have Report URL  with 2 parameters-- @StartDate and @EndDate

when i hard coded the values and copy the URL in IE, Report gets generated

sample URL's:

http://myrshost/ReportServer/Employee_Sales_Summary_2008R2&StartDate=1/1/2012&EndDate=08/14/2015


but when i use Parameters--Report is not getting generated.

http://myrshost/ReportServer/Employee_Sales_Summary_2008R2&StartDate=@StartDate&EndDate=@EndDate

Below is the error;



Reporting Services Error

  • The value provided for the report parameter 'StartDate' is not valid for its type. (rsReportParameterTypeMismatch)

SQL Server Reporting Services


SSRS 2008 R2 Subscriptions

$
0
0

I am new to this project but have been asked to fix a long running problem. 

We have an SSRS 2008 R2 report that has 2 parameters, we will just call them P1 and P2. Based on what the user selects for P1, the database is re-queried and the values for P2 are presented. The user then selects the desired P2 value and generates the report. Pretty standard stuff, all straight forward and works as intended. 

The problem is that the end users have created subscriptions on this report to get monthly data from the database based on 100+ combinations of P1 and P2. The problem appears to be that the GUID values for P2 change every month due to a backend workflow process (which is the impetus for this report)  so the link between P1 and P2 are constantly breaking in the subscriptions that the users have made.  

Is there a way to define the relationships between the parameters dynamically in a subscription when the values behind the parameters are not static? 

Is there a way to administratively change user subscriptions to fix this issue?

Color gradation in 2008R2 SSRS

$
0
0

Hi All,

I need to implement custom color gradation in the table rows in SSRS. Can anyone please help me with this

Thanks much!!

How can I have custom error messages in SSRS

$
0
0
How can I have custom error messages in SSRS

Size Limit for Dataset Query in Report Designer

$
0
0
I was working on the SSRS Report Designer and was trying to copy and paste a huge SQL query from SQL Management Studio (like I always do) to the dataset window.

This method usually works, but for this extremely long SQL query with nested SELECTs and JOINs, it seems as though the Report Designer dataset query window limits the number of characters including carriage returns I can input in it.

When I paste my SQL query from
SQL Management Studio, it seems to paste only three quarters of the query, and thereafter I am not able to manually key in anything else or even make a line feed in the dataset query window.

Is there a limit to the number of characters I can key in here ? If so, is there any workarounds or configurations I can try ?

Kenny

Reports not showing when connected by cisco vpn client

$
0
0

Hi,

we have an isseu with 2 reports the are not showing in internet explorer when the client is connected by VPN Cisco Client.   The same reports work fine when they are at the office not using the VPN.  We have this error in the report server log.

y!ReportServer_0-744!2e80!07/29/2015-07:16:59:: i INFO: RenderForNewSession('/Ventes - Sales/Rapport des directeurs - Directors' report (Last Period)')
webserver!ReportServer_0-744!2e80!07/29/2015-07:18:15:: i INFO: Processed report. Report='/Ventes - Sales/Rapport des directeurs - Directors' report (Last Period)', Stream=''
rshost!rshost!73c!07/29/2015-07:18:15:: e ERROR: WriteCallback(): failed to write in write callback.
rshost!rshost!73c!07/29/2015-07:18:15:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000000036EA760.
rshost!rshost!3674!07/29/2015-07:18:15:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
rshost!rshost!3674!07/29/2015-07:18:15:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000000036EA760.
httpruntime!ReportManager_0-743!3674!07/29/2015-07:18:15:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x800703E3): L’opération d’entrée/sortie a été abandonnée en raison de l’arrêt d’un thread ou à la demande d’une application. (Exception de HRESULT : 0x800703E3)
   à Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
   à ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!ReportManager_0-743!3674!07/29/2015-07:18:15:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: Une erreur interne ou système s'est produite dans l'objet Runtime HTTP pour le domaine d'application ReportManager_MSSQLSERVER_0-743-130826282344160209.  ---> System.Runtime.InteropServices.COMException (0x800703E3): L’opération d’entrée/sortie a été abandonnée en raison de l’arrêt d’un thread ou à la demande d’une application. (Exception de HRESULT : 0x800703E3)
   à ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
   à ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   --- Fin de la trace de la pile d'exception interne ---;

Thanks

Problem with Dates

$
0
0

Hi

I am using BIDS 2008R2 and I am trying to hard code a Report to restrict the dates returned in my output.

My problem is this. I have a Field called OriginationDate and I need to return only dates that fall into a certain criteria no matter when the report is run. e.g. If it is run today 17/08/2015 then I only want to return dates between 56 days and 28 days from todays date so that would be anything with an Origination date from 22/06/2015 to 20/07/2015.

If I ran the report next week on 24/08/2105 then I would only want returns were the date range is 29/06/2015 to 27/07/2015Can anyone help

Thanks in advance

John


RS2008 Export to Excel

$
0
0
Recently upgraded from SSRS2005 to SSRS2008.  I upgraded all of my reports and all of them are running fine except for one report.  I have a report that is formated to be exported to Excel.  When this gets done and the file is saved in Excel 2007 or 2003 format, the workbook cannot be shared without going into the Trust Center and unchecking the Privacy Options.  This same report did not require this when using SSRS2005.  The report imports correctly into Excel, I just cannot share the saved workbook.  I am pretty sure this is not an Excel issue but cannot figure out why this is being set upon creation.

Thanks,

Tim Olig 

While Do loop in SSRS

$
0
0

Hi All,

I have to convert 'While Do' loop logic in Crystal to SSRS. Did any one have any idea about how to use loops in SSRS.

Please help me.

Thanks,
sam

Failing e-mail subscriptions in reporting services

$
0
0

Hi.

For two full -and stiff- days I have been trying to overcome this error; "Failure sending mail: The filename, directory name, or volume label syntax
is incorrect. Mail will not be resent", when subscribing to reports in repor
ting services.

I have read just about every post/blog/article remotely related to mailing through subscription in reporting services but none has helped me in my quest for succes.

So here's a summary of the efforts made so far:

1: I have setup a local SMTP server to relay from Reporting Services, since the remote SMTP server needs to be handed credentials .

  • I have verified that the local SMTP is functioning by telnet'ing through it.
  • Furthermore I have pieced together a lille C# program which also successfully can get relayed through the local SMPT.

So I do no expect the problem to relate to the local SMTP-server.

2: I have succesfully been able to deliver subscribed reports to a filshare

So I do not expect the problem to relate to setting up - and executing - timed subscriptions.

3: I have setup Reporting Services to deliver mails in the local pickup directory, through configuration manager.

  • I have instructed Reporting Services to deliver mails to the same directory, used by the local SMTP server, by hand editing the <SMTPServerPickupDirectory> tag in RSReportServer.config.
  • I have also ensured that <SendUsing> is 1 (for local)
  • Furthermore I have ensured that the <From> tag is supplied with same mail used from telnet and set <SendEmailToUserAlias> to false (and supplied the mail, when setting up a subscription).

But I have not been succesfull in getting anything from reporting services into the pickup (or queue) folders of my SMTP-server.

4: I have :

  • tried to vary my usage of service-account both in Reporting services and in the local SMTP server.
  • I have tried to send subscribed mails with link, without link, with reports of different formats.

But still no luck.

5: I saw a post claiming there might be a race condition between reporting services delivering and SMTP fetching from the same folder.

  • Even though I have turned off the SMTP-service nothing arrives at the pickup folder

I therefore see no reason for suspecting race condition to be the culprit.

So what is left?? What am I missing?

Oh yeah, the setup:

Windows server 2008r2 with SQL server 2008r2 running a Enterprise edition of Reporting Services in native mode side by side with a local SMTP server (set up through IIS6.0 and verified in IIS 7) on a vmWare box with Active directory.

I sincerely hope any of you could assist me in finding the cause for all my troubles since I'm to deliver this system Tuesday

Should any additional information be needed I stand available from now until delivery or the problem is solved :-)

Kind Regards

The struggeling Dane


SSRS 2012 matrix report colors do not export to excel correctly

$
0
0
We mark cells in  a report using color names like red, pink, and transparent in the fill expression. In the browser it works correctly. When exported to Excel the colors go to the wrong cells. This worked correctly in SSRS 2008. 

David Padgitt

rsDataSetExecutionError after stored procedure update

$
0
0

Hi all,

Let me start by describing my Report Project in BIDS 2008:

  • One Data Source that utilises SQL credentials, linked to a 2008 R2 Server database.
  • A set of Shared Datasets deriving data from various Stored Procedures on the database; most with parameters, some without.
  • A set of reports that have embedded datasets that derive data from the shared datasets.

Also I have enabled Remote Errors on the Report Server.

On the Reports Server, this setup has worked fine for the last 3 years until I needed to re-write a stored procedure that provides data to a report that was taking so long to run it always timed out. The revised stored proc. now runs in 35 secs. compared to 18mins before. The procedure's output has not changed; same number of columns with the same data types.

I have noticed the following behaviour when executing the report. It runs without issue in BIDS but once deployed, running the report produces the following error:

Confirmed - the revised procedure does contain temp tables with various indexes. I have monitored the temporary tables created (on tempdb) during the procedure's execution and have confirmed that all the tables are dropped once the procedure terminates - in fact I also have included a section at the end of the proc. to drop all temp tables created. 

The report contains 2 embedded datasets that filter data from the shared dataset. The dataset referenced in the above error is one of the embedded ones. The error message sometimes changes to refer to the other embedded dataset. This is where I'm stumped - what causes this behaviour on the report server? Recall that I've not revised either shared or embedded datasets and the datasource remains as before. All other reports execute without issue. 

Any help will be greatly appreciated.


g_p_k_

Issue with grouping while creating a report with Oracle as data source

$
0
0

Hi,

I am facing a issue like when I try to group based on area , it automatically grouped area+category. The source is oracle.

Below the data details. However it is working as desired when we use as sql source as below


Areacatcnt
ARAFAa10
ARAFAb20
ARAFAa30
ARAFAa10
ARAFA 70
MENAa1
MENAb15
MENAb20
MENA 36
Total 106

Reporting Services Login box appears when trying to deploy in SSRS 2005

$
0
0
Hi All,

I installed SQLServer 2005 SP2 recently. After that when I try to
deploy a solution in SSRS 2005, I get a dialog box with title:
"Reporting Services Login". It has my server listed as the first row:
"http://localhost/reportserver" and then it has two text boxes asking
for Username and Password.

I checked my IIS settings and only Integrated Security is checked for
the Reports Server folder (and for the entire website). I tried to
change that to Allow Anonymous Access = Checked, but still the same
problem.

Any ideas?

Thanks! GB

create a list using sql

$
0
0
I need to create a list that I'm going to use for a parameter in my report.  I have a list of AD global groups.  How do I write a query that creates a single column with all these static values that I have?

SSRS Matrix Report export to CSV issue

$
0
0

Hi All,

    I have one Matrix Report developed in BIDS(2008R2). If I export this report into Excel sheet exact structure what i developed in BIDS its coming. But If I exported into CSV I am loosing Structure and Columns showing as Rows. Please Can you Suggest how to overcome this problem?

   Thanks


Siva

How to create a Report with multiple Rows with One parent and multiple child groups

$
0
0

Hello Experts,
I am in a situation, where i am banging my head. I am in the process of creating a Report, and in this, i need ONLY the row groups (Parents and Child).
I have a Parent group field called "Dept", and its corresponding field is MacID.
I cannot create a child group or Column group (because that's not what i want).
I am then inserting rows below MacID, and then i toggle the other rows to MacID and MacID to Dept.

When i run i am getting this (As shown in the pic)


Rahman

IIF Count Expression

$
0
0

Using the following expression:

=count(IIf(Fields!Sex.Value <= "5", "No holds for today", ""))

What I'm trying to get is. If the count result of "Sex" field is less than or equal to 5, then return "No Holds for today" otherwise return the count value for "Sex".

The above, when I preview returns the count value of "Sex", no matter if it is <= 5.

Thanks,

jer


jer

SSRS Recursive Parent gives distinct children only, when children have multiple parents

$
0
0

I have made an SSRS report using the recursive parent functionality to show a hierarchical tree of values. The problem I have is that some children have more than one parent, but because (in order to use the recursive parent nicely) I need to group the results by Id, I only see distinct entries. This means that I only see each child once, even if it "should" appear in multiple locations in the report (under each of its parents).

Any ideas on how to make this work?  My dataset is correct.


http://www.isolutionspartners.com/

Viewing all 10045 articles
Browse latest View live


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