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

Unable to deploy SSRS Report with DBO account

$
0
0

Hi,

I am getting an error on deployment saying 'The permissions granted to user '(machinename)\(username)' are insufficient for perform this operation. I have SQL Server installed locally on my machine. After reading through a bunch of articles online, I have checked for the following:

1. Went to http://(machinename)/Reports and under site settings, set up my account as System Admn and System User

2. In SSMS,  under Security, made sure my Login is set up as "sysadmin" Server Role.

3. In SSMS, under the relevant database Security, saw that my account is set up under User "dbo", with "db_owner" as the owned schema as well the database role membership

4. In SSMS, under ReportServer Security, saw the same as no.3

5. In SSMS, under ReportServerTempDB Security, saw the same as no.3

However, I am still getting the same error. 

I should mention that I am new at this so I may be missing something obvious.







how to pass a parameter to ssrs 2016 mobile reports

$
0
0

Hi,

Can anyone point to the documentation (or other resources) for passing a parameter to SQL Server 2016 mobile reports in a url?

I have found no examples of syntax, unless it can be assumed that it is exactly the same as paginated report.

Thanks

SSRS 2014 matrix control is removing duplicates and in textbox property "Hideduplicates property " none is not getting set

$
0
0

SSRS 2014 matrix control is removing duplicates and in textbox properties- "Hideduplicates property " none is not getting set 

Say there are 2 records like shown below only one gets shown.

1 abc 

1 abc

Is this a bug?

There is none in the scroll down box but when I select it to set it ,it doesnt work.It shows blank like shown below



Cannot connect to SSRS server using Mobile Report Publisher

$
0
0

I have a functioning SSRS 2016 (SQL Server 2016 RTM-CU1 - 13.0.2149.0 X64) server running for a POC. To date, I've successfully published/leveraged KPIs, data sources, data sets, paginated reports, and Power BI reports. I am now trying to evaluate SQL Server Mobil Report Publisher (1.0.3911), but cannot get it to connect to the server. I've tried everything I can find online, but still get errors as follows:

Scenario 1

  • server address= <servername>/ReportServer
  • Use secure connection= True
  • Use current Windows account= True
  • Error received= "Could not connect to server. Please check the connection parameters and try again."

Scenario 2

  • server address= <servername>/ReportServer
  • Use secure connection= False
  • Use current Windows account= True
  • Error received= "Please check the server name and folder name and try again."

I've also tried the following:

  1. include port number in server address
  2. use different credentials
  3. added basic authentication to the SSRS config file and bounced the SSRS server

Any assistance is much appreciated.

Reporting services in three tier SharePoint 2013 environment

$
0
0

Hi,

I am trying to integrate SQL Server 2012SP1 Reporting Services in a three tier SharePoint 2013 environment, but it seems it is not succesful.

The setup is as following:

SRV1: SQL Server with content, config,... and the Reporting Service databases.

SRV2: SharePoint 2013 Application server & Central Administration

SRV3: SharePoint Web Front with SharePoint sites

All application pools are started with domain accounts on SRV2 & 3

When opening the Central Administration site, the Reporting Services Service Application and its Proxy is created and configured. On SRV2 the Application exists in the application pool in IIS, but it does not appear in the SRV3. Should it be created manualluy?

In Central Administration, when opening the site settings the Reporting Services section is created, but when opening the Site Settings for the root site the section shows variables:

$Resources:ReportServerResources,ReportServerSiteSettingsGroupTitle;
$Resources:ReportServerResources,ScheduleList;
$Resources:ReportServerResources,SiteLevelSettings;
$Resources:ReportServerResources,ManageSiteDataAlerts;

I believe i need some help here.

Thanks in advance.

Best regards,

J

