Question

Reporting Services - Export to PDF Causes Error

Asked by: dday515

I've got a report written in Visual Studio for Reporting Services 2008. (The rdl is attached below). Its a main report with a single subreport called multiple times.

Basically - this is a calendar style report for our employee's monthly schedule.

Report works exactly as I'd expect, until I try to render it in pdf.

If there is a page header included in the report (even without any controls - just the space being there is enough), I receive the following error:

"An error occurred during local report processing. Object reference not set to an instance of an object"

Ideas? Suggestions? I'm running SQL Server 2008 Standard - SP1.

<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">
  <DataSources>
    <DataSource Name="DataSource1">
      <DataSourceReference>HIASQL</DataSourceReference>
      <rd:DataSourceID>9dd55766-d5d7-4d6a-8427-7fba938f7cca</rd:DataSourceID>
    </DataSource>
  </DataSources>
  <DataSets>
    <DataSet Name="Schedule">
      <Fields>
        <Field Name="WeekOf">
          <DataField>WeekOf</DataField>
          <rd:TypeName>System.DateTime</rd:TypeName>
        </Field>
        <Field Name="consultant_number">
          <DataField>consultant number</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="Consultant_Name">
          <DataField>Consultant Name</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
      </Fields>
      <Query>
        <DataSourceName>DataSource1</DataSourceName>
        <CommandType>StoredProcedure</CommandType>
        <CommandText>usp_Schedule_ConsCalendar</CommandText>
        <QueryParameters>
          <QueryParameter Name="@ConsNum">
            <Value>=Parameters!ConsNum.Value</Value>
          </QueryParameter>
          <QueryParameter Name="@StartDate">
            <Value>=Parameters!StartDate.Value</Value>
          </QueryParameter>
          <QueryParameter Name="@EndDate">
            <Value>=Parameters!EndDate.Value</Value>
          </QueryParameter>
        </QueryParameters>
        <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
      </Query>
    </DataSet>
  </DataSets>
  <Body>
    <ReportItems>
      <Tablix Name="Tablix1">
        <TablixBody>
          <TablixColumns>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
            <TablixColumn>
              <Width>1.5in</Width>
            </TablixColumn>
          </TablixColumns>
          <TablixRows>
            <TablixRow>
              <Height>0.25in</Height>
              <TablixCells>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=Fields!WeekOf.Value</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf1">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=DateAdd("d",1,Fields!WeekOf.Value)</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf1</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf2">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=DateAdd("d",2,Fields!WeekOf.Value)</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf1</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf3">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=DateAdd("d",3,Fields!WeekOf.Value)</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf1</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf4">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=DateAdd("d",4,Fields!WeekOf.Value)</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf1</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf5">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=DateAdd("d",5,Fields!WeekOf.Value)</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf1</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Textbox Name="WeekOf6">
                      <CanGrow>true</CanGrow>
                      <KeepTogether>true</KeepTogether>
                      <Paragraphs>
                        <Paragraph>
                          <TextRuns>
                            <TextRun>
                              <Value>=DateAdd("d",6,Fields!WeekOf.Value)</Value>
                              <Style>
                                <Format>MM/dd</Format>
                              </Style>
                            </TextRun>
                          </TextRuns>
                          <Style>
                            <TextAlign>Right</TextAlign>
                          </Style>
                        </Paragraph>
                      </Paragraphs>
                      <rd:DefaultName>WeekOf1</rd:DefaultName>
                      <Style>
                        <Border>
                          <Color>LightGrey</Color>
                          <Style>Solid</Style>
                        </Border>
                        <BackgroundColor>CornflowerBlue</BackgroundColor>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                    </Textbox>
                  </CellContents>
                </TablixCell>
              </TablixCells>
            </TablixRow>
            <TablixRow>
              <Height>1.21875in</Height>
              <TablixCells>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport1">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=Fields!WeekOf.Value</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=Fields!WeekOf.Value</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport2">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=DateAdd("d",1,Fields!WeekOf.Value)</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=DateAdd("d",1,Fields!WeekOf.Value)</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                        <LeftBorder>
                          <Style>None</Style>
                        </LeftBorder>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport3">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=DateAdd("d",2,Fields!WeekOf.Value)</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=DateAdd("d",2,Fields!WeekOf.Value)</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                        <LeftBorder>
                          <Style>None</Style>
                        </LeftBorder>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport4">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=DateAdd("d",3,Fields!WeekOf.Value)</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=DateAdd("d",3,Fields!WeekOf.Value)</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                        <LeftBorder>
                          <Style>None</Style>
                        </LeftBorder>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport5">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=DateAdd("d",4,Fields!WeekOf.Value)</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=DateAdd("d",4,Fields!WeekOf.Value)</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                        <LeftBorder>
                          <Style>None</Style>
                        </LeftBorder>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport6">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=DateAdd("d",5,Fields!WeekOf.Value)</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=DateAdd("d",5,Fields!WeekOf.Value)</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                        <LeftBorder>
                          <Style>None</Style>
                        </LeftBorder>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
                <TablixCell>
                  <CellContents>
                    <Subreport Name="Subreport7">
                      <ReportName>Schedule_EmployeeCalendar_Sub</ReportName>
                      <Parameters>
                        <Parameter Name="Consnum">
                          <Value>=Fields!consultant_number.Value</Value>
                        </Parameter>
                        <Parameter Name="dteStartDate">
                          <Value>=DateAdd("d",6,Fields!WeekOf.Value)</Value>
                        </Parameter>
                        <Parameter Name="dteEndDate">
                          <Value>=DateAdd("d",6,Fields!WeekOf.Value)</Value>
                        </Parameter>
                      </Parameters>
                      <Style>
                        <Border>
                          <Style>Solid</Style>
                        </Border>
                        <LeftBorder>
                          <Style>None</Style>
                        </LeftBorder>
                      </Style>
                    </Subreport>
                  </CellContents>
                </TablixCell>
              </TablixCells>
            </TablixRow>
          </TablixRows>
        </TablixBody>
        <TablixColumnHierarchy>
          <TablixMembers>
            <TablixMember />
            <TablixMember />
            <TablixMember />
            <TablixMember />
            <TablixMember />
            <TablixMember />
            <TablixMember />
          </TablixMembers>
        </TablixColumnHierarchy>
        <TablixRowHierarchy>
          <TablixMembers>
            <TablixMember>
              <Group Name="Details" />
              <TablixMembers>
                <TablixMember />
                <TablixMember />
              </TablixMembers>
            </TablixMember>
          </TablixMembers>
        </TablixRowHierarchy>
        <RepeatColumnHeaders>true</RepeatColumnHeaders>
        <RepeatRowHeaders>true</RepeatRowHeaders>
        <KeepTogether>true</KeepTogether>
        <DataSetName>Schedule</DataSetName>
        <Top>0.125in</Top>
        <Height>1.46875in</Height>
        <Width>10.5in</Width>
        <Style>
          <Border>
            <Style>None</Style>
          </Border>
        </Style>
      </Tablix>
    </ReportItems>
    <Height>1.59375in</Height>
    <Style>
      <Border>
        <Style>Solid</Style>
      </Border>
    </Style>
  </Body>
  <ReportParameters>
    <ReportParameter Name="ConsNum">
      <DataType>String</DataType>
      <DefaultValue>
        <Values>
          <Value>ag</Value>
        </Values>
      </DefaultValue>
      <Prompt>Cons Num</Prompt>
    </ReportParameter>
    <ReportParameter Name="StartDate">
      <DataType>DateTime</DataType>
      <DefaultValue>
        <Values>
          <Value>03/01/2009 00:00:00</Value>
        </Values>
      </DefaultValue>
      <Prompt>Start Date</Prompt>
    </ReportParameter>
    <ReportParameter Name="EndDate">
      <DataType>DateTime</DataType>
      <DefaultValue>
        <Values>
          <Value>05/02/2009 00:00:00</Value>
        </Values>
      </DefaultValue>
      <Prompt>End Date</Prompt>
    </ReportParameter>
  </ReportParameters>
  <Width>10.5in</Width>
  <Page>
    <PageHeader>
      <Height>0.01042in</Height>
      <PrintOnFirstPage>true</PrintOnFirstPage>
      <PrintOnLastPage>true</PrintOnLastPage>
      <Style>
        <Border>
          <Style>None</Style>
        </Border>
      </Style>
    </PageHeader>
    <PageHeight>8.5in</PageHeight>
    <PageWidth>11in</PageWidth>
    <LeftMargin>0.25in</LeftMargin>
    <RightMargin>0.25in</RightMargin>
    <TopMargin>0.5in</TopMargin>
    <BottomMargin>0.5in</BottomMargin>
    <Style />
  </Page>
  <rd:ReportID>8c240a5f-911c-4790-b397-1b69eb87aec3</rd:ReportID>
  <rd:ReportUnitType>Inch</rd:ReportUnitType>
</Report>
 
 
 
Subreport:
 
 
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">
  <DataSources>
    <DataSource Name="DataSource1">
      <DataSourceReference>HIASQL</DataSourceReference>
      <rd:DataSourceID>a2fb6d80-0455-4bd6-8516-e6dd5e6f3dfa</rd:DataSourceID>
    </DataSource>
  </DataSources>
  <DataSets>
    <DataSet Name="DataSet1">
      <Fields>
        <Field Name="consultant_number">
          <DataField>consultant number</DataField>
        </Field>
        <Field Name="date_of_service">
          <DataField>date of service</DataField>
        </Field>
        <Field Name="client_number">
          <DataField>client number</DataField>
        </Field>
        <Field Name="Services_Provided">
          <DataField>Services Provided</DataField>
        </Field>
        <Field Name="Consultant_Name">
          <DataField>Consultant Name</DataField>
        </Field>
        <Field Name="Client_Name">
          <DataField>Client Name</DataField>
        </Field>
        <Field Name="notes">
          <DataField>notes</DataField>
        </Field>
        <Field Name="staff_member">
          <DataField>staff member</DataField>
        </Field>
        <Field Name="OtherOnSite">
          <DataField>OtherOnSite</DataField>
        </Field>
      </Fields>
      <Query>
        <DataSourceName>DataSource1</DataSourceName>
        <CommandType>StoredProcedure</CommandType>
        <CommandText>usp_Schedule_ConsScheduleForDateRange</CommandText>
        <QueryParameters>
          <QueryParameter Name="@Consnum">
            <Value>=Parameters!Consnum.Value</Value>
          </QueryParameter>
          <QueryParameter Name="@dteStartDate">
            <Value>=Parameters!dteStartDate.Value</Value>
          </QueryParameter>
          <QueryParameter Name="@dteEndDate">
            <Value>=Parameters!dteEndDate.Value</Value>
          </QueryParameter>
        </QueryParameters>
      </Query>
    </DataSet>
  </DataSets>
  <Body>
    <ReportItems>
      <Tablix Name="Detail">
        <TablixBody>
          <TablixColumns>
            <TablixColumn>
              <Width>1.4in</Width>
            </TablixColumn>
          </TablixColumns>
          <TablixRows>
            <TablixRow>
              <Height>0.89583in</Height>
              <TablixCells>
                <TablixCell>
                  <CellContents>
                    <Rectangle Name="Detail_Contents">
                      <ReportItems>
                        <Textbox Name="client_number">
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>=Fields!client_number.Value</Value>
                                  <Style>
                                    <FontStyle>Normal</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Normal</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Left>0.5416in</Left>
                          <Height>0.1562in</Height>
                          <Width>0.8584in</Width>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <BackgroundColor>#ffffff</BackgroundColor>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                        <Textbox Name="Services_Provided">
                          <CanGrow>true</CanGrow>
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>=Fields!Services_Provided.Value</Value>
                                  <Style>
                                    <FontStyle>Normal</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Normal</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Top>0.22216in</Top>
                          <Left>0.5416in</Left>
                          <Height>0.1666in</Height>
                          <Width>0.8584in</Width>
                          <ZIndex>1</ZIndex>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <BackgroundColor>#ffffff</BackgroundColor>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                        <Textbox Name="notes">
                          <CanGrow>true</CanGrow>
                          <CanShrink>true</CanShrink>
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>=Fields!notes.Value</Value>
                                  <Style>
                                    <FontStyle>Italic</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Normal</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Top>0.64583in</Top>
                          <Left>0.0416in</Left>
                          <Height>0.25in</Height>
                          <Width>1.3584in</Width>
                          <ZIndex>2</ZIndex>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <BackgroundColor>#ffffff</BackgroundColor>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                        <Textbox Name="Label8">
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>Client:</Value>
                                  <Style>
                                    <FontStyle>Normal</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Bold</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Left>0.0416in</Left>
                          <Height>0.1666in</Height>
                          <Width>0.4583in</Width>
                          <ZIndex>3</ZIndex>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                        <Textbox Name="Label9">
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>Service:</Value>
                                  <Style>
                                    <FontStyle>Normal</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Bold</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Top>0.22216in</Top>
                          <Left>0.0416in</Left>
                          <Height>0.1666in</Height>
                          <Width>0.5104in</Width>
                          <ZIndex>4</ZIndex>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                        <Textbox Name="Label10">
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>Staff:</Value>
                                  <Style>
                                    <FontStyle>Normal</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Bold</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Top>0.44797in</Top>
                          <Left>0.0416in</Left>
                          <Height>0.1562in</Height>
                          <Width>0.375in</Width>
                          <ZIndex>5</ZIndex>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                        <Textbox Name="staff_member">
                          <CanGrow>true</CanGrow>
                          <KeepTogether>true</KeepTogether>
                          <Paragraphs>
                            <Paragraph>
                              <TextRuns>
                                <TextRun>
                                  <Value>=Fields!OtherOnSite.Value</Value>
                                  <Style>
                                    <FontStyle>Normal</FontStyle>
                                    <FontSize>8pt</FontSize>
                                    <FontWeight>Normal</FontWeight>
                                    <TextDecoration>None</TextDecoration>
                                    <Color>#000000</Color>
                                  </Style>
                                </TextRun>
                              </TextRuns>
                              <Style>
                                <TextAlign>General</TextAlign>
                                <LineHeight>13pt</LineHeight>
                              </Style>
                            </Paragraph>
                          </Paragraphs>
                          <Top>0.44797in</Top>
                          <Left>0.5416in</Left>
                          <Height>0.1666in</Height>
                          <Width>0.8584in</Width>
                          <ZIndex>6</ZIndex>
                          <Style>
                            <Border>
                              <Color>#000000</Color>
                            </Border>
                            <BackgroundColor>#ffffff</BackgroundColor>
                            <Direction>LTR</Direction>
                          </Style>
                        </Textbox>
                      </ReportItems>
                      <KeepTogether>true</KeepTogether>
                      <Style />
                    </Rectangle>
                  </CellContents>
                </TablixCell>
              </TablixCells>
            </TablixRow>
          </TablixRows>
        </TablixBody>
        <TablixColumnHierarchy>
          <TablixMembers>
            <TablixMember />
          </TablixMembers>
        </TablixColumnHierarchy>
        <TablixRowHierarchy>
          <TablixMembers>
            <TablixMember>
              <Group Name="Detail_Details_Group">
                <DataElementName>Item</DataElementName>
              </Group>
              <DataElementName>Item_Collection</DataElementName>
              <DataElementOutput>Output</DataElementOutput>
              <KeepTogether>true</KeepTogether>
            </TablixMember>
          </TablixMembers>
        </TablixRowHierarchy>
        <DataSetName>DataSet1</DataSetName>
        <Height>0.89583in</Height>
        <Width>1.4in</Width>
        <Style>
          <BackgroundColor>#ffffff</BackgroundColor>
        </Style>
      </Tablix>
    </ReportItems>
    <Height>0.89583in</Height>
    <Style />
  </Body>
  <ReportParameters>
    <ReportParameter Name="Consnum">
      <DataType>String</DataType>
      <Prompt>Consnum</Prompt>
    </ReportParameter>
    <ReportParameter Name="dteStartDate">
      <DataType>DateTime</DataType>
      <Prompt>dteStartDate</Prompt>
    </ReportParameter>
    <ReportParameter Name="dteEndDate">
      <DataType>DateTime</DataType>
      <Prompt>dteEndDate</Prompt>
    </ReportParameter>
  </ReportParameters>
  <Width>1.4in</Width>
  <Page>
    <Style />
  </Page>
  <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
  <rd:ReportID>be78b726-d4de-4817-9f45-c7e8b8bfbd81</rd:ReportID>
  <rd:ReportUnitType>Inch</rd:ReportUnitType>
