Title Missing server side dependencies
March 13, 2012 by kazaki82
Title Missing server side dependencies.
[MissingWebPart]WebPart class [8d6034c4-a416-e535-281a-6b714894e1aa] is referenced  times inthe database [WSS_Content_Intranet], but is not installed on the current farm.Please install any feature/solution which contains this web part. One or moreweb parts are referenced in the database [WSS_Content_Intranet], but are notinstalled on the current farm. Please install any feature or solution whichcontains these these web parts.
function Run-SQLQuery ($SqlServer, $SqlDatabase, $SqlQuery)
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = “Server =” + $SqlServer + “; Database =” + $SqlDatabase + “; Integrated Security = True”
$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
$SqlCmd.CommandText = $SqlQuery
$SqlCmd.Connection = $SqlConnection
$SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
$SqlAdapter.SelectCommand = $SqlCmd
$DataSet = New-Object System.Data.DataSet
For this I am going to reuse the Run-SQLQuery PowerShell script that I introduced in my article on MissingSetupFile errors:
Read more »