An error occured during printing. (0x800C0005)
We just starting receiving an error when we try to print our reports. "An error occured during printing. (0x800C0005)". These same reports work fine on my localhost, our build server, and our beta server. This is only happening on our production server. I have removed the activeX control and reinstalled it. It did not work. We are ONLY running SSRS 2005. We never ran a BETA version. It was working up until recently. Please HELP! Thanks.
December 12th, 2006 8:14pm

Hi Trish, A most uninformative error. You can enable Client print logging by setting the follow reg key. Once enabled, you can look in your print users temporary (cd %temp%)directory and find a print log file. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\80\Reporting Services]"LogRSClientPrintInfo"=dword:00000001 You can send the log file to me and I can take a look to see if there is any extra information. bradsy@removeMicrosoft.com
Free Windows Admin Tool Kit Click here and download it now
December 12th, 2006 10:46pm

I've emailed you the file. I had to create the Reporting Services key because it wasn't there. The file was located in my LocalSettings Temp folder. We believe itmight have something to do with our SSL Accelerator because the client is trying to access http://app.xxxxxxx.com:81/exec........ We have 5 applications servers, a SQL Server 2005 cluster, and an SSRS Server. All traffic is via HTTPS.
December 13th, 2006 6:13pm

Hi, We are facing exactly the same problem in our production environment. Could you find a solution to yours? We do not have the Key.. [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\80\Reporting Services]. We have the key 90 under SQL Server not 80. Should we create the Reporting Services key under 90 to generate the log file? Your help will be much appreciated. Regards Saunak
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2007 6:32pm

Create what ever is not there.
January 15th, 2007 6:46pm

Saunak, The key for logging did not change between RS2000 and RS2005. You still need to put the pring logging key at [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\80\Reporting Services] In regards to the issue Trish had to solve. This error was caused by a setting in the SSL Accelerator, BigIPthat they were using. Once they solved that issue(wrong port used when printing), the print issue went away.
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2007 11:49pm

Brad, We had to go live with the issues and hence the delay. We are not using SSL since the application is hosted internally within the firm. But some funny things are happening with Print. The application is accessed globally (from about 100 countries). We are only facing this problem when people are printing out from places where the network speed is not very high (which of course does not stop them from doing other things). It is not happening in the begining of the print, but after a few pages (10, 12, 15 etc.. that too is random). The error log inside the Reporting Server is: Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The data stream was not found. The data stream designator made available for a procedure was not found in the report server data base,; Info.: Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The data stream was not found. The data stream designator in the report server data base, made available for a procedure, not found w3wp!webserver!5!01/15/2007-17:42:55:: e ERROR: Reporting services error Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The data stream was not found. The data stream designator in the report server data base, made available for a procedure, not found w3wp!library!5!01/15/2007-17:43:00:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The data stream was not found. The data stream designator made available for a procedure was not found in the report server data base,; Info.: Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The data stream was not found. The data stream designator in the report server data base, made available for a procedure, not found w3wp!webserver!5!01/15/2007-17:43:00:: e ERROR: Reporting services error Microsoft.ReportingServices.Diagnostics.Utilities.StreamNotFoundException: The data stream was not found. The data stream designator made available for a procedure was not found in the report server data base. The log in the print log file is: http://ch-gen005.ch.ema.ad.pwcinternal.com:80/ERMP/Reserved.ReportViewerWebControl.axd?ReportSession=ha3xlg45r44s2mnsntlfht3w&ControlID=f704cee7-cc6e-46dc-a21d-46f575a8494d&Culture=2055&UICulture=1033&ReportStack=1&OpType=PrintRequest&rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emf&rc:StartPage=13&rc:EndPage=13&rc:PageWidth=297.0mm&rc:PageHeight=210.0mm&rc:MarginTop=9.906mm&rc:MarginBottom=9.906mm&rc:MarginLeft=9.906mm&rc:MarginRight=9.906mm&rs:GetNextStream=TrueCReport::RemoveFirstPage - Starting Function.Page has been loaded and will be deleted.CReport::RemoveFirstPage - Ending Function.CReport::GetPage - Starting Function.Page = 11CReport::GetPageWrapper - Starting Function.Page wrapper = 0x0E2F6EA8CReport::GetPageWrapper - Ending Function.CReport::GetPage - Ending Function: 0x00000000.CPrintDlg::DrawFile - Starting Function.GDI status check failed with 1API call new Metafile failed 0x8007F303. (464))CPrintDlg::DrawFile - Ending Function: 0x8007F303.API call m_httpRequest->get_responseStream failed 0x00000000. (846))CPage::CreateEnhMetaFile - Starting Function.CPage::CreateEnhMetaFile - Ending Function. Your help will be much appreciated. Regards Saunak
January 23rd, 2007 3:27pm

