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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 6.0: I can not download .java files

Status
Not open for further replies.

stergiosnik

Technical User
Sep 19, 2007
64
GR
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, suppose that I click to something like this:
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. 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.
 
Ok. Solution found. I removed the .java extension entry from:
Web Site properties > Home Directory > Configuration > Application Extensions
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top