Next generation's garbage RSS 2.0
# Wednesday, October 17, 2007

Well, after much procrastination, I finally spent some quality time with the GoDaddy hosting control center and various dasBlog instructions and got it working.

For anyone trying the same...

  1. From GoDaddy, go to "My Hosting Account".
  2. Click the [open] link under "Control Panel" for the domain.
  3. Under settings, select ASP.NET runtime and make sure it's 2.0.
  4. Under settings, check FrontPage extensions and make sure they are NOT installed.
  5. Select "Directory Management" under "Content".
  6. Create a custom directory where you'll host the blog with "Read", "Web" and "Set Root".
  7. Create the subdirectories SiteConfig and logs and give them each read+write access.
  8. Create another one called content and give it read+write+web access.
  9. Download the dasBlog webfiles zip and extract it locally.
  10. Edit your siteconfig/site.config setting the obvious looking stuff.
  11. Edit your /web.config to get rid of or comment out the line
    <trust level="Medium" originUrl="" /> (a GoDaddy-ism)
  12. Copy all the extracted files to your blog directory (using explorer view on ftp:// works)
  13. Point your browser at your blog.
  14. Sign in using "admin", "admin" (unless you changed the user name in SiteConfig/siteSecurity.config before you uploaded it)
  15. Immediately change that password.

** Disclaimer: I didn't try those steps exactly so they may not be entirely perfect. **

Edit: Okay, I just setup another blog using those instructions and they seemed to work nicely.

Look here for more help on this.

http://www.aakashjain.com/How+To+Setup+DasBlog+On+Godaddy.aspx

Now, to blog from Word 2007 with images… create from the blog post template, set up an account of type "Other" and set the Url to http://domain/blogdir/blogger.aspx, set the picture option to "my blog provider". Publish! It should automatically upload pictures to /content/binary/.

Okay, so what is freachable? It is purgatory for .NET objects with finalizers. During garbage collection, objects that have finalizers need to have their finalizers run, but the GC shouldn't have to wait for them (after all the entire process is stalled while GC runs and finalizer code could affect what the GC is doing), but if there are no references to keep the object alive, it will get collected so the object is made to reachable by the finalizer thread by placing it in its special queue called freachable. GC completes and the finalizer thread wakes up, executes the finalizers in the freachable queue, and clears the queue entry, which is the last remaining reference to the object and now the next time GC runs, the object's memory will be reclaimed.

Read all about GC at http://msdn.microsoft.com/msdnmag/issues/1100/gci/

According to that article, it is pronounced f-reachable. That just sounds l-ame.

So what's the point of this blog? To blog stuff I figure out. I will try not to waste bandwidth on "hey, go read what this other guy figured out". Okay, so most of this post is stuff that someone else figured out, but the web.config mod on dasBlog was not in Aakash's notes.

Wednesday, October 17, 2007 11:53:53 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0] -
.NET Internals | dasBlog | Office 12
Archive
<October 2007>
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
All Content © 2012, Hafthor Stefansson - Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. - Sign In