AIF – schema was not found for the document ‘AifEntityKeyPage’

When trying to deploy a service group or activate an AIF service you may receive the error: ‘The schema was not found for the document ‘AifEntityKeyPage’ in port XXXXX

The problem should be fixable by re-initialising the AIF system. This can be done by creating a new job and running the following script.

AifGlobalSettings globalSettings;
;

ttsbegin;
select forupdate firstonly globalSettings;
globalSettings.AifInitialized = NoYes::no;
globalSettings.update();
ttscommit;

AifSetup::initialize();

After you have run the script, try re-deploying the service group and activating the AIF service.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s