posts - 41, comments - 214, trackbacks - 0

My Links

News

These postings are provided "AS IS" with no warranties, and confers no rights.
Locations of visitors to this page virtusa corp sharepoint virtusa.com shehan peruma

Tag Cloud

Archives

Post Categories

Tuesday, November 16, 2010

Error creating SharePoint project in Visual Studio

 

The following issue was encountered on a developers 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://serverX:6666/. 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.

To fix this error:

  • Open up SQL Manager and navigate to Security –> Logins
  • Select the user that you’re using to create the VS project (if the user is not there, add it)
  • Under Server Roles for the user tick sysadmin

Now it will be possible to create the SP project with getting the error.

 

Posted On Tuesday, November 16, 2010 12:24 PM | Feedback (4) | Filed Under [ Troubleshooting Development SharePoint 2010 ]

Powered by: