<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" 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:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>General</title>
        <link>http://www.kowitz.net/category/1.aspx</link>
        <description>General</description>
        <language>en-AU</language>
        <copyright>Brendan Kowitz</copyright>
        <managingEditor>brendan@kowitz.net</managingEditor>
        <generator>Subtext Version 2.0.0.43</generator>
        <item>
            <title>Upgrading to subtext 2.0-fail</title>
            <link>http://kowitz.net/archive/2008/08/15/upgrading-to-subtext-2.0-fail.aspx</link>
            <description>&lt;p&gt;&lt;font face="Arial"&gt;It's been a long time in between &lt;a href="https://sourceforge.net/project/showfiles.php?group_id=137896"&gt;updates&lt;/a&gt; for &lt;a href="http://subtextproject.com/"&gt;subtext&lt;/a&gt;, but, has it actually been worth it? Well, kinda. Compared to the 1.9.5 release this one seems a little rough around the edges.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;If you're on a shared host WITHOUT full trust, beware! Things will break in multiple places, including:&lt;/font&gt;&lt;/p&gt;
&lt;font face="Arial"&gt;
&lt;ol&gt;
    &lt;li&gt;&lt;strike&gt;DTP.aspx (The homepage) (tag "st" undefined, needed to add back 'Register TagPrefix="st" Namespace="Subtext.Web.UI.WebControls"')&lt;/strike&gt; (My web.config merge error)&lt;/li&gt;
    &lt;li&gt;/admin/Posts/  (EnclosureMimetypes config section missing requirePermission="false" attribute) &lt;/li&gt;
    &lt;li&gt;/admin/Feedback/ ("FeedbackStatusFlag" undeclared, needed to prefix with the namespace) &lt;/li&gt;
    &lt;li&gt;Subtext.Framework.UrlManager.UrlReWriteHandlerFactory.GetHandlerForUrl(string url) also breaks from a security permission when calling UrlAuthorizationModule.CheckUrlAccessForPrincipal(), had to recompile Subtext.Framework to get around this. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; I don't mean to blast subtext, but I might as well lay a few more issues out there:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;The call to "&lt;font face="Arial"&gt;/Admin/Services/Ajax/AjaxServices.ashx?proxy" throws an "&lt;font face="Arial"&gt;Operation could destabilize the runtime" exception, haha I must say this is the first time I've seen that, fixed by generating the &lt;font face="Arial"&gt;AjaxServicesProxy.js file locally.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt; &lt;/li&gt;
    &lt;li&gt;In the Feedback admin area, when hovering the URL icon the "title" tag shows the email address. &lt;/li&gt;
    &lt;li&gt;Forgot to add this last night: Had to remove the OpenID stuff from the login page, errors with "Cannot be called from Untrusted assembly". &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The problems in this upgrade mostly appear to be stemming from carelessness regarding restrictions in medium trust. I guess the question is - "Is subtext venturing away from medium trust on purpose?"&lt;/p&gt;
&lt;p&gt;Looking to the future. From what I recall I don’t think it’s actually possible to run .net 3.5 applications without full trust, features such as anonymous types simply don’t work.&lt;br /&gt;
&lt;/p&gt;
&lt;/font&gt;&lt;img src="http://kowitz.net/aggbug/89.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2008/08/15/upgrading-to-subtext-2.0-fail.aspx</guid>
            <pubDate>Fri, 15 Aug 2008 13:55:40 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/89.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2008/08/15/upgrading-to-subtext-2.0-fail.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/89.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/89.aspx</trackback:ping>
        </item>
        <item>
            <title>How to Import Data From MindManager 7 Lite Into Project 2007</title>
            <link>http://kowitz.net/archive/2008/07/17/howto-import-data-from-mindmanager-7-lite-into-project-2007.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://www.mindjet.com/"&gt;MindManager&lt;/a&gt; is a very slick product, it looks and feel like every other Office application. I've used this product for a few university project management assignments to create things such as work breakdown structures (WBS) as well as just general information organisation.&lt;/p&gt;