</Report>
                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
750:
751:
752:
753:
754:
755:
756:
757:
758:
759:
760:
761:
762:
763:
764:
765:
766:
767:
768:
769:
770:
771:
772:
773:
774:
775:
776:
777:
778:
779:
780:
781:
782:
783:
784:
785:
786:
787:
788:
789:
790:
791:
792:
793:
794:
795:
796:
797:
798:
799:
800:
801:
802:
803:
804:
805:
806:
807:
808:
809:
810:
811:
812:
813:
814:
815:
816:
817:
818:
819:
820:
821:
822:
823:
824:
825:
826:
827:
828:
829:
830:
831:
832:
833:
834:
835:
836:
837:
838:
839:
840:
841:
842:
843:
844:
845:
846:
847:
848:
849:
850:
851:
852:
853:
854:
855:
856:
857:
858:
859:
860:
861:
862:
863:
864:
865:
866:
867:
868:
869:
870:
871:
872:
873:
874:
875:
876:
877:
878:
879:
880:
881:
882:
883:
884:
885:
886:
887:
888:
889:
890:
891:
892:
893:
894:
895:
896:
897:
898:
899:
900:
901:
902:
903:
904:
905:
906:
907:
908:
909:
910:
911:
912:
913:
914:
915:
916:
917:
918:
919:
920:
921:
922:
923:
924:
925:
926:
927:
928:
929:
930:
931:
932:
933:
934:
935:
936:
937:
938:
939:
940:
941:
942:
943:
944:
945:
946:
947:
948:
949:
950:
951:
952:
953:
954:
955:
956:
957:
958:
959:
960:
961:
962:
963:
964:
965:
966:
967:
968:
969:
970:
971:
972:
973:
974:
975:
976:
977:
978:
979:
980:
981:
982:
983:
984:
985:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-04-21 at 16:58:56ID24343549
Tags

