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

Visual studio 2010 crashes when I try to print SSRS report

$
0
0

HI All,

I am trying  to print SSRS report in visual studio 2010 . The report renders correct but After I hit the print button Visual Studio crashes and restart again.



create back button on preview page

$
0
0

I have parameterized report where im trying to input ID to get the data. How do we create back button next to view report on the preview page in SSRS. Any help much appreciated.

SSRS 2012 web.config caching issue

$
0
0

I modified/saved C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\web.config to use 

FORMS authentication instead of windows authentication.  However, after restarting SSRS using Windows control panel, SSRS is still using the original unmodified web.config with Windows authentication.

For some reason SSRS is caching the old version and not seeing my new web.config.

How do you get SSRS to recognize new my web.config?

SSRS2012

Windows2012

SP3 Causing SSRS On SP To Loose Data Source Settings

$
0
0

Hi,

(Hope I've got the right forum).

We are running SQL Server 2008 R2 and using Reporting Services on SharePoint 2010 in "integrated mode". The data source file and the report files that use that data source live in an SP library, and we have all those extra functions that allow you to do, among other things, manage the data source used by each report file. Everything has been working fine up to now.

We have recently deployed the SP3 for SQL, but since then, every morning the data source has lost the credentials we use to connect to the database and is set to disabled, and all of the reports that map to this data source file have lost their data source setting.

If I edit the data source, put the correct credentials in and enable the datasource, then go back into every report and map them back to the data source file, everything works, until the following morning when the problem reappears.

To say this was frustrating would be a severe understatement.

I'm guessing that overnight we have a server reboot, IIS Reset or something going on.

The problem is that SP3 is actually solving a number of unrelated problems for a different team, so rolling back is not really an option.

So I'm hoping someone out there has seen this before and knows a work around.

Thanks,

Swanny.



pass multi value parameter to sub report in Drill through report, ssrs

$
0
0
I have two reports 1 is subreport and other is main report. Date Field are placed in both reports. i have groups in main report, one group is task. In the task fields one persons is working in 3 project, two project are same company and 1 is for other and it give me count for each project. I want when i click on link it send multivalue parameter to subreport and it just show matching records.

Asif Mehmood

possiblity to expand / narrow / reset all drillstroughable parts of the report with one button

$
0
0

Hi,

has anyone done that bevore? Is this possible ..

I have parts of a big Report, that are expanded (where i can see all detaildata) and parts where the detaildata is there, but arent showed by Standard (are narrowed).

I wish i could have a button, where i can expand / narrow all expandable/narrowable parts of the reports from 1 button.

Why?

1) To print the Report i could press "Expand all" and then print, so i get all the detials of the Report.

2) for a better first look i could Show all expandable reportparts narrowed. Then click expand all to see all Details.

and maybe to reset all expandable parts to the Default (Settings when loaded) there could be a reset button to.

Any Chance?

THX, greets pib

SSRS - Optional Report Parameter -ISSUES with query

$
0
0

I have a SSRS reports with the following parameters configured as: 

-@prmID  ---  I configured this parameter to "Allow blank value" because the user does not necessarily needs to enter a value
-@prmReviewer -- Allows multiple values
-@prmState  -- Allows multiple values
-@prmJobT -- Allows multiple values

My query looks like:

;WITH cteTemp(
   SELECT  Last
          ,First
          ,email
          ,ID
          ,Reviewer
          ,State
          ,JobTitle
   FROM (JOINS)
   Where State IN (@prmState)
   AND Reviewer IN (@prmReviewer)
   AND Jobtitle IN (@prmJobT)
   AND ID = @prmID
               )

SELECT DISTINCT Last, First, email
FROM cteTEmp


**The query above works perfectly fine when the user enters a value for @prmID 

What do I need to do for my query to continue working when the user leaves the @prmID blank?

-If the user enters @prmID then the query should do: 

Where State IN (@prmState)
   AND Reviewer IN (@prmReviewer)
   AND Jobtitle IN (@prmJobT)
   AND ID = @prmID

If the user leaves blank @prmID I want the query to evaluate:

Where State IN (@prmState)
   AND Reviewer IN (@prmReviewer)
   AND Jobtitle IN (@prmJobT)

Do I need to have an IF/ELSE statement inside my cteTemp to evaluate ISNULL(@prmID)?


-Alan

SSRS reports are not printing probably

$
0
0
when I preview my reports they look great but when I print them I get some blank pages

SSRS Matrix with customized column

$
0
0

I need to create a report in SSRS 2008. it's in the matrix format, but instead of normal columns that grows to the right, they want something like stepped rows only for column
Something like this:

    col1
        col2
            col3
row1
row2
row3

instead of the standard matrix

    col1 col2 col3
row1
row2
row3

Can anyone suggest to me how to do this?

Thanks!

Error with Multiselect Dropdowns once deployed

$
0
0

I am having a problem when I deploy to SSRS 2008-  The parameter works fine in VS and on view in ssrs.  The issue is under the parameters that It only displays the default and doesn't show it as a Multi select.  The sql that fills this field is not dependent on anything.  It also shows fine under the regular schedule but doesn't in the data driven.  Any Ideas?  I made sure not to get a Null Value.

