DEV Community

Pablo Rivera
Pablo Rivera

Posted on

Fix for IISExpress Cannot read configuration file redirection.config issue on VMWARE.

Issue: When trying to create a Visual Studio solution on VMWARE VM running on a Mac you get the following error:

IISExpress 8 Cannot read configuration file redirection.config

This thread provides some insight into the issue.

What's the problem?

When creating a new web solution, VS checks all the IIS config files. The process fails if it can't access it.

Solution:

Turns out that VMWARE will map your host's Documents directory to Window's Documents directory. This means that VS cannot access the files.

Steps:

  1. Turn off sharing the Documents directory on the host.
  2. Copy the Directory C:\Program Files\IIS Express.
  3. Paste it into %userprofile%\Documents
  4. Restart Visual Studio.

Top comments (0)