I am also getting the problem in print functionality. Your help will be much appreciated. I have a report with bar charts with 2 pages. When I try to print the page 1, it just worked fine. For page 2 also it just worked fine. But when I try to print the all 2 pages at one time, I am getting the error "An error occured during printing (0x80004005)". I have looked into the some site and enabled the report logging. I am accessigng this report via report manager from the deployed report manager. NOt accessing the local report server. Please find the below log file for reference. Thread 5552 - (12/13/2010 14:48:21.747) CRSClientPrint::Print - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) reportServerUrl = /Reports/Reserved.ReportViewerWebControl.axd Thread 5552 - (12/13/2010 14:48:21.747) reportPath = ReportSession=iioooo&ControlID=iuiuuitiutiout&Culture=1033&UICulture=9&ReportStack=1&OpType=PrintRequest Thread 5552 - (12/13/2010 14:48:21.747) reportName = Tool Utilization Pareto -Test Thread 5552 - (12/13/2010 14:48:21.747) CResourceManager::SetLocaleInfo - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) SetUICulture - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) Attempted UI LCID = 9 Thread 5552 - (12/13/2010 14:48:21.747) Using UI LCID = 1033 Thread 5552 - (12/13/2010 14:48:21.747) SetUICulture - Ending Function. Thread 5552 - (12/13/2010 14:48:21.747) CResourceManager::LoadResourceDLL - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) CResourceManager::LoadResourceDLL - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:21.747) CResourceManager::CanUseCurrentLocale - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) CResourceManager::CanUseCurrentLocale - Ending Function. Thread 5552 - (12/13/2010 14:48:21.747) Attempted culture = 1033 Thread 5552 - (12/13/2010 14:48:21.747) Using culture = 1033 Thread 5552 - (12/13/2010 14:48:21.747) Culture name = English_United States.1252 Thread 5552 - (12/13/2010 14:48:21.747) CResourceManager::SetLocaleInfo - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:21.747) CPrintDlg::Print - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) CPrintDlg::InitializePrintDlg - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) CPrintDlg::GetDefaultPrinterName - Starting Function. Thread 5552 - (12/13/2010 14:48:21.747) CPrintDlg::GetDefaultPrinterName - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:21.747) CPrintDlg::SetPrinterPaperSize - Starting Function. Thread 5552 - (12/13/2010 14:48:21.763) CPrintDlg::GetDefaultPaperSetting - Starting Function. Thread 5552 - (12/13/2010 14:48:21.778) CPrintDlg::GetDefaultPaperSetting - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:21.794) CPrintDlg::SetPrinterPaperSize - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:21.794) CPrintDlg::InitializePrintDlg - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:21.794) CReport::SetReportName - Starting Function. Thread 5552 - (12/13/2010 14:48:21.794) CReport::SetReportName - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:24.169) CPrintDlg::PrintReportPages - Starting Function. Thread 5552 - (12/13/2010 14:48:24.169) CCancelDlg::StartDialog - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) CCancelDlg::StartDialog - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:24.184) CReport::Fetch - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::ComparePrintInfo - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) Value of diff = 2 Thread 5552 - (12/13/2010 14:48:24.184) CReport::ComparePrintInfo - Ending Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::ClearPages - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::ClearFetchedPages - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::ClearFetchedPages - Ending Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::ClearPages - Ending Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::ResetNextFetch - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) Next Fetch set to 1 Thread 5552 - (12/13/2010 14:48:24.184) CReport::ResetNextFetch - Ending Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::StartFetchThread - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::GetPageToFetch - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) Page to fetch = 1 Thread 5552 - (12/13/2010 14:48:24.184) CReport::GetPageToFetch - Ending Function. Thread 5552 - (12/13/2010 14:48:24.184) CReport::StartFetchThread - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:24.184) CReport::Fetch - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:24.184) CReport::GetPage - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) Page = 1 Thread 5552 - (12/13/2010 14:48:24.184) CReport::GetPageWrapper - Starting Function. Thread 5552 - (12/13/2010 14:48:24.184) Page wrapper = 0x00000000 Thread 5552 - (12/13/2010 14:48:24.184) CReport::GetPageWrapper - Ending Function. Thread 15548 - (12/13/2010 14:48:24.184) CReport::FetchThreadMain - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CReport::GetPaperSize - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) Height = 8500, Width = 11000 IsMM = 0 Thread 15548 - (12/13/2010 14:48:24.184) CReport::GetPaperSize - Ending Function. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcher::SetFetchParameters - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CResourceManager::SetInvariantCulture - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CResourceManager::SetInvariantCulture - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:24.184) CResourceManager::ResetCulture - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CResourceManager::ResetCulture - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcher::SetFetchParameters - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcherPersistStreams::PerformFetch - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcherPersistStreams::FetchFirstPage - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcherPersistStreams::FetchPage - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) Fetching pages: 1 to 65535 Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcher::CreateUrlWithPageRange - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcher::CreateUrlWithPageRange - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:24.184) CPageFetcher::GetWebRequest - Starting Function. Thread 15548 - (12/13/2010 14:48:24.184) Url = http:/servername/Reports/Reserved.ReportViewerWebControl.axd? ReportSession=iollioioiy&ControlID=ioyoiyoiyoiyoy&Culture=1033&UICulture=9&ReportStack=1&OpType=PrintRequest& rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emfplus&rc:PageWidth=11.0in&rc:PageHeight=8.5in&rc:MarginTop=25.400mm&rc:MarginBottom=25.40 0mm&rc:MarginLeft=12.700mm&rc:MarginRight=12.700mm&rc:StartPage=1&rc:EndPage=65535&rs:PersistStreams=True Thread 15548 - (12/13/2010 14:48:25.122) CPageFetcher::GetWebRequest - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:25.122) CPageFetcherPersistStreams::FetchPage - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:25.122) CPageFetcherPersistStreams::FetchFirstPage - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:25.122) CReport::OnPageFetched - Starting Function. Thread 15548 - (12/13/2010 14:48:25.122) CReport::OnPageFetched received buffer with status code: 0x00000000 Thread 15548 - (12/13/2010 14:48:25.122) CPage::CreateEnhMetaFile - Starting Function. Thread 15548 - (12/13/2010 14:48:25.122) CPage::CreateEnhMetaFile - Ending Function. Thread 15548 - (12/13/2010 14:48:25.138) CReport::OnPageFetched - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:25.138) CReport::GetPageWrapper - Starting Function. Thread 15548 - (12/13/2010 14:48:25.138) CPageFetcherPersistStreams::FetchNextPage - Starting Function. Thread 5552 - (12/13/2010 14:48:25.138) Page wrapper = 0x01CBCDC0 Thread 5552 - (12/13/2010 14:48:25.138) CReport::GetPageWrapper - Ending Function. Thread 15548 - (12/13/2010 14:48:25.138) CPageFetcherPersistStreams::FetchPage - Starting Function. Thread 5552 - (12/13/2010 14:48:25.138) CReport::GetPage - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:25.138) Fetching pages: 2 to 2 Thread 15548 - (12/13/2010 14:48:25.138) CPageFetcher::CreateUrlWithPageRange - Starting Function. Thread 15548 - (12/13/2010 14:48:25.138) CPageFetcher::CreateUrlWithPageRange - Ending Function: 0x00000000. Thread 15548 - (12/13/2010 14:48:25.138) CPageFetcher::GetWebRequest - Starting Function. Thread 15548 - (12/13/2010 14:48:25.138) Url = http://servername/Reports/Reserved.ReportViewerWebControl.axd?ReportSession=uppupupoupup&ControlID=jupupupupppup&Culture=1033&UICulture=9&ReportStack=1&OpType=PrintRequest& rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emfplus&rc:PageWidth=11.0in&rc:PageHeight=8.5in&rc:MarginTop=25.400mm&rc:MarginBottom=25.40 0mm&rc:MarginLeft=12.700mm&rc:MarginRight=12.700mm&rc:StartPage=2&rc:EndPage=2&rs:GetNextStream=True Thread 15548 - (12/13/2010 14:48:26.653) Status from request was not 200, was (500) Thread 15548 - (12/13/2010 14:48:26.653) CPageFetcher::GetWebRequest - Ending Function: 0x80004005. Thread 15548 - (12/13/2010 14:48:26.653) CPageFetcherPersistStreams::FetchPage - Ending Function: 0x80004005. Thread 15548 - (12/13/2010 14:48:26.653) CPageFetcherPersistStreams::FetchNextPage - Ending Function: 0x80004005. Thread 15548 - (12/13/2010 14:48:26.653) CReport::OnPageFetched - Starting Function. Thread 15548 - (12/13/2010 14:48:26.653) CReport::OnPageFetched received buffer with status code: 0x80004005 Thread 15548 - (12/13/2010 14:48:26.653) CPage::CreateEnhMetaFile - Starting Function. Thread 15548 - (12/13/2010 14:48:26.653) CPage::CreateEnhMetaFile - Ending Function. Thread 15548 - (12/13/2010 14:48:26.653) CReport::OnPageFetched - Ending Function: 0x80004005. Thread 15548 - (12/13/2010 14:48:26.653) CPageFetcherPersistStreams::PerformFetch - Ending Function: 0x80004005. Thread 15548 - (12/13/2010 14:48:26.653) CReport::FetchThreadMain - Ending Function: 0x80004005. Thread 5552 - (12/13/2010 14:48:27.669) CPrintDlg::DrawFile - Starting Function. Thread 5552 - (12/13/2010 14:48:27.716) CPrintDlg::DrawFile - Ending Function: 0x00000000. Thread 5552 - (12/13/2010 14:48:30.184) CReport::RemoveFirstPage - Starting Function. Thread 5552 - (12/13/2010 14:48:30.184) Page has been loaded and will be deleted. Thread 5552 - (12/13/2010 14:48:30.184) CReport::RemoveFirstPage - Ending Function. Thread 5552 - (12/13/2010 14:48:30.184) CReport::GetPage - Starting Function. Thread 5552 - (12/13/2010 14:48:30.184) Page = 2 Thread 5552 - (12/13/2010 14:48:30.184) CReport::GetPageWrapper - Starting Function. Thread 5552 - (12/13/2010 14:48:30.184) Page wrapper = 0x01CBCEF0 Thread 5552 - (12/13/2010 14:48:30.184) CReport::GetPageWrapper - Ending Function. Thread 5552 - (12/13/2010 14:48:30.184) CReport::GetPage - Ending Function: 0x80004005. Thread 5552 - (12/13/2010 14:48:30.372) CCancelDlg::EndDialog - Starting Function. Thread 5552 - (12/13/2010 14:48:30.387) CCancelDlg::EndDialog - Ending Function. Thread 5552 - (12/13/2010 14:48:30.387) CPrintDlg::PrintReportPages - Ending Function: 0x80004005. Thread 5552 - (12/13/2010 14:48:30.387) CReport::ClearFetchedPages - Starting Function. Thread 5552 - (12/13/2010 14:48:30.387) CReport::ClearFetchedPages - Ending Function. Thread 5552 - (12/13/2010 14:48:30.387) CPrintDlg::Print - Ending Function: 0x80004005. Thread 5552 - (12/13/2010 14:48:30.387) CRSClientPrint::Print - Ending Function: 0x80004005. Any help on this much appreciated. Thanks in avdance. Suneetha G
Free Windows Admin Tool Kit Click here and download it now
December 13th, 2010 4:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics