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

Web Service Permission Problem

$
0
0

I am having a problem with permissions since moving a 2005 reporting services database to Server 2008. I have install SSRS and the report website works fine, the web service (ReportExecution2005.asmx) also works fine provided I pass in the credentials of an Administrator of the server (which I dont want to do).

I have created a user account that I would like to use. I made it a member of SQLServer2005ReportingServicesWebServiceUser

I also give it full permissions on the IIS folder:

C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer

I also made this user a System Administrator of SSRS using the Server Properties tool in Management Studio.

However I am still not able to run reports using the web service unless I login as a machine administrator.

If I try to browse to the location:

http://mydomain.com/reportserver/ReportExecution2005.asmx

I am able to get the XML no problem loging in as my newly created user. It just will not allow me to execute.

Can anyone help?

Many Thanks

Some info on IIS. The Report Server is using a Classic pool with NetworkService identity (v2.0 .NET). Network Service also has full permissions on the IIS folder.

Authentication:

Anon : Disables

ASP.NET Impersonation: Enabled

Forms Auth: Disabled

Windows Auth: Enabled


Unable to load client print control

$
0
0

When you display a SQL Reporting Services report to the screen in the header there is a Printer Icon displayed.  When we click this icon we get an error message "Unable to load client print control ".

Does anyone know what we need to load or what we need to do to resolve this so that we can print the report directly to teh printer, rather than having ot prinnt the web page, which also prints all the Web headre information

Customized date value parameter

$
0
0

Hi guys! how can i achieve to add expression to read 1st of January of previous year?

i want to have only previous year only but need to be default to January 1st.

=DATEVALUE("January 1, DATEADD("Y",-1,YEAR(TODAY))"  this won't work.. 

thanks in advance! 


Limit number of records per page in DrillDown Report

$
0
0

I have drill down report in which report data is group by category.

For example:

Category     Product Name            Amount

- Mobile                       

                    Product 1                      2000

                    Product 2                      3000

- Book         

                    Book 1                           300

                    Book 2                           400

The total records are 4. But if I calculate them on the basis of category, then they are two.

So when I insert page break by adding parent group and put the following expression in that group:

=Ceiling((RowNumber(Nothing)) / 2)

Then it will show only 1 category Mobile on 1st page. But I need 2 categories on one page.

Help me regarding this.


Help! - An error occurred while loading the model for the item or data source

$
0
0

I am trying to get a SharePoint 2013 / PowerView environment working correctly with a SQL 2012 Analysis Services Tabular database.

I create the BSIM file (specifying the SQL instance and the database name) but I always get the following error message:

An error occurred while loading the model for the item or data source 'https://teamsite.mjh.local/Data Connections/TEST.bism'. Verify that the connection information is correct and that you have permissions to access the data source. 

I can connect perfectly fine from Microsoft Excel but PowerView refuses to connect.

Some information about my environment

SharePoint web application running on one machine (SP2013). SSRS (both Reporting Services and PowerPivot service applications) and SSAS are running on a different machine (SP2013BI).

Service application account has full read access to both the SSAS instance, the cube database (full access role) and the data connection library.

The full error is shown below.

<detail><ErrorCode xmlns="rsCannotRetrieveModel</ErrorCode><HttpStatus">http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="400</HttpStatus><Message">http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="An">http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'https://teamsite.mjh.local/Data Connections/TEST.bism'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName">http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName xmlns="Microsoft">http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="11.0.3128.0</ProductVersion><ProductLocaleId">http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId xmlns="127</ProductLocaleId><OperatingSystem">http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="OsIndependent</OperatingSystem><CountryLocaleId">http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="1033</CountryLocaleId><MoreInformation">http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="<Source>ReportingServicesLibrary</Source><Message">http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0" xmlns:msrs="An">http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'https://teamsite.mjh.local/Data Connections/TEST.bism'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0" xmlns:msrs="Cannot">http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.AdomdClient</Source><Message></Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>Operation is not valid due to the current state of the object.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>


regards
Martin Hatch
MCPD & MCITP SharePoint 2010
MCTS WSS 3.0 | MOSS 2007
www.martinhatch.com

SSRS 2008 Iframe Question - Open link in the report(shown in Iframe) in a new parent window

$
0
0

I have a SSRS report that that has URLs as one of the column. This report is shown within an iFrame of some other page. I want that whenever users click on the URL field of the report, the link should open in a new Parent window rather than the existing window in which the report is shown. I have tried the following but none seem to work:

 

="javascript:void(parent.window.location.replace('http://www.xyz.com/"& Fields!Id.Value & "','_blank'))"



="javascript:void(parent.window.location.replace('http://www.xyz.com/"& Fields!Id.Value & "','_parent'))"



="javascript:void(window.open('http://www.xyz.com/"& Fields!Id.Value & "','_parent'))"



="javascript:void(window.open('http://www.xyz.com/"& Fields!Id.Value & "','_top'))"



="javascript:void(top.right_side.location('http://www.xyz.com/"& Fields!Id.Value & "','_blank'))"
 I am new to Javascript. Please help.

 

SSRS 2012 SharePoint 2013 integration configuration

$
0
0

Scenario:

We have SSRS 2012 SP1 installed on Windows Server 2008 R2 Enterprise in SharePoint integrated mode withSharePoint 2013 evaluation copy. Both SharePoint 2013 and SQL/SSRS 2012 are installed on same server. The SharePoint databases are hosted on SQL 2008 R2 and Reporting services database is hosted on SQL Server 2012 enterprise. We configured reporting services following all the steps here. The reporting services are bound to default app http://SharePoint:80 and running under newly created app pool "ReportingService".

The web application app pool, reporting services application pool, app pool for SharePoint web services system and farm account are running under network services. Whereas Claims to Windows token service and SharePoint server Search service are configured to run under Local System. We also created SharePoint library (let’s call it report library) and configure it to support rdl, rsds and report builder content type.

We were able to configure shared data source (pointing to different SQL server but on same domain) and configured report to use it. We were able to browse and run thereport locally. We were able to browse the reporting library URL from remote machines (same domain as well as trusted domain).  But, when tried to execute from remote machine (both same domain as well as trusted domain) SharePoint displays following error message on webpage.

The Web application at http://servername:44846/Reports/Operation Management/report name.rdl could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

We noticed following warning logged in event viewer  when clicking report.

Event log warning:

Alternate access mappings have not been configured.  Users or services are accessing the sitehttp://servername:44846 with the URLhttp://servername:44846.  This may cause incorrect links to be stored or returned to users.  If this is expected, add the URLhttp://servername:44846 as an AAM response URL.  For more information, see:http://go.microsoft.com/fwlink/?LinkId=114854"/>

In order to modify the datasource, when we clicked from remote machine(same domain as well as trusted domain), the SharePoint displays following error message

An unexpected error occurred while connecting to the report server. Verify that the Reporting Services Service Application mapped to this web application is available OR the report server is available and configured for SharePoint Integrated mode.

Nothing is logged to eventlog. The data source is configured to use windows authenthication. The user who was configuring the access has sysadmin rights on db server where reporting services database are hosted. The user is admin on the Server and is farm administrator on SharePoint 2013.

Is this related to security (especially the accounts under which all the services are running) ?


Nehal Jain

How to make width of SSRS Report to 100 %, so that when it opens in any resolution, its width expands automatically?

$
0
0

How to make width of SSRS Report to 100 %, so that when it opens in any resolution, its width expands automatically?

Help me regarding this.



How to calculate Region totals / person

$
0
0

I created an SSRS 2008 bar chart that graphs "Total LOS" (Values) vs. "Region" (Series Group) via "actual date" (Category Group).

Sample data looks like:

region	    total_los	actual_date	client_name
Middle TN	30	2013-06-15 14:35:00.000	Allred, Tyler 
Middle TN	30	2013-06-15 14:35:00.000	Allred, Tyler 
Middle TN	30	2013-06-16 13:55:00.000	Allred, Tyler 
Middle TN	30	2013-06-16 13:55:00.000	Allred, Tyler 
Middle TN	12	2013-06-07 14:00:00.000	Ashley, Robert 
West TN	    -6	2013-06-21 08:00:00.000	Baker, Brandon 
West TN	    -6	2013-06-25 10:05:00.000	Baker, Brandon 
West TN	    -6	2013-06-28 08:00:00.000	Baker, Brandon 
East TN	30	2013-06-04 18:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-07 09:30:00.000	Ballard, Skyler ricky
East TN	30	2013-06-11 09:30:00.000	Ballard, Skyler ricky
East TN	30	2013-06-13 10:45:00.000	Ballard, Skyler ricky
East TN	30	2013-06-17 15:30:00.000	Ballard, Skyler ricky
East TN	30	2013-06-19 15:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-25 15:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-27 21:00:00.000	Ballard, Skyler ricky
East TN	30	2013-06-13 12:39:00.000	Banfield, Christopher 


The problem is that now when I graph this, it plots the total LOS by summing up total LOS / date regardless of client_name.  I want 3 regions plotted as separate series.  This part works correctly.  But instead of total LOS / date, I want calculated value to appear / date.  For example, I want one data value for "Allred, Tylor" plotted as 30 instead of 120.  How do I do this?  Currently the expression for my Values is "sum(total_los)"



Ryan D

Launch rdl from asp.net page

$
0
0
How can I run an rdl report from an asp.net page?
Regards
Partha Mandayam
IT Consultant
Invacare
http://weblogs.asp.net/pmandayam
http://partha.tripod.com

SSRS REPORT EXPRESSION WITH PARAMETERS

$
0
0

hi, guys

I am very new to SSRS and updating an existing rdl file from others

I am lost about one cell expression in a report.

For this cell, it already has a parameter named "projectID", which outputs to many report tables group by projectID.

But for one reports table, it has a column named "JobGroup". For different projectID, the JobGroup are different. And the report has made it by a field in a dataset.

I am wondering how can I add another column to calculate the numbers for each "JobGroup". Do I need another parameter?

The SQL Query should be like this:

SELECT projectID, JobGroup

FROM ...

GROUP BY projectId, JobGroup

Anyone can help me with it? Thanks!!!

Reusable Dataset - Pass a different Variable Parameter within SSRS to a Stored Procedure, Depending upon the ParameterName

$
0
0

I have a Stored Procedure with one parameter that is used a Pick List for Report Range Criteria. I'd like to utilize the same stored procedure with just one dataset instead of creating multiple datasets, so that the ParameterName is being Passed to the Stored Procedure and where by I am using dynamic SQL to do a where clause based upon the Current Parameter DropDown List.

How can I pass the Parameter Name to my one dataset so that my dataset is reusable?


John

Custom Report not working in CRM 2011(RsProcessing aborted)

$
0
0

Hi Gurus,

I have created a custom report via Visual Studion 2008(BIDS) , it is working fine when viewing the preview . once i imported into CRM 2011 . it is showing  the i/p parameter screen ,once i click the view report button , after some time it is throwing out an error "Report cannot be displayed
RsProcessing aborted" .

I have tried re-starting the Reporting services configuration manager  found as solution in internet and did couple of tricks as well.

Unfortunately bad luck :(

Please any one give me a suggestion .

My custom report is built on top of a Stored procedure .

Thanks in Advance .

 

Thanks,

SS

 

 

 

ssrs 2008r2 - Oracle 64bit access problem from Report builder 3.0

$
0
0

Hi,

I have provided environment details as below. I have created shared oracle datasource using TNS. and tested using console app. it works file. But when I try to use shared oracle datasource to create new report from Report Builder 3.0 , once I select database and tested connection successfully , It is asking for password. and By entering password it shows error.  (I am getting different error from local machine and client machine as described below)

Is this an issue with reporting service configuration or its oracle side connectivity problem. How can I solve this problem? Is it required to install 'Client Tool Connectivity' shared feature for oracle database connection?

Error from local machine ssrs 2008r2 64bit installed with Oracle client 64bit (using oracle client, I am able to access oracle but when I try though Report Builder it gives error as follows )

Unable to connect to datasource 'ORACLE'

An attampt was made to load program with an incorrect format (Exception from HRESULT : 0x8007000B )

Attempt to load oracle client libraries threw BadImageFormatException. This problem will occur when running in 64bit mode with 32bit oracle client components installed.

Error from Client machine when accessing oracle datasource from Report builder (As Report builder access through report manager, oracle client did not installed in this machine )

Unable to connect to datasource 'ORACLE'

System.Data.OracleClient requires Oracle Client software verson 8.1.7 or greater

Steps taken to solve problem

Provided full access permission to oracle home folder

checked oracle and oracle client version. Its 64bit.

 

Environment   (from ssrs installation log file)

OS version:                    Windows Server 2003
  OS service pack:               Service Pack 2
  OS region:                     United States
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Description:                   SQL Server Database Services 2008 R2
  ProductName:                   SQL Server 2008 R2
  Type:                          RTM
  Version:                       10
  SPLevel:                       0
  Installation location:         F:\MSSQLInstall\........
  Installation edition:          ENTERPRISE  

Feature:                       Reporting Services
  Status:                        Passed
  MSI status:                    Passed
  Configuration status:          Passed

(From Oracle client log)

OraClient11g_home2
      Oracle Client 11.2.0.1.0


HOME SELECTION
--------------------------------------------------------------------------------
Central Inventory Location: "C:\Program Files\Oracle\Inventory"
--------------------------------------------------------------------------------
Oracle Home           Status
--------------------------------------------------------------------------------
OraClient11g_home2    Selected

--------------------------------------------------------------------------------
PATH = C:\oracle\product\11.2.0\client_1\bin;
C:\Program Files (x86)\Windows Resource Kits\Tools\;
C:\Perl64\site\bin;
C:\Perl64\bin;
C:\Program Files (x86)\Support Tools\;

..........


Oracle 64bit, oracle client 64bit installed on ssrs machine.

Thanks

How to Insert text in Bar Graph, Series Label Properties in Report Builder 3.0


hide blank columns in a matrix

$
0
0

Hello,

I have defined a matrix in SSRS 2008 R2.  The columns are obviously dynamic and based on my dataset.  I have setup the report to be paged by the group row which in this case is a particular account.  Now, unfortunately, every row is not going to have information for every column.  So, as I am paging through my different accounts, there are many columns that are blank.

How may I hide the blank columns?  Just to be clear, in report designer, I can only see one column.  But upon run time they expand as the data is fed in.

 

Thanks!


ddd

Report Data Pane missing

$
0
0

The Report Data pane is missing in VS version 9.0.30729.4462 QFE.  Does anyone know how to fix this?  I can't proceed to build a report without this vital step.

Thanks in advance.

Column header of matrix keeps repeating

$
0
0

Hi there,

I'm using SSRS through Visual Studio 2005 however I am very much a novice at this and need to work out how to solve a problem.

I have a matrix which looks like this:


Area                                              Column header
                   Row header 1
                   Row header 2
                   Row header 3
                   Row header 4


In my column header is a field where the date of each week beginning is populated in a number of columns as headers left to right.
This whole matrix repeats with each area field, however I would only like the column header with week beginning dates appearing on the first area matrix at the top of the page, and not every single one (otherwise the week beginning dates are being repeated 4-5 times per page where once at the top is enough.)

I am trying something like =IIf(RowNumber("ColumnGroup") =1. Fields!WeekBegin.Value, "") in the expression but it doesn't seem to work, I think it doesn't like "ColumnGroup". Not sure if this expression is even right.

Any suggestions / solutions? (Apologies if I haven't explained it very clearly, as I said I'm pretty new to all this!)

How to manage sql agent with lots of SSRS subscription jobs

$
0
0

Hi there

Our SSRS database is configured on the same server as the data warehouse server, so we use the sql agent for our daily/nightly data warehouse batch run + SSRS subscriptions.

I would like to know if there is any way to manage the SSRS subscription jobs in the SQL Agent. All the SSRS subscription jobs are active, however it's just that there are so many and with their GUID names it makes hard to use sql agent for non-subscription jobs. 



Regards, Vivek

Cannot Print SSRS 2005 report after installing KB956391

$
0
0
Installed updates on clients yesterday and am now unable to print reports created in SSRS 2005 from Win XP SP2 machine.

When viewing a report selecting the print icon on the report generates a Windows Internet Explorer message box with the text, "Unable to load print control".

After some trial and error, I determined that the removal of KB956391 (The ActiveX Kill Bit update) allows the client to regain the ability to print reports in SSRS 2005. Re-installing the KB again causes the report print to fail.

Ideas anyone?

Viewing all 10045 articles
Browse latest View live


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