Title Missing server side dependencies.
Explanation
[MissingWebPart]
WebPart class [8d6034c4-a416-e535-281a-6b714894e1aa] is referenced [1] times in
the database [WSS_Content_Intranet], but is not installed on the current farm.
Please install any feature/solution which contains this web part. One or more
web parts are referenced in the database [WSS_Content_Intranet], but are not
installed on the current farm. Please install any feature or solution which
contains these
web parts.
web parts.
solution
For this I am going to reuse the Run-SQLQuery PowerShell script
that I introduced in my article on MissingSetupFile errors:
|
Once
you have loaded the function in a PowerShell console, you can run it by using
the Run-SQLQuery command with the options relevant to your deployment. For
[MissingWebPart] errors, you need to run a SQL SELECT query on the “AllDocs”
table in the content database exhibiting the problem, joining to the
“AllWebParts” table in order to find details about the missing web part. For
example, you would type the following command to find details of the web part
with the class ID “4575ceaf-0d5e-4174-a3a1-1a623faa919a”, as reported in the
error above:
|
Yes, it is a pretty long command, but it will produce a very
useful output, as shown in this example:
Id
: 6ab5e70b-60d8-4ddf-93cb-6a93fbc410be
SiteId : 337c5721-5050-46ce-b112-083ac52f7f26
DirName : News/Pages
LeafName : ArticleList.aspx
WebId : dcc93f3e-437a-4fae-acea-bb15d5c4ea7d
ListId : 7e13fe6c-3670-4d46-9601-832e3eb6a1e4
tp_ZoneID : Body
tp_DisplayName :
SiteId : 337c5721-5050-46ce-b112-083ac52f7f26
DirName : News/Pages
LeafName : ArticleList.aspx
WebId : dcc93f3e-437a-4fae-acea-bb15d5c4ea7d
ListId : 7e13fe6c-3670-4d46-9601-832e3eb6a1e4
tp_ZoneID : Body
tp_DisplayName :
Id
: b3fcfcd2-2f02-4fe9-93e4-9c9b5ecddf5b
SiteId : 337c5721-5050-46ce-b112-083ac52f7f26
DirName : Pages
LeafName : Welcome.aspx
WebId : 2ae0de59-a008-4244-aa66-d8f76c79f1ad
ListId : d8f083f0-16b9-43d0-9aaf-4e9fffecd6cc
tp_ZoneID : RightColumnZone
tp_DisplayName :
SiteId : 337c5721-5050-46ce-b112-083ac52f7f26
DirName : Pages
LeafName : Welcome.aspx
WebId : 2ae0de59-a008-4244-aa66-d8f76c79f1ad
ListId : d8f083f0-16b9-43d0-9aaf-4e9fffecd6cc
tp_ZoneID : RightColumnZone
tp_DisplayName :
site ID:
$site = Get-SPSite -Limit all | where {$_.Id -eq
"337c5721-5050-46ce-b112-083ac52f7f26"}
$site.Url
$site.Url
Once you have the site collection URL, you can use the
relative path specified by the DirName property to find the location of the
file. To remove the web part from the page, type the page URL in the browser
and add ?contents=1 to the end of it. For example, to open the web part
maintenance page for the ArticleList.aspx page specified in the output, type
the following URL in the browser:
http://portal/news/pages/articlelist.aspx?contents=1
You can then highlight the offending web part (normally
called ErrorWebPart for MissingWebPart errors) by ticking the box and clicking Delete. The screenshot
below shows a web part maintenance page to give you an idea of the UI, but not
an example of an ErrorWebPart as I had already removed them
4 comments:
When printing this article, a checkered black band appear on the left third of the page. The page cannot be read. Any suggestion on how to print a readable copy?
A printable copy of this can be found here http://get-spscripts.com/2011/06/diagnosing-missingsetupfile-issues-from.html
Here is the solution. Visit this blog & download the utility
http://learn-sharepoint-2013.blogspot.in/2014/09/find-missing-web-part.html
Gaurav Goyal
Love is when he gives you a piece of your soul, that you never knew was missing. See the link below for more info.
#missing
www.ufgop.org
Post a Comment