&lt;p&gt;The version I'm using is the Lite version (heaps cheaper) which still carries a lot of features but lacks the integration to other office products. It also lacks the additional information you are able to attribute to the topic nodes such as start, finish dates, time estimates and resources. Although these would also be nice to have from a project point of view, I guess I can live without doing it directly in MindManager as they sound a lot more like scheduling tasks to me. Which is where MS Project Integration would be awesome.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/HowtoImportDataFromMindManager7LiteIntoP_6E84/image_2.png" rel="lightbox"&gt;&lt;img height="406" width="431" border="0" src="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/HowtoImportDataFromMindManager7LiteIntoP_6E84/image_thumb.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;To bridge this gap for the Lite version I've decided to write a plug-in for Microsoft Project to import the information directly out of MindManager.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/HowtoImportDataFromMindManager7LiteIntoP_6E84/image_4.png" rel="lightbox"&gt;&lt;img height="86" width="596" border="0" src="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/HowtoImportDataFromMindManager7LiteIntoP_6E84/image_thumb_1.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then viola, you can even use the relationship links between the nodes to create task predecessors automatically. As much as I've enjoyed using Mind Manager, re-entering this task information would be a real negative to actually using it productively. So you should be able to use this little plug-in if you're unsure you want to spend the additional $250US right away but still want some form of Project Integration. Oh and its only one way, no pushing information back.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/HowtoImportDataFromMindManager7LiteIntoP_6E84/image_6.png" rel="lightbox"&gt;&lt;img height="464" width="483" border="0" src="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/HowtoImportDataFromMindManager7LiteIntoP_6E84/image_thumb_2.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The plug-in can be downloaded here, should work with both MindManager Lite and Pro. Of course, this is a free util, no warrenty or support.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;[&lt;a href="http://www.kowitz.net/files/MindManagerLiteImporter.zip"&gt;Download&lt;/a&gt;]&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/87.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2008/07/17/howto-import-data-from-mindmanager-7-lite-into-project-2007.aspx</guid>
            <pubDate>Wed, 16 Jul 2008 21:52:31 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/87.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2008/07/17/howto-import-data-from-mindmanager-7-lite-into-project-2007.aspx#feedback</comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/87.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/87.aspx</trackback:ping>
        </item>
        <item>
            <title>NHibernate Compatible Shared Hosts</title>
            <link>http://kowitz.net/archive/2008/03/28/nhibernate-compatible-shared-hosts.aspx</link>
            <description>&lt;p&gt;NHibernate is a remarkable ORM, however with all the magic comes a few caveats, these being the difficulties running NHibernate apps in a shared hosting environment. I'm still convinced that it's entirely possible, so I've decided to start compiling a list of success and failures that others (and myself) have had in getting things working.&lt;/p&gt;
&lt;h2&gt;Compatible Shared Hosts&lt;/h2&gt;
&lt;table width="400" cellspacing="0" cellpadding="2" border="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td width="134" valign="top"&gt;&lt;strong&gt;Host Name&lt;/strong&gt;&lt;/td&gt;
            &lt;td width="145" valign="top"&gt;&lt;strong&gt;Comment&lt;/strong&gt;&lt;/td&gt;
            &lt;td width="119" valign="top"&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td width="134" valign="top"&gt;&lt;a href="http://www.webhost4life.com/" target="_blank"&gt;Webhost4life&lt;/a&gt; &lt;/td&gt;
            &lt;td width="157" valign="top"&gt;Reportedly works with "no hacks"&lt;/td&gt;
            &lt;td width="151" valign="top"&gt;[&lt;a href="http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/" target="_blank"&gt;ref&lt;/a&gt;]&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="vertical-align: top;"&gt;&lt;a href="http://www.discountasp.net/" target="_blank"&gt;DiscountAsp&lt;/a&gt;&lt;/td&gt;
            &lt;td style="vertical-align: top;"&gt;I think this should work with IIS7 / Win 2008&lt;/td&gt;
            &lt;td style="vertical-align: top;"&gt;[&lt;a href="http://kb.discountasp.net/article.aspx?id=10574"&gt;ref&lt;/a&gt;]&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="vertical-align: top;"&gt;&lt;a href="http://www.xhostsolutions.com/" target="_blank"&gt;XHostSolutions&lt;/a&gt;&lt;/td&gt;
            &lt;td style="vertical-align: top;"&gt;Simply email support and ask to have your application run as Full Trust&lt;br /&gt;
            &lt;/td&gt;
            &lt;td style="vertical-align: top;"&gt; This is the host I use.&lt;br /&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Shared Hosts known &lt;strong&gt;not&lt;/strong&gt; to work&lt;/h2&gt;
