Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Deployment and .htc files View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 8/29/2012 2:16:54 PM
   
Deployment and .htc files
I've depoyed a site live and found I needed to include some custom styling for browser compatibility and included a .htc file in my app_themes/ThemeName/ directory. The site functions as expected and I see the newly changed design in different browsers. But the minute I go to the CMSDesk to edit or design mode I get page cannot be displayed and an error log of:

PageNotFound
Event URL: /cms/App_Themes/ThemeName/PIE.htc
URL Referrer: http://www.SiteName.com/CMSModules/Content/CMSDesk/Edit/editpage.aspx?nodeid=2&mode=design

Here is the reference I have in my CSS sheet: behavior: url(../App_Themes/ThemeName/PIE.htc); The minute I remove the behaviour reference, the site works as expected.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 8/30/2012 5:47:40 AM
   
RE:Deployment and .htc files
Hello,


Can you please look at this forum thread? http://devnet.kentico.com/Forums.aspx?forumid=45&threadid=20983 It can help you.


Best regards,
Helena Grulichova

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 8/30/2012 7:17:11 AM
   
RE:Deployment and .htc files
Thanks Helena. I did add the htc extension to the upload extensions perviously. I also tried uploading it via the UI into the App_Themes directory and no luck, it didn't find it in the "allowed files" list.

After clearing the settings and reapplying them I'm able to deliver the page now without error.