Reputation: 11
So, I have actually been searching around Stack Overflow for about 20 minutes and still can't seen to find a definitive answer to my question.
I have had this error a few times, so I just did a fresh install of IIS 8.0 (I'm running Windows 8) and still got this error when I try to go to localhost/test1.aspx:
As you can see (if you clicked the link), it is a 404.3 error.
Here are some of my details:
C:\inetpub\wwwroot\test1.aspx
Here is my source code for the "test1.aspx" file:
<!doctype html>
<html>
<body>
<%
response.write("My first ASP script!")
%>
<body>
</html>
Anyone have any answers for me please? They would be greatly appreciated.
Upvotes: 1
Views: 978
Reputation: 11222
A 404.3 http status in IIS means that there is no MIME type defined for your file extension of aspx
. You can also see in the error message that the StaticFileModule is handling the request. This is the module that serves static files from your hard drives.
It works correctly because it should not serve *.aspx
files from the hard drive to the browser. You should not add a MIME type for aspx
.
The problem is that the module that handles aspx
files is not working correctly. There can be multiple reasons for this.
In IIS manager open your web site and double-click the Handler Mappings
icon, there should be three entries for *.aspx
(PageHandlerFactory).
Also make sure that the application pool for your site has a .NET CLR Version
set.
If these properties are not set, there is a problem with your setup.
Upvotes: 3
Reputation: 55
Im sorry if you have tried this, but try this url entry: localhost/test1.asp
Ill add here, and please understand im not trying to be rude, that the reason you are not being well received is your questions are not really questions as such. The title of the post is what your question should be and just putting a '?' on the end of it doesn't make it a question. Basically it comes down to formatting the question correctly.
I.E. "IIS 8.0 404.3 error?" isn't a question nor does it give anything except something you could put into Google. Putting it this way might be better: "Why am I getting this a 404.3 error using ISS 8.0?"
Just some advice for next time :)
Upvotes: 0