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

Report Viewer 9 Compresses Reports In Newer Browsers

$
0
0
Deep in the HTML generated by the report viewer when viewing a report on a web page, are a couple of frames then a table that holds the report.  In the table are two cells.  The first is called oReportCell and the second doesn't have any name.  The report is displayed inside oReportCell.  However, the second cell has a width=100% attribute assigned to it.  I believe in earlier browsers the report was allowed to stretch out as wide as it needed in oReportCell then the second cell took up the rest of the room.  In modern browsers it appears that the second cell is taking up as much room as it can by compressing the report.  I've been able to use built in browser tools to set the width of the second cell to 0 and when I do that the report resized perfectly.  The width=100% attribute of the second cell is messing up the reports.  Check it out in Chrome or any other browser and you'll see the report is compressed.  Change the attribute of the second cell using developer tools and the report will resize correctly.  I've tried using CSS and jQuery in the web form that hosts the control but because of the frames I can't gain access.  Is there any fix for this?  My company has dozens of reports and at this moment we're looking at having to completely rewrite all of them using Crystal just because of this one cell's attribute.  Any help would be immensely appreciate and save my company thousands and thousands of dollars!

Is it so hard to make a tabel viewer in SSRS ?

$
0
0

Hello,

I want the following :

a users opens the report. He/she selects a tabel from a drop downlist and the data is being displayed.

Sounds easy right ?

Problem is that the columns will change all the time. I am currently trying to get the data as XML but no luck so far.

My parameter query looks like this :

select

name,sql='select data = (select * from dbo.'+ name+' for xml auto)' fromsys.tables

and the dataquery looks like this

EXEC (@sql)

Any way this should be easy shouldn't it

Constantijn

Report Builder 3.0 Installation Error in SSRS 2014 (12.0.2000.8)

$
0
0
Hi,
We have SQL SERVER 2014 (12.0.2000.8) in WIN 2012 - R2 server with Dotnet Framework 4.5.2 installed.
We are trying to install "REPORT BUILDER 3.0" from "REPORT Server", we get following error in local server as well as remote client via respectiveReportBuilder_3_0_0_0.application (clickonce application)
Err:"Application cannot be started. Contact the application vendor." 
On click of Error Detail:"Reference in the deployment does not match the identity defined in the application manifest.". 
When i reviwed the versions, i found “ReportBuilder_3_0_0_0.application” ver:12.0.4100.1 and “MSReportBuilder.exe.manifest” ver 12.0.2000.8 which are not the same that leads to conflict & error. This was working perfect sometime before. Some how the conflict has happened which we could not figure out.

I hope replacing the version 12.0.4100.1 of “ReportBuilder_3_0_0_0.application” with ver “12.0.2000.8” will resolve the issue. 
Please let me know from where i could find the file "ReportBuilder_3_0_0_0.application" in the web. Would be glad if you could get me the file from the members of this forum.

Regards,
Lakshmishankkar R

TABLIX SIZE IF NO ROWS RETURNED

$
0
0

Right now I have the following expression in mind.

=IIF(Fields!CoolantLevel.Value <> "", "CoolantLevel:" & Fields!CoolantLevel.Value, Nothing)& vbcrlf &
IIF(Fields!Horn.Value <> "", "Horn:"& Fields!Horn.Value, Nothing)& vbcrlf &
IIF(Fields!DriveBrakes.Value <> "", "DriveBrakes:"& Fields!DriveBrakes.Value, Nothing)& vbcrlf &
IIF(Fields!ExhaustSystem.Value <> "", "ExhaustSystem:"& Fields!ExhaustSystem.Value, Nothing)& vbcrlf &
IIF(Fields!Turntable.Value <> "", "Turntable:"& Fields!Turntable.Value, Nothing)& vbcrlf &
IIF(Fields!SoftTouchLimit.Value <> "", "DriveBrakes:"& Fields!SoftTouchLimit.Value, Nothing)


I need the tablix that is not displaying data not to be as big as the one's that are in lighter terms.

Here is an image 

How do I decrease the size of the tablix if no data is displaying so it co inside's with the rest of the tablix as in this image.

I have 

1. Right-click the tablix and select Properties. 
2. Click Visibility.
3. Select Show or hide based on an expression.

But I return,

A hidden expression in textbox returned a datatype that is not valid.

I don't want to hide or show based on the result I just require that the tablix that doesn't return data stay's in proportion with the rest.

Everybody's help regarded. Cheers Richard

SSRS chart series conditional color formatting not rendering in browser

$
0
0

I have a chart with series that needs conditional colour for three conditions. One condition must be transparent. I have tried the various IFF or SWITCH expressions below and some work fine in SSDT but when I deploy them to the browser the formatting is lost. Please help me work out why?

This simple IFF expression works. The series is transparent as required both in SSDT (Visual Studio BIDS) and IE11 and Firefox browsers but I need two other conditions. 

=IIF(Fields!ExhibitionID.Value = -1, "#00ffffff", "Red")

Both of the expressions below work in SSDT (Visual Studio BIDS) as expected but when deployed to the browser none of this formatting is rendered and all series are in blues even the ‘transparent’ series. No red at all.

=IIF(Fields!ExhibitionID.Value = -1,"#00ffffff", IIF(Fields!ExhDepartment.Value = 27,"Orange","Red"))

=Switch(Fields!ExhibitionID.Value
= -1,"#00ffffff",Fields!ExhDepartment.Value = 27,"Orange",(Fields!ExhDepartment.Value <> 27) AND (Fields!ExhibitionID.Value <> -1),"Red")

I have tried deleting various files RDL and DATA. I have tried uploading the file from report manager in IE and I have tried editing the file in report manager.

Please help me understand why as it is driving me crazy. Thanks very much, Sally

Connection issues between Firebird Database and SSRS

$
0
0

ODBC Connection that is used as System DSN is not showing in the SSRS dropdown 'Use user or system data source name' for a data source.

The test connection failed when I try to test the (System DSN) ODBC connection to a Firebird database. This is a possible reason why I am not seeing the System DSN.

Is there a way I can make the System DSN to show up in the SSRS data source ?

how to convert .rdl file to .rdlc step by step?

$
0
0

Hi friends,

I want to convert .rdl  to .rdc need full steps.Actually i created .rdl report using sp sucessfully.Now i want to convert it to rdlc while doing it iam getting some authentication error and some thing else.I created rdl in 2008 and i want to change it to rdlc 2010.so pl. healp as early as possible with full steps.

Thanks in advance.

User 'DMNServer\Breanch' does not have required permissions.

$
0
0

User 'DMNServer\Breanch' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account
Control (UAC) restrictions have been addressed.

Can any one assist me ?


Convert Number to Words in SSRS 2008

$
0
0
Hi All,

As  in the Title I want To expand a formated  number into Words in ssrs 

for example 

55,188.87 =Fifty Five Thousands One Hundred Eighty-Eight Euro And 78 Cents 

such as  currency is returned from Query named CurrencyCode and the Number named Amount 

this is my Query 
SELECT        VoucherCode, CultureID, ReceiverBankAccount, TypeName, ProgramName, projectName, CurrencyCode, VoucherStatus, ReceiptAmount, TypeID, VoucherID,
                         VoucherDate, ReceiptMethodName, ReceiverBankName, ReceiverOrganizationName, programcode, ProgramDescription, AmountFROM            vw_VoucherWHERE        (CultureID = @CultureID) AND (TypeID = 2) AND (VoucherID = @VoucherID)


I searched the net and I found  a custom Code 
SHARED suffixes ASString() = _
{"Thousand ", "Million ", "Billion ", "Trillion ", _"Quadrillion ", "Quintillion ", "Sextillion "}SHARED units ASString() = _
{"","One ", "Two ", "Three ", "Four ", "Five ", _"Six ", "Seven ", "Eight ", "Nine "}SHARED tens ASString() = _
{"Twenty ", "Thirty ", "Forty ", "Fifty ", "Sixty ", _"Seventy ", "Eighty ", "Ninety "}SHARED digits ASString() = _
{"Ten ","Eleven ", "Twelve ", "Thirteen ", "Fourteen ", _"Fifteen ", "Sixteen ", "Seventeen ", "Eighteen ", "Nineteen"}SHARED expr ASNEW _
System.Text.RegularExpressions.Regex("^-?\d+(\.\d{2})?$", _
System.Text.RegularExpressions.RegexOptions.None)PublicFunction ExpandPrice(Price ASDouble, Optional pSeparator ASString = ".") ASStringDim pPrice AsString
pPrice = FORMAT(Price,"##############.00")Dim temp ASNew System.Text.StringBuilder()IfNot expr.IsMatch(pPrice) Then' temp.Append(pPrice) or whatever you want to do here ElseDim parts ASString() = pPrice.Split(pSeparator)Dim dollars ASString = parts(0)Dim cents ASString = parts(1)IfCDbl(dollars) > 1 Then
 temp.Append(ExpandIntegerNumber(dollars) & "Dollars ")IfCInt(cents) > 0 Then
 temp.Append("And ")EndIfElseIfCDbl(dollars) = 0 Then
 temp.Append(ExpandIntegerNumber(dollars) & "Zero Dollars ")IfCInt(cents) >= 0 Then
 temp.Append("And ")EndIfElseIfCDbl(dollars) = 1 Then

