I have SharePoint 2010 foundation and Visual Studio 2010 on my desktop. SharePoint Server 2010 is installed in a virtual machine in the server machine. I have added myself as administrator of the VM, added myself as farm administrator and provided DB Owner access to SharePoint Content DB. I need to create a SharePoint 2010 Empty SharePoint Project through VS 2010 and giving the url of the sharepoint server(virtual machine) in the box 'What local site do you want to use for debugging?'- 'http://serappsp/' and selected to deploy as a farm solution. When i click 'Validate' the error prompted is : 'Cannot connect to the SharePoint site: 'http://serappsp/'. Make sure that the Site URL is valid, that the SharePoint site is running on the local computer, and that the current user as the necessary permissions to access the site.'