At the end of this post is an error that we are experiencing when exporting to Excel 2007 from SQL Reporting Services 2005.
This event is occurring on the IIS box when we attempt and export to excel from our SQL Reporting Services 2005 instance: The report is an execution snapshot that runs to 4500 pages. The message below will also be thrown if the report is run on demand and then output to excel. It will also be thrown if the report is run as an email subscription with an excel attachment.
What should we look at to begin troubleshooting this?
Does it have anything to do with the metabase.xml file on the IIS box? We are thinking that perhaps we can change the maximum file size for exporting to Excel. It seems that this issue has to do with the rendering itself within SQL Reporting Services.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/21/2011 11:33:32 AM
Event time (UTC): 4/21/2011 3:33:32 PM
Event ID: ebde0e8b193e4e8b811cc9ffa5
Event sequence: 33205
Event occurrence: 130
Event detail code: 0
Application domain: /LM/W3SVC/1/root/Reports-1
Trust level: RosettaMgr
Application Virtual Path: /Reports
Application Path: C:\Program Files\Microsoft SQL Server\MSSQL.1\Reporting Services\ReportManager\
Machine name: WEBSERVER
Process ID: 3880
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception type: XmlException
Exception message: Data at the root level is invalid. Line 1, position 1.
Request URL: http://webserver/Reports/Reserved.ReportViewerWebControl.axd?ReportSession=mue23a2nr1hlrm2ctt1x5e45&ControlID=5ae4a32d27254bd2958c8fa848c37e88&Culture=1033&UICulture=9&ReportStack=1&OpType=Export&FileName=Summer+Planning+Report+SII+SIE+and+SICItemSiteSelectable&ContentDisposition=OnlyHtmlInline&Format=EXCEL
Request path: /Reports/Reserved.ReportVi