Solved

IIS 7 - HTTP Error 404.0 - Not Found

Posted on 2014-04-16
4
1,749 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 250 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FTP Directory Permissions 3 58
Slow response time from SQL server/IIS when queried/generating reports 10 103
Install IIS7.5 on Windows Sever 2012 R2 4 38
Services disabled 1 31
New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

751 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