<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2titles.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemtitles.css"?><rss xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:dc="http://purl.org/dc/elements/1.1/" 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>beecy.net</title>
    <description>will work for foo</description>
    <link>http://beecy.net/</link>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>BlogEngine.NET 1.5.0.7</generator>
    <language>en-US</language>
    <blogChannel:blogRoll>http://beecy.net/opml.axd</blogChannel:blogRoll>
    <blogChannel:blink>http://www.dotnetblogengine.net/syndication.axd</blogChannel:blink>
    <dc:creator>Al Beecy</dc:creator>
    <dc:title>beecy.net</dc:title>
    <geo:lat>0.000000</geo:lat>
    <geo:long>0.000000</geo:long>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/beecynet" /><feedburner:info uri="beecynet" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>42.370446</geo:lat><geo:long>-71.235635</geo:long><feedburner:emailServiceId>beecynet</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/beecynet" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://www.fwicki.com/users/default.aspx?addfeed=http%3A%2F%2Ffeeds.feedburner.com%2Fbeecynet" src="http://www.fwicki.com/images/ui/fwicki_clicklet.png">Subscribe with fwicki</feedburner:feedFlare><item>
      <title>Resolving System.BadImageFormatException in ASP.Net app</title>
      <description>&lt;div&gt;The typical cause of the ASP.Net "System.BadImageFormatException" exception is:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
    &lt;li&gt;You are referencing a 32-bit library.&lt;/li&gt;
    &lt;li&gt;Your .NET application is compiled with the "Platform target" of either "Any CPU" or "x64".&lt;/li&gt;
    &lt;li&gt;You attempt to run/deploy the app on/to a 64-bit OS.&lt;/li&gt;
    &lt;li&gt;The application runs as a 64-bit app, but tries to load the 32-bit library.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;The solution is to go to IIS Manager and click on "Advanced Settings" for the app pool running your website. Set "Enable 32-Bit Applications" to True.&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=tMRThq9TEyI:ww4Ta6fddEc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=tMRThq9TEyI:ww4Ta6fddEc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=tMRThq9TEyI:ww4Ta6fddEc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=tMRThq9TEyI:ww4Ta6fddEc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/tMRThq9TEyI" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/tMRThq9TEyI/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2011/04/29/Resolving-SystemBadImageFormatException-in-ASPNet.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=1b0340b5-888c-412f-8dd8-ce3bcfbff675</guid>
      <pubDate>Fri, 29 Apr 2011 16:18:00 -0500</pubDate>
      <category>Asp.Net</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=1b0340b5-888c-412f-8dd8-ce3bcfbff675</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=1b0340b5-888c-412f-8dd8-ce3bcfbff675</trackback:ping>
      <wfw:comment>http://beecy.net/post/2011/04/29/Resolving-SystemBadImageFormatException-in-ASPNet.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=1b0340b5-888c-412f-8dd8-ce3bcfbff675</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=1b0340b5-888c-412f-8dd8-ce3bcfbff675</feedburner:origLink></item>
    <item>
      <title>How to change fat Windows 7 cursor to normal width</title>
      <description>&lt;div&gt;Some idiot at Microsoft decided it would be a good idea to make the cursor look like it is always highlighting something. Since I spend most of my waking hours in a code editor, this has been driving me crazy. Finally, I'd had enough of it and went hunting around for a way to change it. Here's how to do it:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;Go to: Control Panel -&amp;gt; Ease of Access Center -&amp;gt; Make the computer easier to see&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;Change the setting for "Set the thickness of the blinking cursor" to 1. &lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;Save.&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=oUgR5na3OWA:1OZ4VTSubLk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=oUgR5na3OWA:1OZ4VTSubLk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=oUgR5na3OWA:1OZ4VTSubLk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=oUgR5na3OWA:1OZ4VTSubLk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/oUgR5na3OWA" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/oUgR5na3OWA/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2011/03/19/How-to-change-fat-Windows-7-Cursor-to-Normal-Width.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=4e7e680c-24b6-406a-a34e-69d3a5c83a2a</guid>
      <pubDate>Sat, 19 Mar 2011 09:07:00 -0500</pubDate>
      <category>Annoyance Avoidance</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=4e7e680c-24b6-406a-a34e-69d3a5c83a2a</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=4e7e680c-24b6-406a-a34e-69d3a5c83a2a</trackback:ping>
      <wfw:comment>http://beecy.net/post/2011/03/19/How-to-change-fat-Windows-7-Cursor-to-Normal-Width.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=4e7e680c-24b6-406a-a34e-69d3a5c83a2a</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=4e7e680c-24b6-406a-a34e-69d3a5c83a2a</feedburner:origLink></item>
    <item>
      <title>How to Remove a GPT Protective Partition</title>
      <description>On a WinXP box, I recently popped a harddrive that I was planning to install an OS onto into the external eSATA bay I use for backups and such. My plan was to blow away any partitions to make it easier to distinguish from the other drives in the desitination system during the install.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, the Disk Management utility didn't know what to make of the drive. It was listed, but all options wee greyed out. In the partition area, it said it was a "GPT Protective Partition". &lt;br /&gt;
&lt;br /&gt;
After googling around for a while, it became clear that XP didn't know how to talk to such partitions and the solution (asuming you didn't care about the dat on the disk) was the following:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;Open a Command Prompt window. &lt;/li&gt;
    &lt;li&gt;Enter "diskpart". This will start the the DiskPart utility. &lt;/li&gt;
    &lt;li&gt;Enter "list disk". This will display all drives in the machine with a number beside them. &lt;/li&gt;
    &lt;li&gt;Enter "select [number]" (where "[number]" is the number next to the disk you want to nuke), for example: "select disk 3". &lt;/li&gt;
    &lt;li&gt;Enter "list disk" again. Verify that there is an asterisk next to the drive you selected above. &lt;/li&gt;
&lt;/ul&gt;
&lt;span style="color: #c00000;"&gt;&lt;strong&gt;WARNING: The following command will destroy all data on the disk. It will not prompt you or warn you. It will just wipe the drive with extreme prejudice. It is irreversible. Scared enough? Good.&lt;/strong&gt;&lt;br /&gt;
&lt;/span&gt;
&lt;ul&gt;
    &lt;li&gt;Enter "clean". When it is done, it will tell you that "DiskPart succeeded in cleaning the disk." &lt;/li&gt;
    &lt;li&gt;Enter "exit" to exit the DiskPart utility. You can now close the Command Prompt window. &lt;/li&gt;
    &lt;li&gt;Go to Disk Management under Computer Management. The disk you just wiped will now be listed as "unknown". Right-click on the disk info block (to the left of the partition area), and select"Initialize Disk". Confirm that the correct disk is selected in the pop-up and press "Ok". &lt;/li&gt;
&lt;/ul&gt;
You can now create a partition on the disk (right-click on the partition area).&lt;br /&gt;
&lt;br /&gt;
Applies to: Windows XP&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=KBMLq-0283s:i3JG33uVPko:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=KBMLq-0283s:i3JG33uVPko:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=KBMLq-0283s:i3JG33uVPko:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=KBMLq-0283s:i3JG33uVPko:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/KBMLq-0283s" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/KBMLq-0283s/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2010/08/15/how-to-remove-gpt-protective-partition.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=c053263c-770e-47ec-b13d-cbe48d76a429</guid>
      <pubDate>Sun, 15 Aug 2010 11:09:00 -0500</pubDate>
      <category>WinXP</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=c053263c-770e-47ec-b13d-cbe48d76a429</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=c053263c-770e-47ec-b13d-cbe48d76a429</trackback:ping>
      <wfw:comment>http://beecy.net/post/2010/08/15/how-to-remove-gpt-protective-partition.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=c053263c-770e-47ec-b13d-cbe48d76a429</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=c053263c-770e-47ec-b13d-cbe48d76a429</feedburner:origLink></item>
    <item>
      <title>How to get rid of the Shutdown Event Tracker in Win2003</title>
      <description>The Shutdown Event Tracker is that dialog that pops up when you attempt to reboot or shutdown your machine that demands to know why.
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;Now, I'm sure that somewhere out there is a dweeb who diligently logs the reason for each and every reboot (he also probably saves all his fingernail clippings -- indexed, of course, by finger and date). The rest of us, however, merely enter rude comments about Bill Gates' parentage.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;Here's how to get rid of it:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ol&gt;
    &lt;li&gt;Go to Start-&amp;gt;Run and enter GPEDIT.MSC&lt;/li&gt;
    &lt;li&gt;Expand: Computer Configuration-&amp;gt;Administrative Templates-&amp;gt;System&lt;/li&gt;
    &lt;li&gt;Double-click Display Shutdown Event Tracker&lt;/li&gt;
    &lt;li&gt;Select Disabled&lt;/li&gt;
    &lt;li&gt;Click OK to close all dialog boxes&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;That's it.&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=pqVB8VpJgD0:dxorGuOnEm8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=pqVB8VpJgD0:dxorGuOnEm8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=pqVB8VpJgD0:dxorGuOnEm8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=pqVB8VpJgD0:dxorGuOnEm8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/pqVB8VpJgD0" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/pqVB8VpJgD0/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2010/06/28/how-to-get-rid-of-the-shutdown-event-tracker-in-win2003.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=61351783-0e08-47ba-b28d-10f861f20d59</guid>
      <pubDate>Mon, 28 Jun 2010 08:18:00 -0500</pubDate>
      <category>Annoyance Avoidance</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=61351783-0e08-47ba-b28d-10f861f20d59</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=61351783-0e08-47ba-b28d-10f861f20d59</trackback:ping>
      <wfw:comment>http://beecy.net/post/2010/06/28/how-to-get-rid-of-the-shutdown-event-tracker-in-win2003.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=61351783-0e08-47ba-b28d-10f861f20d59</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=61351783-0e08-47ba-b28d-10f861f20d59</feedburner:origLink></item>
    <item>
      <title>How to Overload Constructors in C#</title>
      <description>When providing overloads for a method signature, developers often implement the business logic just once in the version having the full list of parameters to avoid writing redundant code. The methods with the simpler signatures fill in default values and hand the call off to another of the signatures.&lt;br /&gt;
