Hi,
Verify that the table mp_SiteHosts exists.
If you can access the database with a query tool try running this:
ALTER PROCEDURE [dbo].[mp_SiteHosts_SelectSiteIdByHost]
/*
Author: Joe Audette
Created: 2011-08-24
Last Modified: 2011-11-25
*/
@HostName nvarchar(255)
AS
SELECT COALESCE(
(SELECT TOP 1 SiteID
FROM [dbo].mp_SiteHosts
WHERE HostName = @HostName),
(SELECT TOP 1 SiteID FROM [dbo].mp_Sites ORDER BY SiteID)
)
GO
The thing I noticed is that this procedure did not have the [dbo]. prefix on the table name and that might be the cause of the error. So if you can run this alter procedure statement it might fix it.
Hope that helps,
Joe