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

Export to PowerPoint missing SSRS Integrated

$
0
0

Export to PowerPoint is missing in SSRS Integrated SharePoint 2016.

Everywhere I read says this feature is available, but doesn't specify a setup method and assumes it's already there.

Do I need any additional service applications or what am I missing that will enable this feature? I was eyeballing PowerPoint Conversion Service App but that looks to be converting FROM PowerPoint documents, not to.

Thanks!


How to remove "Home" text

$
0
0

Hello, 

Using Power BI 2017 on Windows 2016. I am unable to remove the default "Home" symbol and I would like to make visible the invisible "settings, download and Help" boxes.

If you know, please share. Thank you. 


Jeelani Kamal - Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you

SSRS Expression If ISNULL or 0

$
0
0
Hi, I have report where it shows values from Jan to July. For a Row, The values are 0 from Jan to June and its for 1 for July. 
The report is showing up only July value. I want the remaining to show up as 0 as well. See the highlighted row in red. How to update the expression ? Thanks

Disable or stop SSRS snapshots

$
0
0

Is there a way to stop generating History snapshots in SSRS reports ?

“An error occurred during local report processing. Object reference not set to an instance of an object.”

$
0
0

I am using to generate rdlc report on my windows application. I have the one main report and more than 30 sub reports, which will render based on dataset values. Everything is working fine, but some time i got the following error when try to generate the report.

"An error occurred during local report processing. Object reference not set to an instance of an object." This is not all the the times. Sometime i am getting these errors. I can't even figure it out. It would be great if you help to sort it out.

Log file shows, these following kind of errors.

2019-07-23 15:40:28.7647|ERROR|31|ReportServerDatabaseUnavailableException| RequestID = s_f3d17e92-0f8b-458e-bcb7-935b64f6dcca 
2019-07-23 15:40:53.9509|ERROR|31|ReportServerDatabaseUnavailableException| RequestID = s_9a6239fb-ad9c-4868-a964-9945cb0211a0 
2019-07-23 15:41:22.7403|ERROR|30|ReportServerDatabaseUnavailableException| RequestID = s_2537a3e6-5822-41f7-b5dc-394c69f5c374 
2019-07-23 15:41:49.1221|ERROR|30|ReportServerDatabaseUnavailableException| RequestID = s_858edb9b-5c0e-4c31-a666-9d8548cbf259 
2019-07-23 15:41:59.1346|ERROR|30|ReportServerDatabaseUnavailableException| RequestID = s_ecda0f7b-ced8-4757-80c6-4e1540dcd00e 
2019-07-23 15:42:25.1251|ERROR|27|ReportServerDatabaseUnavailableException| RequestID = s_0352387f-756d-494d-ba32-4075d27d4931 
2019-07-23 15:42:35.1383|ERROR|27|ReportServerDatabaseUnavailableException| RequestID = s_a51ea9e5-b670-49c0-bc8d-161dc8969198 

Thanks, Thineshbabu

Main Report and Subreport solution

$
0
0

Hi All :

I'm learning the report and we have 2 datasets which need add into report

The structure of main dataset :

StudentID , StudentName, Class, Gender

Then we have another dataset (but this dataset ) is not related with main dataset , The structure is

QuestionID, QuestionMsg

Sample Data :

StduentIDStduentNameClassGender
1Peter1AMale
2Katie2AFemale
3Jack3AMale

The sub report dataset data

QuestionIDQuestionMsg
1What is your name ?
2Where do you live ?
3What is your favorite drink ?

And I want the report is :

Student ID : 1

Student Name : Peter

Class : 1A

Question :

1. What is your name ?

2. Where do you live ?

3. What is your favorite drink ?

---- Page Break ------

Student ID : 2

Student Name : Katie

Class : 2A

Question :

1. What is your name ?

2. Where do you live ?

3. What is your favorite drink ?

---- Page Break ------

with 3 pages 

I want to put this two datasets in the same Tablix, but it is not work, I have found  only 2 solutions for this case.

Solutions 1 : Create sub report and bind the datasets in this report. And then the main report add the sub report there.

Problem : It seem this solution require report server, and I cannot add sub report in local directory  (e.g. c:\subreport.rdl) under report builder. 

Solutions 2 :

It can add the table in Tablix, the cell expression using Lookup function or vlookup function

Problem : as above 2 datasets have not relationship, cannot join with any key. Any other expression code which can do ?

Thank you for your help.

How so I group two fields(field1,field2) and get a subtotal based on field2?

$
0
0

The records show a client can have multiple pledged values.   I need the the Principal to be summed by Pledged values along with the client so I can get a total of unique pledged principal values.   

