<?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>MICHEL'S WEBLOG - dasBlog</title>
    <link>http://www.michelvandervlugt.net/</link>
    <description>MICHELVANDERVLUGT.NET</description>
    <language>en-us</language>
    <copyright>Michel van der Vlugt</copyright>
    <lastBuildDate>Sun, 17 Jun 2007 19:14:11 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>blog@michelvandervlugt.net</managingEditor>
    <webMaster>blog@michelvandervlugt.net</webMaster>
    <item>
      <trackback:ping>http://www.michelvandervlugt.net/Trackback.aspx?guid=b1a26a23-a8a3-4d18-89f6-96eef1176087</trackback:ping>
      <pingback:server>http://www.michelvandervlugt.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.michelvandervlugt.net/PermaLink,guid,b1a26a23-a8a3-4d18-89f6-96eef1176087.aspx</pingback:target>
      <dc:creator>Michel van der Vlugt</dc:creator>
      <wfw:comment>http://www.michelvandervlugt.net/CommentView,guid,b1a26a23-a8a3-4d18-89f6-96eef1176087.aspx</wfw:comment>
      <wfw:commentRss>http://www.michelvandervlugt.net/SyndicationService.asmx/GetEntryCommentsRss?guid=b1a26a23-a8a3-4d18-89f6-96eef1176087</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In my last <a href="http://www.michelvandervlugt.net/PermaLink.aspx?guid=6901ee22-c0df-48f6-ba8c-05f3f2f478e9" target="_blank">post</a> I
explained the problems I had running dasBlog in a Partial/Medium Trust environment.
There where two problems left, the web.config sections UrlMapper and httpCompress
had to be removed and the admin pages return errors.
</p>
        <p>
The first problem can be solved easily by adding the attribute requirePermission="false"
to the section declarations (only .NET 2.0), including newtelligence.ControlImages:
</p>
        <div class="wlWriterEditableSmartContent" id="57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:c8e08ae0-406a-4692-90a6-a87fa840dc49" contenteditable="false" style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px">
          <pre style="BACKGROUND-COLOR: white">
            <div>
              <!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
              <span style="COLOR: #000000">&lt;</span>
              <span style="COLOR: #000000">section
name</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">newtelligence.ControlImages</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000"> type</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">newtelligence.DasBlog.Web.Core.WebControls.ControlImageModuleSectionHandler,</span>
              <span style="COLOR: #000000">
              </span>
              <span style="COLOR: #000000"> newtelligence.DasBlog.Web.Core</span>
              <span style="COLOR: #000000">" </span>
              <span style="COLOR: #000000"> requirePermission</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">false</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">/&gt;</span>
              <span style="COLOR: #000000">
              </span>
              <span style="COLOR: #000000">&lt;</span>
              <span style="COLOR: #000000">section
name</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">newtelligence.DasBlog.UrlMapper</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000"> type</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">newtelligence.DasBlog.Web.Core.UrlMapperModuleSectionHandler, </span>
              <span style="COLOR: #000000">
              </span>
              <span style="COLOR: #000000"> newtelligence.DasBlog.Web.Core</span>
              <span style="COLOR: #000000">" </span>
              <span style="COLOR: #000000"> requirePermission</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">false</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">/&gt;</span>
              <span style="COLOR: #000000">
              </span>
              <span style="COLOR: #000000">&lt;</span>
              <span style="COLOR: #000000">sectionGroup
name</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">blowery.web</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">&gt;</span>
              <span style="COLOR: #000000">
              </span>
              <span style="COLOR: #000000">&lt;</span>
              <span style="COLOR: #000000">section
name</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">httpCompress</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000"> type</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">blowery.Web.HttpCompress.SectionHandler,
blowery.Web.HttpCompress</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000"> requirePermission</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">false</span>
              <span style="COLOR: #000000">"</span>
              <span style="COLOR: #000000">/&gt;</span>
              <span style="COLOR: #000000">
              </span>
              <span style="COLOR: #000000">&lt;/</span>
              <span style="COLOR: #000000">sectionGroup</span>
              <span style="COLOR: #000000">&gt;</span>
            </div>
          </pre>
        </div>
        <p>
The second problem is caused by a line in site.config. In this file there is an entry
that references the assembly newtelligence.DasBlog.Web with a public key token of
null. However, since all assemblies are now have a Strong Name the
public key token has to be filled. 
</p>
        <p>
        </p>
        <div class="wlWriterSmartContent" id="57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:637799b4-20e7-466b-b4a2-0f1f703f4b26" contenteditable="false" style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 489px; PADDING-TOP: 0px">
          <pre style="BACKGROUND-COLOR: white">
            <div>
              <!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
              <span style="COLOR: #000000">&lt;</span>
              <span style="COLOR: #000000">EntryEditControl</span>
              <span style="COLOR: #000000">&gt;</span>
              <span style="COLOR: #000000">newtelligence.DasBlog.Web.FreeTextBoxAdapter,
newtelligence.DasBlog.Web, Version</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">1.9</span>
              <span style="COLOR: #000000">.</span>
              <span style="COLOR: #000000">6264.0</span>
              <span style="COLOR: #000000">,
Culture</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">neutral,
PublicKeyToken</span>
              <span style="COLOR: #000000">=</span>
              <span style="COLOR: #000000">123ABC</span>
              <span style="COLOR: #000000">&lt;/</span>
              <span style="COLOR: #000000">EntryEditControl</span>
              <span style="COLOR: #000000">&gt;</span>
              <span style="COLOR: #000000">
              </span>
            </div>
          </pre>
        </div>
        <p>
The public key token can be retrieved from a dll using the sn.exe utility in a command
shell:
</p>
        <div class="wlWriterSmartContent" id="57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:4bf250ef-5b26-4e49-b30f-62bd670e46c2" contenteditable="false" style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px">
          <pre style="BACKGROUND-COLOR: white">
            <div>
              <!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
              <span style="COLOR: #000000">sn </span>
              <span style="COLOR: #000000">-</span>
              <span style="COLOR: #000000">T
newtelligence.DasBlog.Web.dll</span>
            </div>
          </pre>
        </div>
        <p>
At this moment all seems to be working, finally...
</p>
        <img width="0" height="0" src="http://www.michelvandervlugt.net/aggbug.ashx?id=b1a26a23-a8a3-4d18-89f6-96eef1176087" />
      </body>
      <title>dasBlog running in a Medium Trust environment</title>
      <guid isPermaLink="false">http://www.michelvandervlugt.net/PermaLink,guid,b1a26a23-a8a3-4d18-89f6-96eef1176087.aspx</guid>
      <link>http://www.michelvandervlugt.net/PermaLink,guid,b1a26a23-a8a3-4d18-89f6-96eef1176087.aspx</link>
      <pubDate>Sun, 17 Jun 2007 19:14:11 GMT</pubDate>
      <description>&lt;p&gt;
