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 http://stackoverflow.com/questions/8128286/file-or-directory-not-found-iis-7 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 http://superuser.com/questions/741486/page-not-found-in-iis-but-its-there 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “File or Directory not found” IIS 7 up vote 0 down vote favorite I have added an application not found on IIS 7 and the physical path selected correctly. However, I got this problem when browsing the application: 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. the problem is also when I tried it like this: http://abc.com/default.aspx but if I tried it with: http://abc.com/myimage.png => works the server has installed .NET Framework 2.0, and also 4.0 directory not found Any idea what is wrong here? THanks in advance. iis-7 share|improve this question edited Nov 14 '11 at 21:35 asked Nov 14 '11 at 21:21 olidev 4,8793492153 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote accepted Do you have the Default Document set to your homepage correctly? share|improve this answer answered Nov 14 '11 at 21:25 Duke Hall 449410 yes, I have added Default.aspx but it does not work –olidev Nov 14 '11 at 21:29 Can you confirm that Default.aspx works when you browse to it directly? –Duke Hall Nov 14 '11 at 21:34 no, .aspx does not work. the rest like image files (png, jpg), js files are working. –olidev Nov 14 '11 at 21:36 Have you added an Application to it and checked that the ASP and made sure it is set to the proper ASP.Net library (like 2.0 or 4.0)? –Duke Hall Nov 14 '11 at 21:41 probably, this is the problem. the server installed both asp.net 2.0 and 4.0. How can I make sure that it is set to the asp.net library 2.0 or 4.0? –olidev Nov 14 '11 at 21:53 | show 3 more comments up vote 0 down vote One solution: Try
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 Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Page not found in IIS, but it's there up vote 1 down vote favorite I have just installed IIS on Windows Server 2008. If I go to localhost, the default page is displayed, so the web server is ok. I have added a folder with a page in it in the \inetpub\wwwroot directory. The full path to the page is then C:\inetpub\wwwroot\folder\file.html. I have restarted the services but if I navigate to localhost/folder/file.html I get a 404 file not found error. Obviously I have forgotten something simple, but what is it? :) iis http-status-code-404 share|improve this question asked Apr 14 '14 at 10:44 user1301428 1,74542247 Check error log, you will find what exactly it is searching –Sai Apr 14 '14 at 11:56 @Sai It is searching that exact file: GET /folder/file.html - 80 –user1301428 Apr 14 '14 at 12:08 I think this is from access log, there will be error log, whenever it fails...! –Sai Apr 14 '14 at 12:10 @Sai Uhm, weird.. That's the only log file I have.. –user1301428 Apr 14 '14 at 12:25 Check this, forums.iis.net/t/1189242.aspx?IIS+7+HTTP+Error+Log+Location –Sai Apr 14 '14 at 12:28 | show 5 more comments 2 Answers 2 active oldest votes up vote 0 down vote I've had this issue before - I had to set the username and password in again at Anonymous Authentication and it worked perfectly. You can also switch on Detailed errors at Error Pages in IIS to give more info. share|i