Showing posts with label pages. Show all posts
Showing posts with label pages. Show all posts

Thursday, March 22, 2012

Book recall

Copies of my book "Analytics & OLAP in SQL" have pages 13-44 missing
and pages 61-92 printed twice. Please contact Morgan-Kaufmann or
your book dealer for replacements. I cannot do anything (Remember the
movie THE PRODUCERS? "Don't kill us [the producers]!! Kill the
actors!!')--CELKO-- (jcelko212@.earthlink.net) writes:

Quote:

Originally Posted by

Copies of my book "Analytics & OLAP in SQL" have pages 13-44 missing
and pages 61-92 printed twice. Please contact Morgan-Kaufmann or
your book dealer for replacements. I cannot do anything (Remember the
movie THE PRODUCERS? "Don't kill us [the producers]!! Kill the
actors!!')


Seems like you missed to put in a primary key constraint!

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||>Seems like you missed to put in a primary key constraint!<<

LOL! Three other people beat you to that gag. So far, only three
copies have shown up, so it i not too big a problem.

Sunday, March 11, 2012

Blocking problem

SQL2K, sp3
Active Server Pages front-end

I am having a blocking problem with a spid executing a stored
procedure that does no updates. When I look at the locks the blocking
spid has, some of them have lock mode "IS". Looking in BOL, I see "S"
is shared, but I don't see "IS". Can anyone tell me what lock mode
"IS" is?

And how could a stored procedure that does no updates be guilty of
blocking?
There are no cursors in it.

Thanks![posted and mailed, please reply in news]

Hal (hforman1@.cfl.rr.com) writes:
> I am having a blocking problem with a spid executing a stored
> procedure that does no updates. When I look at the locks the blocking
> spid has, some of them have lock mode "IS". Looking in BOL, I see "S"
> is shared, but I don't see "IS". Can anyone tell me what lock mode
> "IS" is?

Intent Shared. If memory serves, if a process has a lock on row level,
it will also take out an intent lock on table level, at least under
some circumstances.

> And how could a stored procedure that does no updates be guilty of
> blocking?

It could block a writer that wishes to update one of the rows that the
reader locks.

To get a better hold of the locking situation, it's probably better to
lock at the blocking processes, and see what lock it is blocked on. I
have a routine on my web site that is conventient for this kind of thing.
You get all active processes (and if a process holds a lock it's active
by definition), their locks and their current statements. Spot the blocked
processes and lock for locks with status WAIY. You find it at
http://www.sommarskog.se/sqlutil/aba_lockinfo.html.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Wednesday, March 7, 2012

Blocked process mystery

This morning, we discovered that our application was timing out on several
pages. We tracked it down to a table that couldn't be read without timing
out. In Enterprise Manager, we found a table (TAB) lock on the table that
was of mode IS that was blocking other spids. The text property of the lock
showed this lock to be on a simple reporting stored procedure, which just
did a SELECT on a couple of tables that should have only taken a second or
two. We tried to debug the problem for several minutes, but to no avail.
Finally, we killed the lock and the database problem was immediately solved.
A look at SQL Profiler (which we run continuously) showed that a query that
matched the text property of the lock and had the same pid as the lock had
been started last Tuesday and ended at roughly the same time as we killed
the lock. The index name listed with the lock in Enterprise Manager also
was strange, since the index listed was not used by the stored procedure
listed in the properties.
We have had several similar problems with our database in the past, but this
is the first time we didn't resort to just a reboot. Why would a simple
stored procedure executing a select cause such problems? Why would this
procedure be allowed to run for a week? Why would we experience no problems
until days after (the table being locked was core to almost every page in
the system and was fine until this morning)? Can the index listed in the
lock information be used to debug the problem?
An even bigger question is how to handle such a problem after it occurs?
Killing the spid seems to have caused some problems in the dotNet
application and forced me to restart the app. Is there a more graceful
method of rolling back the offending process?the spid you found did not actually lock on the tab, it was an intent share
lock . .effectively indicating that it was going to lock the table(possibly
pages within the table). what version of sql do you have running(and what
service pack) if you are running sql2k plus sp3 then ::fn_get_sql can be
useful in the future to indicate what the currently executing sql was for
that particular spid.
I would also switch on traceflag -T1204 on this server to ensure that you
capture the full details of the blocking in the sqlerror log.
I would also look at your current configurations for query govenor cost
limit and possibly reduce this to an acceptable value which is in line with
your 'Longest Running Query'(LRQ) . . .if you have profiler running
regularly u should be able to determine what your longest running query is
and set you query govenor cost limit accordingly, preventing such problems.
re: stopping the spid . .the only option is to kill the spid(or find out the
application that had started the process and closing the application)
it will be useful for the next time it happens to perform a select * from
master.dbo.sysprocesse(nolock) to identify what the current waittype / wait
resource /waittine were for the query in question . . as a means to
establish if there are other hidden issues within your system.
HTH
Olu Adedeji
"Stephen Brown" <nospam@.telusplanet.net> wrote in message
news:cin2ht$rbf$1@.utornnr1pp.grouptelecom.net...
> This morning, we discovered that our application was timing out on several
> pages. We tracked it down to a table that couldn't be read without timing
> out. In Enterprise Manager, we found a table (TAB) lock on the table that
> was of mode IS that was blocking other spids. The text property of the
lock
> showed this lock to be on a simple reporting stored procedure, which just
> did a SELECT on a couple of tables that should have only taken a second or
> two. We tried to debug the problem for several minutes, but to no avail.
> Finally, we killed the lock and the database problem was immediately
solved.
> A look at SQL Profiler (which we run continuously) showed that a query
that
> matched the text property of the lock and had the same pid as the lock
had
> been started last Tuesday and ended at roughly the same time as we killed
> the lock. The index name listed with the lock in Enterprise Manager also
> was strange, since the index listed was not used by the stored procedure
> listed in the properties.
> We have had several similar problems with our database in the past, but
this
> is the first time we didn't resort to just a reboot. Why would a simple
> stored procedure executing a select cause such problems? Why would this
> procedure be allowed to run for a week? Why would we experience no
problems
> until days after (the table being locked was core to almost every page in
> the system and was fine until this morning)? Can the index listed in the
> lock information be used to debug the problem?
> An even bigger question is how to handle such a problem after it occurs?
> Killing the spid seems to have caused some problems in the dotNet
> application and forced me to restart the app. Is there a more graceful
> method of rolling back the offending process?
>

Sunday, February 19, 2012

Blank rows on report

Hello,
My report seems to be generrating a randon number of rows per page. Some
pages have only one row, others three and some blank. this does not appear
to correspond to group breaks. Has anyone else seen this? Is there a way to
make the report rows follow immediately one after another?
Thanks.HI jo st charles,
i encountered the same problem because of the improper groupings onli.
u can check the same.
check out the detail cell u can find some more.if u can give out some more
info
i will help u out.
cheers
drupa

Blank pages when printing

Hi - I am generating a table with large amounts of data. When I generate the
report, the report looks fine but when I print preview it, every alternating
page is blank with only the header and footer being displayed on every page.
I have tried playing around with the page breaks with no luck. Is there a
way, maybe programmaticaly to set page breaks and stop my report from having
blank page between data page? Or what might be causing the alternate blank
pages with header/footer?
thanksHello ISGADMIN,
I had a real time myself at first with plank pages as I am sure a lot of
designers did, but all you need to do is make sure the design grid, margin
settings and data regions fall within boundaries when designing. If you have
a one inch margins on the R and L in Landscape settings (11 X 8.5 in the
Report Properties) for example, the design area and all objects on it need
to fall under 10 inches on the ruler. You may have to tweak with the
measurement for the actual grid to get it just right, but it will work.
--
Rodney Landrum - Author, "Pro SQL Server Reporting Services" (Apress)
http://www.apress.com
"ISGADMIN" <isgadmin@.newsgroup.nospam> wrote in message
news:C1D58BC4-D257-4052-AAB6-10BE7BEE21E2@.microsoft.com...
> Hi - I am generating a table with large amounts of data. When I generate
> the
> report, the report looks fine but when I print preview it, every
> alternating
> page is blank with only the header and footer being displayed on every
> page.
> I have tried playing around with the page breaks with no luck. Is there a
> way, maybe programmaticaly to set page breaks and stop my report from
> having
> blank page between data page? Or what might be causing the alternate
> blank
> pages with header/footer?
> thanks|||Have you considered re-creating the report? Or copy & paste the RDL File,
and start deleting objects from it. Perhaps one of the objects is taking a
full new page.
"ItSGADMIN" wrote:
> Hi - I am generating a table with large amounts of data. When I generate the
> report, the report looks fine but when I print preview it, every alternating
> page is blank with only the header and footer being displayed on every page.
> I have tried playing around with the page breaks with no luck. Is there a
> way, maybe programmaticaly to set page breaks and stop my report from having
> blank page between data page? Or what might be causing the alternate blank
> pages with header/footer?
> thanks|||Hi isgadmin,
I wanted to post a quick note to see if you would like additional
assistance or information regarding this particular issue. We appreciate
your patience and look forward to hearing from you!
Sincerely yours,
Michael Cheng
Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---
Get Secure! - http://www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!

blank pages inserted on exported pdf and tif format

Hi,
After I export the report to PDF or TIF format, the pages became double. It
inserts a blank sheet on every page of the report. Does anyone know how to
fix this issue? Any help is appreciate it.
Thanks,
LianneLianne,
I had that problem too. Some of your report items are wider than the page.
Look on the ruler above your report page and make sure that you do not have
any report items that go to the right more than the width of your page
(usually it's 8.5 inches).
Good luck.
"Lianne Kwock" wrote:
> Hi,
> After I export the report to PDF or TIF format, the pages became double. It
> inserts a blank sheet on every page of the report. Does anyone know how to
> fix this issue? Any help is appreciate it.
>
> Thanks,
> Lianne|||Not greater than the width of the page when considering your margins plus
the ruler.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Simon Gold" <SimonGold@.discussions.microsoft.com> wrote in message
news:862C6173-C1F9-40B2-8C4E-1B1333BEA0ED@.microsoft.com...
> Lianne,
> I had that problem too. Some of your report items are wider than the page.
> Look on the ruler above your report page and make sure that you do not
> have
> any report items that go to the right more than the width of your page
> (usually it's 8.5 inches).
> Good luck.
> "Lianne Kwock" wrote:
>> Hi,
>> After I export the report to PDF or TIF format, the pages became double.
>> It
>> inserts a blank sheet on every page of the report. Does anyone know how
>> to
>> fix this issue? Any help is appreciate it.
>>
>> Thanks,
>> Lianne|||You will also need to make sure that your report respect the following:
Body:Width > (Report:PageWidth - Report:LeftMargin -
Report:RightMargin).
A similar restriction exists for Body:Height and Report:PageHeight.
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Lianne Kwock" <LianneKwock@.discussions.microsoft.com> wrote in message
news:509E186D-CBBD-4725-B46C-47F175AEAA6F@.microsoft.com...
> Hi,
> After I export the report to PDF or TIF format, the pages became double.
> It
> inserts a blank sheet on every page of the report. Does anyone know how
> to
> fix this issue? Any help is appreciate it.
>
> Thanks,
> Lianne

blank pages in reports through subscriptions

I have Reporting Services 2005 wsp1, SQL Server 2005 version 9.00.2047. When
I generate reports through Reports Admin interface and then export them to
PDF, they come out ok. When I set up a subscription that is supposed to send
a report in pdf format - I get the same report with around 50 blank pages
inserted in it.
Anybody ran across the same stuff?On Mar 2, 11:39 am, "ilona" <ilona_scramb...@.no-go.com> wrote:
> I have Reporting Services 2005 wsp1, SQL Server 2005 version 9.00.2047. When
> I generate reports through Reports Admin interface and then export them to
> PDF, they come out ok. When I set up a subscription that is supposed to send
> a report in pdf format - I get the same report with around 50 blank pages
> inserted in it.
> Anybody ran across the same stuff?
I've had some problems with this before...I would try to eliminate any
unused space in the report designer area and check your page
setting...
Cheers,
-Ben

Blank pages in report preview

Hello, Everyone,

I'm new to Reporting Services. I wrote a report today containing one grouping. Everything appears all right in the report preview, except that every other page is "blank", i.e., shows only the page header and page footer; all grouping and detail information is missing. The data on the page following the blank page seems to pick up where the previous non-blank page left off, so all information seems to be present within the report.

The report width and height properties are typical portrait-style -- 8.5 x 11 inches. The columns do not "run off the edge" of the report page boundary. I haven't selected any page break for the grouping, as the grouping detail is typically only a few rows long, and would otherwise result in a very large number of pages. Can anyone offer some advice to correct this problem, please?

Many thanks!

CraigI found the problem cause. In Reporting Services,

report body width must be <= (report width - report margins width).

I reduced the margins to zero width, and the pagination problem disappeared!|||

Hi,

I am struggeling with the same problem, only your solution does not work for me...

My page width = 30cm, Report Width = 26cm, Margins = 1 cm allround, and no fields are set to CanGrow=false, any other ideas?

I'm using RS 2000

|||I have just upgraded the report to RS 2005 without any modifications, and the problem disappeared, seems to be a RS 2000 bug...|||

Hi,

I'm having the same problem but with a twist.

If the body width <= report width+margins then i only get 1 page of the report with no blank pages. (supposed to be 2)

If however the body width > report width+margins then i get all the pages but with an extra 2 blank pages.

Any ideas anyone? (I'm using RS2005)

|||

Craig,

Thanks! That one had me. All I had to do was right-click on the "Body" section and set the width to 10in and it worked fine.

Jim

|||Had another similar problem, this time involving a matrix Table (cross-tab) in the Body section of the report. I had to actually make the Table itself smaller (narrower) until the blank page disappeared in Preview. Also, I noticed that in Preview the blank pages didn't show up until I clicked the Print Layout button on the toolbar in Preview. Similar problems happen in Reporting Services report viewer. Weird.|||

I am using a matrix control in a report containing 2 subreports. The matrix control is present in one of the subreports. When I export the full report into the PDF,if the matrix are rendered in a single page, the report is fine and there are no blank pages. But when the number of columns exceeds the first page and moves into the second page then there are 3 blank pages in the report for every page with content.

This problem occurs only when I try to generate the whole report. No blank pages appear when I render subreports into PDFs individually.

Please help!!

Cheers!!

Ravi

Blank pages in report preview

Hello, Everyone,

I'm new to Reporting Services. I wrote a report today containing one grouping. Everything appears all right in the report preview, except that every other page is "blank", i.e., shows only the page header and page footer; all grouping and detail information is missing. The data on the page following the blank page seems to pick up where the previous non-blank page left off, so all information seems to be present within the report.

The report width and height properties are typical portrait-style -- 8.5 x 11 inches. The columns do not "run off the edge" of the report page boundary. I haven't selected any page break for the grouping, as the grouping detail is typically only a few rows long, and would otherwise result in a very large number of pages. Can anyone offer some advice to correct this problem, please?

Many thanks!

CraigI found the problem cause. In Reporting Services,

report body width must be <= (report width - report margins width).

I reduced the margins to zero width, and the pagination problem disappeared!|||

Hi,

I am struggeling with the same problem, only your solution does not work for me...

My page width = 30cm, Report Width = 26cm, Margins = 1 cm allround, and no fields are set to CanGrow=false, any other ideas?

I'm using RS 2000

|||I have just upgraded the report to RS 2005 without any modifications, and the problem disappeared, seems to be a RS 2000 bug...|||

Hi,

I'm having the same problem but with a twist.

If the body width <= report width+margins then i only get 1 page of the report with no blank pages. (supposed to be 2)

If however the body width > report width+margins then i get all the pages but with an extra 2 blank pages.

Any ideas anyone? (I'm using RS2005)

|||

Craig,

Thanks! That one had me. All I had to do was right-click on the "Body" section and set the width to 10in and it worked fine.

Jim

|||Had another similar problem, this time involving a matrix Table (cross-tab) in the Body section of the report. I had to actually make the Table itself smaller (narrower) until the blank page disappeared in Preview. Also, I noticed that in Preview the blank pages didn't show up until I clicked the Print Layout button on the toolbar in Preview. Similar problems happen in Reporting Services report viewer. Weird.|||

I am using a matrix control in a report containing 2 subreports. The matrix control is present in one of the subreports. When I export the full report into the PDF,if the matrix are rendered in a single page, the report is fine and there are no blank pages. But when the number of columns exceeds the first page and moves into the second page then there are 3 blank pages in the report for every page with content.

This problem occurs only when I try to generate the whole report. No blank pages appear when I render subreports into PDFs individually.

Please help!!

Cheers!!

Ravi

Blank pages in report preview

Hello, Everyone,

I'm new to Reporting Services. I wrote a report today containing one grouping. Everything appears all right in the report preview, except that every other page is "blank", i.e., shows only the page header and page footer; all grouping and detail information is missing. The data on the page following the blank page seems to pick up where the previous non-blank page left off, so all information seems to be present within the report.

The report width and height properties are typical portrait-style -- 8.5 x 11 inches. The columns do not "run off the edge" of the report page boundary. I haven't selected any page break for the grouping, as the grouping detail is typically only a few rows long, and would otherwise result in a very large number of pages. Can anyone offer some advice to correct this problem, please?

Many thanks!

CraigI found the problem cause. In Reporting Services,

report body width must be <= (report width - report margins width).

I reduced the margins to zero width, and the pagination problem disappeared!|||

Hi,

I am struggeling with the same problem, only your solution does not work for me...

My page width = 30cm, Report Width = 26cm, Margins = 1 cm allround, and no fields are set to CanGrow=false, any other ideas?

I'm using RS 2000

|||I have just upgraded the report to RS 2005 without any modifications, and the problem disappeared, seems to be a RS 2000 bug...|||

Hi,

I'm having the same problem but with a twist.

If the body width <= report width+margins then i only get 1 page of the report with no blank pages. (supposed to be 2)

If however the body width > report width+margins then i get all the pages but with an extra 2 blank pages.

Any ideas anyone? (I'm using RS2005)

|||

Craig,

Thanks! That one had me. All I had to do was right-click on the "Body" section and set the width to 10in and it worked fine.

Jim

|||Had another similar problem, this time involving a matrix Table (cross-tab) in the Body section of the report. I had to actually make the Table itself smaller (narrower) until the blank page disappeared in Preview. Also, I noticed that in Preview the blank pages didn't show up until I clicked the Print Layout button on the toolbar in Preview. Similar problems happen in Reporting Services report viewer. Weird.|||

I am using a matrix control in a report containing 2 subreports. The matrix control is present in one of the subreports. When I export the full report into the PDF,if the matrix are rendered in a single page, the report is fine and there are no blank pages. But when the number of columns exceeds the first page and moves into the second page then there are 3 blank pages in the report for every page with content.

This problem occurs only when I try to generate the whole report. No blank pages appear when I render subreports into PDFs individually.

Please help!!

Cheers!!

Ravi

Blank pages in report preview

Hello, Everyone,

I'm new to Reporting Services. I wrote a report today containing one grouping. Everything appears all right in the report preview, except that every other page is "blank", i.e., shows only the page header and page footer; all grouping and detail information is missing. The data on the page following the blank page seems to pick up where the previous non-blank page left off, so all information seems to be present within the report.

The report width and height properties are typical portrait-style -- 8.5 x 11 inches. The columns do not "run off the edge" of the report page boundary. I haven't selected any page break for the grouping, as the grouping detail is typically only a few rows long, and would otherwise result in a very large number of pages. Can anyone offer some advice to correct this problem, please?

Many thanks!

CraigI found the problem cause. In Reporting Services,

report body width must be <= (report width - report margins width).

I reduced the margins to zero width, and the pagination problem disappeared!|||

Hi,

I am struggeling with the same problem, only your solution does not work for me...

My page width = 30cm, Report Width = 26cm, Margins = 1 cm allround, and no fields are set to CanGrow=false, any other ideas?

I'm using RS 2000

|||I have just upgraded the report to RS 2005 without any modifications, and the problem disappeared, seems to be a RS 2000 bug...|||

Hi,

I'm having the same problem but with a twist.

If the body width <= report width+margins then i only get 1 page of the report with no blank pages. (supposed to be 2)

If however the body width > report width+margins then i get all the pages but with an extra 2 blank pages.

Any ideas anyone? (I'm using RS2005)

|||

Craig,

Thanks! That one had me. All I had to do was right-click on the "Body" section and set the width to 10in and it worked fine.

Jim

|||Had another similar problem, this time involving a matrix Table (cross-tab) in the Body section of the report. I had to actually make the Table itself smaller (narrower) until the blank page disappeared in Preview. Also, I noticed that in Preview the blank pages didn't show up until I clicked the Print Layout button on the toolbar in Preview. Similar problems happen in Reporting Services report viewer. Weird.|||

I am using a matrix control in a report containing 2 subreports. The matrix control is present in one of the subreports. When I export the full report into the PDF,if the matrix are rendered in a single page, the report is fine and there are no blank pages. But when the number of columns exceeds the first page and moves into the second page then there are 3 blank pages in the report for every page with content.

This problem occurs only when I try to generate the whole report. No blank pages appear when I render subreports into PDFs individually.

Please help!!

Cheers!!

Ravi

Blank pages in report preview

Hello, Everyone,

I'm new to Reporting Services. I wrote a report today containing one grouping. Everything appears all right in the report preview, except that every other page is "blank", i.e., shows only the page header and page footer; all grouping and detail information is missing. The data on the page following the blank page seems to pick up where the previous non-blank page left off, so all information seems to be present within the report.

The report width and height properties are typical portrait-style -- 8.5 x 11 inches. The columns do not "run off the edge" of the report page boundary. I haven't selected any page break for the grouping, as the grouping detail is typically only a few rows long, and would otherwise result in a very large number of pages. Can anyone offer some advice to correct this problem, please?

Many thanks!

CraigI found the problem cause. In Reporting Services,

report body width must be <= (report width - report margins width).

I reduced the margins to zero width, and the pagination problem disappeared!|||

Hi,

I am struggeling with the same problem, only your solution does not work for me...

My page width = 30cm, Report Width = 26cm, Margins = 1 cm allround, and no fields are set to CanGrow=false, any other ideas?

I'm using RS 2000

|||I have just upgraded the report to RS 2005 without any modifications, and the problem disappeared, seems to be a RS 2000 bug...|||

Hi,

I'm having the same problem but with a twist.

If the body width <= report width+margins then i only get 1 page of the report with no blank pages. (supposed to be 2)

If however the body width > report width+margins then i get all the pages but with an extra 2 blank pages.

Any ideas anyone? (I'm using RS2005)

|||

Craig,

Thanks! That one had me. All I had to do was right-click on the "Body" section and set the width to 10in and it worked fine.

Jim

|||Had another similar problem, this time involving a matrix Table (cross-tab) in the Body section of the report. I had to actually make the Table itself smaller (narrower) until the blank page disappeared in Preview. Also, I noticed that in Preview the blank pages didn't show up until I clicked the Print Layout button on the toolbar in Preview. Similar problems happen in Reporting Services report viewer. Weird.|||

I am using a matrix control in a report containing 2 subreports. The matrix control is present in one of the subreports. When I export the full report into the PDF,if the matrix are rendered in a single page, the report is fine and there are no blank pages. But when the number of columns exceeds the first page and moves into the second page then there are 3 blank pages in the report for every page with content.

This problem occurs only when I try to generate the whole report. No blank pages appear when I render subreports into PDFs individually.

Please help!!

Cheers!!

Ravi

Blank Pages in report

I am supporting a web based application (ASP.NET 1.1) that uses RS 2005 on the production server. I needed to change a report, I make my changes, it looks fine in the Developer Viewer and it exports fine to PDF on my PC. I have deployed it to the production server but when you pull the report within the application (PDF format) it has 3 additional blank pages on the end of the report. The report is the correct size. It does not excede the 8/11 page size including the margins, there are no hidden fields. The report does have 4 tables. I have even viewed the report from //localhost/reports on the server and it shows only one page and exports to pdf with one page. I have looked at all the postings that deal with Blank pages and nothing seems to correct the problem.

Does anyone have any ideas?

Thanks

If you take things out does it still put 3 extra pages in?|||I can try that tonight. Since this only happens in production, I must wait to off hours.|||

Ok, I found the issue. This report is just a sub report to a master report. The master report was not formated to fit on 8.5/11 paper. Thus it pushed the additional blank pages. Once I formated the Master report, there where no more blank pages.

Thanks

|||

This is the most common problem for blank pages in a report.

In development the user will accidentally extend the width of the report beyond normal page limits, so extra pages get printed.

Blank Pages in a report <-- text put there for people searching on this problem.

Make sure that your main report page setup is correct for the hieght and width of your report, and also double check any subreports.

Daryl

Blank Pages in report

I am supporting a web based application (ASP.NET 1.1) that uses RS 2005 on the production server. I needed to change a report, I make my changes, it looks fine in the Developer Viewer and it exports fine to PDF on my PC. I have deployed it to the production server but when you pull the report within the application (PDF format) it has 3 additional blank pages on the end of the report. The report is the correct size. It does not excede the 8/11 page size including the margins, there are no hidden fields. The report does have 4 tables. I have even viewed the report from //localhost/reports on the server and it shows only one page and exports to pdf with one page. I have looked at all the postings that deal with Blank pages and nothing seems to correct the problem.

Does anyone have any ideas?

Thanks

If you take things out does it still put 3 extra pages in?
|||I can try that tonight. Since this only happens in production, I must wait to off hours.|||

Ok, I found the issue. This report is just a sub report to a master report. The master report was not formated to fit on 8.5/11 paper. Thus it pushed the additional blank pages. Once I formated the Master report, there where no more blank pages.

Thanks

|||

This is the most common problem for blank pages in a report.

In development the user will accidentally extend the width of the report beyond normal page limits, so extra pages get printed.

Blank Pages in a report <-- text put there for people searching on this problem.

Make sure that your main report page setup is correct for the hieght and width of your report, and also double check any subreports.

Daryl

Blank pages in print preview for sub reports

Hi,

I have serveral subreports in main report. I have no problem print the orignal report but when I print them as subreport so get extra blank pages. I try to set the width of sub report in main report the max width value (19.6 cm width) without succeed. Any help would be appreiciate!

Hi,The extra blank page is coming for the Page Layout that you set for your report.Decrease the Left Margin and right margin percentage and try to move your Textbox fields bit closer to each other from right side and remove the extra space left on the right side of your report just draging it towards left.Hope this will solve your problem.|||Hi,In Sql report the preview take extra space for the extra width that you give to your report.So remove the extra width from your report.Do not increase the default width of the report by draging it towards right.Hope this will solve your problem.

Regards
Gelu

Blank pages in Print Layout version of report

Hi All

I have a report that looks and works fine in the native 'screen layout' but when I select the Print Layout option, a blank page is inserted after each page. These blank pages contain the header and footer, but not the body section of the report. Has anyone else seen this sort of thing? Is there something in my report layout causing this, or is it a bug in the Print Layout rendering?

Thanks much

On your report layout, is the white background width, plus the size of your right and left margins (in Report, Properties) greater than your page width in report, properties?

This will cause page breaks.

BobP

|||

I have the same or similiar question.

When I preview my report in Report Services I have no blank pages. When I print preview it there is one or two pages that are blank. Well they are half blank or partial blank.

My report has a header and body. I have the labels of the body in the header because I can't get the repeatwith Property to work(That's being addressed in another thread.). In the Body I have a list box and sub list box. I have it grouped by a field contained in the list box. Some the pages end where the grouping ends, but not all. It's strange. If I edit the size of the list box or somehow or decrease the size of the report the blank pages changes. Such as now it's half blank on page 4 and 3/4 blank on page 30. out of 50. I change the list box a little and it changes my blank pages to be on 15 and 22.

Anyone got a sufggestion for this?

Card Gunner

Blank Pages generated after the subreport

Hi,

I am very new to SSRS. I developed a report which has two subreports in it. Blank page is generated at the end of each Page. Can any one help me how to avoid this.

try to reduce the spacing between the sub report components on the main page - It needs some trail and error

Blank Pages following report

I have a report that uses 7 subreports. Some reports show, some don't
depending on the data received from the Shared Datasource. My initial report
appears fine in the viewer, however I have a single page following the last
page with data containing only the header. When I create a pdf, I have 4
pages at the end with only headers. The main report and the first subreport
should be the only ones outputting data.
Ideas?
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200510/1I have found my problem, but no solution. When the subreports run, they are
given "space" on the report even if their visibility is set to False. This
is what is generating my "blank pages". This poses a new and even uglier
issue for me, What Now? My requirements are to have a single report that
gives alternate data depending on the needs of the user. I have two ideas:
1) Can I manually launch a subreport in code WITHOUT navigating away from
the parent report?
2) Is it possible to dynamically add a Subreport to the main report via VB
Code so only the subreports needed are run?
I am researching both avenues, but any advice you could offer would be WELL
received!
Rick wrote:
>I have a report that uses 7 subreports. Some reports show, some don't
>depending on the data received from the Shared Datasource. My initial report
>appears fine in the viewer, however I have a single page following the last
>page with data containing only the header. When I create a pdf, I have 4
>pages at the end with only headers. The main report and the first subreport
>should be the only ones outputting data.
>Ideas?
Message posted via http://www.sqlmonster.com|||I am also running into the same issue and finding no solution. Any help is
appreciated.
"Rick via SQLMonster.com" wrote:
> I have found my problem, but no solution. When the subreports run, they are
> given "space" on the report even if their visibility is set to False. This
> is what is generating my "blank pages". This poses a new and even uglier
> issue for me, What Now? My requirements are to have a single report that
> gives alternate data depending on the needs of the user. I have two ideas:
> 1) Can I manually launch a subreport in code WITHOUT navigating away from
> the parent report?
> 2) Is it possible to dynamically add a Subreport to the main report via VB
> Code so only the subreports needed are run?
> I am researching both avenues, but any advice you could offer would be WELL
> received!
> Rick wrote:
> >I have a report that uses 7 subreports. Some reports show, some don't
> >depending on the data received from the Shared Datasource. My initial report
> >appears fine in the viewer, however I have a single page following the last
> >page with data containing only the header. When I create a pdf, I have 4
> >pages at the end with only headers. The main report and the first subreport
> >should be the only ones outputting data.
> >
> >Ideas?
>
> --
> Message posted via http://www.sqlmonster.com
>|||Has Microsoft any answer to this problem as this is something has been faced
by many people and doesnt seem to find any solution.
Setting page size and margine is one part of avoiding blank pages but with
sub reports, it not only introduce blank pages and sometimes change the whole
look of the report.
"manish" wrote:
> I am also running into the same issue and finding no solution. Any help is
> appreciated.
> "Rick via SQLMonster.com" wrote:
> > I have found my problem, but no solution. When the subreports run, they are
> > given "space" on the report even if their visibility is set to False. This
> > is what is generating my "blank pages". This poses a new and even uglier
> > issue for me, What Now? My requirements are to have a single report that
> > gives alternate data depending on the needs of the user. I have two ideas:
> >
> > 1) Can I manually launch a subreport in code WITHOUT navigating away from
> > the parent report?
> >
> > 2) Is it possible to dynamically add a Subreport to the main report via VB
> > Code so only the subreports needed are run?
> >
> > I am researching both avenues, but any advice you could offer would be WELL
> > received!
> >
> > Rick wrote:
> > >I have a report that uses 7 subreports. Some reports show, some don't
> > >depending on the data received from the Shared Datasource. My initial report
> > >appears fine in the viewer, however I have a single page following the last
> > >page with data containing only the header. When I create a pdf, I have 4
> > >pages at the end with only headers. The main report and the first subreport
> > >should be the only ones outputting data.
> > >
> > >Ideas?
> >
> >
> > --
> > Message posted via http://www.sqlmonster.com
> >|||This is a good question, I see this issue often on many boards I post to. In
this case, it was my error. I was setting sub reports to hidden, however the
Rectangle they were in were not being set to hidden. Hence the blank pages.
When I set the Rectangle to invisible, it works like a charm. If you run
into this issue, I suggest you look at the container you placed your Sub
Report in, that just might be your error.
manish wrote:
>Has Microsoft any answer to this problem as this is something has been faced
>by many people and doesnt seem to find any solution.
>Setting page size and margine is one part of avoiding blank pages but with
>sub reports, it not only introduce blank pages and sometimes change the whole
>look of the report.
>> I am also running into the same issue and finding no solution. Any help is
>> appreciated.
>[quoted text clipped - 22 lines]
>> > >
>> > >Ideas?
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200511/1|||Also, if you set the subreport (or its container) to be invisible
conditionally, any pagebreaks selected for that subreport or container
will be ignored. For me, it is a really anoying "feature".

Thursday, February 16, 2012

blank pages

I have two tables in my report. The second table spans two pages, because of
this, in the pdf output, the first table has blank pages after each page.
Anyone could help me on this?
Thanks
AngeloI solved this myself by putting the second table into a list
"Mathi" wrote:
> I have two tables in my report. The second table spans two pages, because of
> this, in the pdf output, the first table has blank pages after each page.
> Anyone could help me on this?
> Thanks
> Angelo

Blank Pages

When I print my report in SSRS it says there are 5 pages, when I print my
report to the printer, 22 pages comes out, every other page is blank. It
does the same when I print it to PDF.
I went to Report Properties>>Layout and have my settings as 10in Width, 8in
Height and margins are set to zero.
What is wrong here?
Thanks,
RyanOn Jun 14, 2:24 pm, Ryan Mcbee <RyanMc...@.discussions.microsoft.com>
wrote:
> When I print my report in SSRS it says there are 5 pages, when I print my
> report to the printer, 22 pages comes out, every other page is blank. It
> does the same when I print it to PDF.
> I went to Report Properties>>Layout and have my settings as 10in Width, 8in
> Height and margins are set to zero.
> What is wrong here?
> Thanks,
> Ryan
You want to make sure that you are not page breaking after groups,
etc. Also, I find that when exporting to PDF, a lot of times the extra
pages can be avoided by putting multiple table/matrix controls inside
a single rectangle control (where applicable). Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant