KnutUrke
asked on
Index and length must refer to a location within the string. Parameter name: length ?? Reporting Services
I have a very basic report in Reporting Services 2000. When i render it to HTML, it gives no problem.
Everything is shown as it is supposed to be. But when i try to render to pdf,
it throws this exception (after showing the "download"-box)
Exception of type
Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. Index and length must refer to a location within the string. Parameter name: length
All other reports on the RS server are exporting just fine... Anyone any
idea ?
Hopefully
Knut
Everything is shown as it is supposed to be. But when i try to render to pdf,
it throws this exception (after showing the "download"-box)
Exception of type
Microsoft.ReportingService
All other reports on the RS server are exporting just fine... Anyone any
idea ?
Hopefully
Knut
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, i made it! Not so verey informativ?
<Header>
<Product>Microsoft SQL Server Reporting Services Version 8.00.1038.00</Product>
<Locale>en-US</Locale>
<TimeZone>Romance Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles\ReportSe rverServic e__04_02_2 006_00_09_ 15.log</Pa th>
<SystemName>DELL5100</Syst emName>
<OSName>Microsoft Windows NT 5.1.2600.0</OSName>
<OSVersion>5.1.2600.0</OSV ersion>
</Header>
ReportingServicesService!l ibrary!194 !02.04.200 6-00:09:15 :: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs
ReportingServicesService!l ibrary!194 !02.04.200 6-00:19:14 :: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs
<Header>
<Product>Microsoft SQL Server Reporting Services Version 8.00.1038.00</Product>
<Locale>en-US</Locale>
<TimeZone>Romance Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles\ReportSe
<SystemName>DELL5100</Syst
<OSName>Microsoft Windows NT 5.1.2600.0</OSName>
<OSVersion>5.1.2600.0</OSV
</Header>
ReportingServicesService!l
ReportingServicesService!l
ASKER
Here is a better logfile:
<Header>
<Product>Microsoft SQL Server Reporting Services Version 8.00.1038.00</Product>
<Locale>en-US</Locale>
<TimeZone>Romance Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles\ReportSe rver__04_0 2_2006_00_ 06_07.log< /Path>
<SystemName>DELL5100</Syst emName>
<OSName>Microsoft Windows NT 5.1.2600.0</OSName>
<OSVersion>5.1.2600.0</OSV ersion>
</Header>
aspnet_wp!library!1dc!04/0 2/2006-00: 06:07:: i INFO: Call to CreateDataSource( 'srfangst', '/test', dataSourceDefinition )
aspnet_wp!library!1dc!04/0 2/2006-00: 06:09:: i INFO: Call to CreateDataSource( 'srfsalg', '/test', dataSourceDefinition )
aspnet_wp!library!1dc!04/0 2/2006-00: 06:11:: i INFO: Call to CreateReport( 'rSalgFrossen', '/test', def)
aspnet_wp!library!1dc!04/0 2/2006-00: 06:11:: i INFO: Call to SetReportDefinition( '/test/rSalgFrossen', def )
aspnet_wp!library!1dc!04/0 2/2006-00: 07:19:: i INFO: Call to CreateDataSource( 'srfangst', '/surofi', dataSourceDefinition )
aspnet_wp!library!1dc!04/0 2/2006-00: 07:20:: i INFO: Call to CreateDataSource( 'srfsalg', '/surofi', dataSourceDefinition )
aspnet_wp!library!1dc!04/0 2/2006-00: 07:23:: i INFO: Call to CreateReport( 'rSalgFrossen', '/surofi', def)
aspnet_wp!library!1dc!04/0 2/2006-00: 07:23:: i INFO: Call to SetReportDefinition( '/surofi/rSalgFrossen', def )
aspnet_wp!library!1268!02. 04.2006-00 :07:33:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 2 snapshots, 6 chunks, 0 running jobs
aspnet_wp!library!1dc!04/0 2/2006-00: 08:18:: i INFO: Call to RenderFirst( '/surofi/rSalgFrossen' )
aspnet_wp!reportrendering! 1dc!04/02/ 2006-00:08 :20:: e ERROR: Throwing Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown., ;
Info: Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> System.ArgumentOutOfRangeE xception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(In t32 startIndex, Int32 length)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Proc essString( TextBox context, String text, CanvasFontPDF font, CanvasPenPDF pen, Double left, Double top, Double paddingTop, Double width, Double height, Boolean wordTrim, String fontLanguage, Int32& charactersFitted, Int32& linesFilled, String& streamString)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Draw String(Tex tBox context, OutlineObjects outlines, Boolean wordTrim, String text, CanvasFont font, CanvasPen pen, Double left, Double top, Double paddingTop, Double width, Double height, String fontLanguage, ReportUrl hyperLinkURL)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Text Box.Render ToPage(Mea surement parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Rend eringItemC ontainer.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Page HeadFoot.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.RenderP ageHeaderF ooter(Bool ean isHeader)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.AddHead erFooter(B oolean force)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Proces sPages(Com positionBa se theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.PdfR eport.Rend erReport(R eport report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStreamCal lback)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
--- End of inner exception stack trace ---
aspnet_wp!library!1dc!04/0 2/2006-00: 08:20:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
aspnet_wp!webserver!1dc!04 /02/2006-0 0:08:27:: e ERROR: Reporting Services error Microsoft.ReportingService s.Diagnost ics.Utilit ies.RSExce ption: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> System.ArgumentOutOfRangeE xception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(In t32 startIndex, Int32 length)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Proc essString( TextBox context, String text, CanvasFontPDF font, CanvasPenPDF pen, Double left, Double top, Double paddingTop, Double width, Double height, Boolean wordTrim, String fontLanguage, Int32& charactersFitted, Int32& linesFilled, String& streamString)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Draw String(Tex tBox context, OutlineObjects outlines, Boolean wordTrim, String text, CanvasFont font, CanvasPen pen, Double left, Double top, Double paddingTop, Double width, Double height, String fontLanguage, ReportUrl hyperLinkURL)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Text Box.Render ToPage(Mea surement parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Rend eringItemC ontainer.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Page HeadFoot.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.RenderP ageHeaderF ooter(Bool ean isHeader)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.AddHead erFooter(B oolean force)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Proces sPages(Com positionBa se theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.PdfR eport.Rend erReport(R eport report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStreamCal lback)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.Rend erReport(D ateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallb ack, ProcessingContext pc, RenderingContext rc)
at Microsoft.ReportingService s.Library. RSService. RenderAsLi ve(Catalog ItemContex t reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoColle ction& alldataSources, UserProfileState& usedUserProfile)
at Microsoft.ReportingService s.Library. RSService. RenderAsLi veOrSnapsh ot(Catalog ItemContex t reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
at Microsoft.ReportingService s.Library. RSService. RenderFirs t(CatalogI temContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingService s.Library. RenderFirs tCancelabl eStep.Exec ute()
at Microsoft.ReportingService s.Diagnost ics.Cancel ablePhaseB ase.Execut eWrapper()
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Diagnost ics.Cancel ablePhaseB ase.Execut eWrapper()
at Microsoft.ReportingService s.Library. RenderFirs tCancelabl eStep.Rend erFirst(RS Service rs, CatalogItemContext reportContext, ClientRequest session, JobTypeEnum type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derReport( HttpRespon seStreamFa ctory streamFactory)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derReport( )
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derItem(It emType itemType)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derPageCon tent()
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derPage()
aspnet_wp!library!1dc!04/0 2/2006-00: 10:22:: i INFO: Call to RenderFirst( '/surofi/rSalgFrossen' )
aspnet_wp!reportrendering! 1dc!04/02/ 2006-00:10 :22:: e ERROR: Throwing Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown., ;
Info: Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> System.ArgumentOutOfRangeE xception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(In t32 startIndex, Int32 length)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Proc essString( TextBox context, String text, CanvasFontPDF font, CanvasPenPDF pen, Double left, Double top, Double paddingTop, Double width, Double height, Boolean wordTrim, String fontLanguage, Int32& charactersFitted, Int32& linesFilled, String& streamString)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Draw String(Tex tBox context, OutlineObjects outlines, Boolean wordTrim, String text, CanvasFont font, CanvasPen pen, Double left, Double top, Double paddingTop, Double width, Double height, String fontLanguage, ReportUrl hyperLinkURL)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Text Box.Render ToPage(Mea surement parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Rend eringItemC ontainer.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Page HeadFoot.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.RenderP ageHeaderF ooter(Bool ean isHeader)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.AddHead erFooter(B oolean force)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Proces sPages(Com positionBa se theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.PdfR eport.Rend erReport(R eport report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStreamCal lback)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
--- End of inner exception stack trace ---
aspnet_wp!library!1dc!04/0 2/2006-00: 10:23:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
aspnet_wp!webserver!1dc!04 /02/2006-0 0:10:23:: e ERROR: Reporting Services error Microsoft.ReportingService s.Diagnost ics.Utilit ies.RSExce ption: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> System.ArgumentOutOfRangeE xception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(In t32 startIndex, Int32 length)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Proc essString( TextBox context, String text, CanvasFontPDF font, CanvasPenPDF pen, Double left, Double top, Double paddingTop, Double width, Double height, Boolean wordTrim, String fontLanguage, Int32& charactersFitted, Int32& linesFilled, String& streamString)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Draw String(Tex tBox context, OutlineObjects outlines, Boolean wordTrim, String text, CanvasFont font, CanvasPen pen, Double left, Double top, Double paddingTop, Double width, Double height, String fontLanguage, ReportUrl hyperLinkURL)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Text Box.Render ToPage(Mea surement parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Rend eringItemC ontainer.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Page HeadFoot.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.RenderP ageHeaderF ooter(Bool ean isHeader)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.AddHead erFooter(B oolean force)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Proces sPages(Com positionBa se theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.PdfR eport.Rend erReport(R eport report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStreamCal lback)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.Rend erReport(D ateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallb ack, ProcessingContext pc, RenderingContext rc)
at Microsoft.ReportingService s.Library. RSService. RenderAsLi ve(Catalog ItemContex t reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoColle ction& alldataSources, UserProfileState& usedUserProfile)
at Microsoft.ReportingService s.Library. RSService. RenderAsLi veOrSnapsh ot(Catalog ItemContex t reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
at Microsoft.ReportingService s.Library. RSService. RenderFirs t(CatalogI temContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingService s.Library. RenderFirs tCancelabl eStep.Exec ute()
at Microsoft.ReportingService s.Diagnost ics.Cancel ablePhaseB ase.Execut eWrapper()
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Diagnost ics.Cancel ablePhaseB ase.Execut eWrapper()
at Microsoft.ReportingService s.Library. RenderFirs tCancelabl eStep.Rend erFirst(RS Service rs, CatalogItemContext reportContext, ClientRequest session, JobTypeEnum type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derReport( HttpRespon seStreamFa ctory streamFactory)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derReport( )
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derItem(It emType itemType)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derPageCon tent()
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derPage()
aspnet_wp!library!1108!02. 04.2006-00 :17:33:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs
aspnet_wp!library!1dc!04/0 2/2006-00: 18:11:: i INFO: Call to RenderFirst( '/surofi/rSalgFrossen' )
aspnet_wp!library!1dc!04/0 2/2006-00: 18:11:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
aspnet_wp!webserver!1dc!04 /02/2006-0 0:18:11:: i INFO: Processed report. Report='/surofi/rSalgFross en', Stream=''
aspnet_wp!library!14dc!04/ 02/2006-00 :18:11:: i INFO: Initializing SessionAccessTimeout to default value of '600' seconds because it was not specified in Server system properties.
aspnet_wp!webserver!14dc!0 4/02/2006- 00:18:12:: i INFO: Processed report. Report='/surofi/rSalgFross en', Stream='a064fe96-0b6d-4d89 -a5c8-7d1b 438afdb6'
aspnet_wp!library!14dc!04/ 02/2006-00 :20:01:: i INFO: Call to RenderFirst( '/surofi/rSalgFrossen' )
aspnet_wp!reportrendering! 14dc!04/02 /2006-00:2 0:01:: e ERROR: Throwing Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown., ;
Info: Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> System.ArgumentOutOfRangeE xception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(In t32 startIndex, Int32 length)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Proc essString( TextBox context, String text, CanvasFontPDF font, CanvasPenPDF pen, Double left, Double top, Double paddingTop, Double width, Double height, Boolean wordTrim, String fontLanguage, Int32& charactersFitted, Int32& linesFilled, String& streamString)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Draw String(Tex tBox context, OutlineObjects outlines, Boolean wordTrim, String text, CanvasFont font, CanvasPen pen, Double left, Double top, Double paddingTop, Double width, Double height, String fontLanguage, ReportUrl hyperLinkURL)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Text Box.Render ToPage(Mea surement parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Rend eringItemC ontainer.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Page HeadFoot.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.RenderP ageHeaderF ooter(Bool ean isHeader)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.AddHead erFooter(B oolean force)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Proces sPages(Com positionBa se theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.PdfR eport.Rend erReport(R eport report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStreamCal lback)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
--- End of inner exception stack trace ---
aspnet_wp!library!14dc!04/ 02/2006-00 :20:01:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
aspnet_wp!webserver!14dc!0 4/02/2006- 00:20:01:: e ERROR: Reporting Services error Microsoft.ReportingService s.Diagnost ics.Utilit ies.RSExce ption: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportPr ocessing.W rapperRepo rtRenderin gException : Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on: Exception of type Microsoft.ReportingService s.ReportRe ndering.Re portRender ingExcepti on was thrown. ---> System.ArgumentOutOfRangeE xception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(In t32 startIndex, Int32 length)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Proc essString( TextBox context, String text, CanvasFontPDF font, CanvasPenPDF pen, Double left, Double top, Double paddingTop, Double width, Double height, Boolean wordTrim, String fontLanguage, Int32& charactersFitted, Int32& linesFilled, String& streamString)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Canv asPDF.Draw String(Tex tBox context, OutlineObjects outlines, Boolean wordTrim, String text, CanvasFont font, CanvasPen pen, Double left, Double top, Double paddingTop, Double width, Double height, String fontLanguage, ReportUrl hyperLinkURL)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Text Box.Render ToPage(Mea surement parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Rend eringItemC ontainer.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Page HeadFoot.R enderToPag e(Measurem ent parentClipBorder)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.RenderP ageHeaderF ooter(Bool ean isHeader)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Repo rt.AddHead erFooter(B oolean force)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Proces sPages(Com positionBa se theComposition, Report theReport, Boolean needTotalPages, Int32 startPage, Int32 endPage, Boolean render)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.PdfR eport.Rend erReport(R eport report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStreamCal lback)
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Renderin g.ImageRen derer.Imag eRendererB ase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, EvaluateHeaderFooterExpres sions evaluateHeaderFooterExpres sions, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.a(Da teTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
at Microsoft.ReportingService s.ReportPr ocessing.R eportProce ssing.Rend erReport(D ateTime executionTimeStamp, GetReportChunk getCompiledDefinitionCallb ack, ProcessingContext pc, RenderingContext rc)
at Microsoft.ReportingService s.Library. RSService. RenderAsLi ve(Catalog ItemContex t reportContext, ItemProperties properties, ParameterInfoCollection effectiveParameters, Guid reportId, ClientRequest session, String description, ReportSnapshot intermediateSnapshot, DataSourceInfoCollection thisReportDataSources, Boolean cachingRequested, Warning[]& warnings, ReportSnapshot& resultSnapshotData, DateTime& executionDateTime, RuntimeDataSourceInfoColle ction& alldataSources, UserProfileState& usedUserProfile)
at Microsoft.ReportingService s.Library. RSService. RenderAsLi veOrSnapsh ot(Catalog ItemContex t reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
at Microsoft.ReportingService s.Library. RSService. RenderFirs t(CatalogI temContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingService s.Library. RenderFirs tCancelabl eStep.Exec ute()
at Microsoft.ReportingService s.Diagnost ics.Cancel ablePhaseB ase.Execut eWrapper()
--- End of inner exception stack trace ---
at Microsoft.ReportingService s.Diagnost ics.Cancel ablePhaseB ase.Execut eWrapper()
at Microsoft.ReportingService s.Library. RenderFirs tCancelabl eStep.Rend erFirst(RS Service rs, CatalogItemContext reportContext, ClientRequest session, JobTypeEnum type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derReport( HttpRespon seStreamFa ctory streamFactory)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derReport( )
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derItem(It emType itemType)
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derPageCon tent()
at Microsoft.ReportingService s.WebServe r.ReportSe rviceHttpH andler.Ren derPage()
aspnet_wp!webserver!e10!02 .04.2006-0 0:27:28:: i INFO: Reporting Web Server stopped
<Header>
<Product>Microsoft SQL Server Reporting Services Version 8.00.1038.00</Product>
<Locale>en-US</Locale>
<TimeZone>Romance Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles\ReportSe
<SystemName>DELL5100</Syst
<OSName>Microsoft Windows NT 5.1.2600.0</OSName>
<OSVersion>5.1.2600.0</OSV
</Header>
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1268!02.
aspnet_wp!library!1dc!04/0
aspnet_wp!reportrendering!
Info: Microsoft.ReportingService
Parameter name: length
at System.String.Substring(In
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
aspnet_wp!library!1dc!04/0
aspnet_wp!webserver!1dc!04
Parameter name: length
at System.String.Substring(In
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
aspnet_wp!library!1dc!04/0
aspnet_wp!reportrendering!
Info: Microsoft.ReportingService
Parameter name: length
at System.String.Substring(In
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
aspnet_wp!library!1dc!04/0
aspnet_wp!webserver!1dc!04
Parameter name: length
at System.String.Substring(In
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
aspnet_wp!library!1108!02.
aspnet_wp!library!1dc!04/0
aspnet_wp!library!1dc!04/0
aspnet_wp!webserver!1dc!04
aspnet_wp!library!14dc!04/
aspnet_wp!webserver!14dc!0
aspnet_wp!library!14dc!04/
aspnet_wp!reportrendering!
Info: Microsoft.ReportingService
Parameter name: length
at System.String.Substring(In
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
aspnet_wp!library!14dc!04/
aspnet_wp!webserver!14dc!0
Parameter name: length
at System.String.Substring(In
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
--- End of inner exception stack trace ---
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
at Microsoft.ReportingService
aspnet_wp!webserver!e10!02
ASKER
Found the error myself!. It was a language-code in the report without an embedded "-" ! Then things goes wrong. The string will be to short.
ASKER