This type of page is not served

One of my experiments with ASP.NET MVC involves integration with a shopping cart product built in classic ASP. Up till now I've been happily relying on Cassini (the web server built into Visual Studio) but today I began testing the integration and ran into a problem. As soon as I requested an ASP page, my server reported that "This type of page is not served."

Initially I wondered whether the default MVC web.config had somehow prevented ASP pages working, but it turns out that it's nothing to do with MVC or the web.config - Cassini only works with HTML and ASPX pages - ASP pages must be served up from IIS.

Published 13 April 2008 10:38 PM by jonsayce
Filed under:


No Comments