tracker issue : CF-4197173

select a category, or use search below
(searches all categories and all time range)
Title:

CFPRINT returns error "The system cannot find the file specified" even when isPDFFile() returns true for same file.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Alan McCollough / Alan McCollough (Alan McCollough)

Created: 10/31/2016

Components: CFPRINT

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF2016_Update3 /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 0

Problem Description: When using CFPRINT to print out a PDF file created during the same page request, the result is an error thrown with the message "The system cannot find the file specified." This occurs even when a prior isPDFFile() returns true for the file. The file is stored in the temporary filespace.

Steps to Reproduce: ColdFusion app writes valid PDF file to temp file location (getTempDirectory()). Use isPDFFile() to validate file exists and is valid PDF. Use CFPRINT to attempt to print file.

Actual Result: Error thrown "The system cannot find the file specified."

Expected Result: File prints to selected printer

Any Workarounds: No

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4197173

Reason:	PRNeedInfo

External Customer Info:
External Company:  
External Customer Name: Alan McCollough
External Customer Email:  
External Test Config: My Hardware and Environment details:

System Information  

Server Details  

Server Product  ColdFusion 2016  

Version  2016.0.03.300466  

Tomcat Version  8.0.32.0  

Edition  Standard    

Operating System  Windows Server 2008 R2    

OS Version  6.1    

Update Level  C:/ColdFusion2016/cfusion/lib/updates/chf20160003.jar    

Adobe Driver Version  5.1.4 (Build 0001)    

JVM Details  

Java Version  1.8.0_72    

Java Vendor  Oracle Corporation    

Java Vendor URL  http://java.oracle.com/  

Java Home  C:\ColdFusion2016\jre    

Java File Encoding  Cp1252    

Java Default Locale  en_US    

File Separator  \    

Path Separator  ;    

Line Separator  Chr(13)  

User Dir  C:\ColdFusion2016\cfusion\bin    

Java VM Specification Version  1.8    

Java VM Specification Vendor  Oracle Corporation    

Java VM Specification Name  Java Virtual Machine Specification    

Java VM Version  25.72-b15    

Java VM Vendor  Oracle Corporation    

Java VM Name  Java HotSpot(TM) 64-Bit Server VM    

Java Specification Version  1.8    

Java Specification Vendor  Oracle Corporation    

Java Specification Name  Java Platform API Specification    

Java Class Version  52.0

Attachments:

Comments:

Alan, Please share the code snippet here in which you are finding the stated issue.
Comment by Poonam J.
1557 | November 24, 2016 11:44:42 PM GMT
Alan, any update on this?
Comment by Poonam J.
1558 | February 13, 2017 09:19:45 AM GMT