Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

register downloades web part

Status
Not open for further replies.

fezzik0

IS-IT--Management
Nov 21, 2005
2
CA
Is there a way to register a downloaded web part as safe?
I did a search here but most of the results were geared towards web parts that the user had written themselves.

I downloaded an RSS feed web part but when I try to add it to the site I get the error stating that it is not registered as safe.

The downloaded file only unzipped a .cab file which I expanded. I put all of the files (which included several dll files and the dwp) into the "C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\ADMIN\1033\BIN" folder but I still get the error.

I'm a total novice with Sharepoint so any help would be appreciated.

Thanks
 
You have to use the stadmin.exe to import the file.

Once you have built a Web Part Package that contains a manifest.xml file, the Web Part library DLL and all the associated .dwp files, you can then install it using the STSADM.EXE administration tool. For example, if you have built a Web Part Package named AcmeWebPartsPack.cab, you can install it using the following command-line instruction:

STSADM.EXE -o AddWPPack -filename AcmeWebPartsPack.cab

When you run this command, the STSADM.EXE utility copies the Web Part library DLL into the \bin directory of each virtual server within the current WSS deployment. You can add the -url parameter to the preceding command-line instruction if you would like to install the Web Part library into only one specific virtual server within the current WSS deployment.

from:
 
Thanks very much!
Worked like a charm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top