Geeks With Blogs

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
Shehan Peruma

 

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 Troubleshooting , Development , SharePoint 2010 | Back to top


Comments on this post: Error creating SharePoint project in Visual Studio

# re: Error creating SharePoint project in Visual Studio
Requesting Gravatar...
On the File menu, select New developers; Project and select Empty SharePoint project, then written in the URL in the dialog box that appears, click OK.
Left by website design dublin on Nov 16, 2010 2:04 AM

# re: Error creating SharePoint project in Visual Studio
Requesting Gravatar...
Thank you, Shehan, that fixed it for me.
Left by anon on Mar 02, 2011 4:33 AM

# re: Error creating SharePoint project in Visual Studio
Requesting Gravatar...
vivienne westwood necklace sale vivienne westwood ring sale vivienne westwood brooch 23f185c6355 ヴィヴィアン vivienne westwood necklace ヴィヴィアン vivienne westwood necklaces online vivienne westwood clothing sale vivienne westwood handbags vivienne westwood clothing online vivienne westwood wallet
Left by ヴィヴィア on Mar 25, 2011 2:04 PM

# re: Error creating SharePoint project in Visual Studio
Requesting Gravatar...
Thank you))
Left by kaufen viagra on Apr 06, 2011 3:13 AM

Your comment:
 (will show your gravatar)


Copyright © shehan | Powered by: GeeksWithBlogs.net