title: Cannot connect to the Sharepoint Site from Visual Studio 2010
body: <p>I'm new to Sharepoint. I'm trying to create a simple webpart using Visual Studio 2010 but when I try to validate my Sharepoint Server (both VS 2010 and Sharepoint are present in the same system) it says:</p>
  
  <blockquote>
    <p>Cannot connect to the SharePoint site: <a href="http://wpnne76648:2010">http://wpnne76648:2010</a>. 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.</p>
  </blockquote>
  
  <p>If I ignore this and click finish and then try to deploy the application it says:</p>
  
  <blockquote>
    <p>Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.</p>
  </blockquote>
  
  <p>Note: I can open my web application in the browser.</p>