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

HTTP Status 503: Service Unavailalbe Error in SSRS

$
0
0

Hello -

We are using SSRS on SQL Server 2008 R2 we can access our reports via the Web Service URLhttps://tfs.rosetta.com:443/ReportServer

But cannot access the reports from the Reports Manager URL http://tfs.rosetta.com:80/Reports we get the HTTP status 503: Serive Unavailable. I attached a screenshot of the error.

I have read many post and have tried to disable IPv6, reset IIS and I'm at a lost of what could be causing this issue. Any help or insight would be greatly appreciated.

Regards,

David


Add security connection to custom code in report designer

$
0
0

Greetings to all of you,

I have insert a custom code in my report designer, the example belowe show my code

FunctionGetCustomerOrderCount(ByValCustomerIDAsString)AsInteger

DimoPermAsNewSystem.Data.SqlClient.SqlClientPermission(System.Security.Permissions.PermissionState.Unrestricted)

            oPerm.Assert()

DimoConnAsNewSystem.Data.SqlClient.SqlConnection

           oConn.ConnectionString =

"Data Source=(local); Initial Catalog=Test; Integrated Security=True"

            oConn.Open()

DimoCmdAsNewSystem.Data.SqlClient.SqlCommand


            oCmd.Connection = oConn

            oCmd.CommandText =

"Select count(*) From Orders Where CustomerID = @CustomerID"


            oCmd.Parameters.AddWithValue(

"@CustomerID", CustomerID)

           

DimnRetValAsInteger= oCmd.ExecuteScalar()

            oConn.Close()

ReturnnRetVal

EndFunction

I have insert all references assembly and in the text box this code:

=Code.GetCustomerOrderCount(Parameters!CustomerID.Value)

But received the CAS SecurityTrasparent error code; I know that the custom code in report must have grant permission for connect to sql database but I don't know where declare this permission. There is any one to help me.

Thank you all for your cooperation

I have found the solution  in this thread: SSRS 2008- custom code for database query

     


Report Rendering Hangs on Loading

$
0
0

I have a simple SSRS 2014 (SP2 w/ CU2) report calling a stored procedure with returns approximately 12K rows within 10 seconds.  The ExecutionLog3 records shows all phases of the report process are complete i.e. data retrieval through rendering.    The actual report never returns from the "Loading" indicator. Lately, clicking Cancel has no effect.

Has anyone experienced this behavior?

This is occurring with IE 11.0.9600.18524.  I have read some reports where setting compatibility view may resolve the issue, but the setting is locked via group policy in my organization.  Additionally, I traced the report call to the database engine using SQL Profiler.  I am able to pull the actual SQL and run manually within SSMS and confirm the duration and row counts.


Orlanzo

How to Change Report Server Connection in Report Builder 3.0?

$
0
0

I'm running RB3.0 against SQL Server 2008 R2 and have a dev SSRS server as well as a production SSRS server. I'd like to be able to EASILY test a new report on the production server, but haven't found an easy way to switch RB3.0 to a different SSRS connection when the report to be tested is loaded. In particular, if I click the [Disconnect] link (in the lower left corner of the UI, then click [Connect], then RB3.0 simply connects immediately to the server currently in use (in the loaded report.)

The only way I seem to be able to change this is to:

1.) Close RB3.0

2.) Reopen RB3.0 (without any report loaded)

3.) Use the referenced Disconnect/Connect link to change to the desired connection.

4.) Load the report to be tested.

Given the time required to unload/load RB3.0, this is a major time waster. Is there a better/quicker way? Also, on a related note, is there a way to "close" a report within RB3.0 in order to load (or create) another report? So far it seems I have to simply close the app and then reopen it. Have I missed something?

Thanks in advance for any suggestions,

 Bill


Bill Cohagan

Return random top percentage of rows in SSRS using parameter

$
0
0

Hi I am trying build a SSRS report that will allow users to select a parameter for the percentage of rows in a record set to return. I have used order by newID() function in my underlying SQL stored procedure with a parameter for the count (percentage) of top rows and a parameter for the Category: 

declare @Category nvarchar (255),
@Count int

SELECT top (@Count) percent ID,
            Category

