RevisionID: 141415 for revision set 1300 fails on upgrade

When upgrading to Blackbaud CRM v3.0, the following revision error may be encountered: 
RevisionID: 141415 for revision set 1300
Revision text: LoadSpec: 141415.UFN_CLIENTSITE_GETCHILDIDS.xml
Cannot perform alter on 'dbo.UFN_CLIENTSITE_GETCHILDIDS' because it is an incompatible object type.

Download and install the latest patch, which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Workaround: Drop the function UFN_CLIENTSITE_GETCHILDIDS and let this revision recreate it:

if exists (select * from SYS.OBJECTS where NAME = 'UFN_CLIENTSITE_GETCHILDIDS') begin
drop function dbo.UFN_CLIENTSITE_GETCHILDIDS;
end

Environment

 3.0, SP1
 3.0.516, Service Pack 2

Was this article helpful?