In my last &lt;a href="http://www.michelvandervlugt.net/PermaLink.aspx?guid=6901ee22-c0df-48f6-ba8c-05f3f2f478e9" target=_blank&gt;post&lt;/a&gt;&amp;nbsp;I
explained the problems I had running dasBlog in a Partial/Medium Trust environment.
There where two problems left, the web.config sections UrlMapper and httpCompress
had to be removed&amp;nbsp;and the admin pages return errors.
&lt;/p&gt;
&lt;p&gt;
The first problem can be solved easily by adding the attribute requirePermission="false"
to the section declarations (only .NET 2.0), including newtelligence.ControlImages:
&lt;/p&gt;
&lt;div class=wlWriterEditableSmartContent id=57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:c8e08ae0-406a-4692-90a6-a87fa840dc49 contenteditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;&lt;pre style="BACKGROUND-COLOR: white"&gt;
&lt;div&gt;
&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;section
name&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;newtelligence.ControlImages&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; type&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;newtelligence.DasBlog.Web.Core.WebControls.ControlImageModuleSectionHandler,&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;&lt;span style="COLOR: #000000"&gt; newtelligence.DasBlog.Web.Core&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;" &lt;/span&gt;&lt;span style="COLOR: #000000"&gt; requirePermission&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;false&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;section
name&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;newtelligence.DasBlog.UrlMapper&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; type&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;newtelligence.DasBlog.Web.Core.UrlMapperModuleSectionHandler, &lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;&lt;span style="COLOR: #000000"&gt; newtelligence.DasBlog.Web.Core&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;" &lt;/span&gt;&lt;span style="COLOR: #000000"&gt; requirePermission&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;false&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;sectionGroup
name&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;blowery.web&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;section
name&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;httpCompress&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; type&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;blowery.Web.HttpCompress.SectionHandler,
blowery.Web.HttpCompress&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; requirePermission&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;false&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;"&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;sectionGroup&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
The second problem is caused by a line in site.config. In this file there is an entry
that references the assembly newtelligence.DasBlog.Web with a public key token of
null. However, since all assemblies are now&amp;nbsp;have a&amp;nbsp;Strong Name&amp;nbsp;the
public key token has to be filled. 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;div class=wlWriterSmartContent id=57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:637799b4-20e7-466b-b4a2-0f1f703f4b26 contenteditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 489px; PADDING-TOP: 0px"&gt;&lt;pre style="BACKGROUND-COLOR: white"&gt;
&lt;div&gt;
&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;EntryEditControl&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;newtelligence.DasBlog.Web.FreeTextBoxAdapter,
newtelligence.DasBlog.Web, Version&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;1.9&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;.&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;6264.0&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;,
Culture&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;neutral,
PublicKeyToken&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;=&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;123ABC&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;EntryEditControl&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: #000000"&gt; &lt;/span&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
The public key token can be retrieved from a dll using the sn.exe utility in a command
shell:
&lt;/p&gt;
&lt;div class=wlWriterSmartContent id=57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:4bf250ef-5b26-4e49-b30f-62bd670e46c2 contenteditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;&lt;pre style="BACKGROUND-COLOR: white"&gt;
&lt;div&gt;
&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="COLOR: #000000"&gt;sn &lt;/span&gt;&lt;span style="COLOR: #000000"&gt;-&lt;/span&gt;&lt;span style="COLOR: #000000"&gt;T
newtelligence.DasBlog.Web.dll&lt;/span&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
At this moment all seems to be working, finally...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.michelvandervlugt.net/aggbug.ashx?id=b1a26a23-a8a3-4d18-89f6-96eef1176087" /&gt;</description>
      <comments>http://www.michelvandervlugt.net/CommentView,guid,b1a26a23-a8a3-4d18-89f6-96eef1176087.aspx</comments>
      <category>dasBlog</category>
    </item>
    <item>
      <trackback:ping>http://www.michelvandervlugt.net/Trackback.aspx?guid=6901ee22-c0df-48f6-ba8c-05f3f2f478e9</trackback:ping>
      <pingback:server>http://www.michelvandervlugt.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.michelvandervlugt.net/PermaLink,guid,6901ee22-c0df-48f6-ba8c-05f3f2f478e9.aspx</pingback:target>
      <dc:creator>Michel van der Vlugt</dc:creator>
      <wfw:comment>http://www.michelvandervlugt.net/CommentView,guid,6901ee22-c0df-48f6-ba8c-05f3f2f478e9.aspx</wfw:comment>
      <wfw:commentRss>http://www.michelvandervlugt.net/SyndicationService.asmx/GetEntryCommentsRss?guid=6901ee22-c0df-48f6-ba8c-05f3f2f478e9</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
... and that was not easy. 
</p>
        <p>
My first experience with <a href="http://www.dasblog.info" target="_blank">dasBlog</a> was
a setup on Windows Vista, this didn't work. The main problem I ran into is described in
a blog post of <a href="http://elegantcode.com/?p=439" target="_blank">Daddy Starr</a> and might
be fixed in the next version of dasBlog, which will be released very soon (<a href="http://www.hanselman.com/blog/DasBlogJune2007Release.aspx" target="_blank">DasBlog
June 2007 Release</a>). So instead of using one of the latest daily builds I've installed
the official community edition (version 1.9.6264.0) on a Windows XP virtual machine
and configured it. Now I only had to wait for my host provider creating
my new domain, thinking that a copy to my host provider would be all.
</p>
        <p>
I was terribly wrong... The environment of my host provider is secured using
Partial Trust and Code Access Security, and that is not a good thing when you want
to run dasBlog out of the box. The only was solving the problem was downloading the
source code and make the following changes:
</p>
        <ul>
          <li>
Remove the usage of XmlNamespaceUpgradeReader to deserialize configuration files like
site.config. The implementation is not allowed with Medum Trust and it doesn't
seem to be quite necessary (anymore); 
</li>
          <li>
