Aug 28th, 2009 | 1 Comment

I have been getting good response for my post Integrating blog engine into existing site. One of the guy asked me this question on how can we do the opposite? He had a BlogEngine as parent site and needed some other site to be child of BlogEngine. So He posted on that and this is the answer he got for his question.

You need to make this change in your web.config file. If you want to have a website as child of BlogEngine

<location path="." inheritInChildApplications="false">
 <system.web>
 ..... existing content .....
 </system.web>
</location>

<location path="." inheritInChildApplications="false">
 <system.webServer>
 ..... existing content .....
 </system.webServer>
</location>

Written by Ajay Matharu

August 28th, 2009 at 11:48 pm

Nov 13th, 2008 | 4 Comments

While using BlogEngine.net you may run into “content encoding error” “The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression” this error, to resolve this, find

<add name=”CompressionModule” type=”BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core”/>

in your web.config file and comment this line of code. This error mostly arrives when you host blogengine.net site on GoDaddy.

Written by Ajay Matharu

November 13th, 2008 at 4:07 pm