RSS

Cannot connect to the SharePoint site: . Make sure that the Site URL is valid, that the SharePoint site is running on the local computer, and that the current user has the necessary permissions to access the site.

02 Nov

Cause:
You may experience this issue on a development machine when trying to create a SharePoint project using Visual Studio 2010.

From the File menu the developer selected New->Project and then selected ‘Empty sharepoint project’ (SharePoint 2010) and then typed in the url into the dialog box that appeared and then hit the Validate button. Upon clicking the button, the following error message was shown:

Cannot connect to the SharePoint site: http://server:123/. Make sure that the Site URL is valid, that the SharePoint site is running on the local computer, and that the current user has the necessary permissions to access the site.

Solution:

  1. Open up SQL Manager and navigate to Security –> Logins
  2. Select the user that you’re using to create the VS project.if the user is not there, add the user.
  3. Under Server Roles for the user tick as sysadmin

 

Advertisements
 
2 Comments

Posted by on November 2, 2011 in Development, Error, Sharepoint Server 2010

 

Tags: ,

2 responses to “Cannot connect to the SharePoint site: . Make sure that the Site URL is valid, that the SharePoint site is running on the local computer, and that the current user has the necessary permissions to access the site.

  1. computer table

    July 24, 2012 at 1:38 AM

    Fantastic website. Lots of useful info here. I am sending
    it to a few pals ans also sharing in delicious.

    And of course, thanks for your effort!

     
  2. hmid

    January 22, 2014 at 5:57 PM

    Nice solution

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: