0

The website of our company is running on IIS 7.5, recently and without any modifications in the configuration, the website start to give us the error 404, here is a picture of the error :

enter image description here

the website work fine with HTTPS and HTTP on every port except the port 80, and we have never used MorMot

Do you have any ideas where this problem comes from ?

zed
  • 696
  • 5
  • 11
yasseros
  • 528
  • 3
  • 11

1 Answers1

3

There is a registration mechanism for URI on Windows, when using http.sys. It is a kernel/system component, handling HTTP/HTTPS requests. This registration is shared by IIS and other programs using http.sys, like WCF or mORMot projects.

From the HTML returned, there is clearly a mORMot-powered executable running on the server, which is bound to port 80. You have to identify this program and fix its configuration, to use another port or another sub-URI on port 80, to share it with IIS.

One big benefit of http.sys - in addition to its performance - is that you can share URIs on the same (sub)domain between executables, but you need to register the sub-URI. This is a standard mechanism under Windows - please check this reference page for instance.

Another possibility may be to use IIS as reverse proxy, and run the mORMot-powered executable on a local non-routed port, if you have troubles with http.sys configuration (which is not easy).

Arnaud Bouchez
  • 40,947
  • 3
  • 66
  • 152