&lt;table width="400" cellspacing="0" cellpadding="2" border="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td width="132" valign="top"&gt;&lt;strong&gt;Host Name&lt;/strong&gt;&lt;/td&gt;
            &lt;td width="133" valign="top"&gt;&lt;strong&gt;Comment&lt;/strong&gt;&lt;/td&gt;
            &lt;td width="133" valign="top"&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td width="132" valign="top"&gt;&lt;a href="http://www.godaddy.com/" target="_blank"&gt;Godaddy&lt;/a&gt; &lt;/td&gt;
            &lt;td width="149" valign="top"&gt; &lt;/td&gt;
            &lt;td width="165" valign="top"&gt;[&lt;a href="http://forum.hibernate.org/viewtopic.php?t=980538&amp;amp;highlight=medium+trust" target="_blank"&gt;ref&lt;/a&gt;]&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td width="132" valign="top"&gt;&lt;a href="http://www.crystaltech.com/" target="_blank"&gt;Crystaltech&lt;/a&gt; &lt;/td&gt;
            &lt;td width="149" valign="top"&gt; &lt;/td&gt;
            &lt;td width="165" valign="top"&gt;
            &lt;p&gt;[&lt;a href="http://forum.castleproject.org/viewtopic.php?t=3104" target="_blank"&gt;ref&lt;/a&gt;]&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Untested / Unknown&lt;/h2&gt;
&lt;table width="400" cellspacing="0" cellpadding="2" border="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td width="133" valign="top"&gt;&lt;strong&gt;Host Name&lt;/strong&gt;&lt;/td&gt;
            &lt;td width="133" valign="top"&gt;&lt;strong&gt;Comment&lt;/strong&gt;&lt;/td&gt;
            &lt;td width="133" valign="top"&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td width="133" valign="top"&gt;&lt;a href="http://www.discountasp.net/" target="_blank"&gt;DiscountAsp&lt;/a&gt;&lt;/td&gt;
            &lt;td width="133" valign="top"&gt; &lt;/td&gt;
            &lt;td width="133" valign="top"&gt; &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Useful References / Alternate Ideas&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://blechie.com/WPierce/archive/2008/02/17/Lazy-Loading-with-nHibernate-Under-Medium-Trust.aspx"&gt;Lazy Loading with nHibernate Under Medium Trust&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://kowitz.net/aggbug/84.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2008/03/28/nhibernate-compatible-shared-hosts.aspx</guid>
            <pubDate>Fri, 28 Mar 2008 13:21:04 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/84.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2008/03/28/nhibernate-compatible-shared-hosts.aspx#feedback</comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/84.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/84.aspx</trackback:ping>
        </item>
        <item>
            <title>Work more play less with Kimai</title>
            <link>http://kowitz.net/archive/2007/09/19/work-more-play-less.aspx</link>
            <description>&lt;p&gt;Over the past few days I've decided to start recording my time with an open source program called &lt;a href="http://www.kimai.de/"&gt;Kimai&lt;/a&gt;. I'd have to say, I'm not liking the results to far. Kimai has recorded that I've spent 24 hours at work over the last 48 hours. Now, I do realize that other people are working even LONGER hours than me, I personally feel they are crazy, they are the ones that should be hooking up Kimai, and they probably wouldn't even have to bother going and turning the recorder off. All the hours have come about because of the looming deadline of a major project, so it'll be also interesting to see what normal working hours look like, when they return.&lt;/p&gt;
&lt;p&gt;&lt;a rel="lightbox" atomicselection="true" href="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/Workmoreplayless_6791/image.png"&gt;&lt;img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="159" alt="image" width="619" border="0" src="http://kowitz.net/images/kowitz_net/WindowsLiveWriter/Workmoreplayless_6791/image_thumb.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/79.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2007/09/19/work-more-play-less.aspx</guid>
            <pubDate>Tue, 18 Sep 2007 21:22:03 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/79.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2007/09/19/work-more-play-less.aspx#feedback</comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/79.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/79.aspx</trackback:ping>
        </item>
        <item>
            <title>Netgear SC101 (finally) does Vista</title>
            <link>http://kowitz.net/archive/2007/09/11/netgear-sc101-finally-does-vista.aspx</link>
            <description>&lt;p&gt;I just couldn't resist sharing the news with all those who have been burned with the Netgear SC101 network storage device. Call it what you like NAS, SAN, Hard drive with blue cable plugged in, doorstop, whatever. Netgear has finally after a few delays (6+ months), released a Vista driver, which, yey, I can verify works on my Vista Business Edition. I still haven't had any luck with getting it installed on Windows Server 2008 (errors with "Failed to install the Z-SAN SCSI miniport driver" whatever that is), but hey, 1 out of 2 ain't bad.&lt;/p&gt;
