Iam getting error "unable to create the virtual directory. Could not find server
'http://localhost' on the local machine.creating a virtual directory is only supported on the local iis server"
I did foolowing thinks
1.IN Solution explorer Right click on project and click properties
2In properties window use Local IIs web server in project url "http://localhost/Mvc14042016"

Pradeep SahooRank #489 · 5.1K reputationPosted Apr 14, 2016, 6:53 AM EDT
Rahul ChavanRank #2,671 · 521 reputationPosted Apr 14, 2016, 6:56 AM EDT
Try running iismgr in run. If IIS manager opens then you have IIS installed on your machine.