ASP.NET Pages Do Not Load on IIS8 (Windows Server 2012)

I am trying to configure my Windows Server 2012 to run an ASP.NET website. A website can serve html pages and .svc pages, but whenever I visit the .aspx page, it just shuts down.

Error 118 (network :: ERR_CONNECTION_TIMED_OUT)

If I at least got some kind of error description, I could go from there, but I just get a timeout message, as if the server is completely unavailable, so I'm stuck with this problem.

It seems that aspx pages do not load at all, since I have already tried drastic measures such as putting a "throw exception" on the first line of the_Load page.

If I create a new site and only host an aspx page there, it works fine.

The event log shows nothing regarding this.

Does anyone have any suggestions?

+4
source share
2 answers

Creating a new website in IIS8 and pointing to the same folder made it work. Now the site works fine and works as usual.

I assume that if I created the site before installing all the necessary functions, they were not part of this site. Now, after installing a new site, it contains all the current functions.

This does not make much sense, since the server had ASP.NET 4.5 from installation (this is Windows Server 2012).

+2
source

Open the web platform installer.

Now find IIS: ASP.NET 4.5 and install it.

I had the same problem as everyone else, and nothing worked until I did this.

There is a difference between installing dotNET on your computer / server and dotNET for IIS.

+1
source

Source: https://habr.com/ru/post/1440999/


All Articles