1
I’m trying to publish an application made in Fluorinefx on IIS 8.5, I allow the MIME type .aspx
, but when I access a page I have the following:
Does anyone have any idea what it might be?
1
I’m trying to publish an application made in Fluorinefx on IIS 8.5, I allow the MIME type .aspx
, but when I access a page I have the following:
Does anyone have any idea what it might be?
2
I’m 99.999% sure that the site on IIS is not actually associated with a .NET. application when a site is part of an ASP.NET application, a page call. aspx to for an Handler that will internally call the corresponding application (see application pools in IIS) to process the page instructions and return the processed content, rather than return the contents of . aspx as if it were a . txt.
Anyway, to make sure that the MIME type is processed correctly, make sure that in the browser console there is no "type message foo
unspecified/unknown, serving as type bar
". Allowing content is one thing - IIS knowing the type of content is another. If this is the case, you should reconfigure the MIME types in IIS. This is rare, but I remember that at least in version 1.0 of ASP.NET (more than ten years ago) it was possible, by mistake, to make IIS not recognize the extension. aspx!
Edit: The same problem, according to OP comment, was that the IIS was installed after ASP.NET, then the IIS was not registered. Nothing that aspnet_regiis.exe (which is in the framework folder) does not solve :)
Browser other questions tagged .net iis
You are not signed in. Login or sign up in order to post.
ok, as I said before I set the type . aspx, in iis because it did not come by default, I added in the extension: . aspx and in the type I put application/aspx, you can tell me if there are any errors there?
– Alan Lira
ASP.NET is registered on the machine? Make sure you can run other sites, as this may be the case. If so, I edit the answer to contain step by step how to register. P.S.: it is not registration as software use license registration, it is registry as in registering on Windows that it must work with ASP.NET.
– Oralista de Sistemas
Hello Renan, got dude, ASP.NET was not registered on the machine, probably because I installed iis after APS.NET. by command prompt executed in . net 2.0 folder the command aspnet_regiis -i
– Alan Lira