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

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


The Value expression used in textrun ‘Textbox.Paragraphs[0].TextRuns[0]’ returned a data type that is not valid.

$
0
0

Hi all,

While viewing report in SSRS 2008 i am getting an error like this

Warning 1 [rsInvalidExpressionDataType] The Value expression used in textrun ‘Textbox21.Paragraphs[0].TextRuns[0]’ returned a data type that is not valid. 

 sotred procedure

ALTER

 Procedure [dbo].[spGetSupervisor]

(

@START_DATE

datetime,
 

@END_DATE

datetime,
 

@CenterID

varchar(4000),
 

@TITLE

varchar(100)=NULL

)

as

Select

 Distinct L1_ID SupID, L1_Name SupName

from

REF_DB.info vinnerjoin dbo.fn_MVParam(@CenterID+',',',') P

 

v

.CenterID= p.Column1
 

where

v.startdate<= @END_DATEand v.enddate>= @START_DATE

and

 (v.titleIN(@TITLE)or @titleis

 

order

 by Name

Here is the expression in Report textbox

=Parameters!CenterID.Label

Please help me

Thanks in advance

Jyo

null)

ON

Responsive SSRS on SharePoint 2013 Native Mode

$
0
0

Hey everybody...

I want to know whether there is some way to use SSRS report in Responsiveway on SharePoint 2013.

I have my sharepoint site that has Responsive feature but my SSRS report is not responsive enabled. i googled few blogs saying to put the zoom property in the URL of the report but i have to access these reports on web parts on sharepoint instead through URL?

is there any way to make reports Responsive Enabled?

Can performance issues alone cause the failure of a single sub-report within an SSRS report?

$
0
0

We have a large number of rather old and very complex SSRS reports (multiple sub-reports, huge number of parameters, original author long gone, etc).  

Our preferred export method is PDFs.  Some reports are quite large, even up to 100+ pages.  So far as I know there are no logic errors and these reports have not been modified in years.  Also the Windows Server 2008 report server is overdue for replacement.

From time to time a sub-report will fail leaving messages like 'Subreport could not be show.'   In this latest case the sub-reports work normally if run by themselves.

I've been assuming that the sheer size and complexity of the overall reports is what's causing the problems.  One of the sub-reports that failed this latest time around is a table with 30+ pages.

Assuming there are no gross logic errors, could sheer quantity of returned data cause this sort of problem?  Is there something else we might look for?


Auto Refresh Not Working if Report Called in URL

$
0
0

If I call an SSRS report (2008) using this string:

http://xxxxx-sql01/Reports/Pages/Report.aspx?ItemPath=%2fReport%2fSR+Parts+Requests<o:p></o:p>

it behaves normally, i.e., it auto refreshes the timestamp in the header and the displayed data based on the autorefresh value parameter within the report.

However, if I call the same report using this string:

http://xxxxx-sql01/ReportServer/Pages/ReportViewer.aspx?%2fReport%2fSR+Parts+Requests&rc:Toolbar=false&rc:Parameters=Collapsed&rc:Zoom=120&rs:Command=Render&rs:ClearSession=true&resp=1<o:p></o:p>

The report will initially display correctly, but the auto refresh is only seen in the timestamp - the data itself is not refreshed.

What is there in the second string that causes the auto refresh to fail?

Thanks, Bill

SSRS Report DataSet column #Error - Big decimal number

$
0
0

Hi there,

I am using SQL Server 2008 R2,

I have a problem with one of my reports:

I have a column in my data base as Decimal (38,20), if I query that column using SQL Management Studio there is not problem, but the same query in the Report Data Set y returning #Error for that particular column, as following

If the column value is 3000000000.00000000000000000000, it shows #Error

If the column value is 300000000.00000000000000000000, it is shown correctlyThanks and best regards

It seems that reporting services is showing #Error when the column value retrieved contains a value greater that 19 digits, but the problem is that I need the values as Decimal (38,20)

Does anyone know what is the cause for that "#Error"? And how can be fixed?

Joss

SSRS User need only Export option in report Manager

$
0
0

Hi,

In SSRS, User want only to display only pdf as export option in report Manager.

Please tel me what to do for this...

 

Thanks,

Abdul2010

Server Error in '/Report Manager' Application: System.IO.IOException: The file exists. When trying to export a completed report.

$
0
0

I am using SQL Server 2005.  I run a report which runs and renders perfectly. But I am unable to export it into any format. It fails with the following error:

Server Error in '/Reports' Application. 

The file exists.

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.IO.IOException: The file exists.


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:
[IOException: The file exists.
]
   Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +489
   Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +924
   Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(String format, String deviceInfo, NameValueCollection additionalParams, String& mimeType, String& fileExtension) +84
   Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +153
   Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +75
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

I have seen this question asked several years ago, but have never seen a response that suggests what the issue may be.

I would really appreciate any help in resolving this problem.\

The application has been running from quite some time and this problem started just recently.

 

Thank You.

-Rick


SSRS 2008: connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError)

$
0
0

Hi,

I have started getting this error since a week now when I try to schedule a report or change a schedule of a report. 

An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError) Get Online Help For more information about this error navigate to the report server on the local server machine, or enable remote errors 

 

We have SQL Server 2008 installed along with SSRS running on the server. I have never seen this happening before for almost a year now but suddenly it appeared.  Along with this, report subscription is also messed up and some report are not been emailed as they have a error like:

Failure sending mail: An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database.Mail will not be resent. 

 

I am not sure what caused this but if anyone has any idea of what is going on it will be great. 

 

Thanks you for your help. 

Please reply soooon !!!

Report Designer in Visual Studio 2008 - Grid Lines?

$
0
0
Can anyone tell me what the story is with the report designer in Visual Studio 2008? (or the SQL Business Intelligence Development Studio)

I have a reports project that I have upgraded from SSRS 2005 , however the report designer in Studio 2008 appears to be missing grid lines and snap to grid functionality.

I can't see Grid lines in the 2008 designer at all! Where have they gone? In Visual Studio 2005 you could turn them on and off , set snap to grid etc through the report properties dialog box however that functionality isn't there in Visual Studio 2008 (I'm using the developer edition)

Is this just the version of Studio I'm using or have they been removed? Without grid lines the reports we have are going to be very difficult and fiddly to edit and would probably stop us upgrading.

thanks

ReportService2010 security questions (SSRS2012)

$
0
0

We are in the process of converting to custom security (forms auth) in SSRS and have some questions regarding the SSRS Soap API.

How does SSRS determine which users can invoke ReportingService2010.SetPolicies() method and which ones can't?  We only want a limited set of SSRS users to be able to invoke this method.

Does SSRS audit invocation of SOAP calls (i.e. John Smith invoked SetPolicies() with arguments A,B,C)?

thanks

scott

How to split the List data into differnt pages in ssrs?

$
0
0

HI I have table where i have a fileds like policy id's ,and using this policy id  will use to display on current date parmater

my requirement is i want to dispaly my policy id's in differnt pages in my list data region,Now i will get all the policy id's in one page of my report output.


policyid  policyname @currentdate

1200   ABC                  09012015

1201   BVA                 09012015

1202   BHC                 09012015 

now i will display values like this in my report output,but my requiremnt is to display  policy id's in diffent pages based on current date parameter.

the below is the design of my required report design


Error while importing .NET custom Dll into SQL Server Reporting Services 2012.

$
0
0
You cannot vote on your own post            

Hi,

I have a sample .net Custom assembly(.Net 4.0) (ResourceLibrary.dll) created using Visual Studio 2013. I need to use it in  SSRS 2012 report.

I have copied the dll to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies  in my local system where I run the report and in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\WebServices\Reporting\bin folder in my report server.

I am  getting the following error in SQL Server DataTools (VS)-

An error occurred during local report processing. error while loading code module.'ResourceLibrary.Version=1.0.0.0,culture=neutral,PublicKeyToken=null'.Details: Could not loadfle or assembly 'ResourceLibrary.Version=1.0.0.0,culture=neutral,PublicKeyToken=null' or one of its dependencies. .The system cannot find file specified.

I even tried running the assembly in .Net 2.0. and saved the dll in  C:\Program Files\Microsoft SQL Server\100\Tools\Binn in Report Server  and still the same error.

I tried pointing to the dll in a local folder  too. I am running SSRS as well as VSA as administrator.

Followed the following links;

http://www.infotoad.com/blog/post/2012/10/01/Reference-custom-assemblies-in-SQL-Server-Reporting-Services.aspx

I do not know where I am wrong .Please help me out.

Thanks in Advance!!


Mridhula.S

SSRS SOAP API Samples?

$
0
0

Are there any .NET SSRS samples for the following

1. Retrieving reports available for a given user

2. Specifying which reports are available for a given user

Show sub total in all pages in SSRS

$
0
0

i want to show sub total in all pages which is called running total in crystal report. the output will be like

Page 1 

Employee Name Salary
------------- -------
keith 2000
Robin 4000
Mou 3000

Sub Total 9000

Page 2

Employee Name Salary
------------- -------
Markc 1000
Poll 2500
Sam 1500
Sub Total 5000

in this way sub total will come in all page. i am using table and tablix. i use a ssrs function called RunningValue(Fields!Cost.Value, Sum, Nothing) but the proble is in first page subtotal was right but in next page sub total was calculating with previous value which i dont want. i want in all page subtotal will not be calculated with previous value. please help me with trick in detail. thanks



DateDiff to show working days

$
0
0
Hello

I have set up a calculated field in a report to show the number of days between a job start and end date. I am using T-SQL:

=DateDiff("D", fields!jobstartdate.value, fields!jobenddate.value)

This works fine, but is of course including weekends in its calculation. Is there a way, using datediff, I can include working days only?

Any insight appreciated - thanks.

Random number appear when no record find

$
0
0

In SSRS, I have a Table linked to a Dataset. Here is a sample:

       Model      CompanyName    Price

  1. 20T          ABC                      20
  2. 20T          DEF                      21
  3. 20T          GHI                      22
  4. 21T          DEF                     21
  5. 21T          GHI                      23
  6. 22T          ABC                     25
  7. 22T          DEF                     26
  8. 22T          GHI                      27

The table I got:

Model                     Company

                               ABC                 DEF               GHI

20T                         20                    21                 22

21T                         20                    21                  23

22T                         25                    26                 27

As you can see Company "ABC" doesn't have a price for model "21T", But when I create a table it puts in random number, and looking at my table its the lowest price for company ABC but that's not the price for model 21T. I want to leave it blank in my table. Any Help?


Dynamically loading SubReport data in SSRS

$
0
0

Hi ,
In my report is having main report and one sub report and i have created this report as drill-down report.
When i passed parameter for this report[Stored Procedure] its taking in sql side  8 sec to display the data for main report.But in report its taking more then 10 mins why because the main report its having the data around 4000 so in sub-report for getting this 4000 data its hitting database for 4000 times as not require.
i have tried with drill through report its giving good performance but sub-report is opening as new report which i doesn't want. I want when user click Plus sign the sub-report has to open in down itself.
So can any one please help me to achieve this i am struggling past 4 days for to resolve this issue.
Note : While clicking plus symbol sub-report need to hit the database for rendering the data instead of loading the main report data. 

HariKan

SSRS Cascading parameters : results error

$
0
0

Good day all,

Any thoughts would be appreciated:

I have set up two embedded datasets: 

-one called 'GetTaskID', which generates a list of all Distinct 'TaskID' s with 'CreationDate' between two date parameters (@Start and @End) provided by the user.

- the other called 'GetData', takes  @TaskID  as a parameter and generates a recordset of actual data

I have set both the available and default values of @TaskID to 'Get Values from query' and specified that it will be the TaskID's returned from 'GetTaskID' query. Running the 'GetTaskID' query (@Start = 01/01/2015 AND @End = 01/02/2015 ) in either my Server Management Studio or the query builder returns the correct result : TaskID's are returned from 1097973 upwards (CreationDate : 05/01/2015) .

However when I run the report, the parameter dropdown for @TaskID is populated correctly (1097973 upwards) but the returned data - that which is dispayed in the report coming from 'GetData' relates to entries from 1078982 - The first entry in the view queried by 'GetTaskID' with a 'CreationDate' of '05/08/2012'.

'GetData' is executing a stored procedure , I think this may be the cause of the issue as I have seen a few articles on the limitations of data/fields returned when using stored procedures within Reporting Services.

I would not generally use a stored procedure to generate data in this fashion but I believe it necessary as I need to coalate an undetermined number of 'TaskNotes' entries for a single 'TaskID' and at the same time procure the rest of the necessary data in one hit.

Confirmation or explanation of my issue and further suggested methods would be greatly appreciated.

Kind regards 

 BigFudge

SSDT - BIDS cannot debug report using 64-bit oracle client

$
0
0

Using VS 2013 with the SSDT - BIDS add on to edit a *.rptproj project.  64-bit SQL Server 2008 R2 and 64-bit Oracle 11 client are installed.

When an attempt is made to run the report inside of the development environment, the following error is thrown.

"Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64-bit mode with the 32-bit Oracle client components installed."

I note that if I view the pertinent processes in the task manager I see "devenv.exe *32" and "RSReportHost.exe *32" which tells me I am running 32-bit version of the development tool not 64-bit versions.

My first question is why is the error message backwards?  It is not the VS 2013 devenv.exe application that is running in 64-bit, it is the Oracle client that is 64-bit.

My second question - is there a 64-bit version of the development environment or some other trick to get this to work? (Note: I cannot run 32-bit versions of the Oracle client or SS 2008 due to other factors that require the 64-bit versions.)

Thank you for your time.

Viewing all 10045 articles
Browse latest View live


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