from    MyTable
where Category = @Category
order by newid()
However my report doesn't return any rows although I expecting a particular number. I have a default parameter value of 10 (10%) in the Count parameter. I expect I might need a custom code?? but I don't know how to write this. Grateful for any help.

Linked(Drill through) Report Not Showing Data

$
0
0

Hi All,

I am using StoreID to pass my linked report and if I click any StoreID in the main report everything works, however in my case I need to pass value(StoreID) from expression to my linked report so I  am holding StoreIDs as an expression @StoreID in a column and I want to click it to go linked report based on a value stored in the @StoreID. I tried it but I am only able to get header, no rows showed up in the linked report. Btw I don't have any Null StoreID. Is it possible to do that in SSRS?

Thanks, 

Table Header in freezed pane when exporting SSRS report to Excel

$
0
0

Hi,

I want table Header in freezed pane when exporting SSRS report to Excel.

Can I have the table header of tablix be present in freezed pane of excel.

Thanks,

Vivek Singh

Reporting Services Errors SQLServerAgent exceeded the allowed timeout

$
0
0
Hey
Coming across the below error in our
reporting services log file can anyone tell me what is causing this been
googling for the last few days with no luck...

An error occurred
within the report server database. This may be due to a connection failure,
timeout or low disk condition within the database. --->
System.Data.SqlClient.SqlException: SQLServerAgent exceeded the allowed timeout
for creating the shared job list. The Jobs cannot be enumerated.


We are running SQL Server 2008 R2 SP1 x64...

this error is also being logged in the log file

ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException:
, An error occurred within the report server database. This may be due to a
connection failure, timeout or low disk condition within the
database.;


At a loss at to what is causing this your help would be
much appreciated

Thanks

SSRS - show barcode on RDL

$
0
0

HI

Im using a barcode font for printing barcode labels.

I installed the font on our server and on my computer.
when i render the report on my computer it works fine,

but when i render the report on a client's machine it's not working - instead of the barcode

i see  numbers.