&lt;p&gt;&lt;img align="left" alt="" src="http://kowitz.net/Data/Images/sc101.jpg" /&gt;So if you're one of the people who upgraded to Vista and had to put your SC101 back in the box for a few months, head on over to the &lt;a href="http://kbserver.netgear.com/products/storagecentral.asp"&gt;support page&lt;/a&gt; and grab the latest driver attempt. Good luck.&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/78.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2007/09/11/netgear-sc101-finally-does-vista.aspx</guid>
            <pubDate>Tue, 11 Sep 2007 10:14:08 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/78.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2007/09/11/netgear-sc101-finally-does-vista.aspx#feedback</comments>
            <slash:comments>24</slash:comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/78.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/78.aspx</trackback:ping>
        </item>
        <item>
            <title>Safari treks onto windows</title>
            <link>http://kowitz.net/archive/2007/06/12/safari-treks-onto-windows.aspx</link>
            <description>&lt;p&gt;I've mentioned &lt;a href="http://www.kowitz.net/archive/2006/08/22/khtml-webkit-swift.aspx"&gt;previously&lt;/a&gt;, there has been some experimentation around with getting WebKit to work on windows. I just didn't really expect Apple to release a full &lt;a href="http://www.apple.com/safari/download/"&gt;Safari for Windows&lt;/a&gt;. So naturally owning a MacBook that I use to run both OSX and Windows, I downloaded both versions. Although the Windows version gives you a taste, it just doesn't 'feel right'. Not sure what it is, but Safari just seems so much smoother in it's native OSX. I'm sure future versions will improve on this, but wow, cool.&lt;/p&gt;
&lt;p&gt;Another feature of Leopard that I'm pretty impressed with is the ability to have &lt;a href="http://www.apple.com/macosx/leopard/features/desktop.html"&gt;'Piles' or 'Stacks'&lt;/a&gt; of icons and files. This is &lt;a href="http://www.bumptop.com/"&gt;not&lt;/a&gt; entirely a new idea, but I'm not aware of a decent usable implementation that has full integration into a consumer desktop. Knowing Apple, it's probably pretty smooth with all the appropriate transition effects and bling.&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/73.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2007/06/12/safari-treks-onto-windows.aspx</guid>
            <pubDate>Mon, 11 Jun 2007 21:39:55 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/73.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2007/06/12/safari-treks-onto-windows.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/73.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/73.aspx</trackback:ping>
        </item>
        <item>
            <title>Another SubText Blog</title>
            <link>http://kowitz.net/archive/2007/06/09/hello-subtext.aspx</link>
            <description>&lt;p&gt;Yes, I'm one of the crowd now, all because my old host Jumba is turning off the last of their Windows boxes, and coincidentally, the one I was hosted on. This has happened &lt;a href="http://www.kowitz.net/archive/2006/10/12/server-move-sub-and-mysql-dataprovider.aspx"&gt;previously&lt;/a&gt; when they shut down some legacy Windows servers and forced everyone on it to upgrade.&lt;/p&gt;
&lt;p&gt;Since Jumba is now no longer offering HELM windows hosting they have &lt;a href="http://forums.whirlpool.net.au/forum-replies.cfm?t=758042"&gt;recommended&lt;/a&gt; &lt;a href="http://www.xhostsolutions.com.au/"&gt;xHostSolutions&lt;/a&gt; who have pretty comparative deals to what I was previously on, only better. This now gives me access to an MS Sql Server database, so I thought I'd take the opportunity to install &lt;a href="http://subtextproject.com/"&gt;SubText&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I still think that &lt;a href="http://www.codeplex.com/SUB"&gt;Single User Blog&lt;/a&gt; is a great place to start when you want to start sinking your teeth into ASP.NET 2.0, its very easy to get your head around and start using all the cool features that ASP.NET has to offer. This is one thing, but I'm now itching to try something a little more feature rich such as SubText. I do admire what wordpress has achieved in the blogging world, but I just can't seem to stray away from .NET, and not to mention the fact that wordpress is written in &lt;a href="http://www.youtube.com/watch?v=p5EIrSM8dCA"&gt;PHP&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/72.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2007/06/09/hello-subtext.aspx</guid>
            <pubDate>Sat, 09 Jun 2007 11:14:22 GMT</pubDate>
            <comments>http://kowitz.net/archive/2007/06/09/hello-subtext.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/72.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/72.aspx</trackback:ping>
        </item>
        <item>
            <title>Stopping ASP.NET web.config inheritance</title>
            <link>http://kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance.aspx</link>
            <description>&lt;p&gt;If you are only ever running one ASP.NET application on a website this is not an issue. However, if you are running a site which may have an application at the root and other separate applications running in sub or virtual directories, then Settings inheritance could be a problem.&lt;/p&gt;
&lt;p&gt;You can read more about how config files get inherited &lt;a href="http://msdn2.microsoft.com/en-us/library/ms178685.aspx"&gt;on msdn&lt;/a&gt; but here's a tip for stopping settings in the root app from getting inherited. The &amp;lt;location&amp;gt; tag is the only tag I've come across which has the inheritInChildApplications attribute. So to target the main &amp;lt;system.web&amp;gt; just wrap it in the location tag as seen below. &lt;/p&gt;
&lt;pre class="xml" name="code"&gt;&amp;lt;location path="." inheritInChildApplications="false"&amp;gt;
&amp;lt;system.web&amp;gt;
 ...
&amp;lt;/system.web&amp;gt;
&amp;lt;/location&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Other Notes:&lt;/strong&gt;&lt;br /&gt;
Although I think the inheritance is in general a good feature to have, especially for inheriting down things such as security settings.  It can even support locking certain settings for child applications, but things can be problematic if the child application doesn't share the same libraries, modules, handlers, masterpages or themes.&lt;/p&gt;
&lt;p&gt;Most collections in the web.config have the &amp;lt;remove&amp;gt; tag or &amp;lt;clear&amp;gt; tag to remove irrelevant modules or handlers in the child app.  The problems I've found occur with settings relating to the &amp;lt;pages&amp;gt; tag, which most items in it don't support &amp;lt;remove&amp;gt;. This means if your child applications doesn't share or have the same registered controls, masterpages or themes then you are probably going to have issues or be forced to specify the settings on a per-page basis.  This is where the inheritInChildApplications="false" really comes in handy.&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/71.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance.aspx</guid>
            <pubDate>Wed, 16 May 2007 03:11:23 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/71.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance.aspx#feedback</comments>
            <slash:comments>9</slash:comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/71.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/71.aspx</trackback:ping>
        </item>
        <item>
            <title>ERROR: 42601: a column definition list is only allowed for functions returning record</title>
            <link>http://kowitz.net/archive/2007/03/15/error-42601-a-column-definition-list-is-only-allowed-for.aspx</link>
            <description>&lt;p&gt;Since the postgres forums appear to be a little quite, I'll post my error here as well. &lt;/p&gt;
