Link to home
Start Free TrialLog in
Avatar of rwheeler23
rwheeler23Flag for United States of America

asked on

W2012 R2 IIS cannot access website

I just migrated my first website to IIS 8 on a W 2012 R2 server.
When I attempt to access the website I get this message:

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Is there a component I am missing that needs to be installed back in Server Manager? What settings can I check in IIS 8? This is not working while I try to access the website directly on the W2012 server.
Avatar of Imtiaz Hasham
Imtiaz Hasham
Flag of United Kingdom of Great Britain and Northern Ireland image

What extension is the website on, index.htm?
And check ASP Registration using aspnet_regiis.exe -i on the command line
Avatar of rwheeler23

ASKER

Well there was a clue. Running aspnet_regiis.exe did not work as it did not recognize that command. I am installing ASP 4.5 right now. I assume you do not need to also install ASP? I also looked in the web site folder and there is no index.* file of any kind.
After installing ASP 4.5 the error message is now:

HTTP Error 404.17 - Not Found

The requested content appears to be script and will not be served by the static file handler.
Can you tell me what's the first page?  if it's index.htm or index.php, try browsing the site with the subfolder.
I beleive there is something not correct about their installation program. Here is a screenshot of the subfolder and there is no index file.
Xpede.png
On IIS, go to the website, double click default document and add login.aspx.

See if that helps.
ASKER CERTIFIED SOLUTION
Avatar of Imtiaz Hasham
Imtiaz Hasham
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if I attempt to browse to this website on the IIS server I get "HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler." If I attempt to browse to it from any other machine I get "404 - File or directory not found."

The call to this site is http://myserver:8080/mysite.net

I have something else on port 80 so I had to move it to 8080.
By the way, that was after adding Login.aspx to the Default Documents.
I appreciate your help. Thanks.
You can run multiple Websites on port 80 as long as they have separate bindings.

Under Bindings, ensure each website has different bindings to resolve this matter.
I have turned off the other application service that uses port 80. It is not a website, just  service. Even doing that and then binding this website back to port 80 I still get the same message when I attempt to hit the site.
And the bindings are correct?
I had to install ASP.NET in addition to ASP.NET 4.5
Thanks for the help.