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

Unable to transfer reports in 2016 SSRS server

$
0
0

Hello All,

We have two 2016 servers - report server and database server that we upgraded from 2008 R2. We are trying to transfer reports to the 2016 prod server using Visual Studio and /or RSScripter and it is not working.

Note: We are able to manually upload reports by clicking the "upload" button in SSRS portal.

It is throwing the below error:

Could not connect to the report server https://servername1/ReportServer. Verify that the TargetServerURL is valid and that you have the correct permissions to connect to the report server. (Microsoft SQL Server Report Designer)

The underlying connection was closed: An unexpected error occurred on a send. (System.Web.Services)

------------------------------
Program Location:

   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at ReportServiceClient2010.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.ListItemTypes()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.<ListItemTypes>b__10f()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
   at ReportServiceClient2010.CheckAuthenticated()
   at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ICredentials credentials, String& authCookieName, Cookie& authCookie, EndpointType& endpointType)
   at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ConnectionProperties& connectionProperties)
   at Microsoft.ReportDesigner.Project.ReportClientManager.GetCredentials(String url, CancelFlag cancelFlag)
   at Microsoft.ReportDesigner.Project.ReportProjectDeployer.PrepareDeploy()

I checked lot of posts in the forums and I am not able to resolve this. The targetURL is pointing to webservices URL in the report server config file. I am able to access the https://servername1/ReportServer URL in the browser.

The most interesting thing is it is working in DEV, when I give the DEV server name, it works with no issues. We checked the certificates and everything seems to be correct.

Additionally, the secureconnectionlevel is set to 0, please see below, though we are using SSL.

<Add Key="SecureConnectionLevel" Value="0"/>

If we change to 2, we are unable to upload reports.

Also, I did check whether the right configuration environment was used in Visual Studio, and it is correct.

I don't know why we are unable to transfer reports to PROD via Visual Studio or RS Scripter.

Any help is very appreciated.





Installation of SQL Server 2019 Reporting Services

$
0
0
My question is about installing SQL Server 2019 Reporting Services. I have a valid SQL Server 2019 key which has successfully been used on an installation of SQL 2019. Using the same key, copied and pasted from not only the setup but also the ini file in x64 installation to preclude any typos, the install keeps asking me to restart the server in order to continue with the setup. This has been done numerous times without success. The SQLServerReportingServices.exe has been downloaded directly using the hyperlink in SQL Server 2019 installation package. I have also tried installing as Administrator and Domain Admin but no joy. The latest update for the SQL Server is CU5. Might I be missing something? 

How to configure Web Services URL?

$
0
0

This is what I have. However, when I clicked OK to get out of this window, there is nothing showing up in the Web Service URL screen's Result section. If I clicked the Advance... button again to go back into this screen, the "All Assigned" Port 80 entry in the top section is removed. The question is, how do I get this Web Service URL setup? It seemed simple enough but it does not seem to stick no matter what I put in all the parameters there.

Despite going through the configuration, this screen is still showing no Report Server Web Service URL.



SSRS 2016 Access Denied by Default

$
0
0

I've installed SSRS 2016 in native mode and when browsing the website on the local server it works fine.

When I try to browse the report website from my laptop I get presented with "could not load folder contents".

I am able to grant myself sysadmin permissions to the website so I can't see where the issue is?  Upon checking the error logs I am seeing this

"Microsoft.ReportingServices.Portal.WebHost!library!4e3!11/25/2016-15:28:40:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: , Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'domainname\me' are insufficient for performing this operation.;"

Why is this happening when I am a sysadmin on the site?

Showing Zero for empty cell of OLAP Cube in Excel 2010

$
0
0

Hi,

Is there a way we can display zero in empty cell of a olap cube when configured in Excel 2010 or later.

Thanks


Abbas786

SSRS Rendering PDF cannot opened by Acrobat

$
0
0

We have a .NET application generating PDF using SSRS rdl file,  the rdl file is located in SSRS server. The PDF is pop up file while click it on the application;  but it cannot be opened in the temporary download folder,  after saved it to the local computer,  it cannot opened by Acrobat and said "the file is damaged",  although it's able to open by Chrome and Edge,  the PDF is small and no special character or anything,  just text. 

What is the possible cause for this? I would really appreciate if you give me suggestion or share your experience.

 Thank you.
<input aria-autocomplete="both" aria-haspopup="false" aria-label="Search" autocapitalize="off" autocomplete="off" autocorrect="off" class="gLFyf gsfi" data-ved="0ahUKEwjj0c2-ntTqAhVhlHIEHesqB6QQ39UDCAk" jsaction="paste:puy29d" maxlength="2048" name="q" role="combobox" spellcheck="false" style="font-size:16px;line-height:34px;font-family:arial, sans-serif;height:34px;border-width:initial;border-style:none;border-color:initial;margin:-37px 0px 0px;padding:0px;color:rgba(0, 0, 0, 0.87);overflow-wrap:break-word;outline:none;display:flex;flex:1 1 100%;-webkit-tap-highlight-color:transparent;" title="Search" type="text" value="What is the possible cause? Any suggestion is really appreciate." />
<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>
<input aria-autocomplete="both" aria-haspopup="false" aria-label="Search" autocapitalize="off" autocomplete="off" autocorrect="off" class="gLFyf gsfi" data-ved="0ahUKEwjj0c2-ntTqAhVhlHIEHesqB6QQ39UDCAk" jsaction="paste:puy29d" maxlength="2048" name="q" role="combobox" spellcheck="false" style="font-size:16px;line-height:34px;font-family:arial, sans-serif;height:34px;border-width:initial;border-style:none;border-color:initial;margin:-37px 0px 0px;padding:0px;color:rgba(0, 0, 0, 0.87);overflow-wrap:break-word;outline:none;display:flex;flex:1 1 100%;-webkit-tap-highlight-color:transparent;" title="Search" type="text" value="What is the possible cause? Any suggestion is really appreciate." />
<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>

multi-company report using two tablix reports

$
0
0

I am trying to create an accounting/reconciliation report using report builder. The purpose of the report is tie amounts from the Company and the respective Affiliate (Company) residing in a GL account. When an entry is created in a Company say for example Company (Tor Inc) in GL account 10XXX for  $ -1,000.00 and the affiliate code is ABC Company. There will be an offsetting entry created in the Affiliate Company (ABC Company) for a similar amount 1,000.00 with an affiliate code (Tor Inc) which was previously the Company (Tor Inc) code. 

Our Accounting teams wants to display both entries on the same row to identify any variances, like this.

Company     Affiliate             GL Account     Company Balance   Affiliate Balance<o:p></o:p>

Tor Inc.       ABC Company      10XXX           -1,000.00              1,000.00<o:p></o:p>

In order to get the Affiliate Balance 1,000.00, I need to look up Company (ABC Company) with an Affiliate Code of (Tor Inc) in GL account 10XXX for 1,000.00



SSRS 2016 Report Download Name Truncation at Period

$
0
0

I have several SSRS 2016 reports, each beginning with a numeral, such as, 1. Report_A, 2. Report_B, 3. Report_C, etc.

From a functional perspective, the reports run successfully and is able to render the data correctly; however, when I download the report in any format: word, pdf, excel, et al., the report name truncates after the Period. So, the report name, say in excel, will be 1.xlsx or 2.xlsx or 3.xlsx, truncating the text after the Period.

This issue can be reproduced using both Chrome and IE and is only present in SSRS 2016. The reports were tested in SQL 2012 as well, and this issue does not exists there.

Has anyone in the SQL community experienced this issue? Is it a known issue? is there a workaround? Could this be a bug in SSRS 2016?

Any help from the community is greatly appreciated. Thank you for reading this post.


Sales sliced by year and ranked/sorted by selected year sales

$
0
0

I have storeID, storeName, Year and Sales. I want to create a table which displays storeID, storeName and three columns showing sales for the selected year(based on parameter selection) as well as the previous two years. There would also be a rank column ranking the stores based on sales for the selected year and only the top N (based on parameter selection) stores would be displayed.

I created a stored procedure for the year and topN parameters, but I can't seem to figure out how to group the sales measure by store and slice by year while ranking and sorting based on only the selected year. Is this possible in SSRS?

Separating table data by date- specifically, by week

$
0
0

I am converting a Crystal Report to an .rdl file, and am having trouble grouping by the correct time period. The old version (Crystal Report) allows the data to be displayed for each week, and displays each row similar to:

Row 1-"05/01/2020..."

Row 2-"05/08/2020..."

For some reason, the best I am able to do so far is just displaying the totals for the whole time period selected. The time period is selected by the user. The goal is to be able to take a time period of any length and display the column totals corresponding to each week in a separate row. Any ideas?

Thanks,

Ryan


Ryan

Cannot get SSRS completely configured to work with an Extranet, but setting URLRoot breaks Subscriptions

$
0
0

Hi,

I'm trying to configure an SSRS (actually PowerBI Report Server) so Users can access it through an external domain name, and I'm hitting a problem when I come to set the URLRoot value in the config file. Any help on fixing my configuration would be greatly appreciated.

The idea / plan is that a User would either be on the internal network (MPLS or VPN), or external going through WAP/ADFS, but always use the external domain name. We want to get away from the setup we have inherited where Users are expected to pick the URL depending on their current circumstances, which they find confusing. But my problem is occurring with both internal and external network access.

Everything seems to work correctly, both internally and externally, using the URL https://reports.external.co.uk/Report. The final piece was changing the report link the in the emails from the actually server name,  (i.e. http://srv/ReportServer/) to the external domain name (i.e https://reports.external.co.uk/Reportserver/). After I set the URLRoot value to be https://reports.external.co.uk/Reportserver, we can no longer access / manage the subscriptions or data sources. Rather we get the error "An Error has occurred. Something went wrong. Please try again later". No detail of the error is logged in the logfiles of Events.


The complete setup and configuration is as follows:

  • Single server installation
  • Win2019 Standard, 64-bit,
  • SQL Server 2019 Enterprise 64-bit
  • Power BI Report Server (May 2020)
  • The server is called (not really) srv.internal.local
  • There is a internal DNS entry (C record???) pointing to the same IP address in the name of reports.external.co.uk
  • There is a external DNS entry (C record???) pointing to the WAP server in the name of reports.external.co.uk
  • The SSRS service is running under a domain account, and SPNs registered (HTTP/srv01, HTTP/srv01.internal.local, HTTP/reports.external.co.uk)
  • SSRS authentication is set to <RSWindowsNegotiate />
  • WAP and ADFS are configured for both /Reports and /ReportServer. Using the SSRS through WAP / ADFS works OK so the configuration for Kerberos seems to be OK.
  • Have a wildcard SSL certificate for *.external.co.uk
  • reports.external.co.uk is not automatically trusted, rather a GPO has been used to set https://*.external.co.uk in the Trusted Zone for Users.
  • The URLRoot is set to be https://reports.external.co.uk/Reportserver
  • All testing for the issue is being done from the internal network, but NOT from the server itself.

How should I configure the Web Service URL and Web Portal URL to get this thing to work.
I have tried various combinations of setting but always getting an error when I set the URLRoot in the config file.

Thanks in advance.


"Something Went Wrong" - Trying to add a new Data Source (SQL Server 2016)

$
0
0

Hello all,

We have just deployed SQL Server 2016 Reporting Services, including the cumulative update to one of our UAT servers. Upon accessing the SSRS Web Portal and clickingNew > Data Source, we get the error "Something has gone wrong. Please try again later".

Is anyone able to assist me with getting to the bottom of this issue? Error log is below for reference.

Thank you in advance!

