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.