Influence of WebPart installation location on FrontPager

Source: Internet
Author: User

The WebPart Cab file has two installation locations.
First, install it in the bin folder of the root directory of the website, and second, install it in the Global Assembly Cache (GAC.
The WebPart installed in both methods can be dragged to the WebPart page through IE on the webpage, and can be used normally. However, FrontPage usage is different. The webpart installed in the root bin of the Website Cannot be dragged to the WebPart page through FrontPage. SharePoint will prompt that the webPart is not registered securely. Only webparts in GAC can be dragged using FrontPage.

Install the WebPart Cab package with stsadm
Stsadm.exe-O addwppack
-Name: name of the WebPart Cab package
[-Url URL]
[-Globalinstall]
[-Force]

Switch Description

-Url

Specifies the URL of the virtual server on which you want to install the Web part package.

NoteIf you do not use this switch, the software package is installed on all virtual servers on the computer that have Windows SharePoint Services enabled.

-Name

Install the Web part package from the configuration database to the virtual server. When the software package is first installed on the computer, stsadm.exe creates a copy of The. cab file in the configuration database. In server farm deployment, when the Administrator installs a Web part package on the front-end Web server. when the local copy of the cab file is used, the Web part package is installed on all front-end Web servers.

-Globalinstall

Install the Web part package in the Global Assembly Cache (GAC. Only Web part assembly with a strong name in the Web part package is installed in GAC; all other assembly is installed in the Bin directory of the virtual server.

-Force

Force Stsadm.exe to rewrite the installed Web part package. If the specified Web part package on the command line already exists on the server, you can use this switch to rewrite the package.

-Filename

Force Stsadm.exe to use the. cab file specified by the path on the command line.

Create a batch file Install. batset path = % path % in the same directory of the cab; C: \ Program Files \ Common Files \ Microsoft Shared \ web server extensions \ 60 \ BIN \
Stsadm-o addwppack-filename my CAB file name [-globalinstall]

During installation, double-click install. bat.

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.