Sharepoint - Can't connect to the SharePoint site:

  • Check what user vssphost14.exe (or vssphost15.exe) is running as (Generally the same user you are using to run VS)
  • Launch SQL Management Studio and connect to your SharePoint SQl Instance
  • Ensure the above user has DB_Owner rights on each of the following databases:
    • SharePoint_Config
    • SharePoint_AdminContent
    • Content DB for the Site collection you are deploying to
  • You may need to restart VS

The above databases may have different names (GUIDs), but the config, admin, and content DBs are the ones you want