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

Filtering by "=" in Matrix not working for date filter using an MDX Data source

$
0
0

I have a reporting I am building that uses an MDX cube as its data source, and I am having an issue where I want to filter one aTablix = date parameter. The data source itself has an inclusive date range parameter, however part of the report needs to show only the data from the "To" date.  Because there is a requirement for the Start Date/End Date parameters to be a calendar control, in the data source parameter itself I am using this expression for FromDaterKey:

="[Date].[DateKey].&[" & Format(CDate(Parameters!StartDate.Value),"yyyy-MM-dd") + "T00:00:00]"

This works find for the parameters and the whole of the dataset is shown correctly by the parameters.  However when I try to apply it as a filter to the tablix, not results are returned.

When I Use >= in my filter, The data is shown, inclusive of the date key I would expect from just using a "=" filter.  To ensure the formula is matching the MDX needed for the date key, in my tablix I had one column as DateKey.Unique Name, and another column as the parsed Start Date, and I see no difference in the results:


Any Ideas?  I am using SQL Server 2014, And the Date Key field in question is DateTime in the cube. 



SSRS2012 : User '' does not have required permissions

$
0
0

I finished implementing the Microsoft SSRS2012 security/authorization extension sample as documented here.

The Login seems to work but then right after login, I get authorization error on http://devsql3/Reports/Pages/Folder.aspx

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

class Folder Page

.

.

private void Page_Init(object sender, EventArgs e)

{

.

.

  if (!base.RSUser.HasPermission("Read Properties")) 
  {
                if (flag)
                {
                    throw new InsufficientPermissionsToRoot(this.Page.User.Identity.Name);
                }
                throw new AccessDeniedException(this.Page.User.Identity.Name);
   }

 

"

I can look at Identity.Name but it is empty in code as well as the error message.  It's like there is a problem with the FormsAuth.  How do you troubleshoot this issue?

thanks

Deploying Reporting Services fails

$
0
0

Dear all, primary platform is Sql Server 2014 SP1 running in my local box, Windows 10 Pro OS. Edge navigator 11.0.10586

I am not able to deploy my reports from my IDE (Visual Studio 2013 Shell)

I get this message:

The specified report server URLhttp://myhostname/myreportserver could not be

Found. Verify the syntax of the URL and that the report server exists

I already configured my Report Server by using no Edge navigator (issues when you try to do one “Run As” with Admin rights so I’ve managed permissions with Chrome navigator instead)

I've created folder in my Report Server and upload .RDL

What am I missing here?

Thanks for your thoughts and inputs related to,

Enric

Resizing issue with Indicator

$
0
0

Hi,

I am using an Indicator in a table report. As can be seen in the below image "Height of the indicator is changing with the size of row".

My requirement is irrespective of the height of the row, indicator needs to be of fixed size.

Report Manager URLs with AG Listener

$
0
0

Hi,

Is it possible to configure SSRS to use an availability group listener name for web service / report manager URLs?

I appreciate that the AG Listener is intended for the SQL connection only, but was curious as to whether it is possible to use it to also front the SSRS URL?

I have an availability group hosting my ReportServer database which is available to 2 servers (replicas), I have SSRS installed on both servers.

I have configured SSRS to use the AG listener to connect to the report server database and was wondering whether it was possible (supported or otherwise) to use the AG listener name in the report server URLs?

I have tried configuring both SSRS servers to use the AG listener address and it works until the point of an AG failover.

Alternatively are there any other suggestions for providing high availability to the SSRS using a common URL?

Thanks

Scalablelist: Index 0 outside the allow range [0::-1]

$
0
0

I've read though other threads regarding this error, but mine seems to be a little funky. I have a pretty complex report with many parameter. In Visual Studios, when I try to preview the reports under any parameter, it has no issues generating it and I can preview the report fine. However, when I try to export to PDF under certain parameter options selected, I receive the following error: 

 

"An error occurred during local report processing."

"An error occurred during rendering of the report."

"An error occurred during rendering of the report."

"(processing): Scalablelist: Index 0 outside the allow range [0::-1]  "

 

This only happens under certain parameters for some reason. Under other parameters, it will export to PDF just fine.  What is going on here?

Edit: When I try running the report in SSRS, this is the stack trace message:

[ReportServerException: An internal error occurred on the report server. See the error log for more details. (rsInternalError)]
   Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +1018
   Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +1121
   Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +425
   Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension)+209
   Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +219
   Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +222
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +586
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177



