I have the following configuration to save files to the broker Database.

<Item typeMapping="Page" cached="false" storageId="defaultDataFile"/>  
<Item typeMapping="Page" itemExtension=".sitemap" cached="false" storageId="defaultFile"/>
<Item typeMapping="Page" itemExtension=".css" cached="false" storageId="defaultFile"/>
<Item typeMapping="Page" itemExtension=".js" cached="false" storageId="defaultFile"/>    
<Item typeMapping="Binary" storageId="defaultFile" cached="false"/>
<Item typeMapping="Metadata" cached="false" storageId="defaultDataFile"/>  
<Item typeMapping="Page" itemExtension=".xml" cached="false" storageId="defaultFile"/>
<Item typeMapping="Page" itemExtension=".config" cached="false" storageId="defaultFile"/>

I have published an html page /page/test.htm, the file is getting saved to the database but I am unable to view it when hitting domain.com/page/test or domain.com/page/test.htm

I have the deployer and website configured with the above cd_storage configuration. Has any one faced similar issue like this?

  • What is the storage configuration of defaultDataFile? According to the standard defaults, this would point to a File System location for your metadata, NOT a database. Actually, it doesn't look like you're publishing to the database at all.
    – Nuno Linhares
    Jun 21, 2013 at 5:47
  • defaultDataFile has configuration to SQL database. The files are getting saved with file extension .htm.
    – Ajo Mathew
    Jun 21, 2013 at 6:27
  • Can you find the published page in the broker db? There should be a record for it in the ITEMS table.
    – Quirijn
    Jun 21, 2013 at 6:30
  • Yes files are there at DB. It is present in PAGES also at 'ITEMS` table.
    – Ajo Mathew
    Jun 21, 2013 at 6:33

1 Answer 1


After checking with alternate file extensions. It seems the issue is with the retrieval end rather than publishing end.

Solution: The dll files needs to be updated with code to enable retrieval of .htm files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.