<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>Errors</title>
        <link>http://bchavez.bitarmory.com/category/6.aspx</link>
        <description>Fun errors and their solutions.</description>
        <language>en-US</language>
        <copyright>Brian Chavez</copyright>
        <managingEditor>bchavez@bitarmory.com</managingEditor>
        <generator>Subtext Version 1.9.5.176</generator>
        <item>
            <title>The Parallel port driver service failed to start &amp;ndash; Hyper-V</title>
            <link>http://bchavez.bitarmory.com/archive/2009/05/22/the-parallel-port-driver-service-failed-to-start-hyper-v.aspx</link>
            <description>&lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin-left: 0px; margin-right: 0px; border-right-width: 0px" height="94" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_5c39ae28-fb81-465f-bc4d-aee800da19bf.png" width="187" align="right" border="0" /&gt;I migrated Bit Armory's servers from Virtual Server 2005 R2 to Microsoft Windows 2008 R2 Hyper-V and ran into a lot of &lt;em&gt;&lt;strong&gt;friction&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;Anyway, the migrated servers had annoying errors from the Service Control Manager saying:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Event Type:    Error      &lt;br /&gt;Event Source:    Service Control Manager       &lt;br /&gt;Event Category:    None       &lt;br /&gt;Event ID:    7000       &lt;br /&gt;Description:       &lt;br /&gt;The Parallel port driver service failed to start due to the following error:       &lt;br /&gt;The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="118" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_f857e70e-4db8-4213-96af-c33563f105cd.png" width="622" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;The problem can easily be solved by disabling the "&lt;strong&gt;Parvdm&lt;/strong&gt;" device &amp;amp; driver service.  Open Device Manager, Check "&lt;strong&gt;Show hidden devices&lt;/strong&gt;", find "&lt;strong&gt;Parvdm&lt;/strong&gt;" in "&lt;strong&gt;Non-Plug and Play Drivers&lt;/strong&gt;".&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="574" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_d9e0a70f-47bc-459a-b66e-66a2c666db62.png" width="406" border="0" /&gt; &lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="334" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_ec09afa3-2929-45ec-aad3-6b5ba49609f5.png" width="403" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;Then all should be well. Again, just more friction from Microsoft.  They really need to test this stuff. &lt;img alt="confused0072.gif" src="http://bchavez.bitarmory.com/Images/emotions/confused0072.gif" /&gt;&lt;/p&gt;  &lt;p&gt;Hope that helps,    &lt;br /&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/74.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/05/22/the-parallel-port-driver-service-failed-to-start-hyper-v.aspx</guid>
            <pubDate>Sat, 23 May 2009 10:56:17 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/74.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/05/22/the-parallel-port-driver-service-failed-to-start-hyper-v.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/74.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/74.aspx</trackback:ping>
        </item>
        <item>
            <title>ScriptSharp and 'not using an unsupported feature'</title>
            <link>http://bchavez.bitarmory.com/archive/2009/02/04/scriptsharp-and-not-using-an-unsupported-feature.aspx</link>
            <description>&lt;p&gt;&lt;img height="90" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/ScriptSharpandnotusinganunsupportedfeatu_249D/image_0c15fc71-a15d-4940-90d1-0df49c8faf9f.png" width="90" align="right" border="0" /&gt; Well, I was working on killing a bug in JavaScript and I needed Sys.Debug.trace() to help.  I used Script#, and the compiler yelped this error at me:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Check that your C# source compiles and that you are not using an unsupported feature.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Whoops.  Didn't find much around and on good ole' Google, so I didn't have much of an option.  Turns out, I was using namespace-qualified types like so:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   &lt;/span&gt; Sys&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;&lt;span style="color: #9ea6da"&gt;Debug&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;Trace( &lt;span style="color: #b8ced3"&gt;"foo"&lt;/span&gt; );&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;Just change your code to:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   &lt;/span&gt; &lt;span style="color: #9ea6da"&gt;Debug&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;Trace( &lt;span style="color: #b8ced3"&gt;"foo"&lt;/span&gt; );&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;And the compiler should be happy again.&lt;/p&gt;  &lt;p&gt;Script# is a great tool to add to your tool belt along with MS AJAX and jQuery.  The Script# suite isn't exactly full-feature-tested compiler yet, but it's getting there!  Thanks again &lt;a href="http://www.nikhilk.net"&gt;Nikhil Kothari&lt;/a&gt;!&lt;/p&gt;  &lt;p&gt;Hope that helps!&lt;/p&gt;  &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/72.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/02/04/scriptsharp-and-not-using-an-unsupported-feature.aspx</guid>
            <pubDate>Wed, 04 Feb 2009 14:36:31 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/72.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/02/04/scriptsharp-and-not-using-an-unsupported-feature.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/72.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/72.aspx</trackback:ping>
        </item>
        <item>
            <title>NAnt 0.86, script task with RegEx and RegularExpressions</title>
            <link>http://bchavez.bitarmory.com/archive/2009/02/01/nant-0.86-script-task-with-regex-and-regularexpressions.aspx</link>
            <description>&lt;p&gt;&lt;img height="86" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/NAn.86scripttaskwithRegExandRegularExpre_FF5/image_c91b9748-357c-4b8a-a743-e35911e8c395.png" width="187" align="right" border="0" /&gt; Muah.  While updating to NAnt 0.86, I was stuck with the following error while trying to execute a &lt;strong&gt;&amp;lt;script&amp;gt;&lt;/strong&gt; task:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;The name 'Regex' does not exist in the current context&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I was using a &amp;lt;script&amp;gt; task to do some RegEx some files apart of the build process.  Well, turns out that &lt;a href="http://nant.sourceforge.net/nightly/latest/releasenotes.html"&gt;NAnt 0.86-beta2 has a breaking change&lt;/a&gt;.  &lt;strong&gt;System.Text.RegularExpressions&lt;/strong&gt; is now removed by default from the imported assemblies of &lt;strong&gt;&amp;lt;script&amp;gt;&lt;/strong&gt; tasks.  Oh well...&lt;/p&gt;  &lt;p&gt;The following should get you back on track:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  641&lt;/span&gt;     &amp;lt;&lt;span style="color: #e1795f"&gt;script&lt;/span&gt; &lt;span style="color: #cccc37"&gt;language&lt;/span&gt;=&lt;span style="color: #c89191"&gt;"C#"&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  642&lt;/span&gt;           &amp;lt;&lt;span style="color: #e1795f"&gt;code&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  643&lt;/span&gt; &amp;lt;![CDATA[&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  644&lt;/span&gt; &lt;span style="color: silver"&gt;        //C# code goes here...&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  645&lt;/span&gt; &lt;span style="color: silver"&gt;  &lt;/span&gt;]]&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  646&lt;/span&gt;           &amp;lt;/&lt;span style="color: #e1795f"&gt;code&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  647&lt;/span&gt;         &amp;lt;&lt;span style="color: #e1795f"&gt;imports&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  648&lt;/span&gt;             &amp;lt;&lt;span style="color: #e1795f"&gt;import&lt;/span&gt; &lt;span style="color: #cccc37"&gt;namespace&lt;/span&gt;=&lt;span style="color: #c89191"&gt;"System.Text.RegularExpressions"&lt;/span&gt;/&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  649&lt;/span&gt;         &amp;lt;/&lt;span style="color: #e1795f"&gt;imports&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  650&lt;/span&gt;         &amp;lt;&lt;span style="color: #e1795f"&gt;references&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  651&lt;/span&gt;             &amp;lt;&lt;span style="color: #e1795f"&gt;include&lt;/span&gt; &lt;span style="color: #cccc37"&gt;name&lt;/span&gt;=&lt;span style="color: #c89191"&gt;"System.dll"&lt;/span&gt;/&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  652&lt;/span&gt;         &amp;lt;/&lt;span style="color: #e1795f"&gt;references&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  653&lt;/span&gt;     &amp;lt;/&lt;span style="color: #e1795f"&gt;script&lt;/span&gt;&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;Just add the &lt;strong&gt;&amp;lt;imports&amp;gt;&lt;/strong&gt; and &lt;strong&gt;&amp;lt;references&amp;gt;&lt;/strong&gt; section to the &lt;strong&gt;&amp;lt;script&amp;gt;&lt;/strong&gt; task and all should be well again! :)&lt;/p&gt;  &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/71.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/02/01/nant-0.86-script-task-with-regex-and-regularexpressions.aspx</guid>
            <pubDate>Sun, 01 Feb 2009 13:08:02 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/71.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/02/01/nant-0.86-script-task-with-regex-and-regularexpressions.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/71.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/71.aspx</trackback:ping>
        </item>
        <item>
            <title>Upgrading SubText, IIS7, Windows 2008</title>
            <link>http://bchavez.bitarmory.com/archive/2009/01/13/upgrading-subtext-iis7-windows-2008.aspx</link>
            <description>&lt;p&gt;&lt;img height="95" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/UpgradingSubTextIIS7Windows2008_1070A/image_46a54e17-0dd3-487e-a708-5dac70f3532a.png" width="187" align="right" border="0" /&gt; Bit Armory, Inc. has decided to finally make the move to IIS7 for production.  Let's hope it goes well.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;First Impressions:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Performance seems a little better&lt;/li&gt;    &lt;li&gt;Better ASP.NET MVC support&lt;/li&gt;    &lt;li&gt;Easier Setup&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I did have a problem with Subtext and IIS 7 yelping back an error:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;"System.Web.HttpException: Request is not available in this context"&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Thanks to &lt;a href="http://www.anewdevelopment.com/2008/01/installing-subtext-on-vista-request-is.html"&gt;Lance Fisher&lt;/a&gt;, the fix was easy, simply set "Classic .NET AppPool" in Manage Web Site &amp;gt; Advanced Settings ... should do the trick.&lt;/p&gt;  &lt;p&gt;&lt;img height="291" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/UpgradingSubTextIIS7Windows2008_1070A/image_59ba07e1-ae23-4ca6-bc04-116891d05008.png" width="430" border="0" /&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Hope that helps!&lt;/p&gt;  &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/70.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/01/13/upgrading-subtext-iis7-windows-2008.aspx</guid>
            <pubDate>Wed, 14 Jan 2009 06:42:41 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/70.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/01/13/upgrading-subtext-iis7-windows-2008.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/70.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/70.aspx</trackback:ping>
        </item>
        <item>
            <title>Whoa! Google Chrome has crashed</title>
            <link>http://bchavez.bitarmory.com/archive/2008/10/24/whoa-google-chrome-has-crashed.aspx</link>
            <description>&lt;p&gt;ALL my chrome browser windows just now closed...  I thought Google Chrome was immune to crashes.... apparently not.  Guess that "process isolation" feature stuff was pure marketing... &lt;img src="http://bchavez.bitarmory.com/Images/emotions/fighting0016.gif" alt="fighting0016.gif" /&gt;&lt;/p&gt;
&lt;p align="center"&gt;&lt;img height="156" border="0" width="352" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/WhoaGoogleChromehascrashed_611/image_95c5adfa-444d-4702-88ca-7eed7842b347.png" alt="image" /&gt;&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/69.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/10/24/whoa-google-chrome-has-crashed.aspx</guid>
            <pubDate>Fri, 24 Oct 2008 12:26:08 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/69.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/10/24/whoa-google-chrome-has-crashed.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/69.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/69.aspx</trackback:ping>
        </item>
        <item>
            <title>BadImageFormatException Errors</title>
            <link>http://bchavez.bitarmory.com/archive/2008/04/29/badimageformatexception-errors.aspx</link>
            <description>&lt;p&gt;I've been playing with &lt;a href="http://www.lua.org/"&gt;Lua Programming/Script Language&lt;/a&gt; and &lt;a href="http://luaforge.net/projects/luainterface/"&gt;LuaInterface&lt;/a&gt;, because I have a need for embedding a scripting language in one of our projects.  Unfortunately, when trying to run one of the test case applications that came with LuaInterface, I was presented with a nice error shown below:&lt;/p&gt;  &lt;p&gt;&lt;img height="102" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/BadImageFormatExceptionErrors_F43C/image_52782f68-5e5d-4634-b3ec-4776d39162a8.png" width="649" border="0" /&gt;&lt;/p&gt;  &lt;p&gt;Anytime, you run a .NET application, the operating system reads the PE header information of the executable to help setup the process environment.  In my case, &lt;strong&gt;TestLua.exe&lt;/strong&gt; was being setup and ran in x64 mode with an x64 runtime and failed to P/Invoke Lua's native 32-bit DLL.&lt;/p&gt;  &lt;h3&gt;Solution&lt;/h3&gt;  &lt;p&gt;In general, there are two main ways we can explicitly tell the operating system to load and use 32-bit process environments:&lt;/p&gt;  &lt;p&gt;For applications and assemblies that you &lt;strong&gt;can not&lt;/strong&gt; recompile:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Set the 32-Bit flag in the PE header.  &lt;br /&gt;      &lt;br /&gt;For example, since the 32-bit flag in &lt;strong&gt;TestLua.exe&lt;/strong&gt; was not set, I forced 32-bit mode by setting the 32-bit flag using &lt;strong&gt;CorFlags.exe&lt;/strong&gt;:      &lt;br /&gt;      &lt;br /&gt;Start "Visual Studio SDK Command Prompt" and execute:      &lt;br /&gt;&lt;strong&gt;CorFlags.exe /32bit+ TestLua.exe&lt;/strong&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;For applications and assemblies that you &lt;strong&gt;can&lt;/strong&gt; recompile:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Recompile using the "Target Platform" settings as illustrated &lt;a href="http://www.atalasoft.com/kb/article.aspx?id=10165"&gt;here&lt;/a&gt;.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;In practice, if you do low-level COM, P/Invoke, Win32 stuff, you'll probably need to set these 32-bit flags for your applications; however, if your application purely lives in the managed world, you won't need to do anything!&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/53.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/04/29/badimageformatexception-errors.aspx</guid>
            <pubDate>Wed, 30 Apr 2008 05:22:22 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/53.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/04/29/badimageformatexception-errors.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/53.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/53.aspx</trackback:ping>
        </item>
        <item>
            <title>Vista Explorer Annoyances and Enhancements</title>
            <link>http://bchavez.bitarmory.com/archive/2008/02/13/vista-explorer-annoyances-and-enhancements.aspx</link>
            <description>&lt;p&gt;&lt;img style="margin: 0px 0px 0px 20px" height="82" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/VistaExplorerAnnoyancesandEnhancements_1F83/image_c5d62a82-a4cb-4634-ba7a-8a2a4c3bb871.png" width="77" align="right" border="0" /&gt; You might think this is a post about add-ons to Vista's Windows Explorer, but actually, it's a post about how to &lt;strong&gt;remove&lt;/strong&gt; features in Vista's Explorer to make it actually usable and tolerable to work with.&lt;/p&gt;  &lt;h4&gt;Enhancement #1&lt;/h4&gt;  &lt;p&gt;Vista Explorer has the most annoying ability to "sniff folders" and try and guess what the file types are in your folder.  If .png, .jpg, or other image related file types exist in your folder, Explorer will switch to a "thumbnail/Large Icon" view, even though you've explicitly set a view to "apply to all" folders.  Here's how to get rid of the annoying behavior.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a title="http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html" href="http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html"&gt;http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h4&gt;Enhancement #2&lt;/h4&gt;  &lt;p&gt;Vista Explorer forgets size &amp;amp; location.  Make Vista Explorer remember the size of the explorer window.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a title="http://jtbworld.blogspot.com/2007/04/remember-vista-windows-explorer-window.html" href="http://jtbworld.blogspot.com/2007/04/remember-vista-windows-explorer-window.html"&gt;http://jtbworld.blogspot.com/2007/04/remember-vista-windows-explorer-window.html&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;h4&gt;Enhancement #3&lt;/h4&gt;  &lt;p&gt;Segoe UI is the most annoying font in the world.  Change it here:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a title="http://steve.fsxtreme.com/blogs/2008/01/16/say-no-to-segoe-and-cleartype-on-vista/" href="http://steve.fsxtreme.com/blogs/2008/01/16/say-no-to-segoe-and-cleartype-on-vista/"&gt;http://steve.fsxtreme.com/blogs/2008/01/16/say-no-to-segoe-and-cleartype-on-vista/&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Seriously, the Windows Shell Team did a terrible job with Vista and they all need a few basic lessons on usability...&lt;/p&gt;  &lt;p&gt;&lt;img alt="fighting0016.gif" src="http://bchavez.bitarmory.com/Images/emotions/fighting0016.gif" /&gt;&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/47.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/02/13/vista-explorer-annoyances-and-enhancements.aspx</guid>
            <pubDate>Thu, 14 Feb 2008 00:08:40 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/47.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/02/13/vista-explorer-annoyances-and-enhancements.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/47.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/47.aspx</trackback:ping>
        </item>
        <item>
            <title>NHibernate - null id in entry (don't flush the Session after an exception occurs)</title>
            <link>http://bchavez.bitarmory.com/archive/2007/11/14/nhibernate---null-id-in-entry-dont-flush-the-session.aspx</link>
            <description>&lt;p&gt;&lt;img style="margin: 10px" height="52" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/NHibernatenullidinentrydontflushtheSessi_BC87/image_308de7db-c740-4525-b003-2ded000b06d0.png" width="230" align="left" border="0" /&gt;I ran into this issue today when trying to persist one of my objects.  The cause of the problem was interesting.  I was trying to save an object when a property/columns in the table had a unique constraint.  As a result, the object that I was trying to persist would not persist simply because the object's property it failed to meet the unique constraint.&lt;/p&gt; &lt;p&gt;As a result, a call to Save() on the object failed and the ID on the object I was trying to save was not set, but NHibernate still processed the object and associated it with its persistence mechanism leaving it in a "semi-persistent" state with the NHibernate persistence manager (ie: NHibernate now knows about the object you tried to save and it SHOULD have fully evicted the object from its persistence manager because the save failed, but it didn't).&lt;/p&gt; &lt;p&gt;When an HTTP request finishes on my ASP.NET application, I flush and close all NHibernate session objects at the time the request is done.  And as a result, when the HTTP request finished, NHibernate attempted to flush the jacked up "semi-persistent" object (an object who's ID was null) and ultimately generating the error above.&lt;/p&gt; &lt;p&gt;So, the solution that I implemented was to wrap the Save() in a try{} catch{} statement, and if the save failed, immediately close and shutdown the session, handle the error/exception.  Then, check if Session.IsOpen when the HTTP request finishes.&lt;/p&gt; &lt;p&gt;Hope that helps, &lt;img alt="confused0081.gif" src="http://bchavez.bitarmory.com/Images/emotions/confused0081.gif" /&gt;&lt;/p&gt; &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/37.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2007/11/14/nhibernate---null-id-in-entry-dont-flush-the-session.aspx</guid>
            <pubDate>Thu, 15 Nov 2007 01:41:11 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/37.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2007/11/14/nhibernate---null-id-in-entry-dont-flush-the-session.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/37.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/37.aspx</trackback:ping>
        </item>
        <item>
            <title>WMI Provider Error - Access Denied - TDSSNIClient initialization failed with error 0x5</title>
            <link>http://bchavez.bitarmory.com/archive/2007/11/06/wmi-provider-error---access-denied---tdssniclient-initialization-failed.aspx</link>
            <description>&lt;p&gt;&lt;img height="428" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/WMIProviderErrorAccessDeniedTDSSNIClient_8752/image_5a9f40fc-4d40-43fb-804e-1773321ded5e.png" width="408" align="left" border="0" /&gt;I got an interesting error while trying to change the log on service account for SQL server.  I got a "WMI Provider Error" and a bunch of errors in the Windows Event Log.&lt;/p&gt; &lt;p&gt;Simple solution:&lt;/p&gt; &lt;p&gt;Restart.&lt;/p&gt; &lt;p&gt;The problem is simply, a Named Pipe issue.  Restarting re-creates the Named Pipe under the correct log on account.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;If the restart fails, and you're still having problems connecting to SQL Server Remotely, try the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Set the log on account permissions on:&lt;br /&gt;&lt;br /&gt;C:\Program Files\Microsoft SQL Server&lt;br /&gt;C:\DATA DIRECTORY&lt;br /&gt;&lt;br /&gt;for the log on account.  You'll need to set "Full Control" permissions and make sure that you re-apply the rule to all children by clicking on the directory properties&amp;gt;Security&amp;gt;Advanced&amp;gt;Permissions&amp;gt;"Replace permission entries on all child objects..."&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Hope that helps.&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/34.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2007/11/06/wmi-provider-error---access-denied---tdssniclient-initialization-failed.aspx</guid>
            <pubDate>Tue, 06 Nov 2007 22:44:42 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/34.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2007/11/06/wmi-provider-error---access-denied---tdssniclient-initialization-failed.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/34.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/34.aspx</trackback:ping>
        </item>
        <item>
            <title>AJAX and ASP.NET Template Controls</title>
            <link>http://bchavez.bitarmory.com/archive/2007/11/02/ajax-and-asp.net-template-controls.aspx</link>
            <description>&lt;p&gt;I was programming today (err. early morning, 1:00 AM) and stumbled across this error:&lt;/p&gt;
&lt;div style="background: rgb(255, 255, 225) none repeat scroll 0%; font-size: 10pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: black; line-height: 1em; font-family: courier new;"&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;[NullReferenceException: Object reference not set to an instance of an object.]&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;   AjaxControlToolkit.ExtenderControlBase.LoadClientStateValues() in d:\E\AjaxTk-AjaxControlToolkit\Release\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs:332&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;   AjaxControlToolkit.ExtenderControlBase.Page_PreLoad(Object sender, EventArgs e) in d:\E\AjaxTk-AjaxControlToolkit\Release\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs:287&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;   System.EventHandler.Invoke(Object sender, EventArgs e) +0&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;   System.Web.UI.Page.OnPreLoad(EventArgs e) +86&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +948&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;AJAX apparently blew chunks.  After taking a look at the AJAX source code ExtenderControlBase.cs (thank goodness it's open source), the LoadClientStateValues() was trying to load some hidden client state data stored in a hidden control being resolved by FindControl() method on NamingContainer.  Well, because I was using my AJAX control in a LayoutTemplate, NamingContainer tuned out to be null which was causing ASP.NET's OnPagePreload -&amp;gt; LoadClientStateValues() to fail.&lt;/p&gt;
&lt;p&gt;Here was the offending code:&lt;/p&gt;
&lt;div style="background: rgb(255, 255, 225) none repeat scroll 0%; font-size: 10pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: black; line-height: 1em; font-family: courier new;"&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Login&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Login2"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;OnLoginError&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Login2_LoginError"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;            &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;fieldset&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panel-username"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserNameLabel"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;AssociatedControlID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="labeltext bold"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Email Address:&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="textbox"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;strong&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;ajax&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBoxWatermarkExtender&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="TextBoxWatermarkExtender1"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;TargetControlID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;strong&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;WatermarkText&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Enter Email Address"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;WatermarkCssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="watermark"&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;strong&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;ajax&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBoxWatermarkExtender&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserNameRequired"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ControlToValidate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ErrorMessage&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="User Name is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ToolTip&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="User Name is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ValidationGroup&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="ctl00$Login2"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;*&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panel-password"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="PasswordLabel"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;AssociatedControlID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="labeltext bold"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Password:&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;TextMode&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="textbox"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="PasswordRequired"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ControlToValidate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ErrorMessage&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ToolTip&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ValidationGroup&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="ctl00$Login2"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;*&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;style&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="float: left; width: 150px;"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;span&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="bold"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Don't have an account?&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;span&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;id&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="A1"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;href&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="~/common/SignUp.aspx"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Register here&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;. It's easy and free!&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panel-button"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;ImageButton&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="LoginButton"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CommandName&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Login"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ValidationGroup&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="ctl00$Login2"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ImageUrl&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="~/Images/TransparentPixel.gif"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="cmdSignIn"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;style&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="padding-top: 10px;"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;href&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="#"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Forgot password?&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;            &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;fieldset&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Login&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;As you can see, the offending line of code is marked in bold above.  I was using the TextBoxWatermarkExtender on the UserName TextBox control.  Since AJAX needs a NamingContainer, a simple work around is to simply wrap the code in a ASP.NET Panel control, and you're problems will go away like so:&lt;/p&gt;
&lt;div style="background: rgb(255, 255, 225) none repeat scroll 0%; font-size: 10pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: black; line-height: 1em; font-family: courier new;"&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Login&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Login2"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;OnLoginError&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Login2_LoginError"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;strong&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Panel&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panWrapper"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;fieldset&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panel-username"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserNameLabel"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;AssociatedControlID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="labeltext bold"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Email Address:&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="textbox"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;strong&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;ajax&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBoxWatermarkExtender&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="TextBoxWatermarkExtender1"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;TargetControlID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;strong&gt;&lt;span style="line-height: 1em;"&gt;                                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;WatermarkText&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Enter Email Address"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;WatermarkCssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="watermark"&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;strong&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;ajax&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBoxWatermarkExtender&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserNameRequired"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ControlToValidate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="UserName"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ErrorMessage&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="User Name is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ToolTip&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="User Name is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ValidationGroup&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="ctl00$Login2"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;*&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panel-password"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="PasswordLabel"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;AssociatedControlID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="labeltext bold"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Password:&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Label&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;TextMode&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="textbox"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;TextBox&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="PasswordRequired"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ControlToValidate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ErrorMessage&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ToolTip&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Password is required."&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ValidationGroup&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="ctl00$Login2"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;*&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;RequiredFieldValidator&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;style&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="float: left; width: 150px;"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;span&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="bold"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Don't have an account?&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;span&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;id&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="A1"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;href&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="~/common/SignUp.aspx"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Register here&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;. It's easy and free!&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;class&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="panel-button"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;ImageButton&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ID&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="LoginButton"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;runat&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="server"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CommandName&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="Login"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ValidationGroup&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="ctl00$Login2"&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                            &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;ImageUrl&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="~/Images/TransparentPixel.gif"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;CssClass&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="cmdSignIn"&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;style&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="padding-top: 10px;"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                        &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="line-height: 1em;"&gt; &lt;/span&gt;&lt;span style="color: red; line-height: 1em;"&gt;href&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;="#"&amp;gt;&lt;/span&gt;&lt;span style="line-height: 1em;"&gt;Forgot password?&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;a&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;p&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;div&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                            &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;fieldset&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                        &lt;/span&gt;&lt;strong&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Panel&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                    &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0px; line-height: 0em; font-family: courier new;"&gt;&lt;span style="line-height: 1em;"&gt;                &lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;asp&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); line-height: 1em;"&gt;Login&lt;/span&gt;&lt;span style="color: blue; line-height: 1em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Now it works :)  Hope that helped anyone running into the same problem.  Whenever you're dealing with ASP.NET template controls, and you're using AJAX within these template controls, be sure to wrap the control pointed to by TargetControlId &amp;amp; the AJAX control itself in it's own naming container to avoid issues like this.  Another bug down &lt;img src="http://bchavez.bitarmory.com/Images/emotions/fighting0028.gif" alt="fighting0028.gif" /&gt;. :)&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/31.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2007/11/02/ajax-and-asp.net-template-controls.aspx</guid>
            <pubDate>Fri, 02 Nov 2007 13:18:56 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/31.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2007/11/02/ajax-and-asp.net-template-controls.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/31.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/31.aspx</trackback:ping>
        </item>
    </channel>
</rss>