&lt;br /&gt;
This same approach can also be used with constructors, but the syntax is slightly different than a normal method call:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;public&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;class&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;MyClass&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #0000ff;"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;string&lt;/span&gt; _p1;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #0000ff;"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; _p2;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #0000ff;"&gt;private&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;DateTime&lt;/span&gt; _p3;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #008000;"&gt;//This constructor calls another construtor&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #008000;"&gt;//on this class to set default values.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #0000ff;"&gt;public&lt;/span&gt; MyClass() : &lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;(&lt;span style="color: #a31515;"&gt;"example"&lt;/span&gt;, 1)&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    { &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #008000;"&gt;//This constructor also calls another construtor.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #0000ff;"&gt;public&lt;/span&gt; MyClass(&lt;span style="color: #0000ff;"&gt;string&lt;/span&gt; p1, &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; p2) : &lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;(p1, p2, &lt;span style="color: #2b91af;"&gt;DateTime&lt;/span&gt;.Now)&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    {&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #008000;"&gt;//This constructor does the actual work.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: #0000ff;"&gt;public&lt;/span&gt; MyClass(&lt;span style="color: #0000ff;"&gt;string&lt;/span&gt; p1, &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; p2, &lt;span style="color: #2b91af;"&gt;DateTime&lt;/span&gt; p3)&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    {&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;        _p1 = p1;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;        _p2 = p2;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;        _p3 = p3;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;    }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 10pt;"&gt;}&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=4hDzNs5tems:mCaSjGY5_1Y:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=4hDzNs5tems:mCaSjGY5_1Y:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=4hDzNs5tems:mCaSjGY5_1Y:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=4hDzNs5tems:mCaSjGY5_1Y:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/4hDzNs5tems" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/4hDzNs5tems/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2010/05/04/how-to-overload-constructors-in-csharp.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=6b84a7af-cc4a-4644-8025-2d2ff8978f3a</guid>
      <pubDate>Tue, 04 May 2010 12:03:00 -0500</pubDate>
      <category>C#</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=6b84a7af-cc4a-4644-8025-2d2ff8978f3a</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=6b84a7af-cc4a-4644-8025-2d2ff8978f3a</trackback:ping>
      <wfw:comment>http://beecy.net/post/2010/05/04/how-to-overload-constructors-in-csharp.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=6b84a7af-cc4a-4644-8025-2d2ff8978f3a</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=6b84a7af-cc4a-4644-8025-2d2ff8978f3a</feedburner:origLink></item>
    <item>
      <title>Telerik ASP.Net RadFilter Event Signature Reference</title>
      <description>Here's a quick reference listing of all the event signatures for the &lt;strong&gt;Telerik RadFilter&lt;/strong&gt; control. &lt;br /&gt;
