SharePoint Server domain account development URL is invalid

Source: Internet
Author: User

Scene:

When multiple users use the same test machine for SharePoint development, it is found that only administrator users can deploy assemblies correctly to SharePoint, and other users cannot deploy even if they are added to the Administrators group.

Prompt for error when deploying:

The deployment Step "Recycle IIS application Pool" error occurs: The local SharePoint server is not available. Check to see if the server is running and connected to the SharePoint server farm.

Phenomenon:

The site URL is not valid, the local SharePoint server is not able to create a WebPart without the G.cs file

Reason:

The user has control over the SharePoint site and the front-end server for SharePoint, but does not have permissions on the SharePoint-related databases, and the workaround:

Open Sahrepoint SQL Server database, servers----security----Add users (deployment scenario users)
To configure this user mapping:
Add user rights to db_owner for the following databases
Sharepoint_config
SHAREPOINT_ADMINCONTENT_[GUID]
SharePoint Site Content DB

Open the VS again, build the project, compile the deployment, and deploy successfully. Good luck~~~

Problem solving ...

After that there was a problem. IIS application pool Recycle error ... This is the user itself to the site does not have access to the cause, Grant site collection administrator permissions, done, can be deployed properly.

Also consider a problem, configure the db_owner permissions, then every new application, configured as a site URL, you need to go to the database server configuration permissions, feel good trouble,

Later, the user is configured with a server role: SysAdmin, one click (there is no other problem will not know, haha)

Attached: Roles and Rights Management in SQL Server: 8722175

SharePoint Server domain account development URL is invalid

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.