Please help with ColdFusion printing problem

Need help figuring out why my PDF print function works only on certain PDF's. I don't see any major differences in my PDF docs, there about the same size, yet if I place a working PDF in a non working PDF folder it works. (Each PDF has it's own folder that ColdFusion connects to)

CF error:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

The following information is meant for the website developer for debugging purposes.  

Error Occurred While Processing Request  
Could not print PDF document.  
Null range specified  
The error occurred in D:\www\scripts\DD\sendprint.cfm: line 44
42 : 	<CFDIRECTORY ACTION="LIST" DIRECTORY="\\DSS1\Shared_Data\www\dwgs\#myarray[i]#" NAME="dcndir" FILTER="*.pdf">
43 : 	<CFLOOP QUERY="dcndir">
44 :      <cfprint type="pdf" source="\\DSS1\Shared_Data\www\dwgs\#myarray[i]#\#name#" attributeStruct="#aset#"> 
46 : 		<CFSET ptotal=ptotal+1>

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Who developed cold fusion code for you?

The is clearly a bug here:

 "<cfprint type="pdf" source="\\DSS1\Shared_Data\www\dwgs\#myarray[i]#\#name#" attributeStruct="#aset#"> "

Open in new window

One possibility is "myarray(i)" is not set here

Also Error 500 - Internal server error is IIS Error (not cold fusion).

So the other  possibility can be permission issue. Do you have direct access to web server? If so can you browse to the webpage on the server?
DJPr0Author Commented:
Everything worked fine after I updated ColdFusion from 9.00 to 9.01.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DJPr0Author Commented:
ColdFusion had a problem with recognizing newer versions with out updating.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.