&lt;br /&gt;
I generated it using the &lt;a href="http://beecy.net/post/2009/01/08/reflection-get-control-event-signatures.aspx" title="c# event signature reflection exmaple"&gt;C# event signature reflection example&lt;/a&gt; I posted previously. &lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_ItemCommand(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadFilterCommandEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_ApplyExpressions(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadFilterApplyExpressionsEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_FieldEditorCreating(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadFilterFieldEditorCreatingEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_FieldEditorCreated(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadFilterFieldEditorCreatedEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_Disposed(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_DataBinding(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_Init(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_Load(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_PreRender(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; color: #0000ff; font-size: 10pt;"&gt;protected&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadFilter1_Unload(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt;"&gt;    System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;br /&gt;
Applies to: RadFilter for ASP.NET AJAX&lt;br /&gt;
Version Q1 2010 (2010.1.415.35)&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=w3EDHLaecjg:nVEkNAeBWy4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=w3EDHLaecjg:nVEkNAeBWy4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=w3EDHLaecjg:nVEkNAeBWy4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=w3EDHLaecjg:nVEkNAeBWy4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/w3EDHLaecjg" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/w3EDHLaecjg/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2010/04/25/telerik-aspnet-radfilter-event-signature-reference.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=b0a3dfea-194a-412f-8a18-9a07e3b856b3</guid>
      <pubDate>Sun, 25 Apr 2010 10:45:00 -0500</pubDate>
      <category>Asp.Net</category>
      <category>Reference</category>
      <category>Telerik</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=b0a3dfea-194a-412f-8a18-9a07e3b856b3</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=b0a3dfea-194a-412f-8a18-9a07e3b856b3</trackback:ping>
      <wfw:comment>http://beecy.net/post/2010/04/25/telerik-aspnet-radfilter-event-signature-reference.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=b0a3dfea-194a-412f-8a18-9a07e3b856b3</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=b0a3dfea-194a-412f-8a18-9a07e3b856b3</feedburner:origLink></item>
    <item>
      <title>How to Troubleshoot Sys.WebForms.PageRequestManagerServerErrorException when Debugging</title>
      <description>Today I was busily working on an ASP.Net app when I was confronted with the dreaded "Sys.WebForms.PageRequestManagerServerErrorException":&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="/files/images/Sys.WebForms.PageRequestManagerServerErrorException.png" /&gt;&lt;br /&gt;