&lt;p&gt;This error is in regards to the postgres .net npgsql driver and seemed to only occur when using stored procs.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;The Error&lt;/strong&gt;&lt;br /&gt;
The behavior I experienced happens when using stored procedures started out with me getting the following error:&lt;br /&gt;
&lt;strong&gt;ERROR: 42601: a column definition list is only allowed for functions returning "record"&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
After checking and double checking the stored proc and the parameters I was sending in I turned Npgsql's debugging on. The error appears to be coming from a statement that looks like the following:&lt;br /&gt;
select * from sitemenus_ins(68::int4,34::int4) as (psitemenuid int4, prowstamp timestamp )&lt;br /&gt;
This line of sql fails. &lt;/p&gt;
&lt;p&gt;However the following will work:&lt;br /&gt;
select * from sitemenus_ins(68::int4,34::int4)&lt;br /&gt;
The only difference being that the second one has the 'as(...' clause taken off.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Strange Observation:&lt;/strong&gt;&lt;br /&gt;
The snippet in question is executed automatically by the provider after the NpgsqlCommand.cs class does some other queries to try and match the list of the parameters that are in the stored procedure it is about to execute. However, the 'select' it uses to determine if it should append the 'as(..' clause is queried from the pg_proc table but is matched on the parameter types that are passed in, and not on those of the actual proc.&lt;br /&gt;
&lt;br /&gt;
For example, this means that if I passed in say a 'Text' type (25) as opposed to the defined datatype on a proc (eg. 'Varchar' 1043) The select will fail and the extra 'as (...' on the end of the statement in question will not be appended. So the function call will work&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;
I have no idea what the ideal solution is, I don't have a firm understanding of the ins and outs of the provider, but after downloading the source and removing the check so the 'as (...' never gets appended, all CRUD operations in my unit tests pass.&lt;/p&gt;
&lt;p&gt;Another suggestion by Al is that maybe it is a piece of code left in there that was needed from a previous version of postgres (since the code has been around for a few years now).  Whatever the reason, it causes errors, I've checked the source for &lt;a target="_blank" href="http://sourceforge.net/projects/pgsqlclient"&gt;another &lt;/a&gt;postgres provider and it doesn't attempt to do the append.  The only concern I have if this is an actual bug is that it looks as though the same code has been copied into the branch for the &lt;a href="http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/"&gt;npgsql2&lt;/a&gt; provider, so those wanting to use stored procs on postgres in the future may find the same error I have.&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/70.aspx" width="1" height="1" /&gt;</description>
            <guid>http://kowitz.net/archive/2007/03/15/error-42601-a-column-definition-list-is-only-allowed-for.aspx</guid>
            <pubDate>Thu, 15 Mar 2007 11:30:35 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/70.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2007/03/15/error-42601-a-column-definition-list-is-only-allowed-for.aspx#feedback</comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/70.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/70.aspx</trackback:ping>
        </item>
        <item>
            <title>The C# @ String Literal</title>
            <link>http://kowitz.net/archive/2007/03/06/the-c-string-literal.aspx</link>
            <description>&lt;p&gt;C# is a pretty sweet language, and there are many, many, many little things that just make the code that much nicer. Have you ever been in a situation where for some reason you &lt;span style="FONT-WEIGHT: bold"&gt;NEEDED &lt;/span&gt;to have a string/code fragment/js fragment/sql statement inline in your code because you don't believe in resource files or stored procedures? &lt;br /&gt;
&lt;br /&gt;
Aside from whatever great debate about "if you should or shouldn't". If you are going to, please, please, learn to take advantage of what C# has to offer, yes I'm talking about the '@' string literal.&lt;br /&gt;
&lt;br /&gt;
Now I'm not going to target anyone in particular, but my feeling is that VB as a language seems to be more notorious for having hundreds of lines of String.Append()s. String.Append is the absolute worst, hardest and most illegible way of possibly including your fragment inline in code.&lt;br /&gt;
&lt;br /&gt;
There are also the programmers that 'know of' the @ symbol and prefix all their strings with it because it looks cool or something. Doing this without reason may actually alter the behaviour you excepted because it causes escape sequences to NOT be processed.&lt;br /&gt;
Eg. &lt;span style="COLOR: #0066ff"&gt;"c:\\my\\file.txt"&lt;/span&gt; could be done as &lt;span style="COLOR: #0066ff"&gt;@"c:\my\file.txt"&lt;/span&gt;&lt;br /&gt;
This means your \n and \t or whatever it is will also not be processed. &lt;/p&gt;
&lt;p&gt;I'd say the most precious and special super power of a string literal is its multi-line ability. So instead of writing code that may look something like:&lt;br /&gt;
&lt;span style="COLOR: #0066ff"&gt;var1 += @"some text" + Environment.NewLine;&lt;/span&gt;&lt;br style="COLOR: #0066ff" /&gt;
&lt;span style="COLOR: #0066ff"&gt;var1 += @"some more text" + Environment.NewLine;&lt;/span&gt;&lt;br style="COLOR: #0066ff" /&gt;
&lt;span style="COLOR: #0066ff"&gt;var1 += @"even more text" + Environment.NewLine;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
You could just use the @-quoting and write:&lt;br /&gt;
&lt;span style="COLOR: #0066ff"&gt;var1 = @"some text&lt;/span&gt;&lt;br style="COLOR: #0066ff" /&gt;
&lt;span style="COLOR: #0066ff"&gt;some more text&lt;/span&gt;&lt;br style="COLOR: #0066ff" /&gt;
&lt;span style="COLOR: #0066ff"&gt;event more text";&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And yes that will compile perfectly fine. Best of all, even without going into the debate of "having inline fragments" at least I can read it and change it.&lt;br /&gt;
&lt;/p&gt;&lt;img src="http://kowitz.net/aggbug/69.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brendan Kowitz</dc:creator>
            <guid>http://kowitz.net/archive/2007/03/06/the-c-string-literal.aspx</guid>
            <pubDate>Mon, 05 Mar 2007 15:10:56 GMT</pubDate>
            <wfw:comment>http://kowitz.net/comments/69.aspx</wfw:comment>
            <comments>http://kowitz.net/archive/2007/03/06/the-c-string-literal.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://kowitz.net/comments/commentRss/69.aspx</wfw:commentRss>
            <trackback:ping>http://kowitz.net/services/trackbacks/69.aspx</trackback:ping>
        </item>
    </channel>
</rss>