Hosting ASP.NET in Web Matrix Server and IIS
One of the common practices for Web Matrix users is that they write code / develop / test / debug ASP.NET Web form by using Web Matrix locally, and then ready to upload the files to IIS for real deployment.
However, one of the common problem occur at this moment is that the IIS server can't host any ASP.NET pages, it may display nothing on screen or 404 error.
E.g. They may have a <asp:TextBox /> or <asp:Label /> with some HTML text on a page, but the page turn out display the HTML Text only?!
Cause & Resolution:
This problem is due to the mis-configuration of ASP.NET on the IIS, that is, ASP.NET is not register properly on the IIS. In order to solve this problem, aspnet_regiis.exe has to be used and re-install the ASP.NET