&lt;br /&gt;
As anybody who has spent a fair amount of time working with ASP.Net can attest, this is one of the last things you want to see pop up because it is next to useless for figuring out what is actually wrong. Assuming you follow good practices in terms of error handling, odds are pretty good that when you see this the bugs isn't even in your code. Usually, it will end up being a bug in some flaky declarative control you're using.&lt;br /&gt;
&lt;br /&gt;
Personally, I think that the Microsoft Moron who decided that bubbling server errors up to javascript before breaking should be tarred, feathered, and made to watch the Complete Works of Pee-wee Herman. Twice!&lt;br /&gt;
&lt;br /&gt;
Anyway, enough ranting. So how do you get at some useful info? Basically, you need to trap the error somewhere that will allow you to interact with it. &lt;br /&gt;
&lt;br /&gt;
One place is the Global.asax file's Application_Error event handler. This will catch anything not handled elsewhere:&lt;br /&gt;
&lt;br /&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #0000ff; font-size: 10pt; mso-no-proof: yes;"&gt;protected&lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; Application_Error(&lt;span style="color: #2b91af;"&gt;Object&lt;/span&gt; sender, &lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;Exception&lt;/span&gt; ex = Server.GetLastError();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt; (ex != &lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//log it or do something else useful...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;Context.ClearError();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;Server.ClearError();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;catch&lt;/span&gt; { }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;br /&gt;
Another is the page in question's Page_Error handler:&lt;br /&gt;
&lt;br /&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #0000ff; font-size: 10pt; mso-no-proof: yes;"&gt;protected&lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; Page_Error(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;Exception&lt;/span&gt; ex = Server.GetLastError();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt; (ex != &lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;//log it or do something else useful...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt;    &lt;/span&gt;Context.ClearError();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;&lt;span style="mso-spacerun: yes;"&gt; &lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;   &lt;/span&gt;Server.ClearError();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-no-proof: yes;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;br /&gt;
In either case, put a breakpoint in the location where the logging goes. You'll now have full access to the exception, complete with call stacks, etc.  &lt;br /&gt;
&lt;br /&gt;
BTW, in case you were wondering: no, the actual problem above was not because the "Status" field was missing from the "Pages" table -- that would have been way too easy.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=LFilvmhb0Ys:6vv_tZ64Kk0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=LFilvmhb0Ys:6vv_tZ64Kk0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=LFilvmhb0Ys:6vv_tZ64Kk0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=LFilvmhb0Ys:6vv_tZ64Kk0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/LFilvmhb0Ys" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/LFilvmhb0Ys/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2009/10/03/how-to-troubleshoot-Sys-WebForms-PageRequestManagerServerErrorException-when-debugging.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=a7d0f638-7920-45bd-9aea-91f6fa853bab</guid>
      <pubDate>Sat, 03 Oct 2009 18:55:00 -0500</pubDate>
      <category>AJAX</category>
      <category>Asp.Net</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=a7d0f638-7920-45bd-9aea-91f6fa853bab</pingback:target>
      <slash:comments>23</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=a7d0f638-7920-45bd-9aea-91f6fa853bab</trackback:ping>
      <wfw:comment>http://beecy.net/post/2009/10/03/how-to-troubleshoot-Sys-WebForms-PageRequestManagerServerErrorException-when-debugging.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=a7d0f638-7920-45bd-9aea-91f6fa853bab</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=a7d0f638-7920-45bd-9aea-91f6fa853bab</feedburner:origLink></item>
    <item>
      <title>Sys.WebForms.PageRequestManager is null or not an object</title>
      <description>After merging two ASP.Net projects, one that used Ajax, and one that did not, I began getting a stange error: "Sys.WebForms.PageRequestManager is null or not an object". &lt;br /&gt;
&lt;br /&gt;
After googling around and trying various things, the problem turned out to be an optional tag in the web.config file that I had carried over from the non-Ajax project:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #0000ff; font-size: 10pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-no-proof: yes;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #a31515; font-size: 10pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-no-proof: yes;"&gt;xhtmlConformance&lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #0000ff; font-size: 10pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-no-proof: yes;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #ff0000; font-size: 10pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-no-proof: yes;"&gt;mode&lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; color: #0000ff; font-size: 10pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-no-proof: yes;"&gt;=&lt;/span&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot;; font-size: 10pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-no-proof: yes;"&gt;"&lt;span style="color: #0000ff;"&gt;Legacy&lt;/span&gt;"&lt;span style="color: #0000ff;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Turns out that MS's Ajax doesn't like this. Some folks suggested changing "Legacy" to "Transitional", but when I looked the "xhtmlConformance" tag up on MSDN, it says that "Transitional" is the default, so I just deleted it and the problem went away.&lt;br /&gt;
&lt;br /&gt;
Hope this saves someone a little time.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=22BiVlBJWrc:7OjlIYUvrac:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=22BiVlBJWrc:7OjlIYUvrac:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=22BiVlBJWrc:7OjlIYUvrac:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=22BiVlBJWrc:7OjlIYUvrac:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/22BiVlBJWrc" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/22BiVlBJWrc/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2009/10/03/Sys-WebForms-PageRequestManager-is-null-or-not-an-object.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=e1464ede-af11-4055-99f8-e32091f5061d</guid>
      <pubDate>Sat, 03 Oct 2009 12:21:00 -0500</pubDate>
      <category>AJAX</category>
      <category>Asp.Net</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=e1464ede-af11-4055-99f8-e32091f5061d</pingback:target>
      <slash:comments>3</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=e1464ede-af11-4055-99f8-e32091f5061d</trackback:ping>
      <wfw:comment>http://beecy.net/post/2009/10/03/Sys-WebForms-PageRequestManager-is-null-or-not-an-object.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=e1464ede-af11-4055-99f8-e32091f5061d</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=e1464ede-af11-4055-99f8-e32091f5061d</feedburner:origLink></item>
    <item>
      <title>Telerik ASP.Net RadTreeView Event Signature Reference</title>
      <description>Here's a quick reference listing of all the event signatures for the &lt;strong&gt;Telerik RadTreeView&lt;/strong&gt; control. &lt;br /&gt;
