Showing posts with label displaying. Show all posts
Showing posts with label displaying. Show all posts

Monday, March 26, 2012

Reporting Services 2005 - Problems displaying a report via a ReportViewer control.

I have a report that displays fine in VS 2005 (in the Preview tab), and if I hit it via a URL in IE as a deployed report. However, when I embed it in a ReportViewer control for display on a web site, I get no data back for the report. I am using an Oracle database for the data source. None of the the logs in reporting services show anything wrong, there are no events in the event viewer to indicate any problems, Oracle logs also show no problems and no errors are returned to the page when the "View Report" button is clicked.

Anyone out there have a clue? I certainly don't.

Mike

The web site is executing the report viewer control with a certain (ASP.NET) user context. Most likely this account does not have any permissions to access the installation of the Oracle client software (or the Oracle client software is not installed at all on the web server).

Check this KB article for more details how to configure directory security: http://support.microsoft.com/?kbid=870668

-- Robert

|||

I thought the same thing at first, but permissions checked out fine. I found out that the problem is a rather esoteric interaction of Div and Table HTML element display characteristics during report generation (at least that's what the MSDN article says at http://msdn2.microsoft.com/en-us/library/ms252090.aspx).

The gist of it is that when you have the ReportViewer control properties set to render Asynchronously and have the height set to a '%' value (I was using 100%), the calculated height passed in the HTML is set to '0' so no report displays. You have the choice of using a fixed height and Asynchronous rendering or a percentage height and synchronous rendering.

Mike

|||

Thanks for posting your findings!

-- Robert

sql

Wednesday, March 21, 2012

Reporting Services - Graphics on Reports

Hi there,
I am having problems displaying graphic on report. None of them is not avail
able when I open report in Report Manager (data and layout are fine). That i
ncludes AdvantureWorks sample reports.
However, when I export report to PDF format all graphic is exported and disp
layed properly.
Any idea why this is happening and what to do to resolve it?
Technical background:
Server:
Windows 2000 Server, SP4
SQL Server 2000 Enterprise, SP3a
IIS
Reportinfg Services
Client:
Windows XP
Office XP
IE 6.0Does the server name have an underscore _ in the name?
Keith
"Marin" <Marin@.discussions.microsoft.com> wrote in message
news:3797F765-D5D4-469F-99DF-00EAE1B723BC@.microsoft.com...
> Hi there,
> I am having problems displaying graphic on report. None of them is not
available when I open report in Report Manager (data and layout are fine).
That includes AdvantureWorks sample reports.
> However, when I export report to PDF format all graphic is exported and
displayed properly.
> Any idea why this is happening and what to do to resolve it?
> Technical background:
> Server:
> Windows 2000 Server, SP4
> SQL Server 2000 Enterprise, SP3a
> IIS
> Reportinfg Services
> Client:
> Windows XP
> Office XP
> IE 6.0
>|||Yes ?!
"Keith Kratochvil" wrote:

> Does the server name have an underscore _ in the name?
> --
> Keith
>
> "Marin" <Marin@.discussions.microsoft.com> wrote in message
> news:3797F765-D5D4-469F-99DF-00EAE1B723BC@.microsoft.com...
> available when I open report in Report Manager (data and layout are fine).
> That includes AdvantureWorks sample reports.
> displayed properly.
>|||Yeah, mine too. That is the problem. I created a report on a test server
(without an underscore in the name). The report looked great and worked
properly.
Then I deployed the report to our production server (which has an underscore
in the server name) and experienced the same issues you mentioned. We have
a report that does "drill down" (grouping with expandable groups). That
report does not work properly either. When the reports are deployed to a
server without an underscore in their name they work properly.
I may have a bit more of an explanation for you, but I need to fire off an
email first.
Keith
"Marin" <Marin@.discussions.microsoft.com> wrote in message
news:84858FB5-2B4B-4193-BF84-7F600F927CAA@.microsoft.com...[vbcol=seagreen]
> Yes ?!
> "Keith Kratochvil" wrote:
>
fine).[vbcol=seagreen]
and[vbcol=seagreen]

