SOURCE:Portal
MESSAGE:Specified cast is not valid.
TargetSite:Void collectPortalSettings(Int32, Boolean, System.String)