My report is setup as follows:


g_cat

Format Currency of tool-tip as only Euro

$
0
0

I have reports that are used in the different country.  

If report is open in France, I want to show the tool-tip currency format as (abbreviated €) as suffix and If an end-user in US opens the report, I want to format the money numbers also with (abbreviated €) as suffix. 
I Just want to display the tool-tip currency in the euro only. From Wherever an end-user opens his reports.The currency format should be the fix in Tool-tip.

Should this be done via language property of the report?
or should there be a report parameter for locale?

Thanks,
Jay.



SSRS - Spacing

$
0
0

I have a flat-file to be load in SSRS report. Which already contains New Line and required spacing. Like the below image:

enter image description here

Want to display same layout and newlines(CRLF) into SSRS. Which works fine If I use

≪Place Holder Property → Markup type = "None - Plain text only"≫

But I want to increase the spacing between Individual new lines. So I tried below expression with the same other properties:

=REPLACE(Fields!Column1.Value, Chr(13), vbCrLf)

But It has increased the space almost double than my expectation. I also tried to convert ≪Place Holder Property≫ into ≪ HTML - Interpret HTML tags as styles ≫, but It has removed normal new lines which exist into flat-file.

I tried many existing solutions over StackOverflow but none of them are matching my requirement.

Could anyone please give it a try!


VS 2019 does not allow headers(titles) on a report to scroll

$
0
0

Hello ,

VS 2019 does not allow headers(titles) on a report to scroll.  Please advise?  

regards,

Brigitte Leveille 

SQL Reporting services keep filling up disk space with logs.

$
0
0

We got sql reporting services installed on sql always on.

When system failover the sql reporting services keep filling out the disk space.

The only way I know to fix is to failover the sql server again.

<Header>  <Product>Microsoft SQL Server Reporting Services Version 2015.0130.1601.05 ((SQL16_RTM).160429-2226)</Product>  <Locale>English (United Kingdom)</Locale>  <TimeZone>GMT Daylight Time</TimeZone>  <Path>E:\Program Files\Microsoft SQL 
Server\MSRS13.MSSQLSERVER\Reporting 
Services\Logfiles\ReportServerService__08_23_2019_09_54_06.log</Path>  <SystemName>SCOM</SystemName>  <OSName>Microsoft Windows NT 6.2.9200</OSName>  <OSVersion>6.2.9200</OSVersion>  <ProcessID>18328</ProcessID>  <Virtualization>Hypervisor</Virtualization></Header><ProcessorArchitecture>AMD64</ProcessorArchitecture><ApplicationArchitecture>AMD64</ApplicationArchitecture>
library!WindowsService_0!4698!08/23/2019-09:54:06:: e 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.;
library!WindowsService_0!4698!08/23/2019-09:54:06:: e 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.;

Is they anyway to fix this server without install the sql reporting services.

It has been working fine for a year and now its stop working properly.

it works find if primary sql server is 1 but when it failover to sql 2 we start getting these errors in log. each log file is 32MB and it fills the server in 40 minutes (60GB)

Include generic reference to ReportExecutionService for utilities

$
0
0

Ok

I have a utility to generate an in memory render of an SSRS report.  I want to put it in a library so it can get used across multiple projects.  The problem is that I can't find a way to include a reference to the proper DLL without adding reference to an existing Web Reference.  My code uses ReportExecutionService, ExecutionHeader and ParameterValue.  I get a:

"Thetype or namespace name 'ReportExecutionService' could not be found (are you missing a using directive or an assembly reference?)"

I've seen posts that it exists in reportexecutionservice.dll or ReportExecution2005.dll but I can't find those files anywhere.  I just find it hard to believe that I have to actually create a reference to an existing server that can then be used to connect to any server.

Can somebody point me in the right direction?

Thanks

David


dbl

SSRS iif statement error “No accessible IIf accepts this number of arguments”

$
0
0

Can you help with the following conditional statement. I am getting an error "bc30516 overload resolution failed because no accessible IIF accepts this number of arguements."

