Symptom
Certain functionality of previewing Crystal Reports across VRL attempts to write temp files to C:\Windows\Temp with a naming scheme of tmpXXXX.tmp where the Xs are four hexadecimal characters limiting the number of files to 65,536. Errors are encountered when the number of tmpXXXX.tmp files reaches 65,535 until these temp files are manually deleted.
Calls to the ReportDocument object's ExportToHttpResponse create the .tmp file. After it is created calling the .Close() and/or the .Dipose() method on the object fails to remove the file in C:\Windows\Temp.
The file is also owned by a process and cannot be removed programmatically afterwards unless we restart the VRLCrystal process entirely.
Calling Response.End() on the response that is sending the report back over the wire does not release the object from the process either.
Read more...
Environment
Crystal Reports for Visual Studio
Product
Keywords
CR for VS, ExportToHttpResponse, .NET, TMP , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.