SPLIT and REJOIN Data in Sharepoint List

$
0
0

I have list that has a column that contains names in SharePoint.  I want to be able to SPLIT out the names and then rejoin them back to their parent fields.  Normally for SQL I'd think of doing this with a JOIN.  I'm not really sure how to do this with SharePoint.

Example Users:

LastName, Vamshi K.;#923;#LastName, Paul C.;#924;#LastName, ^Richard R.;#20;#LastName, ^Vincent M Sr.;#925;#LastName, Reagan N.;#926;#LastName, John F.;#108;#LastName, John

I'm thinking I need to remove all the numbers and # signs then split the semicolon.  Then somehow maybe an IIF or something.

The ultimate goal is group by the users name and display all the related columns the name is in.


David Jenkins

Report Builder 3.0 crashes on launch with problem event: CLR20r3

$
0
0

Description:
  Stopped working

Problem signature:
  Problem Event Name:CLR20r3
  Problem Signature 01:msreportbuilder.exe
  Problem Signature 02:10.50.1600.1
  Problem Signature 03:4bb67a84
  Problem Signature 04:mscorlib
  Problem Signature 05:2.0.0.0
  Problem Signature 06:4e1511f4
  Problem Signature 07:41bf
  Problem Signature 08:a3
  Problem Signature 09:System.UriFormatException
  OS Version:6.1.7600.2.0.0.256.48
  Locale ID:1033

How to Display multi select values in single parameter

$
0
0

Hi Experts,

I have one column

quantityid

0

0

1 to 100

Now I want display these values in parameter like

0 IS A

>0 IS B

0 AND >0 BOTH

and how to Asian these values to particular filed

Thanks in Advance

Report Builder Download

$
0
0

Where is the report builder download? Every link I have tried takes me to Microsoft's "We are sorry, the page you requested cannot be found."

For example this one:

http://go.microsoft.com/fwlink/?LinkID=219138

keep date cell format in excel after export from SSRS 2005

$
0
0

report has date column - formated as date on SSRS

when users export report to excel this column has General format type, any ways to keep it as date on excel after exporting automaticly ?

An impersonation error occurred using the security context of the current user. The referenced account is currently locked out and may not be logged on to.

$
0
0

We're using SharePoint integrated Reporting Services.

We have a daily event that triggers eight SSRS subscriptions that write files to various shared folders after our ETL completes.

Randomly, every 5-10 days these subscriptions fail with the message:

"An impersonation error occurred using the security context of the current user. ---> System.Runtime.InteropServices.COMException: The referenced account is currently locked out and may not be logged on to."

This message is misleading as the account is not locked out. The resolution is just to re-trigger the event. The reports run fine and are saved successfully. If it happens to occur on a weekend, nothing is done and the reports just run fine the next day. Nothing is done to change the account.

The eight reports are either all successful or they all fail, there is never a combination of some success and some fails.

Any ideas what would make an account seem locked out when it's not? Is there some way to find out more information on what's going on? 

Here are the relevant logs for one of the reports:

--These are the log entries when the report fails

w3wp!schedule!126!05/05/2016-05:39:29:: i INFO: Handling Event TimedSubscription with data 51740b52-5115-4452-ac2a-bb593a2959c7.
w3wp!schedule!126!05/05/2016-05:39:29:: i INFO: Creating Time based subscription notification for subscription: 51740b52-5115-4452-ac2a-bb593a2959c7
w3wp!schedule!67!05/05/2016-05:39:29:: i INFO: Handling Event DataDrivenSubscription with data 51740B52-5115-4452-AC2A-BB593A2959C7.
w3wp!library!21!05/05/2016-05:39:29:: i INFO: Handling data-driven subscription 51740b52-5115-4452-ac2a-bb593a2959c7 to report https://go.mydomain.com/sites/bi/Reports/My report Name.rdl, owner: mydomain\ownername, delivery extension: Report Server FileShare.
w3wp!library!98!05/05/2016-05:39:29:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
w3wp!notification!98!05/05/2016-05:39:46:: i INFO: Handling subscription 51740b52-5115-4452-ac2a-bb593a2959c7 to report My report Name.rdl, owner: mydomain\ownername, delivery extension: Report Server FileShare.
w3wp!library!98!05/05/2016-05:39:46:: i INFO: RenderForNewSession('https://go.mydomain.com/sites/bi/Reports/My report Name.rdl')
w3wp!library!98!05/05/2016-05:39:53:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
w3wp!library!98!05/05/2016-05:39:53:: e ERROR: Throwing Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider+NetworkErrorException: An impersonation error occurred using the security context of the current user., Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider+NetworkErrorException: An impersonation error occurred using the security context of the current user. ---> System.Runtime.InteropServices.COMException: The referenced account is currently locked out and may not be logged on to. (Exception from HRESULT: 0x80070775)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.GetImpersonationToken(String userName, String domain, String userPwd)
   --- End of inner exception stack trace ---;
w3wp!subscription!98!05/05/2016-05:39:53:: e ERROR: Failure writing file \\server\path$\path\path2\My report Name Export.xlsx : Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider+NetworkErrorException: An impersonation error occurred using the security context of the current user. ---> System.Runtime.InteropServices.COMException: The referenced account is currently locked out and may not be logged on to. (Exception from HRESULT: 0x80070775)
w3wp!subscription!98!05/05/2016-05:39:53:: i INFO: Error writing file My report Name Export.xlsx to path \\server\path$\path\path2
w3wp!notification!98!05/05/2016-05:39:53:: e ERROR: Error occurred processing subscription 51740b52-5115-4452-ac2a-bb593a2959c7: Failure writing file \\server\path$\path\path2\My report Name Export.xlsx : An impersonation error occurred using the security context of the current user.


--And Later on when the event is triggered again and the report is successful...

w3wp!schedule!4a!05/05/2016-08:33:04:: i INFO: Handling Event TimedSubscription with data 51740b52-5115-4452-ac2a-bb593a2959c7.
w3wp!schedule!4a!05/05/2016-08:33:04:: i INFO: Creating Time based subscription notification for subscription: 51740b52-5115-4452-ac2a-bb593a2959c7
w3wp!schedule!126!05/05/2016-08:33:04:: i INFO: Handling Event DataDrivenSubscription with data 51740B52-5115-4452-AC2A-BB593A2959C7.
w3wp!library!4d!05/05/2016-08:33:04:: i INFO: Handling data-driven subscription 51740b52-5115-4452-ac2a-bb593a2959c7 to report https://go.mydomain.com/sites/bi/Reports/My report Name.rdl, owner: mydomain\ownername, delivery extension: Report Server FileShare.
w3wp!notification!ca!05/05/2016-08:33:25:: i INFO: Handling subscription 51740b52-5115-4452-ac2a-bb593a2959c7 to report My report Name.rdl, owner: mydomain\ownername, delivery extension: Report Server FileShare.
w3wp!library!ca!05/05/2016-08:33:25:: i INFO: RenderForNewSession('https://go.mydomain.com/sites/bi/Reports/My report Name.rdl')
w3wp!library!ca!05/05/2016-08:33:27:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
w3wp!notification!ca!05/05/2016-08:33:27:: i INFO: Notification 3361bf99-a2ce-4013-94eb-f33a4739fee4 completed.  Success: True, Status: The file "My report Name Export.xlsx" has been saved to the "\\server\path$\path\path2" file share., DeliveryExtension: Report Server FileShare, Report: My report Name.rdl, Attempt 0


SSRS Sharepoint List

$
0
0

Hi,

I am referring a SharePoint list in my SSRS through SharePoint data source . I am able to receive all rows which is great.

My sharepoint list sample data

Col A  COLB  Date

1        Apple    09-06-2014

2        Orange    09-06-2015

3        Banana    09-06-2016

