Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

W2012 R2 IIS cannot access website

Posted on 2014-03-15
14
Medium Priority
?
981 Views
Last Modified: 2014-03-20
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.
0
Comment
Question by:rwheeler23
  • 7
  • 7
14 Comments
 
LVL 12

Expert Comment

by:Imtiaz Hasham
ID: 39932481
What extension is the website on, index.htm?
0
 
LVL 12

Expert Comment

by:Imtiaz Hasham
ID: 39932482
And check ASP Registration using aspnet_regiis.exe -i on the command line
0
 

Author Comment

by:rwheeler23
ID: 39932528
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.
0
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.  

 

Author Comment

by:rwheeler23
ID: 39932535
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.
0
 
LVL 12

Expert Comment

by:Imtiaz Hasham
ID: 39932604
Can you tell me what's the first page?  if it's index.htm or index.php, try browsing the site with the subfolder.
0
 

Author Comment

by:rwheeler23
ID: 39932657
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
0
 
LVL 12

Expert Comment

by:Imtiaz Hasham
ID: 39933287
On IIS, go to the website, double click default document and add login.aspx.

See if that helps.
0
 
LVL 12

Accepted Solution

by:
Imtiaz Hasham earned 2000 total points
ID: 39933289
Usually, web developers call their software index.htm, index.html, index.aspx or index.php (Depending on the type of application).

In your case, IIS cannot see any of the default documents to load because the aspx page is called login.aspx. (Without the full stop).

Adding this should fix it as advised above.

If it doesn't let me know and i will be glad to look into it further.
0
 

Author Comment

by:rwheeler23
ID: 39934027
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.
0
 

Author Comment

by:rwheeler23
ID: 39934038
By the way, that was after adding Login.aspx to the Default Documents.
I appreciate your help. Thanks.
0
 
LVL 12

Expert Comment

by:Imtiaz Hasham
ID: 39934152
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.
0
 

Author Comment

by:rwheeler23
ID: 39934252
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.
0
 
LVL 12

Expert Comment

by:Imtiaz Hasham
ID: 39941962
And the bindings are correct?
0
 

Author Closing Comment

by:rwheeler23
ID: 39942154
I had to install ASP.NET in addition to ASP.NET 4.5
Thanks for the help.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Suggested Courses

972 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