Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 17:54
    Simon
    0

    Error code: ERR_CONTENT_DECODING_FAILED

    Hi all,

    I have publihsed a site to smarterasp.net. The site CMS is working fine, but every page that I am trying to accessing is not displaying, stating:

    The web page at http://mydomian.com/contact/ might be temporarily down or it may have moved permanently to a new web address.
    Error code: ERR_CONTENT_DECODING_FAILED
    The CMS, as already told you, is working fine and displaying all content.
    Any ideas what might be the cause?
    Thank you in advance.
    Kind Regards
  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 07, 2015 @ 18:58
    Dennis Aaen
    1

    Hi Simon,

    It seems that you need to turn on HTTP Compression, Try to make sure that your settings is like this in your web.config file

    <system.webServer>
        <urlCompression doStaticCompression="false" doDynamicCompression="false"/>

        <!-- your definitions here-->

    </system.webServer>

    http://www.cpodesign.com/blog/umbraco-message-error-code-err_content_decoding_failed-1/

    Or perhaps it could be a good idea to get in touch with your hosting provider smarterasp.net. support, to be sure that everything is okay to run your Umbraco installation.

    Hope this helps,

    /Dennis

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 07, 2015 @ 19:53
    Jan Skovgaard
    0

    Hi Simon

    Unless you have changed the settings Dennis mentions above yourself they should already be set to false by default.

    You should get in touch with support to ensure that everything it setup properly in their end.

    I assume that the site is working fine locally on your own machine? How did you do the deploy? And what exact version of Umbraco 7 are you using?

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 22:38
    Simon
    0

    Hi Jan,

    I am suing Umbraco 7.2.1. I have deployed the site via web deploy but first I deployed it locally and then uploaded via FTP, because some errors where occuring when trying to deploy directly to the server, that umbraco/xslt/web.config cannot be open source, altough I have changed the Build action to None :/

    As Jan said, Dennis, I have already have that code snipper in the web.config

     <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />

    I don't know exactly why this error is occuring because locally is running fine. What do you mean that by "get in touch with your hosting provider smarterasp.net. support, to be sure that everything is okay to run your Umbraco installation." Dennis?

    The CMS is working fine  and content is their as well. But frontend, web page is not available.

    Thank you. Appreciate any help, since I cannot make it run properly.

    Kind Regards

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 07, 2015 @ 23:08
    Dennis Aaen
    0

    Hi Simon,

    I mean that you should try to contact to your hosting provider smarterasp.net support department to ensure that everything it is setup as it should be to running Umbraco on your webhotel.

    Try to see this thread from stackoverflow perhaps it can help you http://stackoverflow.com/questions/14039804/error-330-neterr-content-decoding-failed

    /Dennis

  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 23:20
    Simon
    0

    Hi Dennis,

    They told me that server settings are set correctly. :/

    /Simon

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 08, 2015 @ 05:34
    Jan Skovgaard
    101

    Hi Simon

    Do you have the option to setup stuff like permissions etc. using a control panel on the webhost?

    Otherwise - Apart from telling you that the server settings where fine...did'nt they hint you about what the issue could be at all? Otherwise I would try writing them again - Do they support Umbraco at all? And what version of IIS is the sit hosted on?

    Perhaps this can help? http://www.iis.net/configreference/system.webserver/httpcompression

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 08, 2015 @ 11:42
    Simon
    1

    Hi All,

    The problem was solved. 

    Umbraco web.config has compression set to false, for both static and dynamic, and the smarterasp.net site configuration was set as HTTP compression set to true.

    So I turned it OFF and it works.

    But, I don't know if I should have a compression or not?

    Appreciate any feedback.

    Thank you.

    Kind Regards

  • Dmitriy 168 posts 588 karma points
    Jul 24, 2017 @ 13:34
    Dmitriy
    0

    Thank you for solution. Helped me too.

  • Simon 692 posts 1068 karma points
    Mar 08, 2015 @ 11:52
    Simon
    0

    Hi,

    One more. I would appreicate if you guide me how to deploy the site directly to the hosting, becuase it is telling me either that Install.web.config or umbraco/xslt/web.config cannot be opened. 

    But both the option to change the Build action to None, does not solve the issue. Also, if I try to delete both config files, they will be genereated again, and error will pop up again.

    Appreciate any guide.

    thanks guys.

    Kind Regards

  • John Palmer 77 posts 202 karma points
    Mar 24, 2015 @ 08:34
    John Palmer
    0

    Hi Simon,

    The problem is come from HTTP compression. I have ever experienced same error above. Please contact your hosting provider to enable HTTP compression. It should be fix your problem

  • James 10 posts 50 karma points
    Oct 25, 2016 @ 21:52
    James
    1

    I just had the same error.

    My web.config already had the urlCompression snippet mentioned like this:

    <location path="umbraco">
       <system.webServer>
          <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
       </system.webServer>
    </location>
    <location path="App_Plugins">
       <system.webServer>
          <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
       </system.webServer>
    </location>
    

    But it needed to be added to the top of the system.webServer section. Once it was in there I was cooking on gas.

    I was deploying using Visual Studio's Publish command, not sure if that's in anyway relevant.

    James

  • Dmitriy 168 posts 588 karma points
    Aug 18, 2017 @ 09:51
    Dmitriy
    0

    Have same problem with the same host-provider.

    They said:

    It caused by your site already compressed so you don't need to enable our Control Panel http compression , otherwise it will compress twice and decompress only once and show error

    The umbraco application can not enabled the http compression.Please consider to not use this function.

    What?! May be umbraco compess http by itself?

Please Sign in or register to post replies

Write your reply to:

Draft