IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 19th, 2008, 06:52 AM
stergiosnik stergiosnik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 3 stergiosnik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 50 sec
Reputation Power: 0
IIS 6.0: I can not download .java files

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: www...site/test.java

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. www...site/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.

Stergios


COMMENT:
In IIS 6.0 log file I noticed that the error is "404 2 1260".
IIS 6.0 help says about 404.2
File or directory not found: Web service extension lockdown policy prevents this request.
Any ideas how I can I fix the problem now?

Last edited by stergiosnik : May 21st, 2008 at 05:09 AM. Reason: I added more troubleshooting information

Reply With Quote
  #2  
Old May 21st, 2008, 01:32 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,957 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 15 h 35 m 19 sec
Reputation Power: 802
maybe you've installed something that added an IIS extension mapping for .java. Check your mappings in the IIS manager.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved
of it. --Mark Twain

Reply With Quote
  #3  
Old May 21st, 2008, 06:21 AM
stergiosnik stergiosnik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 3 stergiosnik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 50 sec
Reputation Power: 0
Ok. Solution found. I removed the .java extension entry from:
Web Site properties > Home Directory > Configuration > Application Extensions
Thanks.

Reply With Quote
  #4  
Old May 21st, 2008, 11:07 PM
PWD's Avatar
PWD PWD is offline
Network Engineer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Location: 127.0.0.1
Posts: 709 PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 23 h 45 m 56 sec
Reputation Power: 190
Great eye, Doug. Sorry, something wrong with the rep system tonight...I can't give anyone any.
__________________
PWD
MCSE, MCSA, MCP, Security+

NEW Windows Administration Forum
Admin Source
Could REALLY, REALLY, REALLY use you and your issues!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS 6.0: I can not download .java files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT