views:

193

answers:

2

Hi, I'm currently in trouble setting up a SharePoint 2010 project.

Today, I installed VS2010 on our new SP 2010 test-server with my domain account, which was prompted with administrator rights on the Server and SharePoint before.

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!

+1  A: 

Solved! After studying the log files of SharePoint, I've found an error saying, that the database "wss_content_some_fancy_guid" couldn't be opened. After granting rights to it, it worked.

yan.kun
A: 

Hi,

I am having the same trouble. Could you elaborate a bit how did you solve the issue. I am very new to SharePoint. I would be grateful for your reply.

Thank you,

Baluk

Hi, what I've learned so far, developing for SharePoint, study the log files. They nearly log anything and helped me to solve most of my problems.They are normally located at this place:"X:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14LOGS"Replace X with the driver, where SharePoint is installed ;)My Problem was solved by giving my user account in our network db_owner permissions to all tables, SharePoint is using.
yan.kun