I'm using IIS Express to create a virtual directory at http://localhost:5000/
and received this error:
Unable to create the virtual directory. The URL
http://localhost:5000/
is already mapped to a different folder...
This is because I've used the port 5000 for an old project before and it's no longer needed.
My question is, how can I remove the old mapping using IIS Express so I can create the virtual directory at the same port again?
Thanks
You should be able to accomplish this in one of two ways.
applicationhost.config
file directly. The file is located in the %userprofile%\documents\IISexpress\config
folder. You can find the project configuration under the <system.applicationHost>/<sites>
element.UPDATE: WebMatrix has been discontinued and support has officially ended.