Configuring Multiple Applications on GoDaddy and BlogEngine.Net

February 1, 2009 18:54 by daub815

I've searched the Internet high and low to find the answer to this question: how to have multiple applications on GoDaddy with BlogEngine.Net as the root application.  I have finally found the answer, by slowly figuring it out.  First, we need to create a new IIS Application.  So we will go into GoDaddy's IIS Settings under Content:

goDaddyIISSettings

Click OK and wait for GoDaddy to setup your new application.  Once that directory is setup, we need to create a web.config to place in that directory.  To do this, I just opened Visual Studio 2008 and created a new website.  That gives a base to work with.  If you do not have Visual Studio 2008, download the base here. (remember to remove the base_ in the file name)

Now that we have a base, we need to remove some of the role providers and modules that BlogEngine.Net includes.  After line 64 add the following line to remove the RoleManager:

<roleManager enabled="false" cacheRolesInCookie="true">
    <providers>
        <clear/>
    </providers>
</roleManager>

A little further down (line 85 for me), you will see <httpModules>.  This is where we will remove all the http modules from BlogEngine.Net.  Replase the <httpModules> section with this:

<httpModules>
    <remove name="WwwSubDomainModule"/>
    <remove name="UrlRewrite"/>
    <remove name="CompressionModule"/>
    <remove name="ReferrerModule"/>
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>

Save the file and upload the web.config to the application directory you made earlier.  Now any application in your new application directory including sub directories will use your new web.config.  In case my directions were a bit confusing, here is my completed web.config.  This was really frustrating for me, so I hope it helps someone out there.


Google Reader Faves

January 11, 2009 19:52 by daub815

I was happy with Juan's Google Reader Picks, but I am not a huge fan of a  massive amount of javascript (removal of faviconizing is nearing).  So I went about creating a server side version.

Although I could have used the Twitter widget's code (didn't notice until I was done), I decided to try out XML to Linq.  Therefore, you will need to update your Web.Config to .Net 3.5.  However, future updates will remove that requirement due to BlogEngine.Net's current dependency on .Net 2.0.  Read on to find out how to install my widget.

More...

Google Reader Picks Widget

January 10, 2009 17:51 by daub815

Like most people, I don't like to reinvent the wheel.  I wanted to add my Google Reader shared items to my blog via the BlogEngine.Net widget framework.  I found a great widget.  So I installed the widget and followed his instructions.  Unfortunately, I ran into a few issues.

More...

BlogEngine 1.4.5 RSS Issue

January 8, 2009 20:42 by daub815

I tried to add FeedBurner with my new blog website.  However, there was a big error: Specified argument was out of the range of valid values. Parameter name: utcDate.  How nice?  Well, I did some googling and found this answer (Thanks krishnan).  However, the answer was a bit vague as to when the bug fix occurred, so I did some investigating.

The error usually occurs when the hosting server is not in the same time zone as the blogger (i.e. me = East Coast and GoDaddy = West Coast).  That means the server offset time is usually +2, so the posts appear right to the blogger. 

More...

Minor Updates

January 8, 2009 19:54 by daub815

I added some minor updates to some images (opml and rss icons).  In addition, I have added some people to my blogroll: Bill and Scott.  In addition, I have added some styling to the recent posts and comments widgets.  However, I do not have those widgets displayed.  Once I am complete with the theme (aka skin everything), I plan on posting it to BlogEngine.Net and hopefully get it included in the theme pack.  Then I will heavily modify the code behind because there are a number of annoyances:

  • RecentComments and RecentPosts - both need a space
  • Change the output of some of the widgets
  • Move the rss links around

Until next time.