Have you ever face the following error.
Unable to create the Web site 'http://localhost/sitename. An error occurred accessing your Windows SharePoint Services site files. Authors - if authoring against a Web server, please contact the Webmaster for this server's Web site. WebMasters - please see the server's application event log for more details.
Goto IIS -> Click Defalt Web Site -> Right Click -> Properties -> Check TCP Port If it is other then port 80 then you have to change it back to 80 and the stuff on.