Tom.

Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!12!08/04/2016-16:25:38:: e ERROR: [ifiru6gy]: OData exception occurred: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.resources" was correctly embedded or linked into assembly "Microsoft.ReportingServices.Portal.Services" at compile time, or that all the satellite assemblies required are loadable and fully signed.
   at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.Keys.GetString(String key)
   at Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.get_MissingEndpoint()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.MissingEndpointException..ctor(Exception inner)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListExtensions(String extensionType)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.<>c__DisplayClass41.<ListExtensions>b__40()
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithWindowsAuth[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithCorrespondingAuthMechanism[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.ListExtensions(IPrincipal userPrincipal, String extensionType)
   at Microsoft.ReportingServices.Portal.Repositories.SystemService.ListExtensions(IPrincipal userPrincipal, ExtensionType extensionType)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.ReportServerInfoController.ListExtensions(ExtensionType extensionType)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.ReportServerInfoController.DataExtensions()
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext().
Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!12!08/04/2016-16:25:38:: i INFO: [ifiru6gy]: 10.0.10.141: GET /api/v1.0/reportserverinfo/model.DataExtensions - Response 500 - 0:00:05.2307216

Parse parameter from a report to another RDL - SSRS

$
0
0

Hello,

I'm facing a problem trying to resolve an rdl report.

My case is: i have 1 report with another report inside it. Both reports are using different sql procedures, so no relationship between those sql procedures.

My Question is: How i take/parse/get  parameter called document from report 1 in order to be available also in report 2.

It's a document number which is available on report 1 and i want that field to be available also in report 2.

Thank you!

Catalin

SSRS 2019 Custom authentication

$
0
0

Hi team,

I would like to know whether the custom authentication is supported in SSRS 2019.

Thanks & Regards,

Anitha John

Reporting Server Transactional Logfile size is getting larger

$
0
0

Hi,

I am using SQL Server 2017 on a separate machine server 2016. SQL server is integrated with SCCM ver. 2002. I am observing that Report Server Transactional Log file size is getting bigger than its database size. Please recommend what needs to be check at database end.

Please note i am new to SQL server so kindly guide with steps which option needs to be check to auto truncate or cleanup etc.

Regards,


Regards, Sarfraz Aslam


/DataSets({Id})/Model.GetData SSRS Webapi 2.0 endpoint not returning the data..

$
0
0

Hi,

I have been trying to consume the ssrs 2.0 web api endpoint -/DataSets({Id})/Model.GetData but it is throwing error - 

The data set could not be processed.

 for reason that I am not able to understand. I can clearly see the dataset in the reportserver db, catalog table with its image content. I am also able to convert the content into xml and look the structure which is totally correct. So no changes of corrupt data..

My Dataset runs a query which takes three parameters- The schema of the shared dataset is-

"Parameters": [
        {
            "Name": "@StartDate",
            "DefaultValue": null,
            "Nullable": false,
            "DataType": "String",
            "IsExpression": false,
            "IsMultiValued": false
        },
        {
            "Name": "@EndDate",
            "DefaultValue": null,
            "Nullable": false,
            "DataType": "String",
            "IsExpression": false,
            "IsMultiValued": false
        },
        {
            "Name": "@City",
            "DefaultValue": null,
            "Nullable": false,
            "DataType": "String",
            "IsExpression": false,
            "IsMultiValued": false
        }
    ]

Still after passing all the required parameters, I am getting error

{
  "error": {
    "code": "220",
    "message": "The data set could not be processed."
  }

}

Can somebody, please help me come out of this error?


error in report when I access Text Box Properties

$
0
0

Hello,

I have one report in Microsoft Report Biulder and I defined a text box in the footer. When I want to change this text box, I left-click on them and click on Text Box Properties. But in this moment, appear the error "Index was outside the bounds of the array". I have installed Visual Studio Community 2019, Microsoft Reporting Services Projects, Microsoft .NET Framework 4.7.2 SDK, Microsoft Report Builder version 15.0.1473.0. Please help me. Thank you.

Embedding Mobile Report Dashboard to a web application.

$
0
0
Hello Everyone, 



I have created a dashboard using SSRS Mobile Reports. Now I want to embed it in my web application. I have used Iframe to do that. It initially worked well. However , I don't know what I have done , but it now indicates ''The report may be misconfigured, the data may not be available, or the server version may be unsupported.'' Whenever I run the application. Can anyone help me out?



Also , when I worked ,the loading was a bit slow. Is there anyway to optimize it and fasten it up a bit?



Thanks.



X-Axis intervals are seems inappropriate

$
0
0

Hi All,

I have a bar chart and in that we are trying to have x-axis intervals closed to the values from the data.

This is with the default horizontal axis range and interval setting.

Please note the Leavers are -1424 but still on the axis range it is -50000 which is not looks good.

In fact, what we trying is if the Leavers is -1424 then starts the range with -2000 as this is close number.

So the range would look like -2000   0    50,000     100,000    150,000 and so on until the maximum date value.

The above range starting with -50,000 looks perfect when we have 40,000 to 49,999 leavers at place.

Likewise in the lower timeframe when the counts would probably under 200. When the Closed clubs count is -3 then the range should look -5    0     50    100    150    200

I have ran into setting up the expressions but in case it work for one it goes odd for other. 

I ended up with no finding above this so if somebody has tweak doing this will be really appreciating helping me here.

Thanks in advance!


Dilip Patil..

Invalid PBI Configuration

$
0
0

Hi,

I just install SSRS for learnign purposes (default settings) on SQL Server 2019. When selecting Web Service URL in Report Server Configuration Manager I get the following error in the log:

library!DefaultDomain!2eb8!07/20/2020-13:32:40:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: Invalid PBI Configuration, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;

Can you  help?

Krystof


Krystof Malak

Viewing all 28687 articles
Browse latest View live


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