Problem: IIS on Windows 2003 x64 returns a 404 error for all pages in JobTraQ X5.12.5 and later

If your JobTraQ server is running the 64-bit version of Windows Server 2003, you may get a 404 error when you try to access JobTraQ after upgrading to X5.12.5 or a later version:

This error happens because of a version mismatch in JobTraQ’s IIS settings for ASP.NET MVC. You can see the mismatch in the screenshot below. Notice that the DLL paths in the “Application extensions” section point to the Framework64 folder for .NET, but the path in the “Wildcard application maps” section points to the Framework folder:

To fix this problem, open the IIS management tool, open the properties for the JobTraQ application, click the Configuration button in the Home Directory tab, change the wildcard map path to use the Framework64 folder, and make sure that the “Verify that file exists” box is not checked:

Once you save the change in the IIS Application Configuration window, JobTraQ will work correctly. This setting is a permanent part of JobTraQ’s ASP.NET MVC configuration, so future versions of JobTraQ will not overwrite your changes. Note that if you have multiple JobTraQ web servers that run the 64-bit version of Windows Server 2003, you will need to make this change on all of them after each is upgraded to JobTraQ X5.12.5 or later.

This issue does not affect Windows Server 2008 or later. The newer versions of IIS handle the 32-bit/64-bit settings differently, and there are not separate settings for application extensions and wildcard mapping. On these versions of IIS, JobTraQ will always run in 64-bit mode on servers that support it, and will seamlessly switch to 32-bit mode on 32-bit servers.