<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>Help!</title>
        <link>http://www.mostlylucid.net/category/10.aspx</link>
        <description>Help!</description>
        <language>en-US</language>
        <copyright>Scott Galloway</copyright>
        <generator>Subtext Version 2.1.0.5</generator>
        <item>
            <title>What am I doing wrong??? CommunityServer issue...</title>
            <link>http://mostlylucid.net/archive/2005/05/17/what-am-i-doing-wrong-communityserver-issue.aspx</link>
            <description>I do intend to post this in the CommunityServer forums; just want to check I’m not being really dumb &lt;img src="http://www.mostlylucid.co.uk/uploads/smile1.gif" /&gt;. Ok, this CS installation is at OrcsWeb so I have the default (System-&amp;gt;Configuration) timezone set to -7…my user timezone (for myself) is set to GMT…problem is that my posts are taking 7 hours to appear…so my own timezone is ignored…anyone encountered this issue??? (Oh, I’ve set the time on this post to now-7 hours so it appears straight away…)&lt;img src="http://mostlylucid.net/aggbug/1092.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2005/05/17/what-am-i-doing-wrong-communityserver-issue.aspx</guid>
            <pubDate>Wed, 18 May 2005 01:11:40 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2005/05/17/what-am-i-doing-wrong-communityserver-issue.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/1092.aspx</wfw:commentRss>
        </item>
        <item>
            <title>[HELP] Question on Windows Server 2003 Wildcard Mapping and VS.NET</title>
            <link>http://mostlylucid.net/archive/2005/03/09/help-question-on-windows-server-2003-wildcard-mapping-and-vs.net.aspx</link>
            <description>Here’s what I’m doing – I have a wildcard map set on my IIS 6 server to allow me to do “/” path mapping through my ASP.NET HttpHandler – problem is that VS.NET can no longer open the web project at that address…anyone any idea why?&lt;br /&gt; &lt;font color="#ff0000"&gt;UPDATE:&lt;/font&gt;  Looks like it has to do with Front Page Server Extension stuff...sooner that goes away the better (roll on VS.NET 2005!). Anyway, to get around this I used the instructions &lt;a href="http://pluralsight.com/wiki/default.aspx/Fritz.AspNetWithoutWebProjects"&gt;here&lt;/a&gt; which basically tell you how to avoid the nasty FPSE stuff and run Web Projects like a normal class library (which also makes them load faster as a nice side effect!)&lt;br /&gt;&lt;img src="http://mostlylucid.net/aggbug/1021.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2005/03/09/help-question-on-windows-server-2003-wildcard-mapping-and-vs.net.aspx</guid>
            <pubDate>Wed, 09 Mar 2005 18:06:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2005/03/09/help-question-on-windows-server-2003-wildcard-mapping-and-vs.net.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/1021.aspx</wfw:commentRss>
        </item>
        <item>
            <title>One of those days...now I can't even install a bit of software!</title>
            <link>http://mostlylucid.net/archive/2005/02/16/one-of-those-days.now-i-cant-even-install-a-bit.aspx</link>
            <description>&lt;p&gt;So I’m trying to install the &lt;a href="http://blogs.msdn.com/danlehen/archive/2005/01/14/353168.aspx"&gt;Avalon November CTP Preview&lt;/a&gt; using the MSI downloaded from &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=C8F904E1-B4CA-402B-ACCF-AAA2BD60DA74&amp;amp;displaylang=en"&gt;here&lt;/a&gt; – after passing the inquisition (using a virtual PC for testing stuff – I don’t generally register them as they have lifetimes &amp;lt; 30 days) I have downloaded it, twice, run it and it hangs as the start screen. MSIEXEC.exe however is busy hoovering up memory (400MB+) …tried disablign my virus scanner, running on my main machine (which has 1GB ram, just more foor for the MSIEXEC troll), same result. Any ideas???&lt;/p&gt;&lt;img src="http://mostlylucid.net/aggbug/1013.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2005/02/16/one-of-those-days.now-i-cant-even-install-a-bit.aspx</guid>
            <pubDate>Wed, 16 Feb 2005 08:18:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2005/02/16/one-of-those-days.now-i-cant-even-install-a-bit.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/1013.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Grr...stupid crappy source formatting...and a challenge for all!</title>
            <link>http://mostlylucid.net/archive/2004/06/08/grr.stupid-crappy-source-formatting.and-a-challenge-for-all.aspx</link>
            <description>&lt;p&gt;Typical, I had a method all sorted which let me past code into Dreamweaver in a nice formatted way not perfect but ...now the stupid thing has stopped working...hmm...OK, here's what I need - anyone have a method to do this? I need a tool or some other way to past code straight into Dreamweaver which meets these criteria:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Fixed Stylesheet - so not dozens of &amp;lt;p&amp;gt; or &amp;lt;font&amp;gt; tags.  &lt;/li&gt;&lt;li&gt;Does not use &amp;lt;pre&amp;gt; tag - this is important, pre just sucks for page flow &lt;/li&gt;&lt;li&gt;Dynamically converts 'tab' code indents to &amp;amp;nbsp; tags &lt;/li&gt;&lt;li&gt;Makes 'clean' HTML - so no dodgy namespaces etc.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;I've tried &lt;a href="http://weblogs.asp.net/rosherove/archive/2004/02/05/67957.aspx"&gt;Roy Osherove's Macro&lt;/a&gt; - suffers from using the whole MS word stuff - so plain awful HTML, I can't believe there's not a really elegant solution for doing this - well, not one that I can find. My real ideal would be some sort of button which lets me just copy source into the clipboard - click the button - anywhere you paste it now uses the ultra-clean HTML - no auto-sensing (which has currently messed up for me), nothing, just pure HTML...  Any ideas anyone???&lt;/p&gt;&lt;img src="http://mostlylucid.net/aggbug/861.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2004/06/08/grr.stupid-crappy-source-formatting.and-a-challenge-for-all.aspx</guid>
            <pubDate>Wed, 09 Jun 2004 06:30:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2004/06/08/grr.stupid-crappy-source-formatting.and-a-challenge-for-all.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/861.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Right...gonna get back to this...and a request for assistance!</title>
            <link>http://mostlylucid.net/archive/2004/03/16/right.gonna-get-back-to-this.and-a-request-for-assistance.aspx</link>
            <description>&lt;p&gt;As I've been posting a bit recently,I've been having some problems with my DNS (entirely of my own making I should point out). Anyway, so these DNS problems have led me to do a bit of thinking about this here site - conclusion, I've been very lazy about posting stuff / looking after you my loyal reader (there is one of you right...hellooooo) - so I'm going to try and be a bit more proactive rather than reactive. &lt;br /&gt;Right, so plan is that I start writing mini-articles, at least one every two days on items as varied as repeaters to compression to using interfaces, all sorts of stuff - here's where you come in. Problem is I am no writer, so anything I'm going to write is likely to be a bit on the pants side ;facts and coding wise it should be fine - I do that for a living - but I am no writer and English is not my first language (I'm Scottish :-)). So, I'm going to expose my inadequacies to the world and I want you, my reader to help me out by pointing out where the problems are.&lt;br /&gt;My solemn vow is: I will post an article, as complete as I can make it on methods of Nesting Data List controls along with some tips and tricks thereon no later than 9pm GMT on 18/03/2004...&lt;/p&gt;&lt;p&gt;&lt;font color="#ff0000"&gt;UPDATE:&lt;/font&gt; OK, for what it's worth the first part of the article is now up &lt;a href="http://www.mostlylucid.co.uk/articles/nestedrepeaters.htm"&gt;here&lt;/a&gt; - constructive comments appreciated...stupid comments ignored - and may lead to violent reprisals (kidding!)&lt;/p&gt;&lt;img src="http://mostlylucid.net/aggbug/778.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2004/03/16/right.gonna-get-back-to-this.and-a-request-for-assistance.aspx</guid>
            <pubDate>Wed, 17 Mar 2004 04:50:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2004/03/16/right.gonna-get-back-to-this.and-a-request-for-assistance.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/778.aspx</wfw:commentRss>
        </item>
        <item>
            <title>.NET and Locked Files...</title>
            <link>http://mostlylucid.net/archive/2003/11/17/.net-and-locked-files.aspx</link>
            <description>&lt;p&gt;OK, can anyone explain why I can't check explicitly if I can lock a file before reading from it (i.e., check that no-one else is locking the file before trying to read from it). I'm using the marvellous &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofilesystemwatcherclasstopic.asp"&gt;FileSystemWatcher&lt;/a&gt; to wait for files being created in a directory before triggering a job - fine but there doesn't seem to be any easy way to check is a file is 'readable' before starting to read... Right now my way of doing this task is to attempt to read - and place a Read lock - on the file using the &lt;a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemIOFileStreamClassTopic.asp"&gt;FileStream&lt;/a&gt;  and catch the error it throws when the file is locked by another process...like so...but this really doesn't feel right. I balk at the idea of using exceptions (which are also REALLY slow) for this kind of task...why doesn't FileStream.CanRead check for locks BEFORE opening the file???&lt;/p&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;style type="text/css"&gt;&lt;![CDATA[
.csharpcode
{
 font-size: 10pt;
 color: black;
 font-family: Courier New , Courier, Monospace;
 background-color: #ffffff;
 /*white-space: pre;*/
}
.csharpcode pre { margin: 0px; }
.rem { color: #008000; }
.kwrd { color: #0000ff; }
.str { color: #006080; }
.op { color: #0000c0; }
.preproc { color: #cc6633; }
.asp { background-color: #ffff00; }
.html { color: #800000; }
.attr { color: #ff0000; }
.alt 
{
 background-color: #f4f4f4;
 width: 100%;
 margin: 0px;
}
.lnum { color: #606060; }
]]&gt;&lt;/style&gt;
&lt;pre class="csharpcode"&gt;        &lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;int&lt;/span&gt; m_ReadAttempts = 0;
        &lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt;  ReadFileFromDisk(&lt;span class="kwrd"&gt;string&lt;/span&gt; filePath)
        {
            &lt;span class="kwrd"&gt;try&lt;/span&gt;
            {
                &lt;span class="kwrd"&gt;if&lt;/span&gt;(!File.Exists(filePath))
                {
                    MessageBox.Show(&lt;span class="str"&gt;"Sorry, but the file specified "&lt;/span&gt; + Environment.NewLine + filePath + Environment.NewLine + &lt;span class="str"&gt;"Cannot be found"&lt;/span&gt;);
                    &lt;span class="kwrd"&gt;return&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt;.Empty;
                }
            &lt;span class="kwrd"&gt;using&lt;/span&gt;(FileStream fs = &lt;span class="kwrd"&gt;new&lt;/span&gt; FileStream(filePath,FileMode.Open,FileAccess.Read,FileShare.Read))
                {
                        &lt;span class="kwrd"&gt;using&lt;/span&gt;(StreamReader sr = &lt;span class="kwrd"&gt;new&lt;/span&gt; StreamReader(fs)) 
                        {
                            &lt;span class="kwrd"&gt;string&lt;/span&gt; tmpStr = sr.ReadToEnd();
                            sr.Close();
                            m_ReadAttempts =0;
                            &lt;span class="kwrd"&gt;return&lt;/span&gt; tmpStr;
                        }
                
                }        
            }
            &lt;span class="kwrd"&gt;catch&lt;/span&gt;(IOException ex)
            {
                    &lt;span class="kwrd"&gt;if&lt;/span&gt;(m_ReadAttempts &amp;lt; 10)
                {
                    Thread.Sleep(500);
                    m_ReadAttempts++;
                    &lt;span class="kwrd"&gt;return&lt;/span&gt; ReadFileFromDisk(filePath);
                }
                &lt;span class="kwrd"&gt;else&lt;/span&gt;
                {
                    &lt;span class="kwrd"&gt;throw&lt;/span&gt; ex;
                }
            }
        }&lt;/pre&gt;&lt;img src="http://mostlylucid.net/aggbug/646.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2003/11/17/.net-and-locked-files.aspx</guid>
            <pubDate>Tue, 18 Nov 2003 05:54:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2003/11/17/.net-and-locked-files.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/646.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Puzzled by memory usage...</title>
            <link>http://mostlylucid.net/archive/2003/11/12/puzzled-by-memory-usage.aspx</link>
            <description>&lt;p&gt;I have this command line app, when running in a 'normal' command window, it uses a fair whack of memory (around 60mb), but the second I minimize to taskbar, the memory usage drops to around 10mb....anyone any ideas why???&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;UPDATE:&lt;/font&gt; Apparently this has to do with 'Working Set size", it's generally nothing to get concerned over...there's a &lt;a href="http://weblogs.asp.net/JBerg/posts/38756.aspx"&gt;pretty good discussion here&lt;/a&gt; on pretty much the same topic...&lt;/p&gt;&lt;img src="http://mostlylucid.net/aggbug/644.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2003/11/12/puzzled-by-memory-usage.aspx</guid>
            <pubDate>Thu, 13 Nov 2003 06:34:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2003/11/12/puzzled-by-memory-usage.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/644.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Hmm...spoke too soon...</title>
            <link>http://mostlylucid.net/archive/2003/09/07/hmm.spoke-too-soon.aspx</link>
            <description>The saga continues, I can recieve mail OK, but I can't send it from my server; now, it works from the smtp local server on my main machine so I don't think it's a Firewall thing - I'm very confused! So if anyone has any idea why,please let me know!&lt;img src="http://mostlylucid.net/aggbug/547.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2003/09/07/hmm.spoke-too-soon.aspx</guid>
            <pubDate>Mon, 08 Sep 2003 06:55:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2003/09/07/hmm.spoke-too-soon.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/547.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Windows Server 2003 Bug in the SMTP administration tool</title>
            <link>http://mostlylucid.net/archive/2003/09/07/windows-server-2003-bug-in-the-smtp-administration-tool.aspx</link>
            <description>This one drove me nuts for a while, I have an smtp server running on my server, but occasionally, the SMTP administration snapin would disappear for no particular reason. This is needless to say VERY annoying - as there's not other effective way to administer SMTP and the snapin doesn't appear in the normal list. Well, forget where I found the solution but here's the fix - just run this command - &lt;font face="Courier New"&gt;regsvr32 c:\windows\system32\inetsrv\smtpsnap.dll &lt;/font&gt;and you'll magically see it's back!&lt;img src="http://mostlylucid.net/aggbug/545.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://mostlylucid.net/archive/2003/09/07/windows-server-2003-bug-in-the-smtp-administration-tool.aspx</guid>
            <pubDate>Mon, 08 Sep 2003 05:08:00 GMT</pubDate>
            <comments>http://mostlylucid.net/archive/2003/09/07/windows-server-2003-bug-in-the-smtp-administration-tool.aspx#feedback</comments>
            <wfw:commentRss>http://mostlylucid.net/comments/commentRss/545.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>