(I have an image but it won't allow me to upload it)


SQL 2012 SP1 Enterprise (SSRS in SharePoint mode): Reporting Services scale-out deployment is not supported in this edition of Reporting Services

$
0
0

Hello,

SSRS in SharePoint mode is driving me insane.

We are recreating a SharePoint 2013 (SP1) farm in a test environment with the following set-up:

  • 2 SP Web FrontEnds
  • 2 SP Application Servers
  • 1 SQL Server

At both SP APP Servers, we installed SSRS (SQL 2012 Enterprise w/ SP1) in SP integrated mode.

We managed to start the SSRS SP service at the first SP APP Server. However when we try to start it on the second APP Server, we get the following error:

"Reporting Services scale-out deployment is not supported in this edition of Reporting Services. This edition only supports one instance of the SQL Server Reporting Services Service in the farm.  The SQL Server Reporting Services service cannot be started on this server unless it is stopped on all other servers in the farm. "

Now I can't stress this enough: This is a SQL Server 2012 SP1 Enterprise. This is the image we got from our MSDN subscription. There is no mistake here.

Could someone please advise why SP might think this version of SSRS is not the correct one?

Thanks in advance for your help.

Regards,
P.


GetReportServerUrl / ManagmentException

$
0
0

Trying to get the SSRS2012 sample authentication extension working in our dev environment.  I get to the point where the code attempts the report server url via WMI.  It is blowing up with ManagementException / "Invalid Namespace".  Not sure what is wrong.  Please advise.

Access is denied if not local admin on server

$
0
0

I'm working on deploying SSRS. Currently, the only people that can access the reports are those who are local admins on the actual server. Anyone that is not a local admin on the server gets the following:

Server Error in '/Reports' Application.

Access is denied.

Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access.

If I add them as a local admin on the server they can then access the reports. However, we don't really want our domain users having access to this server. They are added to the site settings as a system user, their roles are set to view reports, folders, resources, and manage subscriptions. They are set to read, execute, list, traverse the SQL folders on the server, but not write. I'm not sure what I'm missing to make this work. Any help would be greatly appreciated as I'm relatively new to SSRS! Thanks!

How to get start date of the period for a given date from cube

$
0
0

I have a situation where i need to find the start day of the period for a given date. is there a way to know that. i want to use that in my report. i enter the date from my report(i have date parameter), depends on the date, i want to display the start day of the period. how can i write expression for that in my report?


ram

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


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

Rendering Size limitation on SSRS 2008R2 in Sharepoint 2010

$
0
0

Hello All, 

It has been a while we havent figure out a solution to resolve this issue. 

The environment we have is SSRS2008 R2+ Sp2010. One of the report in this environment cannot download to the excel/PDF/Word formats as the rendering file can be as big as 64MB. Now it only works for CSV file as the size of CSV is 40 MB.

Does anyone know what parameter value in Sharepoint site can be revised to enlarge the download size limitation?

 


Derek

Reporting service 2012 - TimeDataRetrieval is so high - report performed slowly

$
0
0

Hi,

   I had two servers which are one for reporting service (report server) and one for database (database server). When I run a report with data source from database server, it ran slowly. I checked the store produce from database server, it took 1 second to complete. Number of row returned from data source is 1. However, report need about 30s or 40s to complete. TimeDataRetrieval from reporting server is so high (about 30s). What is the root cause of issue? Can you help me to boost performance of reporting service on report server?

Thanks


How can i create accounts general ledger query report from double entry book keeping system ?

$
0
0

I want to create accounts general ledger report from journal voucher ( financial transaction).

I am not sure how to do this but i got the concept from 'google'  like image as below

This is my  journal voucher sql query , every transactioncontrol by  'JV_REF' .  

----------------------------------------------------

SET NOCOUNT ON;
USE tempdb;
GO
CREATE TABLE dbo.Account (

JVID int NOT NULL IDENTITY PRIMARY KEY,
JV_REF nvarchar(10) ,
ACCOUNT_CODE nvarchar(10) ,
DEBIT decimal(10 , 2),
CREDIT decimal(10 , 2)

);

GO
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV001' , '01' , 100 , NULL );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV001' , '02' , NULL , 100 );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV002' , '01' , 100 , NULL );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV002' , '03' , 50 , NULL);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV002' , '02' , NULL , 150);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '01' , 100 , NULL );
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '03' , 50 , NULL);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '02' , NULL , 100);
INSERT INTO dbo.Account (JV_REF , ACCOUNT_CODE ,DEBIT  , CREDIT) VALUES ( 'JV003' , '04' , NULL , 50);

GO

SELECT * FROM dbo.Account WHERE JV_REF like 'JV001'

-- For example I select  JV_REF =  'JV001
DROP TABLE  dbo.Account;

------------------------------------------------------------------

The result i expect if  JV_REF =  'JV001

i guess  if  i select  ACCOUNT_CODE = 01 the ACCOUNT_CODE = 02 must show up , it sound like  to REVERSE JV or something.

How can i do this

thanks

sql server integration services

$
0
0

Hi All,

i have 50 insert statements, 50 update statements and 50 delete statements, 

in all these statements 1 statement is wrong . How to find that statement?

Thank you

Viewing all 20764 articles
Browse latest View live


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