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

Unknown Report Version: 9.0 - VS 2017 Enterprise + SSDT 15.1

$
0
0

Hi,

please help in upgrading an RDL report to the newest version. I have just installed the latest version of SSDT from here https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt

from VS 2017 and it installed correctly.

HOWEVER, when I try to save certain reports, they cannot be save, the error being "Unknown Report Version: 9.0". The target server version is "SQL Server 2016 or later" and when I (re)build the project it says "Building '[NAME]' for SQL Server 2008 Reporting Services."

Here is an archive with the project and the reports - some are upgraded (e.g.RAP_Caserie_IncasariZilnice), some are NOT - e.g.RAP_Casierie_IncasariPerioada_TipTaxa and others).https://1drv.ms/f/s!AutQV9XwvAkX3xXqzlMIgwAO2irf

My configuration:

Microsoft Visual Studio Enterprise 2017
Version 15.5.6
VisualStudio.15.Release/15.5.6+27130.2027
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Enterprise

ASP.NET and Web Tools 2017   15.0.31127.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2012   4.0.20601.0
For additional information, visit https://www.asp.net/

ASP.NET Web Frameworks and Tools 2017   5.2.51007.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.31106.0
Azure App Service Tools v3.0.0

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JustDecompilePackage2017 Extension   1.0
JustDecompilePackage2017 Visual Studio Extension Detailed Info

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

NPM Task Runner   1.4.81
Adds support for npm scripts defined in package.json directly in Visual Studio's Task Runner Explorer. Includes full support for Yarn

NuGet Package Manager   4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Project   1.0
Information about my package

SQL Server Analysis Services   14.0.1016.244
Microsoft SQL Server Analysis Services Designer
Version 14.0.1016.244

SQL Server Data Tools   15.1.61710.120
Microsoft SQL Server Data Tools

SQL Server Reporting Services   14.0.1016.233
Microsoft SQL Server Reporting Services Designers
Version 14.0.1016.233

SsmsVsIntegration   1.0
Information about my package

TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Apache Cordova   15.123.6829.2
Visual Studio Tools for Apache Cordova


Running .Net exe from windows scheduler to generate the PDF files using Reportviewer and intermittently getting below error