Reporting Services - Graphics on Reports

Hi there,
I am having problems displaying graphic on report. None of them is not available when I open report in Report Manager (data and layout are fine). That includes AdvantureWorks sample reports.
However, when I export report to PDF format all graphic is exported and displayed properly.
Any idea why this is happening and what to do to resolve it?
Technical background:
Server:
Windows 2000 Server, SP4
SQL Server 2000 Enterprise, SP3a
IIS
Reportinfg Services
Client:
Windows XP
Office XP
IE 6.0
Does the server name have an underscore _ in the name?
Keith
"Marin" <Marin@.discussions.microsoft.com> wrote in message
news:3797F765-D5D4-469F-99DF-00EAE1B723BC@.microsoft.com...
> Hi there,
> I am having problems displaying graphic on report. None of them is not
available when I open report in Report Manager (data and layout are fine).
That includes AdvantureWorks sample reports.
> However, when I export report to PDF format all graphic is exported and
displayed properly.
> Any idea why this is happening and what to do to resolve it?
> Technical background:
> Server:
> Windows 2000 Server, SP4
> SQL Server 2000 Enterprise, SP3a
> IIS
> Reportinfg Services
> Client:
> Windows XP
> Office XP
> IE 6.0
>
|||Yes ?!
"Keith Kratochvil" wrote:

> Does the server name have an underscore _ in the name?
> --
> Keith
>
> "Marin" <Marin@.discussions.microsoft.com> wrote in message
> news:3797F765-D5D4-469F-99DF-00EAE1B723BC@.microsoft.com...
> available when I open report in Report Manager (data and layout are fine).
> That includes AdvantureWorks sample reports.
> displayed properly.
>
|||Yeah, mine too. That is the problem. I created a report on a test server
(without an underscore in the name). The report looked great and worked
properly.
Then I deployed the report to our production server (which has an underscore
in the server name) and experienced the same issues you mentioned. We have
a report that does "drill down" (grouping with expandable groups). That
report does not work properly either. When the reports are deployed to a
server without an underscore in their name they work properly.
I may have a bit more of an explanation for you, but I need to fire off an
email first.
Keith
"Marin" <Marin@.discussions.microsoft.com> wrote in message
news:84858FB5-2B4B-4193-BF84-7F600F927CAA@.microsoft.com...[vbcol=seagreen]
> Yes ?!
> "Keith Kratochvil" wrote:
fine).[vbcol=seagreen]
and[vbcol=seagreen]

Reporting Services - Analysis Services - Displaying Dimension Members as Columns

I think I've seen a similar post on a blog or on the forums - but it seems like this should be possible -

I have an MDX query - that works fine in SQL Enterprise Manager, and has my dimension members on columns, and my measures on the rows. When I try the same query in Reporting Services, I get the error:

"The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple hierarchies, nor should it reference any dimension other than the Measures dimension..
Parameter name: mdx (MDXQueryGenerator)"

Although it works when you pivot the view, I really need my data presented with the members on the columns and the measures on the rows. Another forum post mentioned using the SQL 9.0 driver, but I can't see this listed anywhere (the only one I see is the .NET framework Data Provider for Microsoft Analysis Services).

Here's what my query looks like -

SELECT
{ [Time].[Month].&[2006-09-01T00:00:00] ,
[Time].[Month].&[2006-10-01T00:00:00],
[Time].[Month].&[2006-11-01T00:00:00],
[Time].[Month].&[2006-12-01T00:00:00]
} on COLUMNS,
{
[Measures].[Unique Users],
[Measures].[UU Pct 1],
[Measures].[UU Pct 2],
} ON ROWS
FROM [Cube]

Any ideas?

Thanks,
Arjun

As the error message says, the SSRS Analysis Services provider expects dimension on rows. If you want to use this query, you need to bypass the SSRS Analysis Services provider and use directly the OLE DB Provider for Analysis Services 9.0. The limitation of this approach is that the OLE DB driver doesn't support parameters. If you need to parameterize your report, you need to use an expression-based query that concatenates the parameter values, a-la RS 2000.

|||Thanks Teo, that makes sense. I found the OLE DB driver and I'll use this method. Really strange limitation in SSRS, hope they get rid of it in the next release.|||

you need to bypass the SSRS Analysis Services provider and use directly the OLE DB Provider for Analysis Services 9.0

How do you do this, Please?

|||When setting up your data source, choose the Microsoft OLE DB Provider for Analysis Services 9.0.|||thanks, but that choice does not show up when creating a datasource in reporting services 2005. OLE DB provider for analysis service 9.0 is definitely installed on that machine. I do see that choice from Excel when creating a pivot table based on a cube. Thanks for your help.|||Chose OLE DB as Type, then click on the Edit button.|||Thanks, it works .

Reporting Services - Analysis Services - Displaying Dimension Members as Columns

I think I've seen a similar post on a blog or on the forums - but it seems like this should be possible -

I have an MDX query - that works fine in SQL Enterprise Manager, and has my dimension members on columns, and my measures on the rows. When I try the same query in Reporting Services, I get the error:

"The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple hierarchies, nor should it reference any dimension other than the Measures dimension..
Parameter name: mdx (MDXQueryGenerator)"

Although it works when you pivot the view, I really need my data presented with the members on the columns and the measures on the rows. Another forum post mentioned using the SQL 9.0 driver, but I can't see this listed anywhere (the only one I see is the .NET framework Data Provider for Microsoft Analysis Services).

Here's what my query looks like -

SELECT
{ [Time].[Month].&[2006-09-01T00:00:00] ,
[Time].[Month].&[2006-10-01T00:00:00],
[Time].[Month].&[2006-11-01T00:00:00],
[Time].[Month].&[2006-12-01T00:00:00]
} on COLUMNS,
{
[Measures].[Unique Users],
[Measures].[UU Pct 1],
[Measures].[UU Pct 2],
} ON ROWS
FROM [Cube]

Any ideas?

Thanks,
Arjun

As the error message says, the SSRS Analysis Services provider expects dimension on rows. If you want to use this query, you need to bypass the SSRS Analysis Services provider and use directly the OLE DB Provider for Analysis Services 9.0. The limitation of this approach is that the OLE DB driver doesn't support parameters. If you need to parameterize your report, you need to use an expression-based query that concatenates the parameter values, a-la RS 2000.

|||Thanks Teo, that makes sense. I found the OLE DB driver and I'll use this method. Really strange limitation in SSRS, hope they get rid of it in the next release.|||

you need to bypass the SSRS Analysis Services provider and use directly the OLE DB Provider for Analysis Services 9.0

How do you do this, Please?

|||When setting up your data source, choose the Microsoft OLE DB Provider for Analysis Services 9.0.|||thanks, but that choice does not show up when creating a datasource in reporting services 2005. OLE DB provider for analysis service 9.0 is definitely installed on that machine. I do see that choice from Excel when creating a pivot table based on a cube. Thanks for your help.|||Chose OLE DB as Type, then click on the Edit button.|||Thanks, it works .

Monday, March 12, 2012

Reporting Services

hi,
I trying to display list of values in the table footer. Here i am using
multivalued datafield and it is displaying only one value. How can I make the
footer to display all of the values of that field? Is there any other
solution?If it is a list of rows shouldn't that be in the details instead of the footer?
"sai" wrote:
> hi,
> I trying to display list of values in the table footer. Here i am using
> multivalued datafield and it is displaying only one value. How can I make the
> footer to display all of the values of that field? Is there any other
> solution?