Saturday, January 29, 2011

IIS dumping ASPX files as plain text

After migrating to a new server many of our application files seem to be displaying as text/plain instead of executing, though sometimes they will seem to "partially" execute if we refresh the page.

So far, we have followed the steps described in Microsoft KB#325093 regarding unexpected behavior from IIS, but the issue has not been solved. We have also ensured that the directories themselves have permission to execute scripts and executables, and that ASPX files are being interpreted by aspnet_isapi.dll.

Any ideas what else could be going wrong?

  • Have you made sure that the ASP.Net Vx.x...etc extensions are "allowed" in the Web Service Extension configuration of IIS Manager?

    While you're checking that, make sure that the aspnet_isapi.dll is listed in the "Required Files" tab of the properties of the extension (for version 2 at least anyway)...

  • If this is Windows Server 2008, check in "Roles" / "Web Server IIS" in Server Manager if all necessary modules are installed: ASP.NET etc.

    The default Windows Server installation doesn't include ASP.NET.

    From splattne

0 comments:

Post a Comment