Hi All,
Page Name option will work in SSRS 2008....
Can Any help ...
Hi All,
Page Name option will work in SSRS 2008....
Can Any help ...
Hi,
I have an SSRS report to uses two datasets.
One dataset returns one row of data based on teh parameter entered.
Thesecon dataset howeve will return multiple rows of data based on the same parameter.
however i would like to do the following using an expression:
if SectionID( which is a columm that has values 1-6) = 1 (i will like to loop through each value in section ID and print on the report in different areas what is the date on that section)
Not the report has to prin the date assigned to each of the 6 sections but only if the section exssits in the dataset using the same parameter.
how can this be done?
I have a select that picks up latitude and longitude as well as a couple of other fields from a IBM iSeries db2 database...
select t1.sosono as soso,
cast( t2.lxlon as varchar(20)) as long,
cast( t2.lxlat as varchar(20)) as lattit
from library1.table1 t1 join library2.table2 t2 on t1.loc = t2.loc
where t1.code='*CL' and t1.rtdt = '0001-01-01'
...and I would like to include a generated field of type geography from the long and lattit fields, imagining it to look something like...
select t1.sosono as soso,
cast( t2.lxlon as varchar(20)) as long,
cast( t2.lxlat as varchar(20)) as lattit,
cast (Point(t2.lxlat, t2.lxlon, 4326) as geography) as position
from library1.table1 t1 join library2.table2 t2 on t1.loc = t2.loc
where t1.code='*CL' and t1.rtdt = '0001-01-01'
...but I don't seem to be able to get it right.
By way of a trial I used ...
SELECT geography::Point(-77.010996, 38.890358, 4326)
...in a query on MS SQL Server management studio and it returned a location...
0xE6100000010CC2189128B44053C0B1DD3D40F7714340
...no problem but when I tried using the same query in a dataset in reporting services and try to save the query it throws the alert starting...
"Could not create a list of fields for the query...Cause: An attempt was made to open cursor C000001 which refered to prepared statement S00000. Statement S000001 has one of the following conditions:--the statement has never been prepared.--the statement was prepared in another program or another call of this program...."
Could someone kindly show how to use the geography data type and spatial functions in Reporting Services?
Thanks much for any help, Roscoe
Hi,
We need to create complex RDLs from code, from scratch and be able to modify existing one.
The ideal solution is to use RDL Object Model classes from the Microsoft.ReportingServices.Designer.Controls.dll that ships with SSRS 2012.
Unfortunately that dll is only for x86 and requires lots of depdendencies.
One of our devs, decompiled that dll and extracted only RDL OM classes, packed into new DLL and made it Any CPU-enabled.
I do not allowed this approach and wanted to find out first - is it legal doing this? The dll is going to be installed on our IIS-boxes.
The RDL standard is open so theoretically, re-using plain RDL-OM classes should be legal.
Thanks,
Alex
I have my database and reporting service installed in virtual machine named "ktm". For use the provided url is like this "http://ktm.cloudapp.net". Where I have made the reports and deployed it to "http://ktm:80/ReportServer". The problem that I am facing is when Connecting with my asp.net application it dont recognize the remote machine. It throws an error when giving reportserverurl to http://ktm.cloudapp.net/ReportServer"
Hi friends,
I have to include an image(Client logo) in SSRS reports which is coming from the data base.For that i have inserted image from
Insert -> Image -> image source :database -> use this field (database field) -> MIME type : .jpg
my problem here is each client have their company logo's in different size (height,width,file size).
can i set fixed size for all the clients commonly ?
Is SSRS going to take what ever the size of the file ? or finally
Do i need to ask the clients to store the images with fixed size in the data base field.
since i am converting 700 reports from Crystal to SSRS reports for 100's of clients i am very much confused about logo issues.Hope you can understand.Please help in clearing my doubts.
Thanks in advance.
Sam.
Hi all,
The background to my query is that I’m working on a project for a not for profit company where the end users are across the world in developing countries, so black and white printers are normal.
I am experiencing a problem with SSRS 2012 that when I export to PDF the resolution of the background patterns used on the charts is not high enough, and when printed on a black and white printer it is not
possible to distinguish them. Note this is for charts, not images.
The problem is mentioned in multiple other threads such as:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/0acdf8bb-41a8-4cb7-8d22-ae4297b15243/background-patterns-and-exporting-to-pdf
(which shows a screenshot demonstrating the problem).
http://stackoverflow.com/questions/223094/how-to-export-ssrs-charts-to-pdf-at-high-resolution
and on:
https://connect.microsoft.com/SQLServer/feedback/details/679384/pdf-render-setting-set-to-300dpi-remains-at-96dpi-for-any-chart-exported
(I'm unconvinced that the answer to this makes sense).
I've also seen articles from Microsoft staff which state both that the PDF renderer always renders charts at 300dpi and others which state 96dpi. The latter seems
closer, although when I then edited the PDF it looked like it was only 72dpi.
I have tried:
- editing the Rsreportserverconfig file and setting HumanReadablePDF to true and false and the only difference seems to be that the report size is larger
- editing the Rsreportserverconfig file and setting DpiX and DpiY values. These seem to make no difference, having tried them at a variety of different settings.
It does seem that my only working option for higher quality charts is to export to TIFF instead of PDF, but this is not as convenient for the end users (these reports are usually downloaded into the country
head office as PDF, and from there may be mailed to other colleagues who probably have poor or intermittent internet access).
My questions are therefore:
Has anyone successfully forced a higher resolution for charts in PDF by using the DpiX/DpiY values or any other method?
Has this changed in SSRS 2014?
Many thanks for your assistance, CarrieAnne
This is my scenario: I have to setup a number of TFS 2013 Application Tier nodes (at least 6) and I am trying to automate the process, the nodes hosts also SQL Server Reporting Services 2012 SP1 in "cluster" (better group) configuration. I have no problem in installing SQL, specifying FilesOnlyMode, but I am stuck with Reporting Services configuration.
The documentation states to use WMI to configure URLs, and the MSReportServer_ConfigurationSetting class has a SetVirtualDirectory which seems appropriate. I see that the value changes in RS Configuration Manager, but the message
Report Server Web Service is not configured.
do not disappear.
My Powershell code is
$wmiName = (Get-WmiObject –namespace root\Microsoft\SqlServer\ReportServer –class __Namespace).Name
$rsConfig = Get-WmiObject –namespace "root\Microsoft\SqlServer\ReportServer\$wmiName\v11\Admin" -class MSReportServer_ConfigurationSetting -filter "InstanceName='SQLTFS'"
CheckHResult $rsConfig.SetVirtualDirectory("ReportServerWebService","ReportServer",0)
CheckHResult $rsConfig.SetVirtualDirectory("ReportManager","Reports",0)
CheckHResult $rsConfig.SetDatabaseConnection($DatabaseInstance, $DatabaseName, 2, $SqlCredential.UserName, $SqlCredential.GetNetworkCredential().Password)
# force refresh
CheckHResult $rsConfig.SetServiceState($false,$false,$false)
Restart-Service $rsConfig.ServiceName
CheckHResult $rsConfig.SetServiceState($true,$true,$true)
# set key& "$SQLBin\RSKeyMgmt.exe" -a -i SQLTFS -f $SSRSEncryptKeyFile -p $SSRSEncryptPassword
# join group& "$SQLBin\RSKeyMgmt.exe" -j -m $workingNode -i SQLTFS -n SQLTFS
Hi,
I have retrieved the metadata information from one of the report [of some other format, ex, crystal report] such as DB connection information, SQL query, filters and formulas and chart information. Let's say this information is available .in string format.
How can I use this information to create SSRS report RDL file using C# and SSRS SDK?
Some links and sample will help.
Thanks in advance.
Mark As Answer if it helps you | My Blog
Hi All,
i am doing search through Date Range but didn't get correct result.
For Example if i created a Task on 5/8/2014 and when i have take Date Range from 1/8/2014 to 6/8/2014 then didn't get 5/8/2014 data in result but when i taken range from 1/8/2014 to 5/8/2014 then got the 5th Date data.
I am taking Range Inclusive Operator(:).
SELECT ( STRTOMEMBER(@FromDate) : STRTOMEMBER(@ToDate) )
I need help ASAP.
Thanks.
Hi Guys
I am very new to SSRS/SQL
I have been cracking my head over this but still can't find a solution. I would like to present it in a pivot kind of way.
This is what I have:
Cust.Type | CUSTDOC | Cr.Date | Ln.Num | Qty | Due.Date
Local | CORD0001 |14-May-14 |8|33|16-May-14
Local | CDSP0001 |15-May-14 |5|25|16-May-14
Local | CINV0001 |16-May-14 |5|25|16-May-14
Local | CDSP0001/1|19-May-14 |2|5|19-May-14
Local | CINV0001/1|19-May-14 |2|5|19-May-14
Local | CDSP0001/2|25-May-14 |1|3|25-May-14
Local | CINV0001/2|25-May-14 |1|3|25-May-14
Local | SINV2234 |
Local | CRED8384 |
Int | CORD0002 |30-Jun-14 |5|15|12-Jul-14
Int | CDSP0002 |11-Jul-14 |5|15|12-Jul-14
I would like to arrange it by order number
Cust.Type |Order Number |Order.Date |Order.Due | C.Disp | Disp.Due | etc.
Local |0001|14-May-14 |16-May-14 |15-May-14|16-May-14 | etc.
I am using SSRS2012 Express.
Can someone give me a hand here?
Thanks H
I am getting the following error message while trying to configure a database for a Reporting Service Server. Both SQL Server and Reporting server are 2012 named instances. I have 2014 instances as well on the same server.
Exception details...
Microsoft.ReportingServices.WmiProvider.WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the operation.
---> System.Runtime.InteropServices.COMException (0x800706B3): The RPC server is not listening. (Exception from HRESULT: 0x800706B3)
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
Can someone help me on this please?
Hi,
Attached is the error which is popping while I am running the report. Can you guys help me out why is it coming.
Thanks
sush
In an existing SSRS 2008 report, I am getting the following error message when I run the ssrs report:
"query execution failed for dataset 'getMilestones'. The variable name
'@pC' has already been declared. variable names must be unique within a query batch or stored procedure. "
The parameter called 'pCustomerNumber' is the only paramter by that name that I can see. This is a cascading paramter. There are at least 2 parameters that reference 'pCustomerNumber'. Thus I am not certain what could be wrong. Could the order of how the parameters
str declared make a difference?
Would you let me know what you think is wrong so that I could try to resolve this iss
I have a report where it is returning #Error when I try to sum a field at the group level. I have added a calculated column called BTD ... =iif(Fields!Etime_Actuals.Value = 0,0,Fields!Etime_Budget.Value)
On the Details line the values are returned as expected (In my example there are 4 rows, 2 with values and 2 with 0)
When I try and insert at the Group level (only one group) Sum(BTD) and run the report it returns #Error for this cell.
Any ideas on what I am doing wrong here?
I am doing this in Report Builder 2.0 (SQL Server 2008 R2)
Andrew Payze
new
System.Data.SqlClient.SqlClientPermission(System.Security.Permissions.PermissionState.Unrestricted).Assert();
Any ideas?
Thanks,
Matt
I am creating a report which is sourced in ORACLE tables. The tables are not consistent in structure and as a result require pivoting two tables to create the resultset.
I have the query working in ORACLE (SQL Developer) and producing the data I need for the report. The problem is when I try to run the query in the dataset in SSRS.
Both tables being pivoted contain a field called COLUM_NM. I've Aliased these in the query, and the query is now saying that the table or view doesn't exist. The value identified as the culprit is the alias name. Since I'm using the alias in the pivot, do you have any suggestions as to how I can retrieve the results I need?
I've already dumbed down the query and decided to filter in the report (I had trouble adding a WHERE clause after the pivots). I tried using a DECODE function, like we did in earlier versions, but the overehead was enormous.
HELP!
Hi
I have a report with customers bill amount and bill date. The customers have to pay within a grace period of 21 days after bill date
I want to conditionally format the bill_date column so that when the number of days after the 21 days grace period is within 7 days then no color,30 days then blue, 61-90 days then Red
Thanks a lot
Please very urgent