Can not open page for Report Manager URL (http://localhost:8080/Reports) for SQL Server 2008

$
0
0

Hello,

Am a C# custom app developer and totally new to SSRS.

I can access and open SQL Server Report Server page (http://localhost:8080/ReportServer) but can not access Report Manager URL (http://localhost:8080/Reports) for SQL Server 2008. When I tried to open Report Manager URL, its showing IE Title as 'http://localhost:8080/Reports/Pages/Folder.aspx' but can not open the said page.

SQL Server 2008 is installed in my development system and am using Windows Credential in all purposes.

I have already gone through some posts but couldnot find a suitable solution.

Error:

Internet Explorer cannot display the webpage

 
 

Most likely causes:

  • You are not connected to the Internet.
  • The website is encountering problems.
  • There might be a typing error in the address.

 

Please guide me URGENTLY.


Best Regards, Arka Mitra.

Embedding SSRS report in ASP.NET MVC Web Application

$
0
0

We currently have a ASP.NET MVC website that customer's can log into hosted on an IIS server within our domain.  The customers log into the website with a password that is encrytpted and stored in with a SQL Server database. We also have a SQL 2016 Report Server running on the same domain. 

We would like to make reports from the SSRS server available to customers by embedding them within the pages of the ASP.NET MVC website.  We have looked at using URL Access for SSRS, but it appears that we might need to expose the Report Server in order to complete the request. 

We have looked around for examples, but they are few and far between. 

Initially we will be adding .rdl type reports, but eventually we would like to include Mobile Reports as well.

Can anyone point us in the right direction?



We were looking at using URL access, however it appears that we would have to make our report server accessible from outside of the domain to make this work.   

Getting 2 extra row in SSRS csv file while opening in txt file

$
0
0

Hi All,

we are exporting SSRS output to CSV file and while opening CSV file to notepad we are getting 2 extra blank row at the end.

I searched this issue on internet and got below answer. please confirm if we can try this or not.

https://connect.microsoft.com/SQLServer/feedback/details/575041/bug-557655-ssrs2008-extra-blank-line-in-csv-files-created-by-csv-renderer-on-export-of-report

http://stackoverflow.com/questions/4095627/blank-lines-at-end-of-ssrs-csv-export

any other suggestion/Idea would be great help for me.

Thanks & Regards,

Akhilesh




Close but not there using a drilldown and a parameter

$
0
0

So I have a chart which I am hoping to drilldown into to provide the details. Both report SQL's are identical barring the (@PARAMETERS) in the where clause of the detail report.

Category Groups are FinYear, FinQuarter, WeekofYear

The SSL is as follows:

use HealthBI

;with cte as (
SELECT
p.PASID AS [HEYNo],
pr.REFERRALCREATEDDTTM AS [CreatedDate], -- Date & Time when the referral was created
d.DateValue,
d.StartOfWeek,
d.StartOfWeek_dt,
d.WeekOfYear,
d.FinQuarter,
d.FinYear,
ISNULL(u.FORENAME,'') + ' ' + ISNULL(u.SURNAME,'') [CreatedBy],
r.DESCRIPTION as [Staff Role],
Case when r.DESCRIPTION IN ('Clerical Access Role','Clerical Worker','Health Care Support Worker',
							'Health Records Manager Access Role','Healthcare Student Access Role',
							'Medical Secretary','Medical Secretary Access Role','Officer','Secretary',
							'Support Time Recovery Worker') then 'Y' Else 'N' END AS [Clerical Entry],
tPRRTTCODE.TERMTEXT AS ReferToType,
pr.REFERRALREASON AS ReferralReason,
tPRESRCODE.TERMTEXT AS ReferralSource,
tPRFSTCODE.TERMTEXT AS ReferralStatus,
rsd.NAME ServiceDefinitionName

FROM LZO_PATIENTREFERRAL as pr
  LEFT JOIN LZO_PATIENTREFERRALPROVIDER as prp ON pr.OID = prp.PATIENTREFERRALOID
		AND prp.IDENTIFYINGTYPE = 'CC_RFREFSER'
		AND prp.[STATUS] = 'A'
  LEFT JOIN LZO_REFERRALSERVICEDEFINITION as rsd ON prp.IDENTIFYINGOID = rsd.OID
		AND rsd.[STATUS] = 'A'
  LEFT JOIN LZO_REFERRALSERVICEPROVIDER as rsp ON rsd.OID = rsp.REFERRALSERVICEDEFINITIONOID
		AND rsd.[STATUS] = 'A'
  LEFT JOIN LZO_PATIENT as p ON pr.PATIENTOID = p.OID
  LEFT JOIN LZO_USERS as u ON pr.CREATEDBY = u.OID

  LEFT JOIN LZO_CONCEPTCODE as ccOCCUPCODE ON u.OCCUPCODE = ccOCCUPCODE.CONCEPTCODE
  LEFT JOIN LZO_TERM as tOCCUPCODE ON ccOCCUPCODE.OID = tOCCUPCODE.CONCEPTCODEOID
            AND tOCCUPCODE.TRMTPCODE = 'Display_Text'
            AND tOCCUPCODE.STATUS = 'A'
  LEFT JOIN LZO_USERROLEPROFILE AS URP ON URP.USERSOID = u.OID
						AND URP.STATUS = 'A'

  LEFT JOIN LZO_ROLEPROFILE AS RP ON URP.ROLEPROFILEOID = RP.OID
						AND RP.STATUS = 'A'
						and (RP.PROFILEDESCRIPTION Like '%HULL AND EAST YORKSHIRE HOSPITALS NHS TRUST'
								or RP.PROFILEDESCRIPTION Like '5%')

  INNER JOIN LZO_ROLEPROFILEENTERPRISEOBJECT as eo on eo.ROLEPROFILEOID = RP.OID
						and eo.IDENTIFYINGTYPE = 'ROLE'
						and eo.STATUS ='A'
  LEFT JOIN LZO_ROLE as r on eo.IDENTIFYINGOID = r.OID

  LEFT JOIN LZO_CONCEPTCODE as ccPRESRCODE ON pr.PRESRCODE = ccPRESRCODE.CONCEPTCODE
  LEFT JOIN LZO_TERM as tPRESRCODE ON ccPRESRCODE.OID = tPRESRCODE.CONCEPTCODEOID
            AND tPRESRCODE.TRMTPCODE = 'Display_Text'
            AND tPRESRCODE.STATUS = 'A'

  LEFT JOIN LZO_CONCEPTCODE as PREADCODE ON pr.PREADCODE = PREADCODE.CONCEPTCODE
  LEFT JOIN LZO_TERM as tPREADCODE ON PREADCODE.OID = tPREADCODE.CONCEPTCODEOID
            AND tPREADCODE.TRMTPCODE = 'Display_Text'
            AND tPREADCODE.STATUS = 'A'

  LEFT JOIN LZO_CONCEPTCODE as ccPRFSTCODE ON pr.PRFSTCODE = ccPRFSTCODE.CONCEPTCODE
  LEFT JOIN LZO_TERM as tPRFSTCODE ON ccPRFSTCODE.OID = tPRFSTCODE.CONCEPTCODEOID
            AND tPRFSTCODE.TRMTPCODE = 'Display_Text'
            AND tPRFSTCODE.STATUS = 'A'

  LEFT JOIN LZO_CONCEPTCODE as ccPRRTTCODE ON pr.PRRTTCODE = ccPRRTTCODE.CONCEPTCODE
  LEFT JOIN LZO_TERM as tPRRTTCODE ON ccPRRTTCODE.OID = tPRRTTCODE.CONCEPTCODEOID
            AND tPRRTTCODE.TRMTPCODE = 'Display_Text'
            AND tPRRTTCODE.STATUS = 'A'



LEFT JOIN HealthBI_Views.dbo.DATE_REFERENCE AS d on cast  (pr.REFERRALCREATEDDTTM as DATE) = d.DateValue


WHERE pr.REFERRALREASON is not null and
 pr.CREATEDAT > '9 July 2016'
AND pr.STATUS <> 'D'
and
(Case when r.DESCRIPTION IN ('Clerical Access Role','Clerical Worker','Health Care Support Worker',
							'Health Records Manager Access Role','Healthcare Student Access Role',
							'Medical Secretary','Medical Secretary Access Role','Officer','Secretary',
							'Support Time Recovery Worker') then 1 end) = 1

or

pr.REFERRALREASON is not null and
pr.CREATEDAT > '9 July 2016'
AND pr.STATUS <> 'D'
AND tPRRTTCODE.TERMTEXT <> 'Referral service'
)

Select * From cte


order by cte.CreatedDate desc

The series Properties for the line graphs and the numbers I need to drill down on are:

=Sum(IIF(Fields!Clerical_Entry.Value="Y",1,0))

=Sum(IIF(Fields!Clerical_Entry.Value="N",1,0))

What I can't seen to manage is drill down based on those numbers. I know I'm close but just missing simonething, any suggestions more than welcome.

How to give WORKGROUP users access to SSRS reports on http://[mycomputer]/Reports

$
0
0

Hi,

Let me start by apologizing for asking what I think may be a very basic question. I have spent the past couple of days trying to figure this out and failed due to what I can only assume is my utter lack of knowledge on the connectivity between SQL and Windows.

Here is the scenario: Me and a couple of guys share a workspace.  We don't have a domain but we have an workgroup network where I can see their machines on my computer. I have never actually connected to their machines using their Windows credentials and none of us are IT professionals (though I pretend to be one). I have created a SSRS report and would like to give Browsing rights in Report Manger to one of my coworkers. After doing some research and asking around, it appears the first thing I needed to do was set up a SQL Server Login for him since we do not have a domain. So I took the following steps:

1. Created a SQL Server Login (let's say user 'ABC')

2.  Gave ABC 'db-datareader' rights in the database that has the tables which I used to create the SSRS reports.

3. Repeated step 2 for ReportServer and ReportServerTempDB databases.

The next thing I tried is to go to http://[mycomputer]/Reports and give user ABC item level Browsing rights but when I typed in 'ABC' in the 'Group or user name' box, I got an error message saying "The user or group  name 'ABC' is not recognized". What step did I miss?

The other issue I have is when user ABC types http://[mycomputer]/Reports on his web browser, he gets a "Site Not Found" error. So now I'm thinking even if I am able to give him access to the reports, he wouldn't even be able to access the URL that has the reports.

Any help for this wide-eyed newbie would be much appreciated.

See all report permissions at once?

$
0
0

I have a lot of reports in my SQL 2005 server. Is there a way to see all the reports in the server along with its security at once? There must be some table in the msdb database that has that information. I couldnt find it.

Thanks in Advance!

Can you query the "Query" of data driven subscriptions

$
0
0
 

Hi, In SharePoint created a data driven subscription.  I am wondering if there is a way to query the query of my data driven subscription I just created from sql server database (ssrs database)?

thank you.

SSRS 2012 Report Manager (IE Browser) Currency Symbol mismatch

$
0
0

I have a set of SSRS reports from an older laptop (Windows 7 Operating System),  developed in SSRS 2012.

They worked perfectly fine, in both the Report Designer (SSDT) and the Report Manager (IE Browser)

I am moving all these reports to my new laptop, which uses SSRS 2012, in Windows 10 Operating System.

In my new laptop, these reports show the correct currency symbol (US Dollar ($)) in the Report Designer (SSDT).

However, when deployed, these reports in the Report Manager (IE Browser) show anincorrect currency symbol (Great Britain Pound (£)).

In the Control Panel, I have set everything to US, right from the language, time, currency, etc.  I still cannot get US $ displayed in the IE Browser  (Report Manager) .

Is there anything else I could/should do to get the right currency symbol displayed ?

Please let me know.




Page breaks on Chart

$
0
0

Hello All ,

For Below report ..is it possible to see each project on its own page ?

Can I have a page break on Project i.e. Series grouping.

Regards,

Pragati



SSRS 2016 Report Viewer Control Compatibility

$
0
0

Hi,

We are upgrading our SSRS server from 2012 to 2016.  Our application is still using the 2012 viewer control.  When we view a report and click on the printer icon we get the error: "Printing is not available. Verify that ActiveX is enabled, or try using IE for the desktop".  We don't get that error when running the viewer control with SSRS 2012.   Is there a Compatibility issue with SSRS 2016 and Viewer control 2012?   Should I use the 2016 viewer control instead?

Thanks,

Pilar S


SSRS 2014 warning message -setting interactive hieght to 0 may have a performance impact.

$
0
0

I am trying to understand the behaviour of interactive size property in SSRS 2014 report built in vs 2013 .

When i set this to 0 its throwing a error -setting interactive hieght to 0 may have a performance impact.

Hence looking forward to know what is the actual use of this property when we have a report of letter size defined.




How to Ajust proper size between two charts in SSRS

$
0
0

Hi,

I have created some charts in SSRS. And i have mentioned the 1pts size between two charts. In preview its working fine. but when i deployed that rdl. It seems so much gaps between two charts. Please give me your suggestion to resolve this issue.

For Ex:


Regards

Guru

How to sort in matrix tables in power view

$
0
0
Hello. In power view, I created a table with customer type, year, and values. I can sort this by value. However, when I create a matrix with year on columns it will only let me sort by alphabetical type and not numeric values in date. Why not? Thanks. 

Another question is why I can't do sorting WITHIN column fields. For example, sort by year AND then something else. 

is it possible to open a report from c# program in edit/run mode with SQL Server 2016

$
0
0

we used URL(http://localhost/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application?) to open report  in edit mode in builder 3.0 till SQL server 2014.

This URL by default created and hosted by SQL server during installation but in SQL Server 2016 stop this feature instead of this feature they provide us pagination functionality.it's help us to open reports in edit mode through SQL Server in report build. 

So I want to know is there any way or configuration,through which we will get this URL or is there any way to open report in edit mode through c# code dynamically.

Waiting for you valuable input,

Thanks

Kapil Khare 

Changing Y-axis to display seconds appropriately

$
0
0
Hey all,

Pretty new to the game here. Having some trouble getting some formatting to look a certain way in SSRS. I'm doing a scatter chart. My Y-axis data is coming in as a floating point number from the database table that needs to be converted into seconds.

Usually this looks something like 0.000335648146574385.

So I'm pulling this number into SSRS and doing a quick calculation on it to get seconds (0.000335648146574385 * 1440 * 60). Just having my Y-axis show up as a number works fine. Minimum of 0 up to 120 for 2 minutes. Data charts nicely. But the data won't chart as a date type.

What I want is for the data to show up in mm:ss format. So a value of 120 would show up as 02:00. 100 would show up as 01:40. Etc. Then I could have the Y-axis display 00:00 as the minimum and 02:00 as the maximum. This would probably be easier if the data was coming in as a datetime to begin with, but it isn't and I can't change that.

I've been tinkering with different conversions, but I'm not having much luck.

Any help or bump in the right direction would be greatly appreciated.
Viewing all 10045 articles
Browse latest View live


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