=iif(Fields!BSGroup.Value = "Investments" AND

 

(Fields!cFUNDCode.Value = "T Lender II Inc" or Fields!cFUNDCode.Value = "T Lender Inc" or Fields!cFUNDCode.Value = "CC VII FUNDING LP" or Fields!cFUNDCode.Value = "TC VII GP LP" or Fields!cFUNDCode.Value = "TC VII LP" or Fields!cFUNDCode.Value = "TC II SEC FND LP" or Fields!cFUNDCode.Value = "TUS GP LLC" or Fields!cFUNDCode.Value = "THPUS II B LP" or Fields!cFUNDCode.Value ="THPUS LP" or Fields!cFUNDCode.Value = "T SP " or Fields!cFUNDCode.Value = "ARA HILLS " or Fields!cFUNDCode.Value = "CEQUITY" or Fields!cFUNDCode.Value = "CONROE" or Fields!cFUNDCode.Value = "FF TEXAS" or Fields!cFUNDCode.Value = "LAKE NO " or Fields!cFUNDCode.Value = "TCC II LP" or Fields!cFUNDCode.Value = "TCC III FND LP" or Fields!cFUNDCode.Value = "TCC III LP" or Fields!cFUNDCode.Value = "TCC IV FND LP" or Fields!cFUNDCode.Value = "TCC IV LP" or Fields!cFUNDCode.Value = "TCC VI FND LP" or Fields!cFUNDCode.Value = "TCC VI LP" or Fields!cFUNDCode.Value = "TAH EQ " or Fields!cFUNDCode.Value = "THPC FND LP" or Fields!cFUNDCode.Value = "THPC II FND LP" or Fields!cFUNDCode.Value = "THPC II LP" or Fields!cFUNDCode.Value = "THPC III FND LP" or Fields!cFUNDCode.Value = "THPUS II A LP" or Fields!cFUNDCode.Value = "TUS II B2 LP" or Fields!cFUNDCode.Value = "THPUS II C LP" or Fields!cFUNDCode.Value = "THPUS SP II HLDG LLC" or Fields!cFUNDCode.Value = "TR US LENDER INC" or Fields!cFUNDCode.Value = "FALLS" or Fields!cFUNDCode.Value = "VIRIDIA" or Fields!cFUNDCode.Value = "VISTW ") or

 

(Fields!cAFFILIATECode.Value = "BRYSON M" or Fields!cAFFILIATECode.Value = "TC VII " or Fields!cAFFILIATECode.Value = "II SEC FND LTD" or Fields!cAFFILIATECode.Value = "III COINVEST IN" or Fields!cAFFILIATECode.Value = "US GP" or Fields!cAFFILIATECode.Value = "T B LP" or Fields!cAFFILIATECode.Value = "TP" or Fields!cAFFILIATECode.Value = "THPSPI HLD"

) or

 

(Fields!cPROJECTCode.Value = "LANON" or Fields!cPROJECTCode.Value = "TEGH" or Fields!cPROJECTCode.Value = "VIST WE" or Fields!cPROJECTCode.Value = "CAMP " or Fields!cPROJECTCode.Value = "CEEK" or

Fields!cPROJECTCode.Value = "ARILLS" or Fields!cPROJECTCode.Value = "TRINALLS"),

 

 

"Invest - T P", Fields!cFUNDCode.Value)

SSRS 2017 Errors on exporting to Excel or Word .xlsx, .docx

$
0
0

I cannot export in SSRS 2017 to EXCEL or WORD 2013 versions, EXCELOPENXML or WORDOPENXML.  2003 versions work fine in the environment when turned on.  This also happens in SSRS Report Builder.  There is something fundamentally wrong in the rendering.  The following are the types of errors I am seeing:

An Error occurred during rendering of the report.  (rrRenderingErrorr). In report builder

In SSRS:

library!ReportServer_0-2!1a5c!07/24/2019-14:50:26:: e ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.TypeInitializationException: The type initializer for 'MS.Utility.EventTrace' threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed.
   at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)
   at MS.Utility.EventTrace.IsClassicETWRegistryEnabled()
   at MS.Utility.EventTrace..cctor()
   --- End of inner exception stack trace ---
   at MS.Utility.EventTrace.EasyTraceEvent(Keyword keywords, Event eventID)
   at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.XMLModel.XMLStreambookModel.get_ZipPackage()
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.XMLModel.PartManager..ctor(XMLWorkbookModel workbookModel)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.XMLModel.XMLStreambookModel..ctor(Stream outputStream)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelApplication.CreateStreaming(Stream outputStream)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.OpenXmlGenerator..ctor(CreateTempStream createTempStream)
   at Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer.CreateExcelGenerator(CreateTempStream createTempStream)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.MainEngine..ctor(CreateAndRegisterStream createStream, ExcelRenderer excelRenderer)
   at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   --- End of inner exception stack trace ---

Can I provide as a static value for a SSRS Report Subscription Parameter

$
0
0

The report will accept <NULL> for our Report Parameters...welll the SQL Server Stored Procedure will accept <NULL>. Can I provide "NULL" as the "Specify a static value:" for the SSRS Report Subscription Parameter?? I want to run for everything. All Clients, All Programs, etc.. And obviously I do not want to provide true Static values because I do not want to have to maintain the SSRS Subscription when we add New Clients and New Programs.

