Thursday, March 22, 2007

The file cannot be web viewed for the following reason: No publishing configuration exists for any of the cabinets in which this file is located

Follow the checklist below to resolve the above error:
1. Make sure the end-to-end test works for the webcache configuration (source to target)
2. Make sure that documents that are web viewable have locale (language) settings.
3. Make sure globalization is turned off.
4. Make sure there are some templates that have no locale settings.
5. Do a DMCL trace of the webview operation and make sure there is a query that returns no results:
select title, object_name, r_object_id from dm_webc_config c where is_active=1 AND any version_labels = 'WIP' and source_folder_id = '0c00b40b80044805' and c.object_name in ( select t.object_name from dm_webc_target t where t.object_name=c.object_name and t.language_code in (''))


If all 5 conditions above hold true, then do the following:
1. Turn on globalization in Web Publisher configuration.
2. For each template with no language code/locale setting, go to IAPI prompt on the eContect Server box and type:
retrieve,c,dm_document (template doctype) where object_name = 'Name of template'
set,c,l,language_code
->en_US (or other locale code)
3. Do the above for existing content that doesn't have a locale setting, or write a script to do so.

Create content with the modified templates and webview them.

No comments: