Coldfusion 10 IIS 7.5 - Getting 404 even though file exists

Author: Steven Neiland

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

I recently upgraded my local developer machine to CF10 to be in line with an upgrade of our servers in work. However when I finished the upgrade I started to encounter 404 errors when trying to access files which I knew existed.


After checking all the windows folder security permissions and running the wsconfig tool I still was no closer to finding a solution until I remembered seeing on stack overflow a mention of a missing jakarta mapping. Sure enough once I created the missing mapping everything started to work.

To create the mapping:

  1. Open IIS and browse to the website you are working with.
  2. Right click and select "Add Virtual Directory"
  3. Give the mapping an Alias of "jakarta"
  4. Set the Physical Path to the wsconfig instance in the ColdFusion install directory CFUSION INSTALL\config\wsconfig{instance id}.

On my machine the instance id was "1" and so the mapping looked like this "C:\ColdFusion10\config\wsconfig\1".

Reader Comments

Julie's Gravatar
Monday, May 19, 2014 at 2:28:40 PM Coordinated Universal Time

Steven, you saved me! Thanks for this!

Jim's Gravatar
Friday, December 29, 2017 at 10:53:58 AM Coordinated Universal Time

OMG. This actually worked! Are you kidding me??? Who would have thought creating a mapping named JAKARTA. Crazy and thanks for the post. Spent hours trying to figure this out.

Josh's Gravatar
Friday, March 16, 2018 at 9:58:30 AM Coordinated Universal Time

This also helped me out on a Windows 2012 install where some pages (especially includes) were coming up 404. Adding the jakarta virtual directory solved that issue. Cheers!

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain advertisments or appear to be created for the purpose of link building, will not be published.

Archives Blog Listing