Thanks for your review and am hopeful for a reply.


Script Error when user changes paper size in Report Viewer control

$
0
0

Using the Nuget package: Microsoft.ReportingServices.ReportViewerControl.WebForms, version 140.1000.523

Hosting the report viewer control inside a Windows Forms application using the WebBrowser control

User selects the Print Icon, and chooses a different paper size than default, then clicks Print.

a Script Error is shown:

Line: 1

Char: 25445

Error: Unable to get property 'Width' of undefined or null reference

Code: 0

URL: ..../Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=14.0.1016.229&Name=ViewerScript

When we use the same URL in an actual web browser, there is no error shown.  Can anyone help identify what might be causing this? or what we can do to avoid it?

I have also verified that the error still occurs when using the latest Nuget package.

Setting MSA to SSRS service not working

$
0
0

Hi

We are running SSRS 2014 on Windows Server 2008R2.
We wanted to change the SSRS service account to an MSA account like we did to all of the other SQL services on this server.
I tried to change the service account via the SSRS Configuration Manager, but I'm getting the following error:

Setting Windows Service Identity to Windows Account
The Windows account information used to run the Windows service has failed to update. Previously designated settings are being used instead.

Please help

Thanks


SSRS: Upgrade from 2016 to 2017 Error.

$
0
0

Today I upgraded SQL Server 2016 to 2017 Standard Edition. same time i wizard unintalled SSRS 2016 version and I reinstalled 2017 version of SSRs. 

-- when i connect to SSRS from configuration manager : Reporting Serve Instance is 'SSRS' not 'MSSQLSRVER' 

-- I restored SSRS databases on new SQL Server. 

-- also restored encryption key which i did back up before upgrade. 

-- in Key table I see two entries in instancename  column SSRS and MSSQLSERVER. 

After configuring i am receiving below error. 

The service is not available.

The report server isn’t configured properly. Contact your system administrator to resolve the issue. System administrators: Check the report server trace log for details.

can anyone suggest workaround please?

Thank you. 


Thank you very much for your time and effort to answer this post. Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach Best -Ankit

SSRS Report using the following Query

$
0
0

Hi,

We are developing a report in SSRS using the following query:

SELECT   DISTINCT ATBPCClassAttributeDef.Name
    , 'StartPosition' = CHARINDEX('CDATA[', ClassValue)+6
    , 'EndPosition' = CHARINDEX(']]', ClassValue, CHARINDEX('CDATA[', ClassValue)+6)
    , 'TagName' = SUBSTRING(ClassValue, CHARINDEX('CDATA[', ClassValue)+6, 
	  ((CHARINDEX(']]', ClassValue, CHARINDEX('CDATA[', ClassValue)+6))-(CHARINDEX('CDATA[', ClassValue)+6)))
	,ATBPCClassValueDynamicData.fkClassDefinitionID,ATBPCClassValueDynamicData.ClassValue
	,ATBPCClassValueDynamicData.fkClassValuesID,ATBPCClassValueDynamicData.fkClassAttributeValueUniqueID
    FROM dbo.ATBPCClassValueDynamicData 
	INNER JOIN ATBPCClassAttributeDef 
	ON ATBPCClassValueDynamicData.fkClassAttributeValueUniqueID = ATBPCClassAttributeDef.UniqueID
	AND ATBPCClassAttributeDef.fkClassDefinitionID = ATBPCClassValueDynamicData.fkClassDefinitionID
	WHERE   fkClassAttributeValueUniqueID IN (101057,101058,100572,100573) AND fkClassValuesID IN (102394) ;

Below is the output of the query:

PLease suggest how we can sort the below data as specified in the "IN Clause" for fkclassatrributevalueuniqueid

Please help!

Thanks for your support and understanding!

Regards,

Afshaan Shaikh.

Problem with Report Caching

$
0
0

1. I have a stored proc that does 3 things:

a. Clears a table

b. inserts data into the table using dynamic SQL, so that I can change parameter choices

c. selects from the table for display

Then I wrote a report to call the proc.

2. If I use a parameter that says show all data where widget = 'N' it will display fine

3. But if I change the parameter setting to widget = 'Y', the displayed data is still from #2.

4. Then, if I simply click "View Report" one more time, I get the correct data.

Is there anything I've said here that is a red flag? It behaves as if it cached the data from the first run,

but it didn't get flushed until I ran the report two times!


Corey Fleig

Viewing all 28687 articles
Browse latest View live


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