RE: Virtual Server Gallery Problems
From: manakhan (manakhan_at_discussions.microsoft.com)
Date: 10/15/04
- Next message: Parth: "How to get thelist of folder and Subfolder from a site"
- Previous message: Mike Walsh: "Re: Server Error in '/' Application- Sharepoint Central Administra"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 15 Oct 2004 12:57:03 -0700
"Pconn" wrote:
> When I use stsadm to remove a webpart CAB, it leaves behind an "Untitled" entry in the Virtual Gallery. Does anyone know why this happens, and how to remove them and stop it happening? Thanks in advance.
Ran into the same thing today ... it looks like pages that contained the old
webpart cause SPS to hold onto the reference. Using SPS Analyzer revealed
the problem. Here is the official procedure for removal from the admin docs
...
Deleting Web Parts
When you delete a Web Part on a server, you delete the assembly (that part
of the Web Part implementation that is executable code) and related
resources. Users must remove the Web Part Definition file from any pages that
use the Web Part. Deleting Web Parts is a three-step process: notification,
deletion, and verification.
Notification
Before deleting a Web Part assembly, you should notify everyone in your user
community who is using the assembly. Deleting Web Parts that are in use will
break the functionality of Web pages that are dependent on the Web Part.
Failing to notify your user community could result in support calls as pages
stop working as expected.
To find all owners of pages containing a Web Part on a virtual server, use
the SharePoint Configuration Analyzer tool, which lists each Web Part
installed on a virtual server and, for each Web Part, lists all of the pages
that contain an instance of the Web Part in a Web Part Zone. Using this
information, contact owners of pages containing Web Parts that are to be
deleted, so that they can remove instances of that Web Part from their pages.
For more information about SharePoint Configuration Analyzer, see Using
SharePoint Configuration Analyzer.
Note Because SharePoint Configuration Analyzer does not report on the Web
Parts that have been added to each site collection gallery, you should also
contact all site administrators of site collection galleries to warn them to
remove Web Parts that you are deleting from these galleries.
Deletion
Use the Stsadm.exe tool to delete a Web Part assembly.
Verification
After deleting Web Part assemblies from each server, you can verify the
operation using the SharePoint Configuration Analyzer tool. By using this
tool, you can find unwanted Web Part assemblies that remain on virtual
servers along with pages that refer to deleted assemblies.
Deleting Web Parts By Using Stsadm.exe
To delete the Web Parts in a Web Part package, use the following syntax:
stsadm -o deletewppack -name <name of Web Part package> [-url <url>]
-name specifies the name of the Web Part package.
-url optionally specifies the URL of the virtual server on which to delete
the Web Parts. If -url is omitted, Stsadm.exe deletes the Web Parts from the
Bin folder of every virtual server on the server or from the global assembly
cache.
Note When you delete the last instance of a Web Parts package on a server
or server farm, Stsadm.exe also deletes the Web Part package from the
configuration database.
- Next message: Parth: "How to get thelist of folder and Subfolder from a site"
- Previous message: Mike Walsh: "Re: Server Error in '/' Application- Sharepoint Central Administra"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|