Compile all the assemblies, including all referenced, with a strong name and the attribute
AllowPartiallyTrustedCallers.</li>
        </ul>
        <p>
Now it ran on my XP box with a medium trust but still not at my host provider, I still
got security exceptions. To get it finally running I had to remove sections UrlMapper
and httpCompress from the web.config. What the consequences will be exactly and why
they are not allowed I don't know yet, I will figure it out later. For now the 'outside'
of my blog runs, although I do experience some problems with the administrator
pages after logging in.
</p>
        <p>
BTW. The theme I use is 'business' from a daily build. This theme is designed
by <a href="http://www.delarou.net" target="_blank">Christoph De Baene (delarou)</a>,
who has done a great job I think.
</p>
        <img width="0" height="0" src="http://www.michelvandervlugt.net/aggbug.ashx?id=6901ee22-c0df-48f6-ba8c-05f3f2f478e9" />
      </body>
      <title>dasBlog up and running!</title>
      <guid isPermaLink="false">http://www.michelvandervlugt.net/PermaLink,guid,6901ee22-c0df-48f6-ba8c-05f3f2f478e9.aspx</guid>
      <link>http://www.michelvandervlugt.net/PermaLink,guid,6901ee22-c0df-48f6-ba8c-05f3f2f478e9.aspx</link>
      <pubDate>Sat, 16 Jun 2007 18:03:19 GMT</pubDate>
      <description>&lt;p&gt;
... and that was not easy. 
&lt;/p&gt;
&lt;p&gt;
My first experience with&amp;nbsp;&lt;a href="http://www.dasblog.info" target="_blank"&gt;dasBlog&lt;/a&gt;&amp;nbsp;was
a setup on Windows Vista, this didn't work. The main problem I ran into is described&amp;nbsp;in
a blog post of &lt;a href="http://elegantcode.com/?p=439" target="_blank"&gt;Daddy Starr&lt;/a&gt;&amp;nbsp;and&amp;nbsp;might
be fixed in the next version of dasBlog, which will be released very soon (&lt;a href="http://www.hanselman.com/blog/DasBlogJune2007Release.aspx" target="_blank"&gt;DasBlog
June 2007 Release&lt;/a&gt;). So instead of using one of the latest&amp;nbsp;daily builds I've&amp;nbsp;installed
the official community edition (version 1.9.6264.0)&amp;nbsp;on a Windows XP virtual machine
and&amp;nbsp;configured it. Now I only had to wait for my host provider&amp;nbsp;creating
my new domain, thinking that a copy to my host provider would be all.
&lt;/p&gt;
&lt;p&gt;
I was terribly wrong...&amp;nbsp;The environment of my&amp;nbsp;host provider is secured using
Partial Trust and Code Access Security, and that is not a good thing when you want
to run dasBlog out of the box. The only was solving the problem was downloading the
source code and make the following changes:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Remove the usage of XmlNamespaceUpgradeReader to deserialize configuration files like
site.config. The implementation is not allowed&amp;nbsp;with Medum Trust and it doesn't
seem to be quite necessary (anymore); 
&lt;li&gt;
Compile all the assemblies, including all referenced, with a strong name and the attribute
AllowPartiallyTrustedCallers.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Now it ran on my XP box with a medium trust but still not at my host provider, I still
got security exceptions. To get it finally running I had to remove sections UrlMapper
and httpCompress from the web.config. What the consequences will be exactly and why
they are not allowed I don't know yet, I will figure it out later. For now the 'outside'
of my blog runs, although I do&amp;nbsp;experience some problems with the administrator
pages after logging in.
&lt;/p&gt;
&lt;p&gt;
BTW.&amp;nbsp;The theme I use is 'business'&amp;nbsp;from&amp;nbsp;a daily build. This theme is&amp;nbsp;designed
by &lt;a href="http://www.delarou.net" target="_blank"&gt;Christoph De Baene (delarou)&lt;/a&gt;,
who has done a great job I think.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.michelvandervlugt.net/aggbug.ashx?id=6901ee22-c0df-48f6-ba8c-05f3f2f478e9" /&gt;</description>
      <comments>http://www.michelvandervlugt.net/CommentView,guid,6901ee22-c0df-48f6-ba8c-05f3f2f478e9.aspx</comments>
      <category>dasBlog</category>
    </item>
  </channel>
</rss>