May 27, 2008 - Old    Comments Off on DasBlog: Install on GoDaddy

DasBlog: Install on GoDaddy

[LEFT][color=#ff6600:nmj6ws1u][b:nmj6ws1u][UPDATE][/b:nmj6ws1u][/color:nmj6ws1u][/LEFT]

[size=120:nmj6ws1u]Version 2.0 of dasBlog is released, and dasBlog goes ASP.NET 2.0 (with medium trust).[/size:nmj6ws1u]
After a long period as a .NET 1.1 application with .NET 2.0 compatibility, dasBlog has finally migrated completely to ASP.NET 2.0. This means that we can take adavantage of the 2.0 platform and provide newer features!
[url=http://www.tonybunce.com/:nmj6ws1u][size=120:nmj6ws1u]Tony Bunce[/size:nmj6ws1u][/url:nmj6ws1u][size=120:nmj6ws1u] has a fine [/size:nmj6ws1u][url=http://www.tonybunce.com/dasBlog20AndMediumTrust.aspx:nmj6ws1u][size=120:nmj6ws1u]write-up on the issues we ran into with dasBlog on Medium Trust[/size:nmj6ws1u][/url:nmj6ws1u][size=120:nmj6ws1u]. [/size:nmj6ws1u][size=120:nmj6ws1u]Here’s some highlights:[/size:nmj6ws1u][BLOCKQUOTE]
[i:nmj6ws1u]”The goal of medium trust is for hosting providers to provide functional ASP.NET 2.0 hosting while also protecting against rogue or malicious applications. Unfortunately that protection comes at the cost of application flexibility. …There are a few features that are limited in a medium trust environment: SMTP on alternative ports and Mail to Weblog via POP3…dasBlog will let you know that you don’t have these privileges by displaying warnings on the configuration page.[/i:nmj6ws1u]
[i:nmj6ws1u]There is some good news though, these limitations won’t affect most users. Many hosting providers that run limited trust environments don’t run in the default medium trust, but rather a “modified full trust”. In that case you may already have all the permissions you need for all of the features to work.”[/i:nmj6ws1u]
[/BLOCKQUOTE][b:nmj6ws1u]What is dasBlog?[/b:nmj6ws1u]
dasBlog is an ASP.NET blogging application. It runs on ASP.NET 2.0, (all versions 1.9x and prior run on ASP.NET 1.1 & ASP.NET 2.0) and is developed in C#. dasBlog is an evolution of the BlogX weblog engine initially written by Chris Anderson and contributors.

The initial conversion from Blogx was created by Clemens Vasters. dasBlog adds lots of additional features like Trackback, Pingback, Mail notifications, and over 50 other major modifications some unique only to dasBlog.
dasBlog does not require a database, so it is easier to get setup and cheaper to host. All that dasBlog requires is that you grant write access to a folder so that dasBlog can save your information.
dasBlog is under active development and is always seeking more contributors! If you feel that you can contribute to the project, we’d love to hear from you.

[LEFT][HR][/LEFT][LEFT] [/LEFT][LEFT]Here is a step by step walkthrough to setup
dasBlog
on [URL=http://www.aakashjain.com/ct.ashx?id=f56df749-3f22-4b0e-aa5a-2b4512a68496&url=http%3a%2f%2fwww.godaddy.com]
Godaddy
[/URL]. But before let me tell you that
dasBlog
is a ASP.Net weblog application. It runs on .Net1.1 framework and maintains all its data and settings in XML files stored in a folder on the server. So there is no need of any database tool.
dasBlog
adds lots of additional features like Trackback, Pingback, Mail notifications. It’s a true weblog engine with lots of features and themes to use.<?XML:NAMESPACE PREFIX = O /><O:P> </O:P>[/LEFT]

Setting up
dasBlog
is really very easy task, you will know it shortly. You can go through these generic notes provided by
dasBlog
([URL=http://www.aakashjain.com/ct.ashx?id=f56df749-3f22-4b0e-aa5a-2b4512a68496&url=http%3a%2f%2fwww.dasblog.info%2fSetupInstall.aspx]http://www.
dasblog
.info/SetupInstall.aspx[/URL] )

Now once you have been through with the notes above, let’s go further with these steps to setup your
dasBlog
on
Godaddy
.
<O:P></O:P>
Upload all the files in
dasblog
ce folder to your web server. You should keep the same structure of file and images.

Any change in that may cause your web application not run properly.

[[b:nmj6ws1u]Note:[/b:nmj6ws1u] Before uploading your files, make sure you have made the necessary changes the site.config file (as instructed in turorial). You need to change the <Root> value to your Blog root directory.]
[LEFT] [/LEFT]
[LEFT]You can upload the files in a new folder or in your root folder. Ex – If suppose you want to add your blog to this path (http://www.yoursite.com/blog) then you need to create a blog directory in the root and upload all contents of
dasblog
ce in the blog directory.[/LEFT]
[LEFT]
After you finished uploading, open the hosting manager given by
Godaddy
and click on the “[b:nmj6ws1u]Directory Management[/b:nmj6ws1u]”. This will brings up a new screen where you can create new directory and set the permission to the directories.[/LEFT]

<O:P></O:P>
You need to set the write permission to the following directories:
[LEFT][LIST]
[*]Content
[*]SiteConfig
[*]Logs [LEFT]To create and set permission to the directory click on the “Create Directory” Button, it will bring up the new screen given below[/LEFT]
[LEFT] [img:nmj6ws1u]http://www.aakashjain.com/content/binary/create_directory.JPG[/img:nmj6ws1u][/LEFT][LEFT] [/LEFT][LEFT]Enter the directory name and check on the “read” and “write” checkboxes.[/LEFT][LEFT]Your screen should look like this:[/LEFT]
[LEFT][img:nmj6ws1u]http://www.aakashjain.com/content/binary/set_permission.JPG[/img:nmj6ws1u][/LEFT]

Click on the “Continue” button. Confirm your changes by clicking on “Add” button in the next screen.
<O:P></O:P>[u:nmj6ws1u]Repeat the same steps [b:nmj6ws1u]SiteConfig[/b:nmj6ws1u] and [b:nmj6ws1u]logs [/b:nmj6ws1u]directory[/u:nmj6ws1u]

[b:nmj6ws1u][Note:[/b:nmj6ws1u] You may also need to set the permission on content\binary directory. For this you can create a sub directory under content and set the permission as we have done above. Binary directory is used to store the images and files attached with your post.]
[LEFT]<O:P></O:P> [/LEFT][LEFT]Now don’t jump in hurry, allow sometime so that changes get applied. This is required by G
oDaddy
.<O:P> </O:P>[/LEFT][LEFT]Once all above is done your application is ready to run online.[/LEFT]
[LEFT] [/LEFT]
[LEFT]Here one thing I like to mention is that you need to set your hosting account to use ASP.Net1.1. [b:nmj6ws1u]You cannot run this weblog with ASP.Net 2.0 on
Godaddy
. [/b:nmj6ws1u]This is due to some security reasons.
dasBlog
requires [b:nmj6ws1u]Full [/b:nmj6ws1u]level of trust to run under ASP.Net 2.0 but
Godaddy
doesn’t allow applications to run on the high/full level trust on shared hosting.[/LEFT]
[LEFT] [/LEFT]
[LEFT][HR][/LEFT][LEFT] [/LEFT][LEFT][b:nmj6ws1u]Troubleshooting[/b:nmj6ws1u] [/LEFT][LEFT] [/LEFT]
[LEFT][b:nmj6ws1u]Q: [/b:nmj6ws1u]After installing the DasBlag 2.x Blog (ran the CreateDasBlogVdir.vbs), the virtual directory is set to point to the C:\Inetpub2\root\ dasblog\dasblogce location.

How can I make this work outside of the server so it doesn’t use localhost as part of the URL?

[b:nmj6ws1u]A: [/b:nmj6ws1u]You will need to update your site.config file in the SiteConfig directory. You can edit it locally and ftp it to your site.

The section <Root>http://localhost/DasBlog/</Root> needs to be edited for your real domain.

Example: <Root>http://yoursitename.com/DasBlog/</Root>

If you can log into your site configuration menu you can update this setting there but usually you can’t login until this is set correctly.[/LEFT]