Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IIS 7 - HTTP Error 404.0 - Not Found

Posted on 2014-04-16
4
Medium Priority
?
1,795 Views
Last Modified: 2014-04-21
I currently have a web page running on a XP Pro box using IIS 5.1. I am trying to convert over to a Win 7 box with IIS 7. I have copied the wwwroot folder along with the scripts, AdminScripts, iissamples, and mailroot folders and placed them under the inetpub folder ( probably not were they should go). When I open IE and type localhost it brings me to the main page but when I click on a link which should go to a different page I received an error "HTTP Error 404.0 - Not Found" I have attached a screen shot of the error. I am sure it is because it is looking in the wrong place for the file just don't know how to fix it?
Capture.PNG
0
Comment
Question by:nestey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Bembi
ID: 40005162
I guess this is more a permission sissue, if the pathes are correct. They are shown in the error message.

Have  alook here:
http://stackoverflow.com/questions/11575386/foo-cmd-wont-output-lines-in-process-on-website
0
 

Author Comment

by:nestey
ID: 40006582
I'm not sure if the path is really correct as in the error the physical path shows c:\inetpub\Scripts\scripts\Patchgen.exe  but the actual path is where the files are in C:\inetpub\Scripts\Patchgen.exe.

I did check out your link but I think that might be a little over my head, I did not write the page just trying to move it from one machine to another.
0
 
LVL 35

Accepted Solution

by:
Bembi earned 1000 total points
ID: 40013167
Your EXE is redirected to the C:\Inetpub\Scripts folder, and from there IIS follows our path "..\scripts\patgen.exe

So you may just crate the scripts subfolder or remove the "scripst" from your URL.

EXE files are a bit more restricted, this was the reason for the link, the first answer there i.e. points to web.config, where you can change the behaviour (allways mor save to use the GUI than to directly edit the web.config).

But if you can reach your target just by correcting the path, just do it.
0
 

Author Closing Comment

by:nestey
ID: 40013223
Thanks Bembi, I have gotten past that error message and now I can go to the index page. however there is a link on that page the runs another page that just doesn't do anything when I click on it, no error no nothing. I will need to work with the person how designed this site to see if he can tell what is going on. Thanks for the above help.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question