temp.Append(ExpandIntegerNumber(dollars) & "Dollar " )EndIfIfCDbl(cents) > 1 Then

temp.Append(ExpandIntegerNumber(cents) & "Cents")ElseIfCDbl(cents) = 0 Then

temp.Append(ExpandIntegerNumber(cents) & "Zero Cents ")ElseIfCDbl(cents) = 1 Then

temp.Append(ExpandIntegerNumber(cents) & "Cent " )EndIfEndIfRETURN temp.ToString()EndFunctionFunction ExpandIntegerNumber(pNumberStr ASString) ASStringDim temp2 ASNew System.Text.StringBuilder()Dim number ASString = _

StrDup(3 - Len(pNumberStr) Mod 3, "0") & pNumberStrDim i ASInteger, j ASInteger = -1Dim numPart ASStringFor i = Len(number) - 2 To 1 Step -3

numPart = Mid(number, i, 3)

IfClng(numPart > 0) ThenIf j > -1 Then

temp2.Insert(0,suffixes(j),1)

EndIfEndIf

temp2.Insert(0,GetNumberUnder1000Str(numPart),1)

j += 1

NextRETURN temp2.ToString()EndFunctionFunction GetNumberUnder1000Str(pNumber ASString) ASStringDim temp1 ASNew System.Text.StringBuilder()If Len(pNumber) = 3 ThenIfCLng(Left(pNumber, 1)) > 0 Then

temp1.Append(GetNumberUnder100Str(Left(pNumber, 1)) & "Hundred ")EndIfEndIf

temp1.Append(GetNumberUnder100Str(Right("0"& pNumber, 2)))RETURN temp1.ToString()EndFunctionFunction GetNumberUnder100Str(pNumber ASString) ASStringIf pNumber > 19 ThenRETURN tens(Left(pNumber, 1) - 2) & units(Right(pNumber, 1))ElseIF pNumber >= 10 and pNumber <= 19 ThenRETURN digits(Right(pNumber, 1))ElseRETURN units(Right(pNumber, 1))EndIfEndFunction
=Code.ExpandPrice(Fields!Amount.Value,".") 

but  it does not work for me, every time I Preview the Report it said  that there is error in custom  code line 75


Where is the problem !!! 

how to get list of tables in sql 2008

Report server webservice is not working

$
0
0

The permissions granted to user 'DMNServer\Breanch' are insufficient for performing this operation. (rsAccessDenied)

displaying report parameter based on another parameter

$
0
0

Hi All,

I searched for this but don't seem to be finding any information on it.

I am using report builder 3.0.

I have a report parameter called para1 which is a drop-down list and what I want to do is display another report parameter based on the para1 selection.

so for example, para1 contains a, b, c choices.  if a user selects b, I would like para2 to display but if the user selects a or c, I don't want the para2 to display.

thoughts?

SSRS ver. 9.00 compatibility with SQL Server 2013

$
0
0

Hello,

We are looking at upgrading our SQL Server 2005 to 2013.  We currently use SSRS version 9.00.  Would anyone be able to tell me if the two are compatible?

Thanks,

Jason Mattiussi

Report Viewer Toolbar Wraps

$
0
0

Have an ASP page using AJAX - have embedded the latest Microsoft Report Viewer control.  The page access various SSRS reports. The application works fine for most users, but in certain cases, the toolbar wraps and occupies about ten lines - using about half of the visible area.  Users affected by the problem are using IE7 and IE8.  When the toolbar is distorted like this, the buttons (Page, Export, etc) also seem inop. 

The problem does not seem to be related to the RDL; either all the reports work or none of the reports work.

