<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>bencoffman.com/blog - dasBlog</title>
    <link>http://bencoffman.com/blog/</link>
    <description>News about Tech and a few other things.</description>
    <language>en-us</language>
    <copyright>Ben Coffman</copyright>
    <lastBuildDate>Thu, 22 Jan 2009 20:39:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.1.8102.813</generator>
    <managingEditor>coffmanben@gmail.com</managingEditor>
    <webMaster>coffmanben@gmail.com</webMaster>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=06e3fffc-b763-434e-ba10-6c44939c90ed</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,06e3fffc-b763-434e-ba10-6c44939c90ed.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,06e3fffc-b763-434e-ba10-6c44939c90ed.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=06e3fffc-b763-434e-ba10-6c44939c90ed</wfw:commentRss>
      <slash:comments>5</slash:comments>
      <title>DasBlog, instructions for the rest of us.</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,06e3fffc-b763-434e-ba10-6c44939c90ed.aspx</guid>
      <link>http://bencoffman.com/blog/2009/01/22/DasBlogInstructionsForTheRestOfUs.aspx</link>
      <pubDate>Thu, 22 Jan 2009 20:39:00 GMT</pubDate>
      <description>Jumping right in.  The instructions on the &lt;a id="wdah" href="http://www.dasblog.info/" title="dasblog"&gt;dasBlog&lt;/a&gt; website
of how to install dasBlog on a shared hosting environment are close to zero. The discussion
boards offer some insight but in order to get some real feedback you had to post the
question, wait and hope they reply soon...if ever. 
&lt;br&gt;
I will start by showing you the painful way of installing dasBlog on a shared hosting
environment and end with showing you the painless way on Godaddy.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Painful starts Below:&lt;/b&gt;
&lt;br&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Getting the Code and Getting it to Your Hosting Provider (Godaddy)&lt;/b&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;
Get the code from &lt;a href="http://www.codeplex.com/dasBlog/Release/ProjectReleases.aspx?ReleaseId=17989" id="xsxu" title="dasblog"&gt;dasBlog&lt;/a&gt;.
Download the "web files" unless you want to tinker with the source, a topic I don't
cover. 
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;Unzip the code and pull out the "dasblogce" folder.
I renamed this folder to "blog." Next I uploaded the folder to my hosting service
at Godaddy&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Permissions and Config's&lt;/b&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="margin-left: 40px;"&gt;
&lt;div style="padding: 1em 0px; text-align: left;" id="ns-e"&gt;Edit the web.config and
siteSecurity.config according to the&lt;a href="http://dasblog.info/SetupInstall.aspx" id="wltg" title="instructions" style="color: rgb(85, 26, 139);"&gt; instructions&lt;/a&gt; on
the website. You will also need to change the permissions on three folders logs, content, &lt;span style="border-collapse: collapse;"&gt;siteconfig
to have read/write access.&lt;/span&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div style="padding: 1em 0px; text-align: left;" id="ns-e"&gt;&lt;img src="http://bencoffman.com/blog/content/binary/readwritedirectories.png" style="width: 804px; height: 166px;"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="border-collapse: collapse;"&gt; &lt;/span&gt;&lt;span style="border-collapse: collapse;"&gt;I
will discuss the web.config edits a little because it seems there is a bit of ambiguity
on the web with how the trust should be set up.&lt;/span&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="border-collapse: collapse; font-family: arial;"&gt;
&lt;br&gt;
&lt;span style="font-family: Verdana;"&gt;The out of the box setup of the web.config trust
elements:&lt;/span&gt; &lt;/span&gt;
&lt;br&gt;
&lt;font color="#ff0000"&gt;&amp;lt;!-- &amp;lt;trust level="Medium" originUrl=".*" /&amp;gt; --&amp;gt;&lt;br&gt;
&amp;lt;trust level="Full" originUrl="" /&amp;gt; &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
I simply removed &lt;font color="#ff0000"&gt;&amp;lt;trust level="Full" originUrl="" /&amp;gt; &lt;/font&gt;so
all I had was the commented out &lt;font color="#ff0000"&gt;&amp;lt;!-- &amp;lt;trust level="Medium"
originUrl=".*" /&amp;gt; --&amp;gt; &lt;/font&gt;element. 
&lt;!-- &lt;trust level="Medium" originUrl=".*" /&gt; --&gt;
I have heard some talk to just remove &lt;font color="#ff0000"&gt;&amp;lt;!-- &amp;lt;trust level="Medium"
originUrl=".*" /&amp;gt; --&amp;gt; &lt;/font&gt;all together and others saying if you un-comment
the element the blog should work. For Godaddy removing the one line and commenting
out the other is what worked for me. I always like to leave configuration setting
in the file and just comment them out. I will forget about them if I don't....I blame
college.&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;Adding Virtual Directories and Changing
Settings &lt;/b&gt;&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt; 
&lt;div style="padding: 1em 0px; text-align: left;" id="is1h"&gt;This is the part which
slowed me down. You will need to not only create a virtual directory the same name
as the folder that holds the content for your blog, in this example that directory
is named "blog", but you will also have to create 3 sub virtual directories under
the "blog" virtual directory on Godaddy called "logs," "content," and "siteconfig."
Notice the virtual directories are the same name as the folders within the "blog"
folder. 
&lt;br&gt;
&lt;/div&gt;
&lt;div style="padding: 1em 0px; text-align: left;" id="is1h"&gt;&lt;img src="http://bencoffman.com/blog/content/binary/IIS7directorysetup.png" width:="" 784px;="" height:="" 417px;=""&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span style="border-collapse: collapse;"&gt; &lt;/span&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;Next,
you will need to change the settings on all four virtual directory folders to have
"anonymous access" and "application root." Finally you will need to change IIS7 from
integrated mode to classic mode. (Update: i've been told that if you use the web.config
file that is meant for IIS7 integrated you will not have to make this change. For
right now the standard package with dasblog is the web.config which requires you to
use classic mode).&lt;br&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt; 
&lt;div style="padding: 1em 0px; text-align: left;" id="t2al"&gt;&lt;img src="http://bencoffman.com/blog/content/binary/IIS7Classic.png" style="width: 763px; height: 148px;"&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div style="margin-left: 40px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style="border-collapse: collapse;"&gt;
&lt;br&gt;
&lt;/span&gt; 
&lt;/div&gt;
Once you have followed these steps and followed the steps provided by dasBlog you
should be good to go on installing dasBlog on a hosting provider the hard way. 
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Some of the problems I ran into.&lt;/b&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
The first error I was recived was a "&lt;font color="#ff0000"&gt;HTTP Error 500 - Internal
server error.&lt;/font&gt;" This error really tells you nothing and was quite frustrating.
I eventually fixed the error by switching IIS7 to classic mode on godaddy.&lt;/li&gt;
&lt;li&gt;
The second error I encountered was "&lt;span style="color: rgb(255, 0, 0);"&gt;System.Security.SecurityException:
Request for the permission of type 'System.Security.Permissions.SecurityPermission,&lt;/span&gt;"
This was due to the fact I did not have the 3 virtual directories set up under my
"blog" virtual directory in IIS7.&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Painless way&lt;/b&gt; 
&lt;ul&gt;
&lt;li&gt;
Click "Your Applications" from the home screen of your "Hosting Control Center"&lt;br&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class="webkit-indent-blockquote" style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;"&gt; &lt;img src="http://bencoffman.com/blog/content/binary/yourapplications.png" style="width: 736px; height: 170px;"&gt; &lt;/blockquote&gt; 
&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;
Select "blogs" from the left hand menu&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;
Select "dasBlog" from the list of blogs&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;
Select "Install Now"&lt;br&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class="webkit-indent-blockquote" style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;"&gt;If
by chance Godaddy states your hosting plan is not supported for this product. You
have to have .net and IIS. If you have IIS7 make sure you have it on classic mode.
Without classic mode, .net, and IIS, Godaddy tells you your hosting plan is not compatible.&lt;br&gt;
&lt;div style="padding: 1em 0px; text-align: left;" id="bgwf"&gt;&lt;img src="http://bencoffman.com/blog/content/binary/insideapplicationinstaller.PNG" style="width: 765px; height: 413px;"&gt;
&lt;/div&gt;
&lt;/blockquote&gt; 
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=06e3fffc-b763-434e-ba10-6c44939c90ed" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,06e3fffc-b763-434e-ba10-6c44939c90ed.aspx</comments>
      <category>.Net</category>
      <category>dasBlog</category>
    </item>
  </channel>
</rss>