&lt;br /&gt;
I generated it using the &lt;a href="http://beecy.net/post/2009/01/08/reflection-get-control-event-signatures.aspx" title="c# event signature reflection exmaple"&gt;&lt;span style="color: #5c80b1;"&gt;C# event signature reflection example&lt;/span&gt;&lt;/a&gt; I posted previously. &lt;br /&gt;
&lt;br /&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeClick(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeDataBound(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeCreated(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeExpand(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeCollapse(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeCheck(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeDrop(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeDragDropEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_NodeEdit(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeNodeEditEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_ContextMenuItemClick(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
Telerik.Web.UI.&lt;span style="color: #2b91af;"&gt;RadTreeViewContextMenuEventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_DataBound(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_Disposed(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_DataBinding(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_Init(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_Load(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_PreRender(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt; &lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; color: #0000ff;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;void&lt;/span&gt; RadTreeView_Unload(&lt;span style="color: #0000ff;"&gt;object&lt;/span&gt; sender, &lt;br /&gt;
System.&lt;span style="color: #2b91af;"&gt;EventArgs&lt;/span&gt; e) { }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-family: times new roman;"&gt;Applies to: RadTreeView for ASP.NET AJAX Version Q2 2009. &lt;/span&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=cuvzX9U9IzI:2TDkEUKbZag:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=cuvzX9U9IzI:2TDkEUKbZag:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=cuvzX9U9IzI:2TDkEUKbZag:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=cuvzX9U9IzI:2TDkEUKbZag:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/cuvzX9U9IzI" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/cuvzX9U9IzI/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2009/10/02/telerik-aspnet-radtreeview-event-signature-reference.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=a1b806f1-7cab-48a3-8334-166276a3e715</guid>
      <pubDate>Fri, 02 Oct 2009 14:16:00 -0500</pubDate>
      <category>Asp.Net</category>
      <category>Reference</category>
      <category>Telerik</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=a1b806f1-7cab-48a3-8334-166276a3e715</pingback:target>
      <slash:comments>3</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=a1b806f1-7cab-48a3-8334-166276a3e715</trackback:ping>
      <wfw:comment>http://beecy.net/post/2009/10/02/telerik-aspnet-radtreeview-event-signature-reference.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=a1b806f1-7cab-48a3-8334-166276a3e715</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=a1b806f1-7cab-48a3-8334-166276a3e715</feedburner:origLink></item>
    <item>
      <title>Creating an FTP-Only Site in Plesk 9</title>
      <description>Plesk can be really annoying at times. Sometimes tasks that should be dirt simple like making a basic FTP site without associated web hosting can be next to impossible.&lt;br /&gt;
&lt;br /&gt;
After wasting about a half hour hunting around in Plesk 9 for a way to make an FTP site (authenticated) that did not also set up a website, I concluded that it simply could not be done through the interface.  &lt;br /&gt;
&lt;br /&gt;
Fine, I'll do it the old-fashioned way: I'll Google up an answer. After visiting a couple sites courtesy of Google, a consensus emerged. The way to create an ftp site/account was to connect via SSH and use the following three commands, followed by a little tweaking of the /etc/passwd file.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/# mkdir /home/ftp &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/# useradd -d /home/ftp/ftpuser/ -s /dev/null ftpuser &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/# passwd ftpuser&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
The first line creates an /ftp folder beneath /home. The second creates a new user named "ftpuser". And the third allows you to set his pasword. So far, so good.&lt;br /&gt;
&lt;br /&gt;
The next generally recommended step was to edit the /etc/passwd file, changing this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;ftpuser:x:502:502::/home/ftp/ftpuser/:/dev/null&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
to this:&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/span&gt;
&lt;div style="background-color: #fff;"&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;ftpuser:x:502:502::/home/ftp/./ftpuser/:/dev/null&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
adding an extra dot slash between "ftp/" and "ftpuser".  I used nano.&lt;br /&gt;
&lt;br /&gt;
Didn't work. All the commands were successful, but FileZilla could not connect. Kept getting "bad login".&lt;br /&gt;
&lt;br /&gt;
Back to the drawing board.  My problem was that sites created in Plesk allowed too much access to uploaded content, specifically, HTTP access. It also subjected the ftp user to a hodgepodge of silly folders since the ftp account wa rooted above all the folders associated with the domain like:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/anon_ftp &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/bin &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/conf &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/error_docs &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/httpsdocs &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/pd &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/private &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/statistics &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/web_users &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #f8f8f8;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/cgi-bin &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;/httpdocs &lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Even worse, some of these folders could not be deleted, nor could files be wrtten to the "root" of this structure. Very annoying.&lt;br /&gt;
&lt;br /&gt;
I decided that to make this mess usable for an FTP-only site, I needed to do two things: &lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt;Prevent access to the bogus website via HTTP. &lt;/li&gt;
    &lt;li&gt;Re-root the login to a secure folder just in case someone found a way around my solution to step 1. &lt;/li&gt;
&lt;/ol&gt;
The first part was pretty straight forward. I would drop a simple one-line .htaccess file in the various web-accessible directories to punt unwanted browsers from my site:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;deny from all&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
The next required a secure directory to which I could re-root my ftp user. Fortunately, there already was such a directory, named "private". So off I went to the /etc/passwd file again, where I changed this:  &lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;ftpuser:x:10021:2522::/var/www/vhosts/ftp.foo.com:/bin/false&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
to this:&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: #7f9db9 1px solid; overflow-y: auto;"&gt;
&lt;div style="background-color: #fff;"&gt;&lt;span style="margin-left: 0px !important;"&gt;&lt;code style="color: #000;"&gt;ftpuser:x:10021:2522::/var/www/vhosts/ftp.foo.com/private:/bin/false&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Now to test. I popped open a browser and went to my site. Got nada via HTTP except a stupid Apache message providing way more information about my server than I thought was sensible to reveal.  Seems if httpdocs can't be accessed, Apache gets stupid. &lt;br /&gt;
&lt;br /&gt;
Fine. I replaced the .htaccess files with a zero-byte index.html. Now all I get is a blank white screen. "Good enough for government work", as we used to say in the Army.&lt;br /&gt;
&lt;br /&gt;
Now the real test: ftp. First I go to the site using various browsers using ftp://. Up pops a login screen on all of them. I provide crdentials and land in my nice empty, private root. Looking good. &lt;br /&gt;
&lt;br /&gt;
One last test: FilleZilla. I enter my site and credentials and click connect. It connects, and I'm again in my private root. Time for a beer!&lt;br /&gt;
&lt;br /&gt;
Hope this helps someone.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=eOyYzzNwLJc:W9Frw97LreE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=eOyYzzNwLJc:W9Frw97LreE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/beecynet?a=eOyYzzNwLJc:W9Frw97LreE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/beecynet?i=eOyYzzNwLJc:W9Frw97LreE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/beecynet/~4/eOyYzzNwLJc" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/beecynet/~3/eOyYzzNwLJc/post.aspx</link>
      <author>Al Beecy</author>
      <comments>http://beecy.net/post/2009/09/12/creating-an-ftp-only-site-in-plesk-9.aspx#comment</comments>
      <guid isPermaLink="false">http://beecy.net/post.aspx?id=e3aac88b-6170-474f-ab5b-a3c0980a01b3</guid>
      <pubDate>Sat, 12 Sep 2009 19:20:00 -0500</pubDate>
      <category>Linux</category>
      <category>Networking and Hosting</category>
      <category>Plesk</category>
      <dc:publisher>Al Beecy</dc:publisher>
      <pingback:server>http://beecy.net/pingback.axd</pingback:server>
      <pingback:target>http://beecy.net/post.aspx?id=e3aac88b-6170-474f-ab5b-a3c0980a01b3</pingback:target>
      <slash:comments>18</slash:comments>
      <trackback:ping>http://beecy.net/trackback.axd?id=e3aac88b-6170-474f-ab5b-a3c0980a01b3</trackback:ping>
      <wfw:comment>http://beecy.net/post/2009/09/12/creating-an-ftp-only-site-in-plesk-9.aspx#comment</wfw:comment>
      <wfw:commentRss>http://beecy.net/syndication.axd?post=e3aac88b-6170-474f-ab5b-a3c0980a01b3</wfw:commentRss>
    <feedburner:origLink>http://beecy.net/post.aspx?id=e3aac88b-6170-474f-ab5b-a3c0980a01b3</feedburner:origLink></item>
  </channel>
</rss>