$
0
0
Timed out waiting for a program to execute. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /noconfig @"C:\Windows\TEMP\5iabw1hv.cmdline".    at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   at System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
   at Microsoft.VisualBasic.VBCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   at System.CodeDom.Compiler.CodeCompiler.FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea)
   at System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea)
   at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.InternalCompile(AppDomain compilationTempAppDomain, Boolean refusePermissions)
   at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.<>c__DisplayClass2.<Compile>b__0()
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state)
   at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
   at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.Compile(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, AppDomain compilationTempAppDomain, Boolean refusePermissions, PublishingVersioning versioning)
   at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.Phase3(ParameterInfoCollection& parameters, Dictionary`2& groupingExprCountAtScope)
   at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.InternalCreateIntermediateFormat(Stream definitionStream, String& description, String& language, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CompileOdpReport(PublishingContext reportPublishingContext, IDataProtection dataProtection, PublishingErrorContext errorContext, String& reportDescription, String& reportLanguage, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(PublishingContext reportPublishingContext, IDataProtection dataProtection) Int32 ExecWaitWithCaptureUnimpersonated(Microsoft.Win32.SafeHandles.SafeUserTokenHandle, System.String, System.String, System.CodeDom.Compiler.TempFileCollection, System.String ByRef, System.String ByRef, System.String)

SSRS Repeating an Image used as a border on each page of Report

$
0
0

I have an image which is molded (Round shaped) from the edges and client requires the border of the report as it is, so i used a rectangle and embed the image into rectangle (It is working fine for one page static report) but now i am having issue if the report increases from one page. How to repeat this rectangle on all the  report pages or else some other method to use this image as border in report as shown in the image attached.


Sql server reporting service getting crashed

$
0
0

We have SQL server reporting service running on windows server 2008 environment. The service gets crashed from a week, though the service shows started state the ssrs url wont be avaialble

We tried the below fix.

   1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following registry subkey:
        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    3. Right-click Control, point to New, and then click DWORD Value.
    4. In the New Value #1 box, type ServicesPipeTimeout, and then press ENTER.
    5. Right-click ServicesPipeTimeout, and then click Modify.
    6. Click Decimal, type the number of milliseconds that you want to wait until the service times out, and then click OK.

after that service gets restarted in every couple of minutes. We haven't added any new patches (before the issue) the SQL crash dump shows the garbage collection gets timeout.

How To Change The default font of SQL SERVER R2 REPORT BUILDER?

$
0
0

Hi EveryOne:

   while i creating the new report, all new objects default to Arial.  The Font of Arial Will be messy code in Win10, so I have to change font to 宋体. But, I don't want Change Textbox's font one by one. In any way,  I can alert the default font of Report Builder 3.0? It's possible? thanks~

How to create a subscription for the main report which contains subreports in it in ssrs

$
0
0

Hi I have an report which contains the reports body having 3 Table data regions.

and I have an Reportdetials table

ReportIDReportCodeReportName
11A
22B
33C

here " ReportName"  is the report parameter contains these three A,B,C report in the parameter drop down selection

and the Month and Year parameter follows this report

I will create a subscription for 3 reports and repective month and year parameter in the report , I need an single export in excel contains these three subreports 

sheet1 : A report ,Sheet 2 :B report ,and Sheet 3 : C report I need like this my report export in excel

for the respective month and year parameter selection 

how do I create this kind of subscription in ssrs.


Subscription File Share Path

$
0
0

I am trying to create a subscription and publish a ssrs report in pdf to my documents folder.

it needs to be in UNC format.

I keep trying \\laptopname\documents.

Does not work

then I am made the documents folder a shared drive.

However whenever I enter my user name and password and the click "Apply" the password disappears

can anyone help with this

thanks

Expand nodes based on condition

$
0
0

Hi 

I have created tree like structure and I am looking for an option to make my current week and last week node expanded by default when user open report. Like the following one. Is it doable ?


Aniruddha http://aniruddhathengadi.blogspot.com/



Providing Data Driven Subscription Data via a Table

$
0
0

Is there a generally accepted SQL Server Table where we can provide the Step 4 entities of a SSRS Subscription for a data-driven subscription? Like providing the values for To, Cc, Bcc, Reply-To, etc.. Provide those values and reference them in the Step 4 from a query provided in Step 3.

Thanks for your review and hoping I am clear enough on this and hoping for a reply.

Thanks!

Need help with SSRS Expression: Wants to display Dollar amount based on Max Date within a Group

$
0
0

Hi All,

I have a text for endingbalance which is transactionbalance+transactionamount, However Id like to display the last row with in the account grouping.

for any given account we might have n` rows with each row having transaction date, I was told to remove this expression and get the value of last row in group amount value as running balance, last row being the most latest date.

How can i get this functionality? 

Reporting services 2017 rsclientprint requires install everytime

$
0
0

we have environment using reporting services 2017

reports are displayed with no problems but when trying to print a report from the report viewer using the print icon in the viewer it popup the installation for "SQL Server reporting services 2014" after accept and close the page of the control and reopen it request installation again . I tried it on windows 7 client with explorer 11 with same problem, same configuration was working on reporting services 2014 with no problem. our application use the report viewer version 10

searching for a solution I tried

- enable the Active X installation for the requested zone

- Manage the addons in explorer and make sure the addon is enabled

- I tried manual installation by registering the rsclientprint.dll in the folder of "Downloaded Program Files"

I notice that the cab file for the print control is not existing in the suggested location on "reportserver/bin" anymore

note : when running the explorer with user even with administrator previlages the problem occurs but when right click the explorer icon and choose "run as administrator" it works fine , but it's not acceptable solution to give normal users administrative prevs for just printing a report

any help is appretiated

OS :window 2016

SQL :2017

reporting services 2017

explorer : 11


SSRS Tablix Format after deployment

$
0
0

Hi,

I have deployed a report on report server.

When i preview my report on report builder 3.0 it displays in accurate formatting.

Please refer the following snapshot:

AAs per the above image all columns are having same number of records but at the end the sizing and formatting has been tremendously changed.

Please help!

how can we do the proper formatting

I need to create Phi chart from multi value column in Sharepoint list

$
0
0

I have column called "scope" in share point list
The column "Scope" has the values A -- in first row

"Scope" has the values B,C -- in scond row

"Scope" has the values A,B,C -- in Third row

"Scope" has the values A,B,C,X,Y-- in fourth row

I want to display count(A), count(B), Count(C) like this from the "Scope" column (which is existed in Sharepoint List) in Phi chart

and % of A, B,C,X,Y in Phi

Running .Net exe from windows scheduler to generate the PDF files using Reportviewer and intermittently getting below error

$
0
0
Timed out waiting for a program to execute. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /noconfig @"C:\Windows\TEMP\5iabw1hv.cmdline".    at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
   at System.CodeDom.Compiler.CodeCompiler.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
   at Microsoft.VisualBasic.VBCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   at System.CodeDom.Compiler.CodeCompiler.FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea)
   at System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea)
   at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.InternalCompile(AppDomain compilationTempAppDomain, Boolean refusePermissions)
   at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.<>c__DisplayClass2.<Compile>b__0()
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state)
   at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
   at Microsoft.ReportingServices.RdlExpressions.ExprHostCompiler.Compile(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, AppDomain compilationTempAppDomain, Boolean refusePermissions, PublishingVersioning versioning)
   at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.Phase3(ParameterInfoCollection& parameters, Dictionary`2& groupingExprCountAtScope)
   at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.InternalCreateIntermediateFormat(Stream definitionStream, String& description, String& language, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CompileOdpReport(PublishingContext reportPublishingContext, IDataProtection dataProtection, PublishingErrorContext errorContext, String& reportDescription, String& reportLanguage, ParameterInfoCollection& parameters, DataSourceInfoCollection& dataSources, DataSetInfoCollection& sharedDataSetReferences, UserLocationFlags& userReferenceLocation, ArrayList& dataSetsName, Boolean& hasExternalImages, Boolean& hasHyperlinks, Byte[]& dataSetsHash)
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateIntermediateFormat(PublishingContext reportPublishingContext, IDataProtection dataProtection) Int32 ExecWaitWithCaptureUnimpersonated(Microsoft.Win32.SafeHandles.SafeUserTokenHandle, System.String, System.String, System.CodeDom.Compiler.TempFileCollection, System.String ByRef, System.String ByRef, System.String)

Reports not being rendered properly from web farm

$
0
0

We have a web farm running on Microsoft's WebFarm Framwork where the reports are not rendered properly.  When we run from a standalone web server the reports are fine.  Is there a special configuration for them to run from the web farm?  I have included the outline of the infrastructure and links to the reports so you can see the results.

Web Farm 

Servers (1 gateway, 4 content)

  • OS - Windows Server 2012
  • IIS - Version 8

Configuration

  • Shared Content
  • Shared Config
  • Centralized SSL

SSRS Servers

  • OS - Windows Server 2012
  • SQL Server Reporting Services 2017

Url to test server: https://reports.efc-test.com/displayreport.aspx?id=C3ADC3B9C3B5C3B3C3A5C3B2C2BDC2B8C2B0C2B0C2B0C2B0C2B0C2B1C2B8C2ADC2B1C2B2C2B4C2B6C2B8C2B1C2B5C2B2C2B1C2B5C2A6C3A3C3B5C3B3C3B4C3AFC3ADC3A5C3B2C3A9C3A4C2BDC2B1C2B0C2B1C2B5C2A6C3B3C3A5C3ACC3A5C3A3C3B4C3A5C3A4C3B5C3B3C3A5C3B2C2BDC2A6C3B0C3A1C3B2C3ADC3B3C2BDC3B2C3B0C3B4C3A9C3A4C2A5C2B3C3A4C2B1C2A5C2B2C2B6C3A7C3B2C3AFC3B5C3B0C3A9C3A4C2A5C2B3C3A4C2ADC2B1C2A6C3B3C3B1C3ACC3B2C3A5C3B0C3AFC3B2C3B4C3B3C3ACC3AFC3A3C3A1C3B4C3A9C3AFC3AEC2BDC2A5C2B2C3A6C3A5C386C381C381C383C394C393C391C38CC392C3A5C3B0C3AFC3B2C3B4C3B3C2A5C2B2C3A6C2A6C3A4C3A9C3B3C3B0C3ACC3A1C3B9C3A4C3A1C3B4C3A5C3B3C2BDC2B8C2A5C2B2C3A6C2B2C2B0C2A5C2B2C3A6C2B2C2B0C2B1C2B8C2A5C2B7C3A3C2B9C2A5C2B2C3A6C2B1C2A5C2B2C3A6C2B2C2B0C2B1C2B8C2A6C3A5C3A6C3A4C3A2C3AEC3A1C3ADC3A5C2BDC2B1C2B0C2B1C2B5C39FC383C38FC38AC382C38EC38BC395C397C390C381C388C38AC386C39FC3A5C386C381C381C383C394

Url to web farm: https://efaactcentral.com/displayreport.aspx?id=C3ADC3B9C3B5C3B3C3A5C3B2C2BDC2B8C2B0C2B0C2B0C2B0C2B0C2B1C2B8C2ADC2B1C2B2C2B4C2B6C2B8C2B1C2B5C2B2C2B1C2B5C2A6C3A3C3B5C3B3C3B4C3AFC3ADC3A5C3B2C3A9C3A4C2BDC2B1C2B0C2B1C2B5C2A6C3B3C3A5C3ACC3A5C3A3C3B4C3A5C3A4C3B5C3B3C3A5C3B2C2BDC2A6C3B0C3A1C3B2C3ADC3B3C2BDC3B2C3B0C3B4C3A9C3A4C2A5C2B3C3A4C2B1C2A5C2B2C2B6C3A7C3B2C3AFC3B5C3B0C3A9C3A4C2A5C2B3C3A4C2ADC2B1C2A6C3B3C3B1C3ACC3B2C3A5C3B0C3AFC3B2C3B4C3B3C3ACC3AFC3A3C3A1C3B4C3A9C3AFC3AEC2BDC2A5C2B2C3A6C3A5C386C381C381C383C394C393C391C38CC392C3A5C3B0C3AFC3B2C3B4C3B3C2A5C2B2C3A6C2A6C3A4C3A9C3B3C3B0C3ACC3A1C3B9C3A4C3A1C3B4C3A5C3B3C2BDC2B8C2A5C2B2C3A6C2B2C2B0C2A5C2B2C3A6C2B2C2B0C2B1C2B8C2A5C2B7C3A3C2B9C2A5C2B2C3A6C2B1C2A5C2B2C3A6C2B2C2B0C2B1C2B8C2A6C3A5C3A6C3A4C3A2C3AEC3A1C3ADC3A5C2BDC2B1C2B0C2B1C2B5C39FC383C38FC38AC382C38EC38BC395C397C390C381C388C38AC386C39FC3A5C386C381C381C383C394


SSRS Expressions to find max value

$
0
0

Hi,

We have populated avg values in individual tables.

suppose below is the avg values in my table

Table 01

10 

20  

Table 002

56

12

How can i find the max values between these two tables.

I referred using MAX(report items!textbox.value)

but it did not show any output.

How can we compare among st expression/report items an get the max values between them?

Please help

How to deal with this join conundrum?

$
0
0

I've been struggling with this query a while.

I want to bring Casey back, despite not having any data in table 1. A score of NA would be fine.


Table A

Score                    Name                       ClassID

   1                         Steve                           7

   3                         John                             5  

   9                         Bob                              7 

Table B

 Name                       ClassID

 Steve                            7

  John                            5

 Casey                           7


Select * from TableA a
LEFT JOIN TableB b where a.ID = b.ID


Results

Score                    Name                       ClassID

1                            Steve                           7

9                            Steve                           7

3                             John                           5

1                            Casey                           7

9                            Casey                           7

1                             Bob                             7

9                             Bob                             7 

I understand why I'm getting the results, because that's a many-many join. I've also tried joining by Name. Everything looks fine, but then Casey gets left out.

Select * from TableA a
LEFT JOIN TableB b where a.ID = b.ID and a.Name = b.Name


Is there anything I can do? Thanks.



SSRS 2016 web page missing elements/page layout problem

$
0
0

On branding Tab under Site settings buttons like Download, Remove and Upload brand package are missing. I just see the Currently installed brand package and text box with None in it.

Also on the Home page some icons are missing.

SSRS version is Enterprise 13.0.4528.0

Do I need to somehow upload manually a layout package?

SSRS connection to essbase

$
0
0
Is there any document for SSRS and essbase connections

SSRS Chart Dynamic Width Change position of the chart

$
0
0

I am using SSRS 2008 where I have a chart an a table, as I need that the chart x-axis labels keep aligned with the table columns, I am using the Dynamic Width. The dynamic width works, increasing and decreasing the size of the chart but the position of the chart is also changed and then the x-axis labels and columns of the table get unaligned.

here there is a example about Dynamic width http://blogs.msdn.com/b/robertbruckner/archive/2008/10/27/charts-with-dynamic-size-based-on-categories-or-data.aspx where you can see that in the second chart the y-axis is moved the right.

Anyone know how to avoid that behavior?

 

Viewing all 28687 articles
Browse latest View live


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