Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: There was a problem reading this document (109)

Status
Not open for further replies.

Riku

Programmer
Sep 2, 2001
119
I'm using Adobe Reader 5. I get error when trying to open pdf document using a link on our web page(IIS 5).

This is the error: "There was a problem reading this document (109)"

File should be OK because I can open it through Windows Explorer. If I copy file to my harddrive trought Internet Explorer that file can't be opened with Windows Explorer. What can be wrong? Can it be that some IIS 5 properties hass to be changed? F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Hi

You get this sort of error if there was a problem with the upload of the PDF file to a webserver. You have said that the file opens fine in Explorer, is that before you post it up to the web, or are you running the website on your local intranet?

If your website is remote, upload the file again. Derren
[Mediocre talent - spread really thin]
 
I have web server on my own computer.

>You have said that the file opens fine in Explorer, is >that before you post it up to the web...

No After. F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
How large is the file? Derren
[Mediocre talent - spread really thin]
 
I have 15-20 files that has the same problem.
Their size are between 200 kb - 2mb. F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Hmmm, does it happen on all machines or is it isolated? Do you have any "open" options set which are acrobat only? Derren
[Mediocre talent - spread really thin]
 
All machines that is connected to the web server have same problem.

>Do you have any "open" options set which are acrobat only?
Hm what do you mean? F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Sorry Riku, this has perplexed me, but I don't have the time to examine option 2 in full, so maybe you could.

Go to and join the forum there. This is a superb forum and is well monitored by people who wipe the floor with me!

Give it a go, but if you find out what it was, could you post the answer? Derren
[Mediocre talent - spread really thin]
 
Thanks a check it out.
If I resolve the proble I post it here! F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Dam still same problem!
I have THE HOLE INTERNET for resolution!
:) feels like it at least.
Cna't fint resolution!
Any one resolved it or have some ideas? F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
send me a pdf or 2 - i'll see if it is just you.

derren@kbase-connect.co.uk

(pick small ones though!) Derren
[Mediocre talent - spread really thin]
 
Right I think we can definitely put this down to your webserver setup. I am running Win2000 server SP2, IIS5 with all the latest security patches on it and acrobat reader installed and the files are served up a treat without any problems at all (linked from another file).

How about opening up your browser and going file>open and opening the serving html page without using the webserver (file protocol, not HTTP). Does this give you the error? If it doesn't then it is definitely webserver. If it does you may need to check the security and permissions on the folder that the pdfs are in. Do you have NT challenge/response setup? This has buggered up many a pdf intranet for me, the folder needs to allow anonymous access. Derren
[Mediocre talent - spread really thin]
 
Yes you are right loks like IIS setup problem.
When not using any protocols the pdf files are opened on the browser with out any problems.

I test machine has Windows 2000 professional
With IIS5 installed.
I also have separate server with win 2000 server with IIS5.
Same problems on both.
Dont't now what challenge/response setup is? Is it only on NT but not win2000?
One reason of my problems could be Microsoft LockDown tool.
Tool makes IIS5 safer by locking down services that is not needed on IIS5. I have to look in to that.

Would be nice though if somebody had resolved this problem before and could give advice.

Thanks a lot Darren you helpped a lot. Now it is mutch easyer to figure out resolution thanks to you! Easyer but not easy! I I find a solution I'll post it here.
By the way
How have you made IIS more secure ?
Manually or used tools like LockDown?
F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Glad I can be of some help - don't forget to mark the thread as helpful if you think it may throw some light on anyone else's misery, and please post the answer when you get it as it is something which I need to know the answer now! Derren
[Mediocre talent - spread really thin]
 
MY SUMMARY

PROBLEM: No beeing able to pen pdf file using Hyperlink!


The original files could be opened following ways
a. directly by Adobe Reader.
b. activating the file through Windows Explorer
c. opening file trough Internet Explorer when no protocols where used (http...)
- like c:\inetpub\
The original files could NOT be opened following ways
a. opening file trough Internet Explorer when protocols where used (http...)
- like name/mydoc.pdf


' ************ TESTING *************
Used two machines to test pdf files.
Machine A = Test/developer machine (II5)
Machine B = Server machine (II5)
Both machines have same problem to open pdf files through links on Internet Explorer


I tested the pdf files many different ways some are documented below.

** TRYING TO GET PDF FILES TO WORK ON SERVER MACHINE **

' ****************************************************
' * This worked
' ****************************************************
1. Recreated pdf files and saved then outside the IIS5 root (Machine A).
- opening files with adobe reader 5
- resaved the file to different location
2. Zipped the files (Machine A).
3. Deleted the old files on the server (Machine B).
4. Copied zip file to main server (Machine B).
5.Unzipped files to correct destination under IIS5 root (Machine B).


TEST I
' *******************************************************
' * This did not work
' * tested this to check if there was some king of security problem
' *******************************************************
1. Zipped the original files (Machine A).
2. Unzipped files outside IIS5 root (Machine A).
3. zipped files again (Machine A).
4. Deleted the old files on the server (Machine B).
5. Copied zip file to main server (Machine B).
6. Unzipped files to correct destination under IIS5 root (Machine B).

TEST II
' ********************************************************
' * This did not work
' * tested this to check if there was some kind of security problem
' ********************************************************
I had one pdf file that was opened correctly through link on Machine B.

1. I compared the security options on working pdf and non working, they where the same.


** TRYING TO GET PDF FILES TO WORK ON TEST MACHINE **
** AFTER GETTING SERVER MACHINEN TO OPEN PDF **

TEST I
' *******************************************************
' * This did not work
' *******************************************************
1. Deleted old pdf files on test machine (Machine A).
2. Copied the zip file from server (Machine B) to test machine (Machine A).
3. unzipped the pdf files to correct destination on test machine under IIS5 root (Machine A)

TEST II
' ******************************************************
' * This did not work
' ******************************************************
1. Deleted old pdf files on test machine (Machine A).
2. Copied the pdf files directly from server (Machine B) to test machine (Machine A).


Summary
Couble question and why that not be the case:
Is problem at IIS5 configuration side?
- resolved problem by recreating pdf files?

Is problem that pdf file is corrupted?
- was able to open directly through Adobe Reader?

So farI have not been able to get pdf files to work on test machinen (Machine A), but server machine YES.
Maybe if I had Adobe Acrobat installed on server machinen(Machine B) and recreated
the files there and then copied them to test machine that might work.
I don't wan't to install Adobe Acrobat to server thought. It must be as clean as possible.
I feel that the testing results are unlogincal and can't figure out the original reasons
for the problems.
F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Dame NOW I'M FURIOUS!

After getting pdf files to work on server machine, Now that I restarted the server pdf don't work anymore!!!!!

I dont know what to do anymore!!!
F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
You really are up against it aren't you? Even planetPDF couldn't respond! This is more down to server, so have you tried the IIS forum here.

I am sorry but this is right out of my range now (servers hate me!)

Good luck Derren
[Mediocre talent - spread really thin]
 
Yes I have tried the IIS forum, no luck.
I recreated the pdf files again and copied to server and the files works again. I afraid they stop function again in the near future. F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
I had this problem with IIS and ASP when I was trying to use the Response.Redirect("pagename.pdf") method to send the user to the correct page. I have to have an intermediate page that the user is sent to with a standard hyperlink on it. Then I can view the file fine.

If I left the asp code in to redirect the user, I got a file error, but the viewer would come up.

Hope this helps.
Jamey
 
Hi Jamey. I have display problems even using normal hyperlink. F: Riku Tuominen
riku.tuominen@benchmarking.fi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top