SharePoint deployment Modify password for WebPart

Source: Internet
Author: User

There is currently a problem with deploying a WebPart that modifies passwords on SharePoint, searches for posts from the Web, is invalid after an attempt, is not found when importing WebPart in SharePoint, and describes my environment and how to do it.

Environment:

One of the domain servers.

Implementation method:

(1) Copy the compiled library file to the Bin folder in the home directory of the SharePoint site, which is generally <driver>\inetpub\wwwroot\wss\virtualdirectories\xxxx\bin\ by default , XXXX is the port. If you do not know it, you can see it in IIS. Like I'm here. Copy the ChangePassword.dll file to the 800-port Web site directory.

(2) Drag the library file to the C:\WINDOWS\assembly directory, where you can see the Cheng version, region, public key token, and more.

(3) in the SharePoint site home directory (<driver>\inetpub\wwwroot\), open the Web. config file and add the:< under the SafeControls node SafeControl assembly= "ChangePassword, version=1.0.0.0, Culture=neutral, publickeytoken=d1b23841d356609d" Namespace= "ChangePassword" typename= "*" safe= "True"/>

Note: This directory is written online (<driver>\inetpub\wwwroot\wss\virtualdirectories\xxxx\web.config).

(4) Go to SharePoint, open "Site Settings" at the project collection level, click "Web Parts", click "New"-"Import Library" and select "ChangePassword". Photo commentary, no longer map the description, you can refer to other documents on the Internet.

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.