I'm using SmarterASP.net for hosting (affiliate link). They have a One-Click installer which has to be used when setting up a new Umbraco website, due to protection settings.
The standard Umbraco setup uses WebForms though, and I need it to use MVC. So I change the umbracoSettings.config and reset the application pool, and it all looks good.
The problem is, as soon as I change a page to use a .cshtml template, then it doesn't render on the frontend. It just returns Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.
The quick solution is pretty simple though, all I have to do is to add this to the web.config:
<configuration>
<system.webServer>
<urlCompression doDynamicCompression="false" />
</system.webServer>
</configuration>
But I'm not sure I like that solution, since I would like to keep dynamic compression to reduce bandwidth usage.
When installing Umbraco directly it adds doDynamicCompression="false" to two locations. So you can still use it else why try adding the below to your web.config instead of disabling it all together
Error 330 unless <urlCompression doDynamicCompression="false" />
I'm using SmarterASP.net for hosting (affiliate link). They have a One-Click installer which has to be used when setting up a new Umbraco website, due to protection settings.
The standard Umbraco setup uses WebForms though, and I need it to use MVC. So I change the umbracoSettings.config and reset the application pool, and it all looks good.
The problem is, as soon as I change a page to use a .cshtml template, then it doesn't render on the frontend. It just returns Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.
The quick solution is pretty simple though, all I have to do is to add this to the web.config:
<configuration>
<system.webServer>
<urlCompression doDynamicCompression="false" />
</system.webServer>
</configuration>
But I'm not sure I like that solution, since I would like to keep dynamic compression to reduce bandwidth usage.
Do you know of a better solution?
Thanks for posting this! got me out of a hole today!
Sorry I don't have answer to any better solution.
Hi,
When installing Umbraco directly it adds
doDynamicCompression="false"
to two locations. So you can still use it else why try adding the below to your web.config instead of disabling it all togetherMatt
is working on a reply...