SQL 2008;Reporting Services

Topics

SQL Reporting

,

MS SQL Reporting

,

SQL Server 2008

Participating Experts
3
Points
0
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. exporting report to PDF format
    Hi experts, CR10, Oracle 9i I have a report which contains main report and 3 sub reports. It's working fine in crystal enviroment. It has 10 pages if I view it in crystal enviroment. But, if I export it to PDF file, then PDF file has more than 10 pages. The extra pages are ...
  2. Export HTML to PDF
    I am using Delphi 6 for my application and i want to export an html file to PDF. Is there any way i can export the HTML file to PDF through codes in Delphi ?
  3. On Demand subreport when exporting to PDF
    I'm doing my first subreport, and inside the designer it works fine. When I export to PDF, the "Show Details" hyperlink that I created (to the subreport) does nothing. I guess that's not surprising, but I (and my users) sure would like to have it be a live link,...
  4. Reporting Services cannot export subreports to excel
    I cannot export subreports to excel. Reporting Services 2005. is there a solution to this problem?
  5. Render SQL Report as PDF
    I have developed a SQL Report and would like to have it render as a PDF rather than using the SQL Reporting control. From my reading this is built into SQL Reporting but none of the stuff I have read says how to actually do it. I am calling the report from ASP.NET and will ...
  6. Render Multiple Reports into one pdf without subreports
    I currently render a local report in asp.net like this: Dim DS As New Report_GenericCustomer Dim da As New Report_GenericCustomerTableAdapters.Report_GenericCustomerReportTableAdapter da.Fill(DS.Report_GenericCustomerReport, New Guid(Session("Customer_GU...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: newbiealPosted on 2009-04-21 at 17:10:31ID: 24200480

Could you provide specifics from the report server log file?

http://msdn.microsoft.com/en-us/library/ms156500.aspx

 

by: dday515Posted on 2009-04-21 at 17:24:29ID: 24200548

Sure: here they are:

library!ReportServer_0-2!106c!04/21/2009-20:22:31:: i INFO: RenderForNewSession('/Schedule_EmployeeCalendar')
library!ReportServer_0-2!106c!04/21/2009-20:22:50:: Call to GetItemTypeAction(/Data Sources).
library!ReportServer_0-2!98c!04/21/2009-20:22:51:: Call to GetItemTypeAction(/Data Sources/HIASQL).
library!ReportServer_0-2!1690!04/21/2009-20:22:51:: Call to CreateDataSourceAction(HIASQL, /Data Sources, True).
library!ReportServer_0-2!e60!04/21/2009-20:22:51:: Call to GetItemTypeAction(/Schedule_EmployeeCalendar).
library!ReportServer_0-2!106c!04/21/2009-20:22:51:: Call to GetItemDataSourcesAction(/Schedule_EmployeeCalendar).
library!ReportServer_0-2!98c!04/21/2009-20:22:52:: Call to CreateReportAction(Schedule_EmployeeCalendar, /, True).
library!ReportServer_0-2!1690!04/21/2009-20:22:53:: Call to SetItemDataSourcesAction(/Schedule_EmployeeCalendar).
library!ReportServer_0-2!1690!04/21/2009-20:23:14:: i INFO: RenderForNewSession('/Schedule_EmployeeCalendar')
reportrendering!ReportServer_0-2!1690!04/21/2009-20:23:14:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report., ;
 Info: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.ReportingServices.Rendering.HPBProcessing.Paragraph.GetRichTextParagraph()
   at Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.GetRichTextBox()
   at Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.RowInfo.AddToPageContent(ScalableList`1 columnInfo, Int32& colsOnPage, Boolean isLTR, Boolean pinnedToParentCell, RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.AddToPage(RPLWriter rplWriter, PageContext pageContext, Double pageLeft, Double pageTop, Double pageRight, Double pageBottom, RepeatState repeatState)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.Report.NextPage(RPLWriter rplWriter, Int32 page, Int32 totalPages)
   at Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.GetNextPage(RPLReport& rplReport)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   --- End of inner exception stack trace ---
   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
   --- End of inner exception stack trace ---
library!ReportServer_0-2!1690!04/21/2009-20:23:17:: i INFO: Exception UnhandledReportRenderingException dumped to: C:\Program Files\Microsoft SQL Server\MSRS10.HIASQL\Reporting Services\Logfiles flags= ReferencedMemory, AllThreads, SendToWatson
chunks!ReportServer_0-2!1690!04/21/2009-20:23:17:: w WARN: Rolling back shared chunk transaction for snapshot 'ed918142-c211-4afd-9986-7f23074da4a9', Permanent=False.
library!ReportServer_0-2!1690!04/21/2009-20:23:17:: w WARN: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.NullReferenceException: Object reference not set to an instance of an object.

 

by: newbiealPosted on 2009-04-21 at 17:37:43ID: 24200605

I see this in your log file:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.ReportingServices.Rendering.HPBProcessing.Paragraph.GetRichTextParagraph()

That seems to be the hang-up.  I researched the HPBProessing function and came across this info:
http://support.microsoft.com/kb/957107

Do you think this is applicable to you?  Have you downloaded the latest updates for SQL Server 2008?

 

by: dday515Posted on 2009-04-21 at 17:39:37ID: 24200614

Yes, I installed Service Pack 1, which included the information in your link.

 

by: VikramMullickPosted on 2009-04-21 at 21:36:55ID: 24201450

For handling subreports , there is an event
protected void LocalReport_SubreportProcessing (object sender, SubreportProcessingEventArgs e)
      {
            try
            {
                  if (lrdsSubReport != null && lrdsSubReport.Count > 0)
                  {
                        e.DataSources.Add (lrdsSubReport[1]);
                  }
            }
            catch (Exception ex)
      }

check whether error is releted to this part

 

by: dday515Posted on 2009-04-22 at 05:41:51ID: 24204053

Hi all - I figured out what was going on:

On the subreport properties in the main report, there is a KeepTogether property that is set to false by default.

Once I changed that to true on all instances, everything works like a charm. Makes no sense to me, but its over and done with!

 

by: newbiealPosted on 2009-04-22 at 06:25:57ID: 24204502

I'm glad it was a 'simple' solution.  I had read that some folks resolved this with drastic measures, such as reinstalling SQL Server instances. :-)

 

by: BrianHall_MWBPosted on 2011-03-08 at 14:04:27ID: 35074330

I had the same problem. Had 2 subreports. This solution (set keep together to true) worked for me perfectly!!! Thanks dday515!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...