Friday, March 30, 2012
Reporting Services Third Party Utilities
Reporting Services Subscriptions / Sharepoint question
Thanks.Answered my own question.
http://technet.microsoft.com/en-us/library/bb326364.aspx
Reporting Services Subscription Table DataSettings field cut off at 256 characters!
Does anybody know why when i create a subscription using rs.CreateDataDrivenSubscription, the datasettings that is saved in the subscriptions table is cut off at 256 characters.
can anyone help?
Is the column defined as an ntext? If so then somehow your DB is corrupt. Otherwise, I have never seen this issue before.-Daniel
Reporting Services subscription
Is it possible to create new subscription for reporting services in sql 2005
standard edition? I get New subscription and New data driven subscription
greyed out.
GSMy understanding is that Data Driven Subscriptions are available only
in Enterprise edition (and up).sql
Friday, March 23, 2012
reporting services print preview
blank page between every page of my report? In VS for example if I
create a 3 page report, I get a 6 page report and every other page is
blank on the print preview.
How do you prevent this?
Cheers,
Mike
*** Sent via Developersdex http://www.examnotes.net ***Check that your page margins are correct.
If you have overshot your page margins with a table or object then you will
get this.
Immy
"Mike P" <mike.parr@.gmail.com> wrote in message
news:eynAtgDeGHA.1208@.TK2MSFTNGP02.phx.gbl...
> Why whenever I create a report that is more than 1 page long, do I get a
> blank page between every page of my report? In VS for example if I
> create a 3 page report, I get a 6 page report and every other page is
> blank on the print preview.
> How do you prevent this?
>
> Cheers,
> Mike
>
> *** Sent via Developersdex http://www.examnotes.net ***
Reporting Services PDF Size
file with Acrobat it is much smaller.
I can create the same report with crystal reports and have a much
smaller PDF..
Maybe it is a DPI setting or something?
2Meg 1 page PDFs are just not cutting it for me. There must be a way
to knock the file size down.
Thanks,
Jeff PJeffrae wrote:
> Is there any way to shrink the file size of the PDF? When I resave the
> file with Acrobat it is much smaller.
> I can create the same report with crystal reports and have a much
> smaller PDF..
> Maybe it is a DPI setting or something?
> 2Meg 1 page PDFs are just not cutting it for me. There must be a way
> to knock the file size down.
> Thanks,
> Jeff P
Update:
I have reduced the amount of colors in the images. I have also saved
them with a much lower DPI setting. This does not appear to effect the
PDF that is produced.
Is there a specific image format that Reporting Services thrives on? I
am using JPEGs.. I have tried BMPs also with no luck.
Jeffrae|||Jeffrae wrote:
> Jeffrae wrote:
> > Is there any way to shrink the file size of the PDF? When I resave the
> > file with Acrobat it is much smaller.
> >
> > I can create the same report with crystal reports and have a much
> > smaller PDF..
> >
> > Maybe it is a DPI setting or something?
> >
> > 2Meg 1 page PDFs are just not cutting it for me. There must be a way
> > to knock the file size down.
> >
> > Thanks,
> > Jeff P
> Update:
> I have reduced the amount of colors in the images. I have also saved
> them with a much lower DPI setting. This does not appear to effect the
> PDF that is produced.
> Is there a specific image format that Reporting Services thrives on? I
> am using JPEGs.. I have tried BMPs also with no luck.
> Jeffrae
Am I the only person with this problem? ;)sql
Reporting Services passing values from Subreport to Main report
I hope the following link will help you solve your problem.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rshowto/htm/hrs_designer_v1_1ed0.asp
--Amde
reporting services paramters
hi,
i want to create a report. lets say the report is: exec sp_spaceused.
i work with dataset working on master.
if i want to create a list of my databases and choose dinamically each time my database - how do i connect the query: select * from sys.databases to my dataset.
what i mean to say is that i want to choose from a combo box my database and each time the report is running it will run on the "exec sp_spaceused".
thx,
Tomer
This should be helpful http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=16395&SiteID=1Reporting Services on windows XP
windows XP.
I can create reports in visual studio .net .
However I do not have a Report Manager in Start->All
Programs->Microsoft SQL Server-> Reporting Services
I am going through the samples so I can use Reporting Services in the
current project I am working on.
This sample requires Reports Manager
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSAMPLES/htm/rss_tutorials_v1_575g.asp
Is there anyway I can do this using Windows XP with Sql 2k Developer?
Also is it right that I shouldn't have the Report Manager icon on XP
or perhaps my installation went wrong ?
Thanks,
yurpsReport Manager is a web site (ASP.Net application). There is no icon or menu
for it. Try going to //localhost in IE. The default when installing is that
Report Manager becomes your default website. Also, if you look at SQL Server
you should see two db. ReportServer and ReportServerTempDB
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"magister" <yurps@.yahoo.co.uk> wrote in message
news:984bebc3.0501031053.2ff7af87@.posting.google.com...
> I installed Reporting Services onto my SQL 2000 Developer edition on
> windows XP.
> I can create reports in visual studio .net .
> However I do not have a Report Manager in Start->All
> Programs->Microsoft SQL Server-> Reporting Services
> I am going through the samples so I can use Reporting Services in the
> current project I am working on.
> This sample requires Reports Manager
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSAMPLES/htm/rss_tutorials_v1_575g.asp
> Is there anyway I can do this using Windows XP with Sql 2k Developer?
> Also is it right that I shouldn't have the Report Manager icon on XP
> or perhaps my installation went wrong ?
> Thanks,
> yurps|||Thanks for the reply.
No I don't have these in //localhost or the 2 db ReportServer &
ReportServerTempDB
Should these be installed on winXP Pro sql 2k developer ?
I will run thru the install again, maybe I need to reboot.
Thanks,
Matt|||Most likely you do not have IIS running. IIS needs to be running prior to
the install in order to install the server components.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"yurps" <yurps@.yahoo.co.uk> wrote in message
news:1104784807.181616.141330@.f14g2000cwb.googlegroups.com...
> Thanks for the reply.
> No I don't have these in //localhost or the 2 db ReportServer &
> ReportServerTempDB
> Should these be installed on winXP Pro sql 2k developer ?
> I will run thru the install again, maybe I need to reboot.
> Thanks,
> Matt
>|||Most definately not, I uninstalled Reporting Services. I checked the
webserver was sending pages, and then reinstalled reporting services.
No go! No Reports or ReportServer folders in Inetsvr/wwwroot or
virtual directories in the IIS management console.
I am installing Reporting Services Evaluation Edition would this be a
factor.
Also I don't have my op system running on the C:\ drive it is on D:\
Also my sql server isn't on local it has a name...
Any ideas. I'm really stumped. or perhaps I need to reinstall
everything. 8(
Bruce L-C [MVP] wrote:
> Most likely you do not have IIS running. IIS needs to be running
prior to
> the install in order to install the server components.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "yurps" <yurps@.yahoo.co.uk> wrote in message
> news:1104784807.181616.141330@.f14g2000cwb.googlegroups.com...
> > Thanks for the reply.
> >
> > No I don't have these in //localhost or the 2 db ReportServer &
> > ReportServerTempDB
> >
> > Should these be installed on winXP Pro sql 2k developer ?
> >
> > I will run thru the install again, maybe I need to reboot.
> > Thanks,
> > Matt
> >|||You are not getting any error messages?
If SQL Server is not running as the default instance that could be causing a
problem. I seem to remember that you have to do something different if this
is the case. My guess is that it would be similar as if you had SQL Server
on a different server. Evaluation edition should be working with developer
edition of SQL Server.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"yurps" <yurps@.yahoo.co.uk> wrote in message
news:1104788095.554304.294910@.z14g2000cwz.googlegroups.com...
> Most definately not, I uninstalled Reporting Services. I checked the
> webserver was sending pages, and then reinstalled reporting services.
> No go! No Reports or ReportServer folders in Inetsvr/wwwroot or
> virtual directories in the IIS management console.
> I am installing Reporting Services Evaluation Edition would this be a
> factor.
> Also I don't have my op system running on the C:\ drive it is on D:\
> Also my sql server isn't on local it has a name...
> Any ideas. I'm really stumped. or perhaps I need to reinstall
> everything. 8(
> Bruce L-C [MVP] wrote:
> > Most likely you do not have IIS running. IIS needs to be running
> prior to
> > the install in order to install the server components.
> >
> > --
> > Bruce Loehle-Conger
> > MVP SQL Server Reporting Services
> >
> > "yurps" <yurps@.yahoo.co.uk> wrote in message
> > news:1104784807.181616.141330@.f14g2000cwb.googlegroups.com...
> > > Thanks for the reply.
> > >
> > > No I don't have these in //localhost or the 2 db ReportServer &
> > > ReportServerTempDB
> > >
> > > Should these be installed on winXP Pro sql 2k developer ?
> > >
> > > I will run thru the install again, maybe I need to reboot.
> > > Thanks,
> > > Matt
> > >
>|||Well I uninstalled SQL, that's the only way to make it run as a default
instance, if you don't set it up that way.
...but unfortunately that didn't do, still no /Reports or
/ReportServer
virtual directories.
Errors ? the only entry in Event Viewer for Application id
8128 :
Using 'xpstar.dll' version '2000.80.760' to execute extended stored
procedure 'sp_MSgetversion'.
Hope this all does waste all the time it was meant to save.
Thanks,
Matt
Bruce L-C [MVP] wrote:
> You are not getting any error messages?
> If SQL Server is not running as the default instance that could be
causing a
> problem. I seem to remember that you have to do something different
if this
> is the case. My guess is that it would be similar as if you had SQL
Server
> on a different server. Evaluation edition should be working with
developer
> edition of SQL Server.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "yurps" <yurps@.yahoo.co.uk> wrote in message
> news:1104788095.554304.294910@.z14g2000cwz.googlegroups.com...
> > Most definately not, I uninstalled Reporting Services. I checked
the
> > webserver was sending pages, and then reinstalled reporting
services.
> > No go! No Reports or ReportServer folders in Inetsvr/wwwroot or
> > virtual directories in the IIS management console.
> >
> > I am installing Reporting Services Evaluation Edition would this be
a
> > factor.
> >
> > Also I don't have my op system running on the C:\ drive it is on
D:\
> >
> > Also my sql server isn't on local it has a name...
> >
> > Any ideas. I'm really stumped. or perhaps I need to reinstall
> > everything. 8(
> >
> > Bruce L-C [MVP] wrote:
> > > Most likely you do not have IIS running. IIS needs to be running
> > prior to
> > > the install in order to install the server components.
> > >
> > > --
> > > Bruce Loehle-Conger
> > > MVP SQL Server Reporting Services
> > >
> > > "yurps" <yurps@.yahoo.co.uk> wrote in message
> > > news:1104784807.181616.141330@.f14g2000cwb.googlegroups.com...
> > > > Thanks for the reply.
> > > >
> > > > No I don't have these in //localhost or the 2 db ReportServer &
> > > > ReportServerTempDB
> > > >
> > > > Should these be installed on winXP Pro sql 2k developer ?
> > > >
> > > > I will run thru the install again, maybe I need to reboot.
> > > > Thanks,
> > > > Matt
> > > >
> >|||Hmm, the version seems wrong. What version do you get if you do a select
@.@.version? You need to have sp3a installed on SQL Server and at least the
version mentioned below is not that (but could be the dll has a different
version which is why I asked you to do a select @.@.version).
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"yurps" <yurps@.yahoo.co.uk> wrote in message
news:1104798771.519440.231600@.f14g2000cwb.googlegroups.com...
> Well I uninstalled SQL, that's the only way to make it run as a default
> instance, if you don't set it up that way.
> ...but unfortunately that didn't do, still no /Reports or
> /ReportServer
> virtual directories.
> Errors ? the only entry in Event Viewer for Application id
> 8128 :
> Using 'xpstar.dll' version '2000.80.760' to execute extended stored
> procedure 'sp_MSgetversion'.
> Hope this all does waste all the time it was meant to save.
> Thanks,
> Matt
>
> Bruce L-C [MVP] wrote:
> > You are not getting any error messages?
> >
> > If SQL Server is not running as the default instance that could be
> causing a
> > problem. I seem to remember that you have to do something different
> if this
> > is the case. My guess is that it would be similar as if you had SQL
> Server
> > on a different server. Evaluation edition should be working with
> developer
> > edition of SQL Server.
> >
> >
> > --
> > Bruce Loehle-Conger
> > MVP SQL Server Reporting Services
> >
> > "yurps" <yurps@.yahoo.co.uk> wrote in message
> > news:1104788095.554304.294910@.z14g2000cwz.googlegroups.com...
> > > Most definately not, I uninstalled Reporting Services. I checked
> the
> > > webserver was sending pages, and then reinstalled reporting
> services.
> > > No go! No Reports or ReportServer folders in Inetsvr/wwwroot or
> > > virtual directories in the IIS management console.
> > >
> > > I am installing Reporting Services Evaluation Edition would this be
> a
> > > factor.
> > >
> > > Also I don't have my op system running on the C:\ drive it is on
> D:\
> > >
> > > Also my sql server isn't on local it has a name...
> > >
> > > Any ideas. I'm really stumped. or perhaps I need to reinstall
> > > everything. 8(
> > >
> > > Bruce L-C [MVP] wrote:
> > > > Most likely you do not have IIS running. IIS needs to be running
> > > prior to
> > > > the install in order to install the server components.
> > > >
> > > > --
> > > > Bruce Loehle-Conger
> > > > MVP SQL Server Reporting Services
> > > >
> > > > "yurps" <yurps@.yahoo.co.uk> wrote in message
> > > > news:1104784807.181616.141330@.f14g2000cwb.googlegroups.com...
> > > > > Thanks for the reply.
> > > > >
> > > > > No I don't have these in //localhost or the 2 db ReportServer &
> > > > > ReportServerTempDB
> > > > >
> > > > > Should these be installed on winXP Pro sql 2k developer ?
> > > > >
> > > > > I will run thru the install again, maybe I need to reboot.
> > > > > Thanks,
> > > > > Matt
> > > > >
> > >
>
Wednesday, March 21, 2012
Reporting Services on AS2005 cube
Hi all,
I'm trying to create a RS report that will use an AS2005 cube as a datasource. I did try to use the query wizard from reporting services to build the mdx statement but I'm having a hard time with it... How could I use the following MDX statement in a reporting services report? Do you have to use the query builder?
Code Snippet
WITH SET [Last 5 Months] AS
{TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(1),
TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(2),
TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(3),
TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(4),
TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(5)}
MEMBER [Date].[Calendar].[AVG 5 months] AS
AVG([Last 5 Months])
MEMBER [Date].[Calendar].[Last Mth Var.] AS
(TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(1) - AVG([Last 5 Months]))
MEMBER [Date].[Calendar].[YTD] AS
AGGREGATE(YTD(TAIL( NONEMPTY( {[Date].[Calendar].[Month].MEMBERS}, {[Measures].[Internet Sales Amount]} ) ,1).ITEM(0).LAG(1)))
SELECT
{[Last 5 Months],[AVG 5 Months],[Last Mth Var.],[YTD]} ON COLUMNS,
NONEMPTY([Product].[Category].Members) ON ROWS
FROM [Adventure Works]
WHERE [Measures].[Internet Sales Amount]
It's probably very simple to acheive but for some reason I can't get this to work properly...
I did a lot of RS against relational DB but reporting out of a cube is new to me.
TIA,
Eric
In the query builder, there's an option at the top for design mode, clicking this will bring you to the mdx.
If you've already been there, sorry for the explanation. Are you receiving any errors?
cheers,
Andrew
|||The SSAS 2005 provider, which the MDX Query Designer uses, requires measures on columns while you request an MDX set. The long story short -- you cannot use this query as it is with the MDX Query Designer. Instead, consider using the Microsoft OLE DB Provider for Analysis Services 9.0. It allows you to send whatever query you want but it doesn't support parameterized queries.|||Thanks Teo,
I looks like RS is a good reporting tool against Relational DB but it's not so good with complex MDX that you need to parameterized...
|||Please post this to the wish list on connect.microsoft.com.Friday, March 9, 2012
Reporting services -Help please :-)
Hi all,Hope you can help.
I read the solution about how to create your own legend in cases where the number of serious is dynamicly changing.
The problem is i dont know how to set the chart colors , or like the authors wrote:
"Set the color of the data point in the chart as well as the background color of the first column in the table to:
=Code.GetColor(Fields!Series.Value)"
How do i do that?
You will need at least RS 2000 SP1 or RS 2005.
The steps are:
1. Open the Chart Properties dialog box
2. Click the Data tab.
3. In the Values list, select a [Value], and then click Edit.
4. In the Edit Chart Value dialog box, click the Appearance tab.
5. Click Series Style to open the Style Properties dialog box.
-- Robert
|||Thanks.
I find the answer in another article of yours :-)
Reporting Services Footer issue and workarounds
I had to create an invoice report, where there is a stub on the buttom of the last page.
I need a report footer and RS does not have it.
I talked to Microsoft about it, here is the full emails between me and Microsoft.
hope this helps
Read from buttom to top
--
Hi Ronnie
Sorry I was late in getting back to you as I was out of the office in the last couple of days
I made some checks and it seems the problem that you have is a genuine one.
The workarounds that you specified are the only solutions available now.
I checked with the development team and even though they are aware of the problem, they told me that there won’t be changes to fix it in SQL 2008
So you have to decide on one of the workarounds that you specified
Best Regards,
Hi Tamer,
I wonder if you had any updates on our issue with RS2005.
Thanks,
Thanks for your help on this issue, I am going to more research on your solution (moving the footer to the body).
Meanwhile, I be looking forward for your sample as well.
Thanks again for all your efforts.
Ronnie Peretz
Hi neil
I think there is a way to implement your need in Reporting Services
Reporting Services has a free form designer which means that whatever you put on the report will appear in the same order in the final view. This is why we don’t have a report footer.
Instead of putting the stub in the footer, just put it after the last item.
You can use a list dataregion to make sure that the stub will always appear at the bottom of the page in the expected location
Ronnie, I hope that solves your problem
Contact me directly if you need more info on how to implement this
Best Regards,
Tamer Farag
Here are all the facts I learned about Reporting Services "Report Footer" limitations and workaround I have tried.
Objective: On the last page of an invoice at the bottom of the last page have a stub of the invoice:
Issue: Reporting Services does not support Report Footer only Page Footer. (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1439673&SiteID=1)
Work around that I have tried:
Work around 1:
I have created a page footer with a rectangle and set the Visibility expression to =Globals.PageNumber < Globals.TotalPages
Results: The page footer did show up only in the last page, but created a block of space in the first pages.
I was trying to see if there is a way to suppress the spaces from the first pages, and found out it's not supported in Reporting Services
This behavior where the report body would consume the space of the empty page header & footer is currently not supported.
-- Robert (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=340650&SiteID=1)
Work around 2:
I tried to fit all the footer objects in the rectangle in a very small height range, hoping it will auto grow at run time. That did not work as well.
The textboxes did auto grow, but the Rectangle object or the Page Footer itself does not auto grow, cause to cut the footer information.
Work around 3:
Set the property on the page footer PrintOnFirstPage to False, and PrintOnLastPage = True, Reporting services does print the footer in pages in between.
works great for reports that have only 2 pages, but not not more then 2 pages
Best workaround:
Instead of having a space block at the bottom of each page, have a marketing text on every page except the last page
I had overlap a textbox on top of the rectangle (in the page footer) and having this expression on the Visibility =Globals.PageNumber = Globals.TotalPages.
For most of the invoices which are one page, that text will not show up and the Invoice stub will show up
For Invoices which are two pages or more, the marketing text will show up in the first pages only and in the last page the Invoice stub will show.
note: this workaround cause a warning saying "Overlapping report items are not supported in all renderers."
but it is supported for PDF.
In Reporting services 2000 there is actually a messy way of representing data in your headers and footers.
I used the follwoing method to present header and footer values without using global variables for an invoice showing a remittance advice/footer with dataset values.
Basically it seems reporting services renders the body section content first, one would presume that this is because it needs to know what content lies there to produce the values for page totals and numbering etc.
What you need to do is use a text box (or multiple) in the body field, with the repeat with "table1" (which contains your invoice row detail and totals) option set, and set the hidden attribute to "true". Then overlap your table with your invoice rows on top of these fields. This will ensure that your header and footer values are repeated on each page.
Now to use the hidden text boxes you have just created in the header and footer, you just need to create another text box containing this expression
=ReportItems("TextBox1").Value
Where "TextBox1" obviously reffers to one of the fields you've created and hidden in the body content.
I hope this helps, why you can reference a textbox value in the body and not a field value, I have no idea... something overlooked I guess?
Thanks
Gary
Saturday, February 25, 2012
Reporting Services Data Extension - Passing Report Parameters
I have created a custom data extension.
I am using this custom data extension from BI Studio.
Que1: I want to create report parameters from BI studio and capture them in my Data Extension.
Que2: Every report parameter has so many properties, like hidden, internal, default value etc, how do capture that information in my data extension, the parameters only give me name and value.
Que3: I know I can capture command Text. So My command can be Select * From tablename where fieldname= @.myFieldname. Once I get this commandText in my data extension, How do extract parameters of the command?
Que4: If I have any custom attributes in my RDL file, Can I capture them in my Data Extension ?
Any help is appreciated...
Anybody, Any suggestions, please.....