My requirement is to show only one record with maximum date eg record 3 from above list

I can add filter in dataset but I am not sure how to use aggregate function MAX and get row with MAX date .

Another approach I am thinking is to use a different dataset and using in different tablix and lookup on oroginal dataset and try to gte max.. but no clue

Any pointers


Adding three rows in 4th Column

$
0
0

Hi ,

I am struggling to find a solution on a report where I have got 3 columns and need to sum up all the rows in 4th columns.

Col1   Col2    Col3    Col4    

1          2        3          6

4           5        5          14

Would you please advise how could I acheive it?

Thanks,

Access provisioning for user

$
0
0

Dear,

I have a query regarding access provisioning for the user in ssrs report manager.

Why do we need to give access to datasets to view the reports for the user? Becuase data set is referring to data source which has stored credential.

Br,

Shamsuddeen


SSRS Multiple Exceptions

$
0
0

I am running  SQL Server Reporting Services Version 11.0.6020.0.

I am keep on getting the below copied error. But this error doesn't stop the reports that are being generated.

library!WindowsService_2!b64!06/09/2016-03:46:24:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException

Please let me know how to avoid this exception.

Thank you

SQL Server Reporting Services- Brand Package Customization

$
0
0

Hi,

I am trying to upload a custom brand package to Report Services but keep receiving the error message "There is a problem with the system resource package. The system resource package does not contain a metadata.xml file". Even if I just unzip the sample brand package provided by you, and then zip it back up without editing any of the files, I still receive the error message when uploading it. Am I doing something wrong?

Please help.

Thanks.

Prajakta Kulkarni- Thite

Problem installing REPORT VIEWER 2012 RUNTIME missing CLR Types

$
0
0

Hello,

I have a win.forms application part of functionality of which is to show rdlc report. When I try to launch the application it says that ReportViewer assembly is missing, which was expected. When I downloaded and try to install viewer runtime from here:

http://www.microsoft.com/en-us/download/details.aspx?id=35747

I receive that Microsoft SQL Server System CLR Types are not installed and must be installed first. I downloaded appropriate installation from http://www.microsoft.com/en-us/download/details.aspx?id=29065 and it installed successfully. But when I try to run viewer runtime installation it still says that Microsoft SQL Server System CLR Types are not installed.

What do I miss?

Using Parameters with multiple values in Matrix filter

$
0
0

Hi all

Not sure if this is possible or not, but I can't get it work if it is!

I currently have the following code in as the expression for the filter with Boolean, = and true options selected.

=IIF((Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "2")OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "2A")OR(Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "3")OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "9")
OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "10")OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "11")
OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "13")
OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "14")
OR (Fields!ClientCategory1.Value = "NANTWICH" and Fields!JobType.Value = "13")OR (Fields!JobType.Value = "3NC"), true,false)

I have tried simplifying it to have one expression to cover all the NC and JobType options so instead of having this section

=IIF((Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "2")OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "2A")OR(Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "3")OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "9")
OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "10")OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "11")
OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "13")
OR (Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "14"), true,false)

I would have something like

=IIF((Fields!ClientCategory1.Value = "NC" and Fields!JobType.Value = "Parameter!ShropshireNotJobs.Value")OR (Fields!ClientCategory1.Value = "NANTWICH" and Fields!JobType.Value = "13")OR (Fields!JobType.Value = "3NC"), true,false)

Any help/advice really appreciated, it might not be possible in which case I will just have to use the above throughout the report and change it as and when the criteria needs changing.

Cheers



Cheers Chris

Report Builder for SQL Server 2016: How can I downgrade my reports for SQL Server 2014?

$
0
0

On my development machine I'm using SQL Server 2016 RC3 and the corresponding Report Builder 2016 RC3.

In the office, however, we are using SQL Server 2014.

I don't seem to be able to use my reports with SSRS 2014. It's reporting that the XML schemes don't match.

What do I need to do to get my SSRS 2016 RC3 reports up and running on SSRS 2014?


Still people out there alive using the keyboard?

Working with SQL Server/Office and their poor keyboard support they seem extinct...

Viewing all 10045 articles
Browse latest View live


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