Question
May 19, 2008 at 04:21 AM
stergios_nik

IIS 6.0: I can not download .java files

by stergios_nik . Updated 18 years, 2 months ago

Hello everyone.
I have a problem with IIS 6.0 server. This problem happened suddently.
I am trying to download a .java file and IIS returns the error “The page cannot be found”

For example, I click here: http://www.demosite.com/test.java
and I would expect to see the “Save file” option in order to download and save the “test.java” file on my hard disk but I get the following error message
“Page can not be found
HTTP Error 404 – File or directory not found.
Internet Information Services (IIS)”

I renamed the same java file from .java to .txt i.e. http://www.demosite.com/test.txt and I can download the file but if I change the extension to .java then I get this “HTTP Error 404 – File or directory not found” error.

Any ideas why IIS 6.0 does not allow me to download .java files?

What should I check in IIS in order to figure out the cause of the problem?

Thank you in advance.

This discussion is locked

All Comments