Localizare MissingWebPart in migrarea Sharepoint 2010

Configurare noua (How To)

Situatie

Test-SPContentDatabase -Name ContenDatabaseName -WebApp WebApplicationUrl
Category        : MissingWebPart
Error           : True
UpgradeBlocking : False
Message         : WebPart class [WebPartTypeId here] is referenced [x]

Solutie

Pasi de urmat

Deschizi SQL Server Management Studio si selectezi baza de data WSS_Content

Rulezi query-select :

SELECT wp.tp_WebPartTypeId 
    , w.FullUrl
    , doc.DirName WebPartPageDirectory
    , doc.LeafName WebPartPageName
    , doc.SiteId
    , doc.WebId
    , wp.tp_ZoneId
 FROM AllDocs doc
INNER JOIN WebParts wp
   ON doc.Id = wp.tp_PageUrlID 
INNER JOIN [Sites] s
   ON doc.SiteId = s.Id 
INNER JOIN Webs w 
   ON doc.WebId = w.Id
WHERE wp.tp_WebPartTypeId IN ('WebPartId here')

Tip solutie

Permanent

Voteaza

(10 din 39 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?