Can this be a browser settings issue?  Something with the .Net framework?

 

Reportviewer Toolbar expanding

$
0
0
I have a reportviewer on a master page in a VS2008 ASP.NET application. When I originally created the page, I did not use a master page. When I moved the code to a master page, the Toolbar is 6 line long instead of 1. Each of the individual components of the ReportViewer toolbar is placed on it's own line. (i.e Navagation, Print, Zoom, Etc.) The same control worked correctly on it's own page. Any suggestions would be appreciated. Robert McMahan

Tablix Sorting of Data

$
0
0

Hi, I have a tablix that looks like this...

 30 Jul31 Jul01 Aug02 Aug03 Aug04 Aug05 Aug
Region10.000.000.000.00100.00 100.000.00
Region2100.000.000.000.000.00 0.00100.00
Region30.000.000.000.000.00 0.0033.30
Region450.0064.3050.000.0068.80 33.3066.70
Region5100.00100.00100.00100.0050.00 0.000.00


I would like to sort the last column which is a dynamic date (always the most recent from the last 7 days) from 0 to 100. Is this possible?

All help greatly appreciated.

Mat

The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database

$
0
0

 

Hi every one,

 

I'm very new new at this.  I'm try to deploy a report model and got this message.  I have no idea what its going on about.

 

Can anyone help me?

 

Aku

 


------------------------------

System.Web.Services.Protocols.SoapException: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) ---> Microsoft.ReportingServices.Diagnostics.Utilities.RPCException: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) ---> System.Exception: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) ---> System.Exception: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) ---> System.Exception: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) ---> System.Exception: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) ---> System.Exception: Bad Data. (Exception from HRESULT: 0x80090005)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.Diagnostics.DataProtection.ProtectData(Byte[] unprotectedData, String tag)
   at Microsoft.ReportingServices.Library.ConnectionManager.ConnectStorage()
   at Microsoft.ReportingServices.Library.Storage.NewStandardSqlCommand(String storedProcedureName)
   at Microsoft.ReportingServices.Library.DBInterface.GetAllConfigurationInfo()
   at Microsoft.ReportingServices.Library.RSService.GetSystemProperties(Property[] requestedProperties)
   at Microsoft.ReportingServices.WebServer.ReportingService.GetSystemProperties(Property[] Properties, Property[]& Values)
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.WebServer.ReportingService.GetSystemProperties(Property[] Properties, Property[]& Values) (System.Web.Services)

------------------------------
BUTTONS:

OK
------------------------------

Differnt Operation System on SSRS 2014 Web Servers

$
0
0

Hi

We have 3 SSRS 2014 webservers having Operating System as Windows Server 2012 and running successfully. Now we need to rope in 4 more webservers to same group and need to be load balanced. So now we will have total 7 SSRS 2014 webservers.

3 SSRS 2014 webservers will have Operating System as Windows Server 2012 and

4 new SSRS 2014 webservers will have Operating System as Windows Server 2012 R2

My question is will the above combination work successfully?

Many Thanks

Regards,

Pankaj

Update SSRS Shared Data Sources En Masse

$
0
0

Can anyone tell me whether it is possible to update SSRS shared data sources en masse via Powershell, or whether I will have to update each report individually.

I googled updating data sources via Powershell and came across script on following website:

https://ask.sqlservercentral.com/questions/86369/change-datasource-of-ssrs-report-with-powershell.html

However, when tweaked and ran it updated item (data source path) but not name. In trying to work out why this was the case I came across info on following website:

https://msdn.microsoft.com/en-US/library/microsoft.reportingservices.interfaces.reportoperation(v=sql.105).aspx

which stated "A user may update or modify single data sources associated with a given report. This does not include shared data source."

Does this mean shared data sources cannot be updated en masse via Powershell? Am I stuck with updating each report individually? There are over 700 reports need changing.


Cheers, AndySugs

Column header over grouping

$
0
0

Hi all,

I would like to create a group and add an overall header.

So the dimension is grouped and results in the following:

                                  Group Title

Dimension 1    Dimension 1    Dimension 1    Dimension 1

Instead of :

Group Title    Group Title    Group Title    Group Title

Dimension    Dimension     Dimension    Dimension

How can I achieve this without using a tablix within a tablix?

Viewing all 10045 articles
Browse latest View live


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