does anybody know how can i make it work on the clients machine without installing fonts and etac...?
we have 500 clients.... :(

HTML table are not rendering in SSRS

$
0
0

I have some HTML stored in a SQL Server table that I want to render in Reporting Services 2008,

HTML data contain HTML table. While generating report, SSRS not able to render it properly as table.

Can anybody help me out how we can display the HTML data as it is in SSRS 2008?

ShowmodalDialog Refresh-SSRS Sub Reports

$
0
0

Hi,

I have a main report for ex: product ,sales columns. I have created a sub report which will be called when the user clicks on a particular product in the main report. The sub report is called using navigation property and displayed using a showmodaldialog. So the sub report looks like pop up. The sub report had a parameter so that user can change it. But when the user modifies the parameter value and click on the view report button the sub report opens in another new window instead i need the modaldialog box itself to refresh using the new parameter value submitted by the user. Please let me know if we can do this.

Regards
s/d

Convert integer to string - Using expressions in SSRS docs

$
0
0

Hi,

I am trying to get the text "to" to display on an SSRS template when the value "YearTo" is populated and not display when the value "YearTo" is null. I am using the value =IIF(First(Fields!YearTo.Value,"GenericCPSOrder") = "1","","to" ) which displays the value "to" when the value "YearTo" is populated but it does not remove the value when not populated. 

The value "YearTo" is an integer and I think the expression I am using is looking for a string value, I am only new at using SQL so any assistance would be greatly appreciated.

SSRS 2016 Upgrade

$
0
0

Good day,

I've been searching everywhere on the net but could not find and answer to my problem, so hopefully someone here will be able to help me.

We have a SQL 2014 installation including SSRS 2014. We want to upgrade only SSRS to 2016. We do not want to upgrade the entire SQL installation (only the SSRS part). So my questions are:

1. Is this possible?

2. Will there be any additional licensing costs involved?

Thank you very much!

Theo


Rsreportserver.config Smtp password settings

$
0
0
 

Hi,
  I wanted to know if there was any way of setting the SMTPAuthenticate in the RSReportServer.config file, so i could connect to a remote SMTP with username and password ?

I am using window 2003 system where smtp is not installed  and i don't want to installed it.

If there is another way to change only in Rsreportserver.config  file except pick up directory.

thanks in advance

Ashok kumar yadav

repeat entire table with data on every page

$
0
0
How can repeat entire table with data on every page ?. I have a requirement to print on pre-printed format paper.So I need to Repeat 5 rows table details every page.Please guide me to solve this situation.

saju


Export to Excel starting on second row

$
0
0

Hello,

I'm facing an issue where data on my report is always starting on row number 2. It doesn't matter how close tablix/rectangles and list elements are. I am currently using SSRS 2005 and Excel 2013.

My goal is to have tablix elements always showing data starting on row 1.

Any assistance would be greatly appreciated.

Thank you

Textbox show #Error

$
0
0

Hi. I got the following expression :

Iif(

  ISNOTHING(Fields!Amount.Value) OR
  Fields!Amount.Value = "",
  "UNLIMITED",
  FormatCurrency(Fields!Amount.Value,0)
)

Problem is when my Amount is empty string i got #ERROR. I try most of the think google offer me but still no progress. Amount is NVARCHAR in my database . 

Toggled Detail Still Shows First Detail Row When Collapsed

$
0
0
I'm having a problem with a toggled detail group in SRS 2008.  I setup the detail group properties to be Shown but toggled based on a cell in the group header two levels above the detail group so that when I toggle all details are collapsed at the same time (not just the details within one of the groups).  I've used this approach in other reports.  When I run the report it displays all headers and details as I expect.  When I collapse the details, the first record of each of the details sections remains visible.

How can I get the first detail row of each group to collapse as well?

Initial Report:
----------------

- Region

                Product 1

                                Transaction 1

                                Transaction 2

                                Transaction 3

                                Transaction 4

                                Transaction 5

                Product 2

                                Transaction 1

                                Transaction 2

                                Transaction 3

                Product 3

                                Transaction 1

                                Transaction 2

                                Transaction 3

                                Transaction 4

After Collapsing the Region:
-------------------------------------

+ Region

                Product 1

                                Transaction 1

                Product 2

                                Transaction 1

                Product 3

                                Transaction 1

 

 


Marc Bellanger

Page name based on the Grouping or Page break

$
0
0

hi here is my expression for Grouping

= IIF(Fields!LoanStatusDescription.Value =

"Booked" ,"Closed Loans",

IIf(Fields!LoanStatusDescription.Value =

"Prospect"OR Fields!LoanStatusDescription.Value ="Pending"OR

Fields!LoanStatusDescription.Value =

"SFA"OR Fields!LoanStatusDescription.Value ="OnHold"

 

OR Fields!LoanStatusDescription.Value ="Approved"

,

"New Loans",IIF(Fields!LoanStatusDescription.Value ="Declined"OR Fields!LoanStatusDescription.Value

=

"Withdrawn"or Fields!LoanStatusDescription.Value ="Cancelled"

 

or Fields!LoanStatusDescription.Value ="PNW","LNW","Unknown")))

Now my whole data is in 4 groups New loans,ClosedLoans,LNW,Unknown and has a page break after each group

USing SSRS 2008 R2

How can i write an Page Name Expressions So that when i export to Excel it shows For tabs with this Different Groups on Each page...Like  New loans,ClosedLoans,LNW,Unknown

Cannot preview SSRS report in Visual Studio 2012 - assembly does not allow partially trusted callers

$
0
0

Hi,

I have an SSRS report that works fine in Visual Studio 2008 BIDS.  This report references a .Net assembly namely:

System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

I use this assembly in some simple Code functions in the report. e.g.

System.Web.HttpUtility.UrlEncode(inURL).ToString

I have converted the SSRS project to 2012 and am trying to preview the report.  However, I get an error relating to: "That assembly does not allow partially trusted callers".  If i deploy the rdl to my local SSRS it renders fine, but how do I fix Visual Studio to preview the report without error? This is highly annoying.

My Visual Studio version is:

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 11.0.3402.0

Any help is appreciated on this one.

Regards,

MrHH

Viewing all 10045 articles
Browse latest View live


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