Error 404 Iis 6.0
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up HTTP 404 file not found error even the file exist in the webserver IIS6.0 up vote 2 down vote favorite I am having files in the server to be available for downloads. I am using IIS6.0. When I try to download the pdf file it say Http 404 file not found error. But I am having the file in the server. While googling I found we need to enable the mime type. can any one explain me what is it and get rid of this problem iis-6 share|improve this question edited Feb 23 '11 at 11:52 Tim Post♦ 25k1281146 asked Feb 23 '11 at 11:34 Akshara 92161827 add a comment| 3 Answers 3 active oldest votes up vote 4 down vote accepted This is easy enough to sort out To enable globally on the all site hosted by this IIS instance Open IIS Manager Right Click the server name Select properties Click the MIME Types button Click New Extension is .pdf MIME type is application/pdf To add it only to a single site on the IIS instance Open IIS Manager Right Click the sites name Select Properties Choose the 'HTTP Headers' tab Click the MIME Types button Click New Extension is .pdf MIME type is application/pdf share|improve this answer answered Feb 23 '11 at 11:43 Robb 2,8442033 add a comment| up vote 1 down vote Open Internet Information Service(IIS) Manager Right click on your website Select HTTP Header tab You will find button to add MIME Types This link might b
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it http://stackoverflow.com/questions/5090312/http-404-file-not-found-error-even-the-file-exist-in-the-webserver-iis6-0 works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top IIS6: How to troubleshoot a 404 error in an ASP.NET application? up vote 5 down vote favorite I have an ASP.NET application on a Windows Server 2003/IIS6 that refuses to run for some reason (it's the Xerox Centre, if that http://serverfault.com/questions/77171/iis6-how-to-troubleshoot-a-404-error-in-an-asp-net-application info helps). It has been working flawlessly before though on this server. Now, all I get if I try to open the app homepage (http://some.intranet.server/XeroxCentreWareWeb/) is a "404 - File or directory not found" error. The app is configured to run in it's own app pool, which runs as Network Service. The Network Service account has read access to the configured directory. If I stop the app pool, I get the expected "Service Unavailable" message, meaning the app and its pool are wired correctly I tried to track down any file permission issues with procmon - nothing to be seen. There isn't even an access to the web app directory happening when the page loads. Interestingly, according to procmon, the web server accesses the 401-2 custom error file (Logon failed due to server configuration) first, but then decides to send the 404 down to the client. EDIT: The app runs with Windows-integrated authentication. Regular users have access to the app directory as well (I would have noticed file system "ACCESS DENIED" messages in procmon, if there had been any.)
and browsed to one of the .aspx pages in the newly installed website. Every time that I did this I received a Page Not Found HTTP 404 error. When http://www.igloocoder.com/2006/04/12/Page-not-found-404-error-on-a-new-IIS6-server/ I browsed to a .htm or .html file, that file was appropriately displayed in the browser. The next thing I tried was opening Internet Explorer and manually entering the URL to the .aspx page. Still no luck, and yes the .htm and .html pages worked just fine. I found a web service that was installed on the server and tried to open the .asmx file only to error 404 get the 404 error again. After doing some research I finally figured out what it was. First I’ll explain the software installed on the server. The box is Windows 2003 Standard Edition with IIS6, MS SOAP Toolkit 2.0 SP2, MSXML 4.0 Parser and SDK, a whole slew of Windows Updates and the Windows Support Tools. Don’t ask why we have some of these things installed because I don’t error 404 iis know the answer. I only get the box with a preconfigured build on it. The fix. Open IIS, expand the server node and select the Web Services Extensions folder. In the Detail pane on the right hand side you will see a listing of the Web Service Extensions that are installed and their Status. In that list you should see ASP .NET v1.1.4322 (if you’re running the .NET 1.1 framework) and the Status for it will be set to Prohibited. Select the ASP .NET v1.1.4322 item from the list and click the Allow button immediately to it’s left. The Status will change from Prohibited to Allowed and you will now be able to browse to you .aspx and .asmx pages. I’m the Igloo Coder and I finally able to get back into the Igloo. Share Comments Please enable JavaScript to view the comments powered by Disqus. follow: newer www.geekswithblogs.com got spammed hard! older The New Edmonton .NET User Group recents Prairie Dev Con 2016 Wrapup 2016-04-18 Truly Ergonomic Keyboard 2016-03-19 DDWRT and logentries 2016-02-16 Using VBCE 2016-01-15 Microservice Sizing 2015-10-12 archives April 20161March 20161February 20161January 20161October 20151September 20152August 20152July 20152April 20152September 20141April 20141March 20142September 20131May 20134January 20131May 20121April 20123October 20112April 20111