I just installed VS2013 and turned on IIS 7 on my Windows 7 Ultimate x64 machine. When trying to open a solution I get:
Creation of the virtual direct
I encountered similar problem. I had not installed IIS yet. 1. I installed IIS. 2. I used aspnet_regiis tool (with -i) to enable Asp.Net on IIS. 3. Tried to load existing web app project. (FAILED with same error) 4. I reset IIS service. 5. I opened VS2013 as administrator and loaded the existing web app project (Succeeded) 6. The virtual directory created on IIS successfully.
I think the key is the Aspnet_regiis IIS reset and IIS service reset steps.