Error publishing application on iis 8.5

1

I'm trying to publish an application made in FluorineFx in IIS 8.5 , I allow MIME type .aspx , however when I access a page I have the following:

Does anyone have an idea what it can be?

    
asked by anonymous 04.08.2014 / 20:50

1 answer

2

I'm 99.999% sure that the site in IIS is not really associated with a .NET application. When a site is part of an ASP.NET application, a call to an .aspx page stops by a handler that will internally call the corresponding application (see application pools in IIS) to process the page's instructions and return the processed content, rather than returning the contents of .aspx as if it were a .txt.

However, to make sure that the MIME type is processed correctly, make sure that there is no message of type "type foo not specified / unknown, serving as type bar ". Allowing content is one thing - IIS knowing the content type is another. If this is the case, you must reconfigure the MIME types in IIS. This is rarely the case, but remember that at least in version 1.0 of ASP.NET (over 10 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 IIS was installed after ASP.NET, so IIS was not registered. Nothing that aspnet_regiis.exe (which is in the framework folder) does not resolve:)

    
04.08.2014 / 22:25