0
votes

I started VS with admin rights, i'm currently in trouble setting up a SharePoint 2010 project.

Today, I installed VS2010 on our new SP 2010 server

But now I'm failing to create a SharePoint project in Visual Studio. The SharePoint Customization Wizard tells me following:

Cannont connect to the SharePoint site: http://myserver/blah. 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.

As I'm 'quite' sure, that SharePoint is running on the locale system and I'm having no problems browsing SharePoint with my account, I'm wondering what is preventing me to create the project.

Somewhere else I've read that the user, which is running VS2010, needs db_owner rights to the config and admin tables of SP2010, which I've done, unfortunately this didn't affect anything.

Has anybody encountered this problem before? Thanks for any help!

4
Is your SharePoint site using host header? If so can you confirm you have the appropriate host header entry for that site? - Madhur Ahuja

4 Answers

0
votes

The URL in the Configuration Wizard needs to be an available SharePoint site so it can deploy the project output. Try to navigate to this url in a browser or go to an existing SP site and use that url in the Customization Wizard.

0
votes

Add the user account to SQL Server as sysadmin

0
votes

See: Cannot connect to the Sharepoint Site from Visual Studio 2010

This issue can be fixed by doing the following :- 1. Added myself as the administrator

2. Added myself to SharePoint Farm Admin Group

3. Provided DB Owner access to SharePoint Content DB

0
votes

Add Visual studio process user to the db owners group for sharepoint databases