<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6718812015906775280</id><updated>2012-02-16T17:01:26.729-08:00</updated><title type='text'>itmall</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default?start-index=101&amp;max-results=100'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>121</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4498963373151046853</id><published>2009-06-14T20:03:00.000-07:00</published><updated>2009-06-14T20:04:12.959-07:00</updated><title type='text'>uuidgen.exe - guid generator</title><content type='html'>"uuidgen.exe -n2"  generate two guids.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4498963373151046853?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4498963373151046853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4498963373151046853' title='39 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4498963373151046853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4498963373151046853'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/uuidgenexe-guid-generator.html' title='uuidgen.exe - guid generator'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>39</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3220743457556228290</id><published>2009-06-12T11:10:00.000-07:00</published><updated>2009-06-12T11:10:52.176-07:00</updated><title type='text'>Scripting Local Users using VBScript</title><content type='html'>&lt;a href="http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/usersgroups/localusers/"&gt;Scripting Local Users using VBScript&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3220743457556228290?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/usersgroups/localusers/' title='Scripting Local Users using VBScript'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3220743457556228290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3220743457556228290' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3220743457556228290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3220743457556228290'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/scripting-local-users-using-vbscript.html' title='Scripting Local Users using VBScript'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7979045798790822128</id><published>2009-06-11T23:28:00.000-07:00</published><updated>2009-06-11T23:28:34.401-07:00</updated><title type='text'>How to add a user to Terminal Services RDP permissions by using WMI</title><content type='html'>&lt;a href="http://support.microsoft.com/kb/290720"&gt;How to add a user to Terminal Services RDP permissions by using WMI&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7979045798790822128?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://support.microsoft.com/kb/290720' title='How to add a user to Terminal Services RDP permissions by using WMI'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7979045798790822128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7979045798790822128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7979045798790822128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7979045798790822128'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/how-to-add-user-to-terminal-services.html' title='How to add a user to Terminal Services RDP permissions by using WMI'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4862526826740638891</id><published>2009-06-10T22:48:00.000-07:00</published><updated>2009-06-10T22:48:23.996-07:00</updated><title type='text'>Download details: WMI Code Creator v1.0</title><content type='html'>&lt;a href="http://www.microsoft.com/downloads/thankyou.aspx?familyId=2cc30a64-ea15-4661-8da4-55bbc145c30e&amp;amp;displayLang=en"&gt;Download details: WMI Code Creator v1.0&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4862526826740638891?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/downloads/thankyou.aspx?familyId=2cc30a64-ea15-4661-8da4-55bbc145c30e&amp;displayLang=en' title='Download details: WMI Code Creator v1.0'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4862526826740638891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4862526826740638891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4862526826740638891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4862526826740638891'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/download-details-wmi-code-creator-v10.html' title='Download details: WMI Code Creator v1.0'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-424299270415447556</id><published>2009-06-10T21:57:00.000-07:00</published><updated>2009-06-10T21:57:35.273-07:00</updated><title type='text'>How to get out parameter in ManagementObject.InvokeMethod Method?</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/ssk42c11.aspx"&gt;ManagementObject.InvokeMethod Method (String, ManagementBaseObject, InvokeMethodOptions) (System.Management)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-424299270415447556?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/ssk42c11.aspx' title='How to get out parameter in ManagementObject.InvokeMethod Method?'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/424299270415447556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=424299270415447556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/424299270415447556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/424299270415447556'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/how-to-get-out-parameter-in.html' title='How to get out parameter in ManagementObject.InvokeMethod Method?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4656723739098634257</id><published>2009-06-10T16:34:00.000-07:00</published><updated>2009-06-10T16:34:34.308-07:00</updated><title type='text'>WMI Isn't Working!</title><content type='html'>&lt;a href="http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx#EDG"&gt;WMI Isn&amp;#39;t Working!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4656723739098634257?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx#EDG' title='WMI Isn&apos;t Working!'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4656723739098634257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4656723739098634257' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4656723739098634257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4656723739098634257'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/wmi-isnt-working.html' title='WMI Isn&apos;t Working!'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8042388214902617238</id><published>2009-06-10T10:27:00.000-07:00</published><updated>2009-06-10T10:27:49.122-07:00</updated><title type='text'>Windows PowerShell Blog : How to Create an Object in PowerShell</title><content type='html'>&lt;a href="http://blogs.msdn.com/powershell/archive/2009/03/11/how-to-create-an-object-in-powershell.aspx"&gt;Windows PowerShell Blog : How to Create an Object in PowerShell&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8042388214902617238?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://blogs.msdn.com/powershell/archive/2009/03/11/how-to-create-an-object-in-powershell.aspx' title='Windows PowerShell Blog : How to Create an Object in PowerShell'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8042388214902617238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8042388214902617238' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8042388214902617238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8042388214902617238'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/windows-powershell-blog-how-to-create.html' title='Windows PowerShell Blog : How to Create an Object in PowerShell'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5523799990928327396</id><published>2009-06-09T17:44:00.000-07:00</published><updated>2009-06-09T17:44:44.254-07:00</updated><title type='text'>Overview of Server Manager Commands</title><content type='html'>&lt;a href="http://technet.microsoft.com/en-us/library/cc748918.aspx"&gt;Overview of Server Manager Commands&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5523799990928327396?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://technet.microsoft.com/en-us/library/cc748918.aspx' title='Overview of Server Manager Commands'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5523799990928327396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5523799990928327396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5523799990928327396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5523799990928327396'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/overview-of-server-manager-commands.html' title='Overview of Server Manager Commands'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7394929815389474917</id><published>2009-06-09T13:39:00.001-07:00</published><updated>2009-06-09T13:40:06.697-07:00</updated><title type='text'>debug building failure</title><content type='html'>put "MSBUILD_VERBOSITY=DIAGNOSTIC" in sources and look build.log to see detailed output.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7394929815389474917?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7394929815389474917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7394929815389474917' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7394929815389474917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7394929815389474917'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/debug-building-failure.html' title='debug building failure'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6716557491155263854</id><published>2009-06-09T09:59:00.000-07:00</published><updated>2009-06-09T09:59:16.381-07:00</updated><title type='text'>Compiling Apps With Custom Tasks For The Microsoft Build Engine</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163589.aspx"&gt;Compiling Apps With Custom Tasks For The Microsoft Build Engine&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6716557491155263854?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/magazine/cc163589.aspx' title='Compiling Apps With Custom Tasks For The Microsoft Build Engine'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6716557491155263854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6716557491155263854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6716557491155263854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6716557491155263854'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/compiling-apps-with-custom-tasks-for.html' title='Compiling Apps With Custom Tasks For The Microsoft Build Engine'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6249775287432728944</id><published>2009-06-07T02:22:00.000-07:00</published><updated>2009-06-07T02:23:56.303-07:00</updated><title type='text'>How to get the value of a path environment variable in build environment?</title><content type='html'>type "set"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6249775287432728944?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6249775287432728944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6249775287432728944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6249775287432728944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6249775287432728944'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/how-to-get-value-of-path-environment.html' title='How to get the value of a path environment variable in build environment?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5582136865283740054</id><published>2009-06-06T15:00:00.000-07:00</published><updated>2009-06-06T15:00:59.169-07:00</updated><title type='text'>Download details: WMI Administrative Tools</title><content type='html'>&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=6430F853-1120-48DB-8CC5-F2ABDC3ED314"&gt;Download details: WMI Administrative Tools&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5582136865283740054?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=6430F853-1120-48DB-8CC5-F2ABDC3ED314' title='Download details: WMI Administrative Tools'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5582136865283740054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5582136865283740054' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5582136865283740054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5582136865283740054'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/download-details-wmi-administrative.html' title='Download details: WMI Administrative Tools'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6001023039656145173</id><published>2009-06-06T14:58:00.000-07:00</published><updated>2009-06-06T14:58:21.739-07:00</updated><title type='text'>26.4 WMI Tools :: Chapter 26. Scripting with WMI :: Part III: Scripting Active Directory with ADSI, ADO, and WMI :: Active Directory :: Server Administration :: eTutorials.org</title><content type='html'>&lt;a href="http://etutorials.org/Server+Administration/Active+directory/Part+III+Scripting+Active+Directory+with+ADSI+ADO+and+WMI/Chapter+26.+Scripting+with+WMI/26.4+WMI+Tools/"&gt;26.4 WMI Tools :: Chapter 26. Scripting with WMI :: Part III: Scripting Active Directory with ADSI, ADO, and WMI :: Active Directory :: Server Administration :: eTutorials.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WMIC&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6001023039656145173?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://etutorials.org/Server+Administration/Active+directory/Part+III+Scripting+Active+Directory+with+ADSI+ADO+and+WMI/Chapter+26.+Scripting+with+WMI/26.4+WMI+Tools/' title='26.4 WMI Tools :: Chapter 26. Scripting with WMI :: Part III: Scripting Active Directory with ADSI, ADO, and WMI :: Active Directory :: Server Administration :: eTutorials.org'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6001023039656145173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6001023039656145173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6001023039656145173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6001023039656145173'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/264-wmi-tools-chapter-26-scripting-with.html' title='26.4 WMI Tools :: Chapter 26. Scripting with WMI :: Part III: Scripting Active Directory with ADSI, ADO, and WMI :: Active Directory :: Server Administration :: eTutorials.org'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-744642529246806681</id><published>2009-06-06T13:48:00.000-07:00</published><updated>2009-06-06T13:48:55.627-07:00</updated><title type='text'>Sesame Script: Getting – or Creating – an Object</title><content type='html'>&lt;a href="http://www.microsoft.com/technet/scriptcenter/resources/begin/ss0406.mspx"&gt;Sesame Script: Getting – or Creating – an Object&lt;/a&gt;: "If we had used the Get method in this case rather than ExecQuery, Get would have returned the first network drive it encountered and returned an object reference to that drive. If you have more than one network drive you have no way of knowing which will be returned. By using ExecQuery, you return all of them."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-744642529246806681?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/technet/scriptcenter/resources/begin/ss0406.mspx' title='Sesame Script: Getting – or Creating – an Object'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/744642529246806681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=744642529246806681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/744642529246806681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/744642529246806681'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/sesame-script-getting-or-creating.html' title='Sesame Script: Getting – or Creating – an Object'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3522620184179438474</id><published>2009-06-06T10:56:00.000-07:00</published><updated>2009-06-06T10:56:06.805-07:00</updated><title type='text'>Benp's Guide to Stuff : Searching WMI</title><content type='html'>&lt;a href="http://blogs.technet.com/benp/archive/2007/06/15/searching-wmi.aspx"&gt;Benp&amp;#39;s Guide to Stuff : Searching WMI&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3522620184179438474?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://blogs.technet.com/benp/archive/2007/06/15/searching-wmi.aspx' title='Benp&apos;s Guide to Stuff : Searching WMI'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3522620184179438474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3522620184179438474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3522620184179438474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3522620184179438474'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/benps-guide-to-stuff-searching-wmi.html' title='Benp&apos;s Guide to Stuff : Searching WMI'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3688983315498768267</id><published>2009-06-06T10:53:00.000-07:00</published><updated>2009-06-06T10:53:15.936-07:00</updated><title type='text'>Benp's Guide to Stuff : Listing WMI Namespaces installed on a host</title><content type='html'>&lt;a href="http://blogs.technet.com/benp/archive/2008/01/29/listing-wmi-namespaces-installed-on-a-host.aspx"&gt;Benp&amp;#39;s Guide to Stuff : Listing WMI Namespaces installed on a host&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3688983315498768267?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://blogs.technet.com/benp/archive/2008/01/29/listing-wmi-namespaces-installed-on-a-host.aspx' title='Benp&apos;s Guide to Stuff : Listing WMI Namespaces installed on a host'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3688983315498768267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3688983315498768267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3688983315498768267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3688983315498768267'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/benps-guide-to-stuff-listing-wmi.html' title='Benp&apos;s Guide to Stuff : Listing WMI Namespaces installed on a host'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-694368849765084622</id><published>2009-06-06T10:33:00.000-07:00</published><updated>2009-06-06T10:33:55.782-07:00</updated><title type='text'>Download details: The WMI Diagnosis Utility</title><content type='html'>&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&amp;amp;displaylang=en"&gt;Download details: The WMI Diagnosis Utility&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-694368849765084622?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/downloads/details.aspx?FamilyID=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&amp;displaylang=en' title='Download details: The WMI Diagnosis Utility'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/694368849765084622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=694368849765084622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/694368849765084622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/694368849765084622'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/download-details-wmi-diagnosis-utility.html' title='Download details: The WMI Diagnosis Utility'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7588281759883288547</id><published>2009-06-06T09:31:00.001-07:00</published><updated>2009-06-06T09:31:55.149-07:00</updated><title type='text'>How to list WMI namespaces?</title><content type='html'>Get-WmiObject -Namespace "root" -Class "__NAMESPACE" | Format-List Name&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7588281759883288547?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7588281759883288547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7588281759883288547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7588281759883288547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7588281759883288547'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/how-to-list-wmi-namespaces.html' title='How to list WMI namespaces?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4274232347130717118</id><published>2009-06-06T09:21:00.000-07:00</published><updated>2009-06-06T09:21:04.479-07:00</updated><title type='text'>Creating Sites and Virtual Directories, and Setting Properties Using WMI</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/ms524913.aspx"&gt;Creating Sites and Virtual Directories, and Setting Properties Using WMI&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4274232347130717118?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/ms524913.aspx' title='Creating Sites and Virtual Directories, and Setting Properties Using WMI'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4274232347130717118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4274232347130717118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4274232347130717118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4274232347130717118'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/creating-sites-and-virtual-directories.html' title='Creating Sites and Virtual Directories, and Setting Properties Using WMI'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8091967714500854906</id><published>2009-06-05T08:58:00.000-07:00</published><updated>2009-06-05T08:58:08.481-07:00</updated><title type='text'>Creating a WMI Script (Windows)</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/aa389763(VS.85).aspx"&gt;Creating a WMI Script (Windows)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8091967714500854906?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/aa389763(VS.85).aspx' title='Creating a WMI Script (Windows)'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8091967714500854906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8091967714500854906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8091967714500854906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8091967714500854906'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/creating-wmi-script-windows.html' title='Creating a WMI Script (Windows)'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7525615388871757972</id><published>2009-06-05T08:50:00.000-07:00</published><updated>2009-06-05T08:50:58.586-07:00</updated><title type='text'>Microsoft Windows 2000 Scripting Guide - The Prefix</title><content type='html'>&lt;a href="http://www.microsoft.com/technet/scriptcenter/guide/sas_wmi_jgfx.mspx"&gt;Microsoft Windows 2000 Scripting Guide - The Prefix&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7525615388871757972?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/technet/scriptcenter/guide/sas_wmi_jgfx.mspx' title='Microsoft Windows 2000 Scripting Guide - The Prefix'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7525615388871757972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7525615388871757972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7525615388871757972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7525615388871757972'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/microsoft-windows-2000-scripting-guide.html' title='Microsoft Windows 2000 Scripting Guide - The Prefix'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-1501571676249211903</id><published>2009-06-05T08:44:00.000-07:00</published><updated>2009-06-05T08:44:00.235-07:00</updated><title type='text'>VBScript Functions</title><content type='html'>&lt;a href="http://www.w3schools.com/vbScript/vbscript_ref_functions.asp"&gt;VBScript Functions&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-1501571676249211903?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.w3schools.com/vbScript/vbscript_ref_functions.asp' title='VBScript Functions'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/1501571676249211903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=1501571676249211903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1501571676249211903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1501571676249211903'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/vbscript-functions.html' title='VBScript Functions'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6039936621198142243</id><published>2009-06-05T08:34:00.000-07:00</published><updated>2009-06-05T08:34:45.507-07:00</updated><title type='text'>WMI Classes (Windows)</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/aa394554(VS.85).aspx"&gt;WMI Classes (Windows)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6039936621198142243?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/aa394554(VS.85).aspx' title='WMI Classes (Windows)'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6039936621198142243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6039936621198142243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6039936621198142243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6039936621198142243'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/wmi-classes-windows.html' title='WMI Classes (Windows)'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8745841305374791569</id><published>2009-06-04T22:56:00.000-07:00</published><updated>2009-06-04T22:56:09.714-07:00</updated><title type='text'>WMI Made Easy For C#</title><content type='html'>&lt;a href="http://www.csharphelp.com/archives2/archive334.html"&gt;WMI Made Easy For C#&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8745841305374791569?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.csharphelp.com/archives2/archive334.html' title='WMI Made Easy For C#'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8745841305374791569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8745841305374791569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8745841305374791569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8745841305374791569'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/wmi-made-easy-for-c.html' title='WMI Made Easy For C#'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-584397892639703506</id><published>2009-06-04T00:41:00.000-07:00</published><updated>2009-06-04T00:41:14.595-07:00</updated><title type='text'>How to debug VBScript code with an instance of Visual Studio | The Open Source U</title><content type='html'>&lt;a href="http://theopensourceu.com/2009/05/debug-vbscript-with-visual-studio/comment-page-1/"&gt;How to debug VBScript code with an instance of Visual Studio | The Open Source U&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-584397892639703506?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://theopensourceu.com/2009/05/debug-vbscript-with-visual-studio/comment-page-1/' title='How to debug VBScript code with an instance of Visual Studio | The Open Source U'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/584397892639703506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=584397892639703506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/584397892639703506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/584397892639703506'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/how-to-debug-vbscript-code-with.html' title='How to debug VBScript code with an instance of Visual Studio | The Open Source U'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6964738874136228803</id><published>2009-06-03T00:54:00.000-07:00</published><updated>2009-06-03T00:54:45.981-07:00</updated><title type='text'>How To: List the Classes in a WMI Namespace</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/ms257362(VS.80).aspx"&gt;How To: List the Classes in a WMI Namespace&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6964738874136228803?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/ms257362(VS.80).aspx' title='How To: List the Classes in a WMI Namespace'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6964738874136228803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6964738874136228803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6964738874136228803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6964738874136228803'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/how-to-list-classes-in-wmi-namespace.html' title='How To: List the Classes in a WMI Namespace'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4598757354772733480</id><published>2009-06-02T17:28:00.000-07:00</published><updated>2009-06-02T17:28:18.199-07:00</updated><title type='text'>Configuring Terminal Services with WMI: Terminal Services</title><content type='html'>&lt;a href="http://technet.microsoft.com/en-us/library/cc740011(WS.10).aspx"&gt;Configuring Terminal Services with WMI: Terminal Services&lt;/a&gt;: "To view the Terminal Services Provider classes in Wbemtest.exe&lt;br /&gt;Open Wbemtest.exe &lt;br /&gt;&lt;br /&gt;Click Connect.&lt;br /&gt;&lt;br /&gt;In Namespace, type root\Cimv2&lt;br /&gt;&lt;br /&gt;Click Connect.&lt;br /&gt;&lt;br /&gt;Click Open Instance.&lt;br /&gt;&lt;br /&gt;In Object Path, type the name of the Terminal Services Provider class (see the table below for the names of the classes.) Click OK.&lt;br /&gt;&lt;br /&gt;In Properties, click the name of the property you want to view, and then click Show MOF."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4598757354772733480?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://technet.microsoft.com/en-us/library/cc740011(WS.10).aspx' title='Configuring Terminal Services with WMI: Terminal Services'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4598757354772733480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4598757354772733480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4598757354772733480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4598757354772733480'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/configuring-terminal-services-with-wmi.html' title='Configuring Terminal Services with WMI: Terminal Services'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6122065852968268716</id><published>2009-06-02T17:20:00.000-07:00</published><updated>2009-06-02T17:20:22.761-07:00</updated><title type='text'>Windows Terminal Services and C#</title><content type='html'>&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/7a4ccb2e-575a-43a3-8180-20da76da137f"&gt;Windows Terminal Services and C#&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6122065852968268716?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/7a4ccb2e-575a-43a3-8180-20da76da137f' title='Windows Terminal Services and C#'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6122065852968268716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6122065852968268716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6122065852968268716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6122065852968268716'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/06/windows-terminal-services-and-c.html' title='Windows Terminal Services and C#'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7482708347034079380</id><published>2009-05-06T15:48:00.000-07:00</published><updated>2009-05-06T15:48:37.011-07:00</updated><title type='text'>Port assignment</title><content type='html'>http://www.iana.org/assignments/port-numbers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7482708347034079380?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.iana.org/assignments/port-numbers' title='Port assignment'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7482708347034079380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7482708347034079380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7482708347034079380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7482708347034079380'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/05/port-assignment.html' title='Port assignment'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5119974015604545057</id><published>2009-05-06T08:51:00.000-07:00</published><updated>2009-05-06T08:51:02.145-07:00</updated><title type='text'>Karen's Cookie Viewer</title><content type='html'>&lt;a href="http://www.karenware.com/powertools/ptcookie.asp"&gt;Karen&amp;#39;s Cookie Viewer&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5119974015604545057?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.karenware.com/powertools/ptcookie.asp' title='Karen&apos;s Cookie Viewer'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5119974015604545057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5119974015604545057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5119974015604545057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5119974015604545057'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/05/karens-cookie-viewer.html' title='Karen&apos;s Cookie Viewer'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-9123196349909581871</id><published>2009-05-02T12:29:00.000-07:00</published><updated>2009-05-02T12:29:27.528-07:00</updated><title type='text'>A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies</title><content type='html'>&lt;a href="http://msdn.microsoft.com/en-us/library/bb310550.aspx"&gt;A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-9123196349909581871?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/bb310550.aspx' title='A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies'/><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/9123196349909581871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=9123196349909581871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/9123196349909581871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/9123196349909581871'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/05/performance-comparison-of-windows.html' title='A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5646997130486395315</id><published>2009-04-27T12:56:00.000-07:00</published><updated>2009-04-27T13:04:40.386-07:00</updated><title type='text'>How does WCF implement per-session service?</title><content type='html'>In order to correlate all messages from a particular client to a particular instance, WCF needs to be able to identify the client. One way of doing that is to rely on a transport-level session; that is, a continuous connection at the transport level, such as the one maintained by the TCP and IPC protocols. As a result, when using the NetTcpBinding or the NetNamedPipeBinding, WCF associates that connection with the client. The situation is more complex when it comes to the connectionless nature of the HTTP protocol. Conceptually, each message over HTTP reaches the services on a new connection. Consequently, you cannot maintain a transport-level session over the BasicHttpBinding. The WS binding, on the other hand, is capable of emulating a transport-level session by including a logical session ID in the message headers that uniquely identifies the client. In fact, the WSHttpBinding will emulate a transport session whenever security or reliable messaging is enabled.&lt;br /&gt;&lt;br /&gt;Because the service instance remains in memory throughout the session, it can maintain state in memory, and the programming model is very much like that of the classic client/server. Consequently, it also suffers from the same scalability and transaction issues as the classic client/server model. A service configured for private sessions cannot typically support more than a few dozen (or perhaps up to a hundred or two) outstanding clients due to the cost associated with each such dedicated service instance.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"http://codeidol.com/csharp/wcf/Instance-Management/Per-Session-Services/"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5646997130486395315?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5646997130486395315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5646997130486395315' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5646997130486395315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5646997130486395315'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/04/how-does-wcf-implement-per-session.html' title='How does WCF implement per-session service?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7761802948057628745</id><published>2009-04-25T22:00:00.000-07:00</published><updated>2009-04-25T22:02:42.274-07:00</updated><title type='text'>Compare transport reliability and message reliability</title><content type='html'>WCF and other service-oriented technologies make a distinction between transport reliability and message reliability. Transport reliability (such as that offered by TCP/IP) offers point-to-point guaranteed delivery at the network packet level, and also guarantees in-order delivery of the packets. Transport reliability is not resilient to dropped network connections and a variety of other communication problems.&lt;br /&gt;&lt;br /&gt;Message reliability, as the name implies, deals with reliability at the message level, independent of how many packets are required to deliver the message. Message reliability provides for end-to-end guaranteed delivery and order of messages, regardless of how many intermediaries are involved and how many network hops are required to deliver the message from the client to the service. Message reliability is based on an industry standard for reliable message-based communication that maintains a session at the transport level and supports retries in case of transport failures such as dropping a wireless connection. It automatically deals with congestion, message buffering, and flow control and can adjust the flow of messages accordingly. Message reliability also deals with connection management, verifying connections and cleaning them up when they are no longer needed.&lt;br /&gt;&lt;br /&gt;Message reliability does not guarantee message delivery. All it provides is a guarantee that if the message does not reach its destination, the sender will know about it.&lt;br /&gt;&lt;br /&gt;"Programming WCF Services, 2nd Edition"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7761802948057628745?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7761802948057628745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7761802948057628745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7761802948057628745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7761802948057628745'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/04/compare-transport-reliability-and.html' title='Compare transport reliability and message reliability'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2397887892288425847</id><published>2009-04-23T21:03:00.000-07:00</published><updated>2009-04-23T21:09:30.213-07:00</updated><title type='text'>Why not use IP affinity and in-process session for V2 portal?</title><content type='html'>Problem:&lt;br /&gt;A friend proposed using sql server session instead of in-process session for V2 portal. My reason of using in-process session is that I thought IP affinity can resolve web farm issue and in-process session is simpler and faster than SQL server session. After further investigation, I found IP affinity cannot address web farm issue for V2 portal.&lt;br /&gt;&lt;br /&gt;The types of IP affinity are described in  &lt;&lt;Microsoft® ASP.NET Coding Strategies with the Microsoft ASP.NET Team&gt;&gt;:&lt;br /&gt;&lt;br /&gt;“Single— In this mode, requests from new IP addresses are load balanced normally. From then on, the same server handles all requests from a given IP address. If servers are maintaining state information locally, this is a good setting for an intranet. However, Internet clients might seem to be coming from multiple IP addresses because of their service providers' network address translations, so this affinity mode won't work with the Internet.&lt;br /&gt;&lt;br /&gt;Class C— In this mode, each range of 253 IP addresses in a Class C range is handled by a single cluster member. This mode largely defeats load balancing (because once a range of IP addresses is associated with a node, it won't ever be load balanced to another node), but it ensures that Internet users will always connect to the server that's maintaining their state information locally.&lt;br /&gt;“&lt;br /&gt;&lt;br /&gt;As you can see, Single mode works intranet but not internet. Therefore, Single mode may work for V1 portal (which uses windows authentication and is deployed in extranet) but not for V2 portal (which uses WLID and is deployed in data center). Class C mode is not really a real load balancing.&lt;br /&gt;&lt;br /&gt;Conclusion:&lt;br /&gt;Thus, V2 portal has no other choice than using SQL server session.&lt;br /&gt;&lt;br /&gt;Risk/Disadvantage of using SQL server session:&lt;br /&gt;It is safe to assume that out-of-process  session is 15-30% slower, depending upon variables such as network speed and the size of the object or objects being serialized. (http://www.eggheadcafe.com/articles/20020302.asp)&lt;br /&gt;&lt;br /&gt;What to do to switch to SQL server session:&lt;br /&gt;1. Make the classes used in SessionObject serializable.&lt;br /&gt;2. update the V2 portal installer to support Server sql session.&lt;br /&gt;&lt;br /&gt;This is the command to create session related tables in PortalDB instead of the default TempDB.&lt;br /&gt;&lt;br /&gt;C:\Windows\Microsoft.NET\Framework\v2.0.50727&gt;&lt;br /&gt;aspnet_regsql.exe -S MachineName\SqlInstanceName –E -d PortalDB -ssadd -sstype c&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2397887892288425847?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2397887892288425847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2397887892288425847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2397887892288425847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2397887892288425847'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/04/why-not-use-ip-affinity-and-in-process.html' title='Why not use IP affinity and in-process session for V2 portal?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5820868010808680609</id><published>2009-03-23T00:30:00.002-07:00</published><updated>2009-03-23T00:31:47.613-07:00</updated><title type='text'>How to install IIS7 on window server 2008 and enable WCF?</title><content type='html'>Step 1. Install IIS using below script:&lt;br /&gt;&lt;br /&gt;start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI&lt;br /&gt;&lt;br /&gt;Step 2. Enable WCF activation (Add Feature -&gt; .NET Framework 3.0 Features -&gt; WCF Activation).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5820868010808680609?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5820868010808680609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5820868010808680609' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5820868010808680609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5820868010808680609'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/03/how-to-install-iis7-on-window-server.html' title='How to install IIS7 on window server 2008 and enable WCF?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2756950307964956918</id><published>2009-03-23T00:30:00.001-07:00</published><updated>2009-03-23T00:30:33.170-07:00</updated><title type='text'>How to check  whether an XP machine is activated or not?</title><content type='html'>C:\windows\system32\oobe\msoobe.exe /a&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2756950307964956918?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2756950307964956918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2756950307964956918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2756950307964956918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2756950307964956918'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/03/how-to-check-whether-xp-machine-is.html' title='How to check  whether an XP machine is activated or not?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3363876352477407980</id><published>2009-03-13T17:26:00.001-07:00</published><updated>2009-03-13T17:26:52.334-07:00</updated><title type='text'>Don't redirect after setting a Session variable (or do it right)</title><content type='html'>http://weblogs.asp.net/bleroy/archive/2004/08/03/Don_2700_t-redirect-after-setting-a-Session-variable-_2800_or-do-it-right_2900_.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3363876352477407980?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3363876352477407980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3363876352477407980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3363876352477407980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3363876352477407980'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/03/dont-redirect-after-setting-session.html' title='Don&apos;t redirect after setting a Session variable (or do it right)'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7895549124747287781</id><published>2009-03-08T12:38:00.000-07:00</published><updated>2009-03-08T12:39:59.258-07:00</updated><title type='text'>How to debug javascript in Visual studio?</title><content type='html'>Step 1. Tools-&gt;Internet Options…-&gt;Advanced-&gt;Disable Script Debugging.&lt;br /&gt;&lt;br /&gt;Step 2. In IE, View-&gt;Script Debugger, then IE will ask to use Visual studio to debug the javascript for the current page loaded in IE.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7895549124747287781?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7895549124747287781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7895549124747287781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7895549124747287781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7895549124747287781'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/03/how-to-debug-javascript-in-visual.html' title='How to debug javascript in Visual studio?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3220223134650584424</id><published>2009-01-23T08:15:00.000-08:00</published><updated>2009-01-23T08:17:10.187-08:00</updated><title type='text'>Is page refreshing a postback?</title><content type='html'>Depends.&lt;br /&gt;&lt;br /&gt;If the page refreshing is after a postback (e.g. a postback caused by clicking a submit button), then this page refreshing will make IsPostBack=true. Otherwise, this page refreshing will have IsPostBack=false.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3220223134650584424?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3220223134650584424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3220223134650584424' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3220223134650584424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3220223134650584424'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/01/is-page-refreshing-postback.html' title='Is page refreshing a postback?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3193819614592077139</id><published>2009-01-07T00:38:00.000-08:00</published><updated>2009-01-07T01:11:51.180-08:00</updated><title type='text'>Back button and "Page expired" page</title><content type='html'>On one page of my portal, I switch the radio buttons several times and then click Back button of IE, it shows "Page expired" page. When I click Back button multiple times, IE sometimes shows "page expired" page, sometimes shows the page having the radio buttons.&lt;br /&gt;&lt;br /&gt;Since my portal uses window live id, ajax, I thought they may be the causes. So I created two sites having the same function but one is WLID enabled and the other isn't. And I also tested with two sites having the same function but one is ajax enabled and the other isn't. My final result is they are NOT the cause of the "page expired" page.&lt;br /&gt;&lt;br /&gt;I found some articles online mentioned that the cache need to be enabled to kill the "page expired" page. But my site has already been cache enabled.&lt;br /&gt;&lt;br /&gt;Then I have to onion debug. After stripping most of the code, I lock down to the web.config. The web.config has this:&lt;br /&gt;&lt;br /&gt;&lt;trace enabled="true" pageOutput="true" requestLimit="40" localOnly="false"/&gt;&lt;br /&gt;&lt;br /&gt;After I remove this setting, "page expire" behavior changed but not disappear totally. I am sure this setting contribute to "page expired" issue because this setting cleary introduce this issue to a test site whose Back button works correctly.&lt;br /&gt;&lt;br /&gt;Then I continue to narrow down and find that a custom user control that I borrowed from the previous release also causes "page expired".&lt;br /&gt;&lt;br /&gt;By further digging into the custom user control, I found it is the File upload control causing "page expired".&lt;br /&gt;&lt;br /&gt;In summary, by this long debugging I found these are the root causes for "page expired" when I clicks Back button:&lt;br /&gt;&lt;br /&gt;1. the trace setting in web.config.&lt;br /&gt;2. ASP.NET's File Upload Control.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3193819614592077139?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3193819614592077139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3193819614592077139' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3193819614592077139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3193819614592077139'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/01/back-button-and-page-expired-page.html' title='Back button and &quot;Page expired&quot; page'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8999583345830880526</id><published>2009-01-01T00:29:00.000-08:00</published><updated>2009-01-01T00:31:28.563-08:00</updated><title type='text'>ASP.NET Life Cycle</title><content type='html'>http://msdn.microsoft.com/en-us/library/ms178472.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8999583345830880526?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8999583345830880526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8999583345830880526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8999583345830880526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8999583345830880526'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2009/01/aspnet-life-cycle.html' title='ASP.NET Life Cycle'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7943482338565291207</id><published>2008-12-31T22:19:00.000-08:00</published><updated>2008-12-31T22:21:01.121-08:00</updated><title type='text'>How to enable Select, Delete, Update for ObjectDataSource without a SQL database support</title><content type='html'>http://vinull.com/Post/2007/04/16/aspnet-gridview-and-objectdatasource-wi.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7943482338565291207?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7943482338565291207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7943482338565291207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7943482338565291207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7943482338565291207'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/how-to-enable-select-delete-update-for.html' title='How to enable Select, Delete, Update for ObjectDataSource without a SQL database support'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2295965860072264977</id><published>2008-12-31T22:18:00.003-08:00</published><updated>2008-12-31T22:18:50.972-08:00</updated><title type='text'>Default values for C# data types</title><content type='html'>bool: False&lt;br /&gt;byte: 0&lt;br /&gt;char:&lt;br /&gt;decimal: 0&lt;br /&gt;double: 0&lt;br /&gt;float: 0&lt;br /&gt;int: 0&lt;br /&gt;long: 0&lt;br /&gt;object:&lt;br /&gt;short: 0&lt;br /&gt;signed byte: 0&lt;br /&gt;string: null&lt;br /&gt;unsigned int: 0&lt;br /&gt;unsigned long: 0&lt;br /&gt;unsigned short: 0&lt;br /&gt;int?: null&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2295965860072264977?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2295965860072264977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2295965860072264977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2295965860072264977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2295965860072264977'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/default-values-for-c-data-types.html' title='Default values for C# data types'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4645774436926885046</id><published>2008-12-31T22:18:00.001-08:00</published><updated>2008-12-31T22:18:24.988-08:00</updated><title type='text'>what is the order of the events handling in master page and content page?</title><content type='html'>If ContentPage derives from BasePage and uses a Master page. The following is the sequence in which events occur when a master page is merged with a content page:&lt;br /&gt;&lt;br /&gt;BasePage.Ctor&lt;br /&gt;&lt;br /&gt;Content page Ctor&lt;br /&gt;&lt;br /&gt;Content page PreInit event.&lt;br /&gt;&lt;br /&gt;Master page controls Init event.&lt;br /&gt;&lt;br /&gt;Content controls Init event.&lt;br /&gt;&lt;br /&gt;Master page Init event.&lt;br /&gt;&lt;br /&gt;Content page Init event.&lt;br /&gt;&lt;br /&gt;Content page Load event.&lt;br /&gt;&lt;br /&gt;Master page Load event.&lt;br /&gt;&lt;br /&gt;Master page controls Load event.&lt;br /&gt;&lt;br /&gt;Content page controls Load event.&lt;br /&gt;&lt;br /&gt;Content page PreRender event.&lt;br /&gt;&lt;br /&gt;Master page PreRender event.&lt;br /&gt;&lt;br /&gt;Master page controls PreRender event.&lt;br /&gt;&lt;br /&gt;Content page controls PreRender event.&lt;br /&gt;&lt;br /&gt;Master page controls Unload event.&lt;br /&gt;&lt;br /&gt;Content page controls Unload event.&lt;br /&gt;&lt;br /&gt;Master page Unload event.&lt;br /&gt;&lt;br /&gt;Content page Unload event.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/en-us/library/dct97kc3.aspx.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4645774436926885046?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4645774436926885046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4645774436926885046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4645774436926885046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4645774436926885046'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/what-is-order-of-events-handling-in.html' title='what is the order of the events handling in master page and content page?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7330050677346963255</id><published>2008-12-23T12:53:00.000-08:00</published><updated>2008-12-23T12:55:06.995-08:00</updated><title type='text'>How to hide control using javascript?</title><content type='html'>The answer written in the first response is not actually 100% accurate.&lt;br /&gt;&lt;br /&gt;We can hide/display the controls using&lt;br /&gt;&lt;br /&gt;1) document.getElementById("").style.display="none"/document.getElementById("").style.display="inline"&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;2)&lt;br /&gt;document.getElementById("").style.visibility="visible";/document.getElementById("").style.visibility="hidden";&lt;br /&gt;&lt;br /&gt;The difference between the two is using the 1st option, we can hide the control and the space occupied by the controls also gets &lt;br /&gt;removed, i.e if the controls has a certain height and is contained in a table row, the row gets collapsed and when displayed, the control will again take it's place.and the row will again retain its height by displaying the control in it.&lt;br /&gt;&lt;br /&gt;On the other hand if we use 2nd option, the control will get hide &lt;br /&gt;but the space occupied by the control will remain as it is and the row will not collapse, i.e the row will still be displayed &lt;br /&gt;as blank containing the control in hidden mode.&lt;br /&gt;&lt;br /&gt;From http://www.dotnetspider.com/resources/6563-How-hide-control-using-javascript.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7330050677346963255?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7330050677346963255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7330050677346963255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7330050677346963255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7330050677346963255'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/how-to-hide-control-using-javascript.html' title='How to hide control using javascript?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8524582835077421286</id><published>2008-12-19T17:30:00.000-08:00</published><updated>2008-12-19T17:32:44.307-08:00</updated><title type='text'>How to set dropdownlist's value and text in databind?</title><content type='html'>&lt;a href="http://www.aspfree.com/c/a/ASP.NET/ASPNET-Dropdown-List-Control-Eight-Ways-to-Bind-Data/2/"&gt;ASP.NET Dropdown List Control: Eight Ways to Bind Data - Binding to a Hashtable&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8524582835077421286?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8524582835077421286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8524582835077421286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8524582835077421286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8524582835077421286'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/how-to-set-dropdownlists-value-and-text.html' title='How to set dropdownlist&apos;s value and text in databind?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4942613250197267932</id><published>2008-12-14T15:04:00.001-08:00</published><updated>2008-12-14T15:05:32.736-08:00</updated><title type='text'>Why I do not use the onunload for leaving page warning?</title><content type='html'>When onunload is fired, you cannot cancel the leaving to stay on the original page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4942613250197267932?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4942613250197267932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4942613250197267932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4942613250197267932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4942613250197267932'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/why-i-do-not-use-onunload-for-leaving.html' title='Why I do not use the onunload for leaving page warning?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-1037584092596018230</id><published>2008-12-14T14:57:00.000-08:00</published><updated>2008-12-14T15:04:11.456-08:00</updated><title type='text'>Why I do not use the popup dialog of onbeforeunload for leaving page warning?</title><content type='html'>Quote from http://msdn.microsoft.com/en-us/library/ms536907(VS.85).aspx:&lt;br /&gt;&lt;br /&gt;"&lt;br /&gt;function closeIt()&lt;br /&gt;{&lt;br /&gt;  return "Any string value here forces a dialog box to \&lt;br /&gt;                      appear before closing the window.";&lt;br /&gt;}&lt;br /&gt;window.onbeforeunload=closeIt;&lt;br /&gt;&lt;br /&gt;When a string is assigned to the returnValue property of window.event, a dialog box appears that gives users the option to stay on the current page and retain the string that was assigned to it. The default statement that appears in the dialog box, "Are you sure you want to navigate away from this page? ... Press OK to continue, or Cancel to stay on the current page.", cannot be removed or altered.&lt;br /&gt;"&lt;br /&gt;&lt;br /&gt;My experience is that the default string "Are you..." cannot be localized. This is the reason why I do not use in my portal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-1037584092596018230?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/1037584092596018230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=1037584092596018230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1037584092596018230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1037584092596018230'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/12/why-i-do-not-use-popup-dialog-of.html' title='Why I do not use the popup dialog of onbeforeunload for leaving page warning?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7989417464711234024</id><published>2008-11-30T13:10:00.001-08:00</published><updated>2008-11-30T13:10:56.367-08:00</updated><title type='text'>Javascript Events</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oDMtqlCFidA/STMBUvjeTPI/AAAAAAAABig/vGYzc9PYFVU/s1600-h/javscriptEvents.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 246px;" src="http://2.bp.blogspot.com/_oDMtqlCFidA/STMBUvjeTPI/AAAAAAAABig/vGYzc9PYFVU/s320/javscriptEvents.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5274561044455247090" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;http://www.w3schools.com/jsref/jsref_events.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7989417464711234024?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7989417464711234024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7989417464711234024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7989417464711234024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7989417464711234024'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/javascript-events.html' title='Javascript Events'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_oDMtqlCFidA/STMBUvjeTPI/AAAAAAAABig/vGYzc9PYFVU/s72-c/javscriptEvents.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-1078049258093303232</id><published>2008-11-21T16:34:00.000-08:00</published><updated>2008-11-21T16:35:29.589-08:00</updated><title type='text'>How to set the signin page to use framed cobranding?</title><content type='html'>To implement framed cobranding for Windows Live ID sign-in pages, put a Cobranding_Flexible and a Cobranding_CSS element after the general cobranding properties within the Cobranding element.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-1078049258093303232?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/1078049258093303232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=1078049258093303232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1078049258093303232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1078049258093303232'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/how-to-set-signin-page-to-use-framed.html' title='How to set the signin page to use framed cobranding?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7014585099686143336</id><published>2008-11-15T11:54:00.001-08:00</published><updated>2008-11-15T12:10:19.142-08:00</updated><title type='text'>What is the difference between p tag, div tag, span tag?</title><content type='html'>A span element is in-line and usually used for a small chunk of in-line HTML.&lt;br /&gt;&lt;br /&gt;A div or a P element is block-line (which is basically equivalent to having a line-break before and after it) and used to group larger chunks of code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7014585099686143336?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7014585099686143336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7014585099686143336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7014585099686143336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7014585099686143336'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/what-is-difference-between-p-tag-div.html' title='What is the difference between p tag, div tag, span tag?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-1897760232183116294</id><published>2008-11-15T11:27:00.000-08:00</published><updated>2008-11-15T11:30:41.868-08:00</updated><title type='text'>CSS tips</title><content type='html'>1. Once I wanted to make my side bar on z-index:1 and make it float to the right. Then I found it is impossible for the following reason. To make z-index work, I need position:absolute. Having position:absolute will disable floating. Eventually, I used z-index+position:absolute and some manually alignment to make this work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-1897760232183116294?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/1897760232183116294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=1897760232183116294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1897760232183116294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1897760232183116294'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/css-tips.html' title='CSS tips'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8419037843170191773</id><published>2008-11-15T09:47:00.000-08:00</published><updated>2008-11-15T11:14:28.427-08:00</updated><title type='text'>Relationships between display, position, and float</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Rule 1:&lt;/span&gt;&lt;br /&gt;If 'display' has the value 'none', user agents must ignore 'position' and 'float'. In this case, the element generates no box.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Rule 2:&lt;/span&gt;&lt;br /&gt;Otherwise, 'position' has the value 'absolute' or 'fixed', 'display' is set to 'block' and 'float' is set to 'none'. The position of the box will be determined by the 'top', 'right', 'bottom' and 'left' properties and the box's containing block.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Rule 3:&lt;/span&gt;&lt;br /&gt;Otherwise, if 'float' has a value other than 'none', 'display' is set to 'block' and the box is floated.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Rule 4:&lt;/span&gt;&lt;br /&gt;Otherwise, the remaining 'display' properties apply as specified.&lt;br /&gt;&lt;br /&gt;http://dbaron.org/css/test/sec0907&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8419037843170191773?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8419037843170191773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8419037843170191773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8419037843170191773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8419037843170191773'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/relationships-between-display-position.html' title='Relationships between display, position, and float'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7752581676138838144</id><published>2008-11-13T23:34:00.000-08:00</published><updated>2008-11-13T23:37:38.668-08:00</updated><title type='text'>Why height=100% does not work?</title><content type='html'>body&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#main /* the direct child div under body */&lt;br /&gt;{&lt;br /&gt;    width:100%;&lt;br /&gt;    height:100%; /* this does not stretch the div to 100% */&lt;br /&gt;    background-color:Gray;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The reason is that without a parent defined height, the div{height:100%;} has nothing to factor 100% percent of, and will default to a value of div{height:auto;} - auto is an "as needed value" which is governed by the actual content, so that the div{height:100%} will a=only extend as far as the content demands. &lt;br /&gt;&lt;br /&gt;So these change will make the height:100% work:&lt;br /&gt;body&lt;br /&gt;{&lt;br /&gt;  height:100px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#main /* the direct child div under body */&lt;br /&gt;{&lt;br /&gt;    width:100%;&lt;br /&gt;    height:100%; /* this does stretch the div to 100% (of body) */&lt;br /&gt;    background-color:Gray;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7752581676138838144?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7752581676138838144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7752581676138838144' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7752581676138838144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7752581676138838144'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/why-height100-does-not-work.html' title='Why height=100% does not work?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7297569680319410663</id><published>2008-11-12T15:39:00.000-08:00</published><updated>2008-11-15T13:06:22.894-08:00</updated><title type='text'>How to make the content in a DIV center aligned?</title><content type='html'>Use "margin-left:auto" and "margin-right:auto" for horizontal centering.&lt;br /&gt;&lt;br /&gt;It is said online (in one of Jennifer Sullivan Cassidy's articles) that it is not recommended to use "text-align: center;" for horizontal centering for some reason.&lt;br /&gt;&lt;br /&gt;vertical-align is for table only and vertical aligning a div is not a trivial thing.&lt;br /&gt;&lt;br /&gt;Here is a good way to vertically align a div:&lt;br /&gt;http://phrogz.net/CSS/vertical-align/index.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7297569680319410663?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7297569680319410663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7297569680319410663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7297569680319410663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7297569680319410663'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/how-to-make-content-in-div-center.html' title='How to make the content in a DIV center aligned?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5751662285884478736</id><published>2008-11-12T00:33:00.000-08:00</published><updated>2008-11-12T00:36:18.461-08:00</updated><title type='text'>What do the CSS position values mean?</title><content type='html'>&lt;strong&gt;static&lt;/strong&gt; Default. An element with position: static always has the position the normal flow of the page gives it (a static element ignores any top, bottom, left, or right declarations) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;relative&lt;/strong&gt; An element with position: relative moves an element &lt;strong&gt;relative to its normal position&lt;/strong&gt;, so "left:20" adds 20 pixels to the element's LEFT position&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;absolute&lt;/strong&gt; An element with position: absolute is positioned at the specified coordinates &lt;strong&gt;relative to its containing block&lt;/strong&gt;. The element's position is specified with the "left", "top", "right", and "bottom" properties &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;fixed&lt;/strong&gt; An element with position: fixed is positioned at the specified coordinates &lt;strong&gt;relative to the browser window&lt;/strong&gt;. The element's position is specified with the "left", "top", "right", and "bottom" properties. The element remains at that position regardless of scrolling. Works in IE7 (strict mode) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.w3schools.com/Css/pr_class_position.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5751662285884478736?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5751662285884478736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5751662285884478736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5751662285884478736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5751662285884478736'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/what-do-css-position-values-mean.html' title='What do the CSS position values mean?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2983238447014469207</id><published>2008-11-12T00:24:00.000-08:00</published><updated>2008-11-12T00:26:20.703-08:00</updated><title type='text'>What is the default height of a div if I do not specify?</title><content type='html'>The default is auto. The browser calculates the actual height.&lt;br /&gt;&lt;br /&gt;If there is control in this div, then the height will be adjusted to fit this control in.&lt;br /&gt;&lt;br /&gt;If there is no control in this div, then the height is a standard height which can fit a label in.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2983238447014469207?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2983238447014469207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2983238447014469207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2983238447014469207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2983238447014469207'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/what-is-default-height-of-div-if-i-do.html' title='What is the default height of a div if I do not specify?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8878252193306054790</id><published>2008-11-10T22:01:00.000-08:00</published><updated>2008-11-10T22:03:14.235-08:00</updated><title type='text'>ASP.NET page life cycle diagram 2</title><content type='html'>&lt;a href="http://emanish.googlepages.com/Asp.Net2.0Lifecycle.PNG"&gt;emanish&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8878252193306054790?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8878252193306054790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8878252193306054790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8878252193306054790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8878252193306054790'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/aspnet-page-life-cycle-diagram-2.html' title='ASP.NET page life cycle diagram 2'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7320733965177968059</id><published>2008-11-10T21:44:00.000-08:00</published><updated>2008-11-10T21:47:59.492-08:00</updated><title type='text'>ASP.NET page life cycle diagram</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_oDMtqlCFidA/SRkcfFEL6zI/AAAAAAAABiY/nBHzsNfar_w/s1600-h/lifecycle2.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 262px;" src="http://3.bp.blogspot.com/_oDMtqlCFidA/SRkcfFEL6zI/AAAAAAAABiY/nBHzsNfar_w/s320/lifecycle2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5267272559447763762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_oDMtqlCFidA/SRkcXe5D5OI/AAAAAAAABiQ/QccN4jEEwDU/s1600-h/lifecycle1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 118px;" src="http://4.bp.blogspot.com/_oDMtqlCFidA/SRkcXe5D5OI/AAAAAAAABiQ/QccN4jEEwDU/s320/lifecycle1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5267272428941468898" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/en-us/library/ms972976.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7320733965177968059?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7320733965177968059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7320733965177968059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7320733965177968059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7320733965177968059'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/aspnet-page-life-cycle-diagram.html' title='ASP.NET page life cycle diagram'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_oDMtqlCFidA/SRkcfFEL6zI/AAAAAAAABiY/nBHzsNfar_w/s72-c/lifecycle2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8354796921983743251</id><published>2008-11-10T14:47:00.000-08:00</published><updated>2008-11-10T14:49:09.862-08:00</updated><title type='text'>How to find out whether a NET dll is arch (32-bit or 64-bit) independent or not?</title><content type='html'>C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\CorFlags.exe&lt;br /&gt;&lt;br /&gt;For example, AntiXssLibrary.dll does not have the “32-bit only” bit set. It should work fine in 64-bit.&lt;br /&gt;&lt;br /&gt;[1] » corflags AntiXssLibrary.dll&lt;br /&gt;CorFlags  : 9&lt;br /&gt;ILONLY    : 1&lt;br /&gt;&lt;strong&gt;32BIT     : 0&lt;/strong&gt;&lt;br /&gt;Signed    : 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8354796921983743251?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8354796921983743251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8354796921983743251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8354796921983743251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8354796921983743251'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/how-to-find-out-whether-net-dll-is-arch.html' title='How to find out whether a NET dll is arch (32-bit or 64-bit) independent or not?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6234156212836842713</id><published>2008-11-08T22:04:00.001-08:00</published><updated>2008-11-08T22:04:50.091-08:00</updated><title type='text'>Database diagram support objects cannot be installed because this database does not have a valid owner.</title><content type='html'>This resolved my problem:&lt;br /&gt;&lt;br /&gt;ALTER AUTHORIZATION ON DATABASE::MyCompany TO sa&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6234156212836842713?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6234156212836842713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6234156212836842713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6234156212836842713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6234156212836842713'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/11/database-diagram-support-objects-cannot.html' title='Database diagram support objects cannot be installed because this database does not have a valid owner.'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2782671899571644580</id><published>2008-10-29T00:29:00.001-07:00</published><updated>2008-10-29T00:29:58.322-07:00</updated><title type='text'>What's the difference between refresh and postback?</title><content type='html'>1) typing in a url is like going to the page for the first time so its not a postback.  If you browser has cached the page, you may actually go nowhere.&lt;br /&gt;&lt;br /&gt;2) clicking on an asp:button fires a javascript that submits your form and is detected at the server as a postback for the page.&lt;br /&gt;&lt;br /&gt;3) hitting a browser refresh (F5) takes whatever post data is currently in the buffer (from the last time the page form was submitted) and resubmits it.  It does not submit current form values.&lt;br /&gt;&lt;br /&gt;Item 3 is usually the most problematic to deal with.&lt;br /&gt;&lt;br /&gt;If you refresh the page and it has never been posted back, then its like you are hitting it for the first time on each refresh.&lt;br /&gt;&lt;br /&gt;If, however, the page had already been posted back, then hitting refresh repeats whatever event cause it to be previously posted back.  This repeated event may not be an issue, but there are defineated times when it would be disastrous to repeat a postback event.&lt;br /&gt;&lt;br /&gt;There are mechanisms around to detect when a page that has already been posted back is being refreshed.&lt;br /&gt;&lt;br /&gt;refer: http://forums.asp.net/t/944619.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2782671899571644580?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2782671899571644580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2782671899571644580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2782671899571644580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2782671899571644580'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/whats-difference-between-refresh-and.html' title='What&apos;s the difference between refresh and postback?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8491556890427570261</id><published>2008-10-27T10:39:00.000-07:00</published><updated>2008-10-27T11:04:11.243-07:00</updated><title type='text'>What kinds of paging are there?</title><content type='html'>(1) user interface paging&lt;br /&gt;    * It is easier to use, &lt;br /&gt;    * Lower performance because all data actually are loaded in the memory of the portal server. &lt;br /&gt;    * Support data source like Collection, DataSet, DataTable, DataView. Does not support DataReader. In my portal, the portal calls the web service to create a DataTable, which then is used to render a GridView. So this is a user interface paging. However, the web method can return only one page so as to simulate the paging behavior.&lt;br /&gt;&lt;br /&gt;(2) data source paging&lt;br /&gt;    * Enable you to write custom logic to retrieve pages of database records.&lt;br /&gt;    * Can perform paging for store proc, Linq or a SQL query&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8491556890427570261?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8491556890427570261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8491556890427570261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8491556890427570261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8491556890427570261'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/what-kinds-of-paging-are-there.html' title='What kinds of paging are there?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2988124454205507525</id><published>2008-10-26T23:08:00.000-07:00</published><updated>2008-10-26T23:12:17.148-07:00</updated><title type='text'>Should ViewState be on or off when displaying a large number of records?</title><content type='html'>ViewState should be turned off. This way not all data will be transferred via the wire.&lt;br /&gt;&lt;br /&gt;Disabling ViewState does not prevent GridView from editting/deleting records, sorting, paging.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2988124454205507525?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2988124454205507525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2988124454205507525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2988124454205507525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2988124454205507525'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/should-viewstate-be-on-or-off-when.html' title='Should ViewState be on or off when displaying a large number of records?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3234704581485570992</id><published>2008-10-26T22:23:00.000-07:00</published><updated>2008-10-26T22:24:24.310-07:00</updated><title type='text'>How to page in GridView without loading all data into memory?</title><content type='html'>Use objectDataSource&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3234704581485570992?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3234704581485570992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3234704581485570992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3234704581485570992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3234704581485570992'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/how-to-page-in-gridview-without-loading.html' title='How to page in GridView without loading all data into memory?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6611943544421603467</id><published>2008-10-26T21:01:00.000-07:00</published><updated>2008-10-27T11:07:23.418-07:00</updated><title type='text'>what is the difference between GridView, DataList, ListView, Repeater, ListControl, DetailsView, FormView?</title><content type='html'>GridView:&lt;br /&gt;(1)Can select one row to do something.&lt;br /&gt;(3)update, delete records in database, but not insert&lt;br /&gt;(4)Sort, paging&lt;br /&gt;(5)Concurrency handling&lt;br /&gt;(6)Display empty data&lt;br /&gt;(7)Formatting (e.g. alternative row style)&lt;br /&gt;(8)Customize field (e.g. use TemplateField to edit record)&lt;br /&gt;(9)Extend (e.g. create LongTextField for GridView)&lt;br /&gt;&lt;br /&gt;ListView:&lt;br /&gt;(1) template driven&lt;br /&gt;(2) can add data to database&lt;br /&gt;(3) can edit, page through, sort database data&lt;br /&gt;(4) ListView is the only control implementing IPageableItemContainer interface, so it is the only one which can use DataPager control.&lt;br /&gt;&lt;br /&gt;ListView is the most flexible List control in all. I can safely use ListView in place of GridView.&lt;br /&gt;&lt;br /&gt;Repeater:&lt;br /&gt;(1) display database records. It cannot edit/insert records&lt;br /&gt;(2) entirely template driven&lt;br /&gt;&lt;br /&gt;DataList:&lt;br /&gt;(1) display database records(can edit?)&lt;br /&gt;(2) entirely template driven&lt;br /&gt;DataList is very similar to Repeater except that DataList's default behavior is rending the content using a table. However, you can override the default behavior.&lt;br /&gt;&lt;br /&gt;DetailsView:&lt;br /&gt;(1) Display/edit/delete/Insert records in database&lt;br /&gt;(2) Render a table for a single record. always render each field in a seperate table row.&lt;br /&gt;&lt;br /&gt;FormView:&lt;br /&gt;Exactly like DetailsView except that FormView is entirely template driven.&lt;br /&gt;&lt;br /&gt;ListControl:&lt;br /&gt; there are RadioButtonList, DropDownList, CheckBoxList, BulletedList, ListBox.&lt;br /&gt;&lt;br /&gt;Refer: &lt;&lt;ASP.NET 3.5 unleashed&gt;&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6611943544421603467?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6611943544421603467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6611943544421603467' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6611943544421603467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6611943544421603467'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/what-is-difference-between-gridview.html' title='what is the difference between GridView, DataList, ListView, Repeater, ListControl, DetailsView, FormView?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3279936588661908190</id><published>2008-10-24T14:46:00.000-07:00</published><updated>2008-10-25T00:15:34.720-07:00</updated><title type='text'>The type System.Collections.Hashtable is not supported because it implements IDictionary..</title><content type='html'>My portal cannot consume a WCF web method which has HashTable as the input parameter.&lt;br /&gt;&lt;br /&gt;The exception I got is:&lt;br /&gt;&lt;br /&gt;exception:  System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The type System.Collections.Hashtable is not supported because it implements IDictionary..&lt;br /&gt;&lt;br /&gt;What made me desperate is that I changed the parameter from HashTable to ArrayList and even object[]. But I still got the same error when calling this web method.&lt;br /&gt;&lt;br /&gt;...Eventually, I found at the end of this web method, there is "typeof(HashTable)". That means HashTable cannot be a parameter or exist anywhere in the web method!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3279936588661908190?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3279936588661908190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3279936588661908190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3279936588661908190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3279936588661908190'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/type-systemcollectionshashtable-is-not.html' title='The type System.Collections.Hashtable is not supported because it implements IDictionary..'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5649019321418315336</id><published>2008-10-24T11:51:00.000-07:00</published><updated>2008-10-24T11:56:01.132-07:00</updated><title type='text'>The service cannot be activated due to an exception during compilation</title><content type='html'>The service 'myservice.svc' cannot be activated due to an exception during compilation.  The exception message is: The HttpGetEnabled property of ServiceMetadataBehavior is set to true and the HttpGetUrl property is a relative address, but there is no http base address.  Either supply an http base address or set HttpGetUrl to an absolute address.. &lt;br /&gt;&lt;br /&gt;The story is:&lt;br /&gt;My portal cannot consume the web service, then I saw this event log in window log.&lt;br /&gt;&lt;br /&gt;I want to check whether the WS deployment is good, so I changed HttpGetEnabled from false to true so that I can see the metadata in IE.&lt;br /&gt;&lt;br /&gt;But setting HttpGetEnabled=true also need set HttpGetUrl as an absolute address. To avoid this, I changed the HttpGetEnabled back to false and then this error is gone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5649019321418315336?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5649019321418315336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5649019321418315336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5649019321418315336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5649019321418315336'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/service-cannot-be-activated-due-to.html' title='The service cannot be activated due to an exception during compilation'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7152208204277376319</id><published>2008-10-16T11:55:00.000-07:00</published><updated>2008-11-04T01:48:54.112-08:00</updated><title type='text'>Could not establish secure channel for SSL/TLS with authority</title><content type='html'>My portal throws this exception when making a web method call to the web service.&lt;br /&gt;&lt;br /&gt;Check list:&lt;br /&gt;&lt;br /&gt;1. On server and client side, the server certs and their intermediate and root certs do not expire.&lt;br /&gt;&lt;br /&gt;2. On server and client side, the server certs have right permission setting (e.g. giving permission to Network Service).&lt;br /&gt;&lt;br /&gt;3. On the client side, the client cert used by WCF web method call and its intermediate and root certs do not expire. This is required because the server IIS SSL setting can be "requiring client cert".&lt;br /&gt;&lt;br /&gt;4. On the client side, the client cert used by WCF web method call has right permission setting (e.g. giving permission to Network Service). This is required because the server IIS SSL setting can be "requiring client cert".&lt;br /&gt;&lt;br /&gt;5. On server and client side, check the server certs are used by IIS.&lt;br /&gt;&lt;br /&gt;6. Another experience: I found when an authenticated page expired, the WLID sign in page shows the sign in dialog in the left.htm frame. I figured out it is because the SSL cert is wrong (not for my portal's url). Then I made the IIS SSL cert to the one using the right portal url. After I changed the SSL cert for the machine where both the portal and the web service are deployed, I verified all above 5 points successfully but still got the error as the subject. Finally, I found the portal's web.config should change the WCF endpoint address from https:\\mymachinename\endpoint.svc to https:\\theportalurl.com\endpoint.svc.&lt;br /&gt;&lt;br /&gt;7. Another experience: when my portal and the web service is deployed to 1box using installserver.bat, IIS uses SSL cert myserver.mydomain.com. Usually I use URL https://myportal-int.com and SSL cert myportal-int.com for my portal when it is deployed seperately. &lt;strong&gt;I always thought that to establish SSL channel between portal and WS, both side need to have the URL match the SSL cert. However, this is wrong! To establish SSL channel, only server side (WS side)'s SSL cert is verified.&lt;/strong&gt;&lt;br /&gt;My collegue help me address the issue eventually. &lt;br /&gt;First, he pointed out that client side (portal side) does not need have a SSL cert which matches the portal URL. So I can get out of the trap of trying to make cert and URL match on both server side and client side.&lt;br /&gt;Second, by the exception message: "The remote certificate is invalid according to the validation procedure.", he asked me to try to access web service using IE to see if there is any SSL warning. Under his expectation, IE showed SSL warning when I access the endpoint address.&lt;br /&gt;Third, he logged in my machine and clicked the certificate error icon besides the IE url column. He viewed the https cert by clicking the "View certificate". He found the cert name is something like authmod, which is another site on the 1box. By this clue, &lt;strong&gt;he found site authmod also uses port 443 which is used by my portal site.&lt;/strong&gt; After he removed https binding of authmod site, my portal start working.&lt;br /&gt;I learned a lot from this lesson.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7152208204277376319?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7152208204277376319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7152208204277376319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7152208204277376319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7152208204277376319'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/could-not-establish-secure-channel-for.html' title='Could not establish secure channel for SSL/TLS with authority'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3784164501871051140</id><published>2008-10-15T14:40:00.000-07:00</published><updated>2008-10-15T14:51:47.030-07:00</updated><title type='text'>How to restore the machine after I ruined an 1box so that a new 1box can be installed on this machine?</title><content type='html'>I installed an 1box. I copied and deleted some files/folders to try something out. Then I used the uninstall script to uninstall the 1box. When I ran the install script to reinstall the 1box, I found a database cannot be installed. How can I restore my machine so that I can install a new 1box correctly?&lt;br /&gt;&lt;br /&gt;I got a solution for this case. When I ran "msiexec /x mydb.msi" to uninstalled this db component, I got error. Then I copied mydb.mdf and mydb.ldf from another machine over and installed this db manually. After this, "msiexec /x mydb.msi" works correctly. After uninstalling mydb, I copied the commandline from the 1box installation script and ran it in a command window. Then this db is installed correctly by this commandline. The commandline for installing coredb is:&lt;br /&gt;"start /wait msiexec /i MyDB.msi SEV_COREDB_NAME=MyDB /l*v installMyDB.log"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3784164501871051140?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3784164501871051140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3784164501871051140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3784164501871051140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3784164501871051140'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/how-to-restore-machine-after-i-ruined.html' title='How to restore the machine after I ruined an 1box so that a new 1box can be installed on this machine?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5731000844089398237</id><published>2008-10-12T23:56:00.000-07:00</published><updated>2008-10-13T00:02:34.065-07:00</updated><title type='text'>Why RadioButton OnCheckedChanged is not fired?</title><content type='html'>I added two radio buttons with the corresponding OnCheckedChanged event handlers to my portal. However, when I switched the radio buttons, OnCheckedChanged event was not fired and the event handlers were not called.&lt;br /&gt;&lt;br /&gt;The reason is that these event handlers need a postback to be triggered. After I added AutoPostBack="true", it worked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5731000844089398237?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5731000844089398237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5731000844089398237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5731000844089398237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5731000844089398237'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/why-radiobutton-oncheckedchanged-is-not.html' title='Why RadioButton OnCheckedChanged is not fired?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4403369777515276782</id><published>2008-10-12T13:51:00.000-07:00</published><updated>2008-10-12T13:57:33.947-07:00</updated><title type='text'>Why Response.Redirect does not work in Global.asax.cs:Application_Error()?</title><content type='html'>My portal uses Application_Error() to redirect to my ErrorPage.aspx. But Response.Redirect() does not work. I debugged to know that this statement was executed but redirect did not happen.&lt;br /&gt;&lt;br /&gt;Then I created a sample website to find out that Server.ClearError() is critical. Without this statement, Response.Redirect does nothing. On the other hand, customError section is totally irrelevant.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4403369777515276782?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4403369777515276782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4403369777515276782' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4403369777515276782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4403369777515276782'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/why-responseredirect-does-not-work-in.html' title='Why Response.Redirect does not work in Global.asax.cs:Application_Error()?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-9036246488976947682</id><published>2008-10-12T12:19:00.001-07:00</published><updated>2008-10-12T12:43:28.278-07:00</updated><title type='text'>What is the difference between Response.Redirect and Server.Transfer?</title><content type='html'>Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client's browser. This provides a faster response with a little less overhead on the server. Server.Transfer does not update the clients url history list or current url. Response.Redirect is used to redirect the user's browser to another page or site. This performas a trip back to the client where the client's browser is redirected to the new page. The user's browser history list is updated to reflect the new address.&lt;br /&gt;&lt;br /&gt;You can have Response.Redirect("http://www.google.com") but you cannot have Server.Transfer("http://www.google.com");&lt;br /&gt;&lt;br /&gt;http://r4r.co.in/ASP.net/index.shtml&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-9036246488976947682?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/9036246488976947682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=9036246488976947682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/9036246488976947682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/9036246488976947682'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/what-is-difference-between.html' title='What is the difference between Response.Redirect and Server.Transfer?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6198043105926533625</id><published>2008-10-08T11:37:00.000-07:00</published><updated>2008-10-08T13:51:54.868-07:00</updated><title type='text'>[ConfigurationErrorsException]: '.', hexadecimal value 0x00, is an invalid character. Line 2, position 1.</title><content type='html'>I got this error after I used powershell script to change debug="false" to debug="true" for all web.config.&lt;br /&gt;&lt;br /&gt;I found nothing wrong by comparing the deployed web.config and the web.config in the source tree.&lt;br /&gt;&lt;br /&gt;It turned out an encoding issue after I re-saved the web.config using UTF-8 in notepad.&lt;br /&gt;&lt;br /&gt;I modified the string replacing script to control the encoding.&lt;br /&gt;&lt;br /&gt;$pattern ='debug="false"'&lt;br /&gt;$replacement ='debug="true"'&lt;br /&gt;$encode="default"  # can be utf8 unicode default (it is actually ANSI)&lt;br /&gt;$targetFile="web.config"&lt;br /&gt;&lt;br /&gt;foreach ($file in (gci . -name $targetFile -rec)) {&lt;br /&gt;&lt;br /&gt;if($file -match "PortalUI")&lt;br /&gt;{&lt;br /&gt;  continue;&lt;br /&gt;}&lt;br /&gt;write-host process $file ...&lt;br /&gt;write-host resave file using $encode&lt;br /&gt;$text = get-content $file&lt;br /&gt;$text | out-file $file -encoding $encode&lt;br /&gt;&lt;br /&gt;$text = get-content $file&lt;br /&gt;&lt;br /&gt;if ($text -match $pattern) {&lt;br /&gt;  write-host modifying $file&lt;br /&gt;  $text -replace $pattern, $replacement | out-file $file -encoding $encode&lt;br /&gt;  }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6198043105926533625?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6198043105926533625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6198043105926533625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6198043105926533625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6198043105926533625'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/configurationerrorsexception.html' title='[ConfigurationErrorsException]: &apos;.&apos;, hexadecimal value 0x00, is an invalid character. Line 2, position 1.'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-5874070310502792688</id><published>2008-10-08T00:57:00.000-07:00</published><updated>2008-10-08T17:40:03.807-07:00</updated><title type='text'>How to debug into web service?</title><content type='html'>Sometime, I need to debug into web service from my portal. It is easy to get an error dialog telling something like "cannot automatically debug into server" when you step in the web method. After I make 100% sure that the pdbs are absolutely in sync with the dlls, I did two things to make it work:&lt;br /&gt;&lt;br /&gt;(1) enable debug in all web.config files.&lt;br /&gt;(2) specifiy the symbols path in the project options.&lt;br /&gt;&lt;br /&gt;Another time, when I debug from my portal to web service A and to web service B, service B prompt the same error dialog. I thought it is unsync PDB problem again. But after checking the event log, I found the cert expired for service B. After renewing the cert, I can debug into B.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-5874070310502792688?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/5874070310502792688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=5874070310502792688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5874070310502792688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/5874070310502792688'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/how-to-debug-into-web-service.html' title='How to debug into web service?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3853497461579083689</id><published>2008-10-08T00:47:00.001-07:00</published><updated>2008-10-08T00:49:21.704-07:00</updated><title type='text'>How to replace strings in multiple files using powershell?</title><content type='html'>I want to replace string debug="false" with debug="true" for all web.config files in the deployment dir. Here is how to do it:&lt;br /&gt;&lt;br /&gt;$pattern ='debug="false"'&lt;br /&gt;$replacement ='debug="true"'&lt;br /&gt;foreach ($file in (gci . -name "web.config" -rec)) {&lt;br /&gt;$text = get-content $file&lt;br /&gt;if ($text -match $pattern) {&lt;br /&gt;$text -replace $pattern, $replacement &gt; $file&lt;br /&gt;}}&lt;br /&gt;&lt;br /&gt;http://www.eggheadcafe.com/software/aspnet/29585604/findreplace.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3853497461579083689?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3853497461579083689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3853497461579083689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3853497461579083689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3853497461579083689'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/how-to-replace-strings-in-multiple.html' title='How to replace strings in multiple files using powershell?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4600201718806251301</id><published>2008-10-02T16:29:00.000-07:00</published><updated>2008-10-02T16:30:51.428-07:00</updated><title type='text'>How to do buddy build using a batch file?</title><content type='html'>This is my ApplyDPK.cmd:&lt;br /&gt;&lt;br /&gt;echo sd revert ...&lt;br /&gt;call sd revert ...&lt;br /&gt;&lt;br /&gt;echo delete .\portals\&lt;br /&gt;call rd /s/q .\portals&lt;br /&gt;&lt;br /&gt;echo sd sync -f ...&lt;br /&gt;call sd sync -f ...&lt;br /&gt;&lt;br /&gt;echo sdp apply %1 -a&lt;br /&gt;call sdp apply %1 -a&lt;br /&gt;&lt;br /&gt;echo delete ..\target\debug\i386&lt;br /&gt;call rd /s/q ..\target\debug\i386&lt;br /&gt;&lt;br /&gt;echo pushd portals\source&lt;br /&gt;call pushd portals\source&lt;br /&gt;&lt;br /&gt;echo build -cZP&lt;br /&gt;call build -cZP&lt;br /&gt;&lt;br /&gt;I can quickly do buddy build by running "ApplyDPK 519".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4600201718806251301?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4600201718806251301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4600201718806251301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4600201718806251301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4600201718806251301'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/how-to-do-buddy-build-using-batch-file.html' title='How to do buddy build using a batch file?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7721857324004870143</id><published>2008-10-02T10:34:00.000-07:00</published><updated>2008-10-02T13:56:24.546-07:00</updated><title type='text'>SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.</title><content type='html'>My portal tries to write an event log but got the error as the subject.&lt;br /&gt;&lt;br /&gt;Reason: to enable event log for my portal, I need to register source in the regedit.&lt;br /&gt;For example, to create a source for partner portal on Vista, import the reg file containing below content:&lt;br /&gt;&lt;br /&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\PartnerPortal]&lt;br /&gt;"EventMessageFile"="C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\EventLogMessages.dll"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7721857324004870143?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7721857324004870143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7721857324004870143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7721857324004870143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7721857324004870143'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/securityexception-source-was-not-found.html' title='SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2194832515572493636</id><published>2008-10-01T11:44:00.000-07:00</published><updated>2008-10-01T13:08:00.062-07:00</updated><title type='text'>Why does the javascript registered by Page.ClientScript.RegisterStartupScript not execute?</title><content type='html'>On my portal, the javascript registered via Page.ClientScript.RegisterStartupScript does not execute, which I used [script]alert("something")[/script] to confirm.&lt;br /&gt;&lt;br /&gt;Since I created my portal web app in VS2008 with AJAX enabled, I thought there is some incompatibility between Page.ClientScript.RegisterStartupScript and AJAX. After searching online, I found a lot of posts about how to use ScriptManager.RegisterStartupScript to replace Page.ClientScript.RegisterStartupScript to make the registered javascript run. But this solution did not resolve my problem - the javascript still did not work.&lt;br /&gt;&lt;br /&gt;Then I found below code snippet which I think I can use to test whether my page is using AsyncPostBack or syncPostBack.&lt;br /&gt;&lt;br /&gt;if (ScriptManager.GetCurrent(base.Page).IsInAsyncPostBack)&lt;br /&gt;    ScriptManager.RegisterStartupScript(this, this.GetType(), “Rating_Script_” + this.ClientID.ToString() , script.ToString(), false);&lt;br /&gt;else&lt;br /&gt;    this.Page.ClientScript.RegisterStartupScript(this.GetType(), this.ClientID, script.ToString());&lt;br /&gt;&lt;br /&gt;To my surprise, running this code snippet shows my page is using sync post back. So I suspect that my problem may have nothing to do with AJAX. &lt;br /&gt;&lt;br /&gt;By looking the code, I found so called "AJAX enabled" web app actually just put [asp:ScriptManager ID="ScriptManager1" runat="server" /] in the master page and that's it. It does not mean you have used any AJAX functionality yet. So my pages are actually just "AJAX enabled" but having no any AJAX functionality (e.g. UpdatePanel).&lt;br /&gt;&lt;br /&gt;I stepped back and thought the problem without AJAX. Eventually, I found the problem is with the javascript itself. After I corrected the javascript, the javascript began to execute.&lt;br /&gt;&lt;br /&gt;Before correcting:&lt;br /&gt;[javascript]function  master_startup() {alert("something")}[/javascript]&lt;br /&gt;&lt;br /&gt;After correcting:&lt;br /&gt;[javascript]alert("something")[/javascript]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2194832515572493636?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2194832515572493636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2194832515572493636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2194832515572493636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2194832515572493636'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/10/why-does-javascript-registered-by.html' title='Why does the javascript registered by Page.ClientScript.RegisterStartupScript not execute?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-1595315645776541197</id><published>2008-09-30T15:00:00.001-07:00</published><updated>2008-09-30T15:08:45.110-07:00</updated><title type='text'>How to quickly get thumbprint of a cert without removing space?</title><content type='html'>In powershell, you can get the thumbprints of certs with this command: &lt;br /&gt;&lt;br /&gt;Get-ChildItem -path cert:\localmachine\my  &lt;br /&gt;&lt;br /&gt;localmachine can be currentuser. &lt;br /&gt;This command also list the subject clearly so that you can use winhttpcertcfg.exe easily.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To see the detail of a cert, use this command:&lt;br /&gt;&lt;br /&gt;Get-ChildItem -path cert:\currentuser\my\EEBAC2D21C1E5B2E22070CC9547CB806EE98B9A8 | format-list -property *&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-1595315645776541197?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/1595315645776541197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=1595315645776541197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1595315645776541197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/1595315645776541197'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-quickly-get-thumbprint-of-cert.html' title='How to quickly get thumbprint of a cert without removing space?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8850143977391688388</id><published>2008-09-30T14:22:00.000-07:00</published><updated>2008-09-30T18:01:16.783-07:00</updated><title type='text'>How to debug cert related error?</title><content type='html'>* After change server cert, make sure it is used in https setting in IIS.&lt;br /&gt;&lt;br /&gt;* Check cert permission using winhttpcertcfg.exe or UI in mmc. For example, my portal's app pool uses Network Service account. To setup SSL channel with the web service server, I need to give "Network Service" account permission to both the server authentication cert and the client authentication cert on the portal server. It is easy for me to forget granting permission after updating a cert.&lt;br /&gt;&lt;br /&gt;* Carefully check whether all certs on the chain exist. Note: I came across the situation where the cert status shows normal but actually one middle cert does not exist. Furthermore, I got server authentication cert and client auth cert from the same site so they have the same chain. When one middle cert does not exist, the server auth cert works fine but the client auth cert does not. So anything can happen.&lt;br /&gt;&lt;br /&gt;* Whether the correct thumbprint is used in WCF's web.config.&lt;br /&gt;&lt;br /&gt;* If any built-in accounts (e.g. networkservice, localsystem) are used, make sure the required cert is installed in LocalMachine and the web.config is searching cert in LocalMachine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8850143977391688388?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8850143977391688388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8850143977391688388' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8850143977391688388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8850143977391688388'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-debug-cert-related-error.html' title='How to debug cert related error?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3341038334980369175</id><published>2008-09-30T11:23:00.000-07:00</published><updated>2008-09-30T18:03:38.063-07:00</updated><title type='text'>How to configure certs for my portal which uses WCF services?</title><content type='html'>The portal server need:&lt;br /&gt;&lt;br /&gt;1. client authentication cert: needed for the portal to resolve the web reference of WCF service, to send request to the web service server, to setup SSL channel.&lt;br /&gt;&lt;br /&gt;2. server authentication cert: needed for the portal to setup SSL channel (encryption) with the web service server.&lt;br /&gt;&lt;br /&gt;Note, server authentication cert is not used for client authentication. In other words, in the web service's web.config, &lt;portalCertSettings&gt; section should use portal server's client authentication cert. In the portal's web.config, &lt;serviceModel&gt;&lt;behaviors&gt;&lt;clientCertificate&gt; section should also use portal server's client authentication cert.&lt;br /&gt;&lt;br /&gt;Note: both client auth cert and server auth cert are required for SSL channel setup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3341038334980369175?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3341038334980369175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3341038334980369175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3341038334980369175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3341038334980369175'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-configure-certs-for-my-portal.html' title='How to configure certs for my portal which uses WCF services?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3631138167500237133</id><published>2008-09-30T11:14:00.000-07:00</published><updated>2008-09-30T11:17:06.428-07:00</updated><title type='text'>How to disable SSL so that I can use svcutil to generate proxy for a WCF service?</title><content type='html'>Two steps:&lt;br /&gt;1. Disable SSL for this web service in IIS.&lt;br /&gt;2. Set clientCredentialType="None" in web.config.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3631138167500237133?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3631138167500237133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3631138167500237133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3631138167500237133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3631138167500237133'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-disable-ssl-so-that-i-can-use.html' title='How to disable SSL so that I can use svcutil to generate proxy for a WCF service?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6891668688766991042</id><published>2008-09-30T10:23:00.001-07:00</published><updated>2009-02-26T17:52:52.081-08:00</updated><title type='text'>Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindBySubjectName'</title><content type='html'>I tried to hook up my portal with a WCF service but got error: Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation CurrentUser, FindType 'FindBySubjectName', FindValue.&lt;br /&gt;&lt;br /&gt;The app pool of this portal uses NetworkService account. The cert is there in CurrentUser store. Why portal server cannot find this cert?&lt;br /&gt;&lt;br /&gt;It is because NetworkService will not search cert in CurrentUser store. Current User is only my logon account. Since the portal can run without a user logon or with multple users logon, NetworkService may not know which "CurrentUser" account to search the cert.&lt;br /&gt;&lt;br /&gt;Two solutions: &lt;br /&gt;&lt;br /&gt;(1) Use a cert in LocalMachine then NetworkService is able to find it.&lt;br /&gt;&lt;br /&gt;(2) Using my own logon account instead of the built-in accounts for the app pool also resolved the problem.&lt;br /&gt;&lt;br /&gt;Possible solution:&lt;br /&gt; You may use NetworkService account but create a CurrentUser cert store for NetworkService. To do this, in MMC, create a cert store for WWW service. Then NetworkService may consider this store as its "CurrentUser" store and seach certs in it. I have not tried this.&lt;br /&gt;&lt;br /&gt;On 2/26/2009, I encountered the same issue. I did not find anything wrong by doing all verification. The cert is not expired, the permission is correct, cert chain is normal, etc. Finally, I had to delete and reinstall the cert. Then it worked. This means the cert store can cheat somehow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6891668688766991042?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6891668688766991042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6891668688766991042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6891668688766991042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6891668688766991042'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/cannot-find-x509-certificate-using.html' title='Cannot find the X.509 certificate using the following search criteria: StoreName &apos;My&apos;, StoreLocation &apos;LocalMachine&apos;, FindType &apos;FindBySubjectName&apos;'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4319821690154284636</id><published>2008-09-30T09:48:00.000-07:00</published><updated>2008-09-30T10:04:58.255-07:00</updated><title type='text'>How to check the permission of a certificate?</title><content type='html'>When I hook up my portal with the WCF service, I got "Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'CurrentUser', FindType 'FindByThumbprint', FindValue 'b55d97f9f04d6115d138416b65f9b4100884339f'. "&lt;br /&gt;&lt;br /&gt;I suspect maybe I have not grant the permission of the client certificate to the right account(s).&lt;br /&gt;&lt;br /&gt;To check which accounts have been granted access to a cert, use:&lt;br /&gt; winhttpcertcfg.exe -l -c Current_User\my -s "Issued to"&lt;br /&gt;&lt;br /&gt;I used below command to grant permission to iis related accounts, use:&lt;br /&gt; winhttpcertcfg.exe -g -c Current_User\my -s "Issued to" -a "ASPNET"&lt;br /&gt; winhttpcertcfg.exe -g -c Current_User\my -s "Issued to" -a "IIS_WPG"&lt;br /&gt;&lt;br /&gt;A lesson is "Issued to" (which is subject actually) will find the first cert matching(or including) the searching keyword. If you have two certs sharing the same "Issued to", then you have no way to use winhttpcertcfg to check the permission of the second cert. &lt;br /&gt;So remember when you apply cert, pay attention to giving a good subject.&lt;br /&gt;&lt;br /&gt;Granting these permissions did not resolve the issue described at the beginning of this article. I need to investigate further.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4319821690154284636?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4319821690154284636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4319821690154284636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4319821690154284636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4319821690154284636'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-check-permission-of-certificate.html' title='How to check the permission of a certificate?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4594672842548778652</id><published>2008-09-29T12:53:00.000-07:00</published><updated>2008-09-29T12:56:42.207-07:00</updated><title type='text'>Why context.User.Identity.Name is null or empty?</title><content type='html'>Problem:&lt;br /&gt;I set my portal to use window auth but context.User.Identity.Name is always null or empty.  I checked the iis log and found my alias has been corrected used. &lt;br /&gt;&lt;br /&gt;Solution: add below section resolved the problem.&lt;br /&gt;    &lt;authorization&gt;&lt;br /&gt;      &lt;deny users="?" /&gt;&lt;br /&gt;    &lt;/authorization&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4594672842548778652?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4594672842548778652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4594672842548778652' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4594672842548778652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4594672842548778652'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/why-contextuseridentityname-is-null-or.html' title='Why context.User.Identity.Name is null or empty?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-3757925013003092626</id><published>2008-09-27T22:15:00.000-07:00</published><updated>2008-09-27T22:27:43.087-07:00</updated><title type='text'>How to use DataTable and DataView</title><content type='html'>DataView cannot exist without a DataTable (or a Linq query).&lt;br /&gt;&lt;br /&gt;Here is how to create a DataTable programmatically:&lt;br /&gt;1. Define table schema by adding columns;&lt;br /&gt;&lt;br /&gt;2. Adding row. To add rows to a DataTable, you must first use the NewRow method to return a new DataRow object. The NewRow method returns a row with the schema of the DataTable&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-3757925013003092626?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/3757925013003092626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=3757925013003092626' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3757925013003092626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/3757925013003092626'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-use-datatable-and-dataview.html' title='How to use DataTable and DataView'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6818740820506127723</id><published>2008-09-27T22:08:00.000-07:00</published><updated>2008-09-27T22:10:46.254-07:00</updated><title type='text'>Why I got NullReferenceException when using DataView.AddNew()?</title><content type='html'>Code:&lt;br /&gt; DataView dv = new DataView();&lt;br /&gt; DataRowView drv = dv.AddNew(); // throw NullReferenceException&lt;br /&gt;&lt;br /&gt;Reason:&lt;br /&gt; If you create a DataView using the constructor that does not take any arguments, you will not be able to use the DataView until you have set the Table property.&lt;br /&gt;http://msdn.microsoft.com/en-us/library/hy5b8exc(VS.71).aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6818740820506127723?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6818740820506127723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6818740820506127723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6818740820506127723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6818740820506127723'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/why-i-got-nullreferenceexception-when.html' title='Why I got NullReferenceException when using DataView.AddNew()?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-7653536990529964606</id><published>2008-09-26T21:40:00.000-07:00</published><updated>2008-09-26T22:02:20.498-07:00</updated><title type='text'>What is the difference between RegisterClientScriptBlock and RegisterStartupScript?</title><content type='html'>The RegisterClientScriptBlock method inserts the client-side script immediately below the opening tag of the Page object’s [form runat=”server”] element. The code cannot access any of the form’s elements because, at that time, the elements haven’t been instantiated yet. This explains why hdnView variable had a null value in my case. The RegisterStartupScript method inserts the specified client-side script just before the closing tag of the Page object’s [form runat=”server”] element. The code can access any of the form’s elements because, at that time, the elements have been instantiated. The choice of which method to use really depends on the “order” in which you want your script to be run by the browser when rendering the page.&lt;br /&gt;&lt;br /&gt;(http://treasure4developer.wordpress.com/2008/02/05/difference-between-registerclientscriptblock-and-registerstartupscript/)&lt;br /&gt;&lt;br /&gt;RegisterClientScriptBlock is meant for functions that should&lt;br /&gt;be "available" to the page. For this they are rendered at the start&lt;br /&gt;of the HTML file.&lt;br /&gt;&lt;br /&gt;RegisterStartupScript is meant for commands that should execute on&lt;br /&gt;page load (at the client), so tha page needs to be available for the&lt;br /&gt;script. This script is rendered at the end of the HTML file.&lt;br /&gt;&lt;br /&gt;(http://bytes.com/forum/thread278475.html)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-7653536990529964606?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/7653536990529964606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=7653536990529964606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7653536990529964606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/7653536990529964606'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/what-is-difference-between.html' title='What is the difference between RegisterClientScriptBlock and RegisterStartupScript?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4044914842470268809</id><published>2008-09-26T21:09:00.000-07:00</published><updated>2008-09-26T21:10:58.024-07:00</updated><title type='text'>What is the order of content page_load and master page_load?</title><content type='html'>This is the sequence of events that get fired when a content page is&lt;br /&gt;merged with a master:&lt;br /&gt;&lt;br /&gt;Master page controls Init event&lt;br /&gt;Content controls Init event&lt;br /&gt;&lt;br /&gt;Master page Init event&lt;br /&gt;Content page Init event&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Content page Load event&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Master page Load event&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Content page PreRender event&lt;br /&gt;Master page PreRender event&lt;br /&gt;&lt;br /&gt;Master page controls PreRender event&lt;br /&gt;Content controls PreRender event&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;From http://www.velocityreviews.com/forums/t123348-master-pages-pageload-is-backwards.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4044914842470268809?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4044914842470268809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4044914842470268809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4044914842470268809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4044914842470268809'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/what-is-order-of-content-pageload-and.html' title='What is the order of content page_load and master page_load?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8336700066546551327</id><published>2008-09-25T14:00:00.000-07:00</published><updated>2008-09-25T14:16:43.582-07:00</updated><title type='text'>Why my controls are displayed but disabled?</title><content type='html'>This took me a lot of time to figure out and is a big lesson for me.&lt;br /&gt;&lt;br /&gt;The reason is I set z-index=-1 for the div containing these controls.&lt;br /&gt;&lt;br /&gt;I think any layer with z-index&lt;0 is not editable.&lt;br /&gt;&lt;br /&gt;Setting z-index=0 or removing z-index setting (0 by default) resolved the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8336700066546551327?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8336700066546551327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8336700066546551327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8336700066546551327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8336700066546551327'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/why-my-controls-are-displayed-but.html' title='Why my controls are displayed but disabled?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6768871911883261489</id><published>2008-09-24T15:39:00.000-07:00</published><updated>2008-09-25T14:00:07.330-07:00</updated><title type='text'>How to copy all files and sub-folders from one folder to another?</title><content type='html'>xcopy /E/I/V bin\_PublishedWebsites\PartnerPortal %sitedir%&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6768871911883261489?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6768871911883261489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6768871911883261489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6768871911883261489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6768871911883261489'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-copy-all-files-and-sub-folders.html' title='How to copy all files and sub-folders from one folder to another?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-6029893348077007196</id><published>2008-09-24T15:35:00.001-07:00</published><updated>2008-09-24T15:36:03.469-07:00</updated><title type='text'>How to delete all files and sub-folders in a folder?</title><content type='html'>rd /s/q c:\temp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-6029893348077007196?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/6029893348077007196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=6029893348077007196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6029893348077007196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/6029893348077007196'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-delete-all-files-and-sub-folders.html' title='How to delete all files and sub-folders in a folder?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-82403972614742585</id><published>2008-09-24T10:56:00.000-07:00</published><updated>2008-09-24T11:04:14.557-07:00</updated><title type='text'>What is the reason of certificate error on IE address bar?</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_oDMtqlCFidA/SNqBCmSY8aI/AAAAAAAABiI/KO78MYQVdJE/s1600-h/Untitled.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_oDMtqlCFidA/SNqBCmSY8aI/AAAAAAAABiI/KO78MYQVdJE/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5249650197291135394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reason: there is problem with server cert.&lt;br /&gt;&lt;br /&gt;For example, if server SSL cert is applied for mymachine.mydomain.com and you try to access the site using http://mymachine/myservice.svc, then the cert "issued to" does not match the host name. In this case, using http://mymachine.mydomain.com/myservice.svc will resolve the cert issue.&lt;br /&gt;&lt;br /&gt;Another possiblity is that the root of the server cert is not installed in the client machine. Check your root and intermediate stores to see whether you need to install them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-82403972614742585?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/82403972614742585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=82403972614742585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/82403972614742585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/82403972614742585'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/what-is-reason-of-certificate-error-on.html' title='What is the reason of certificate error on IE address bar?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_oDMtqlCFidA/SNqBCmSY8aI/AAAAAAAABiI/KO78MYQVdJE/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8835924249578193099</id><published>2008-09-24T09:01:00.000-07:00</published><updated>2008-09-24T09:03:57.478-07:00</updated><title type='text'>Where are bcz defined in CoreXT?</title><content type='html'>C:\enlistments\maa2\tools\build\aliases\aliases.pub&lt;br /&gt;&lt;br /&gt;This file also defines below variables:&lt;br /&gt;&lt;br /&gt;..              cd .. &amp;&amp; cd $*&lt;br /&gt;...             cd ..\.. &amp;&amp; cd $*&lt;br /&gt;....            cd ..\..\.. &amp;&amp; cd $*&lt;br /&gt;&lt;br /&gt;This file defines team-wide aliases.&lt;br /&gt;&lt;br /&gt;developer\build\aliases.pub defines personal aliases.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8835924249578193099?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8835924249578193099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8835924249578193099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8835924249578193099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8835924249578193099'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/where-are-bcz-defined-in-corext.html' title='Where are bcz defined in CoreXT?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8975202575957714554</id><published>2008-09-24T00:51:00.000-07:00</published><updated>2008-09-24T00:52:06.828-07:00</updated><title type='text'>IIS KBs</title><content type='html'>IIS KBs - October 2007 (More IIS 7 Status Code)&lt;br /&gt;942067 Error message when you try to run a Web application that is hosted on a server that is running IIS 7.0: "HTTP Error 403.7 - Forbidden"&lt;br /&gt;942057 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 502.2 – Bad Gateway"&lt;br /&gt;942032 Error message when users visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.3 - Not Found"&lt;br /&gt;942036 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 403.2 - Forbidden"&lt;br /&gt;942053 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 404.5 – URL Sequence Denied"&lt;br /&gt;942065 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 403.1 - Forbidden"&lt;br /&gt;942061 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 403.16 - Forbidden"&lt;br /&gt;942077 Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.10 - REQUEST_HEADER_TOO_LONG"&lt;br /&gt;942076 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 404.11 – URL_DOUBLE_ESCAPED"&lt;br /&gt;942038 Error message when you try to visit a Web page that is hosted on Internet Information Services 7.0: "HTTP Error 403.17 (Forbidden) - The client certificate has expired"&lt;br /&gt;942040 Error message when you try to visit a Web page that is hosted on IIS 7.0: "HTTP Error 404.2 – Not Found"&lt;br /&gt;942050 Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 406 - Not Acceptable"&lt;br /&gt;942055 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.19 – Internal Server Error"&lt;br /&gt;942059 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 502.1 – Bad Gateway"&lt;br /&gt;942063 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 403.13 - Forbidden"&lt;br /&gt;942074 Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.13 - CONTENT_LENGTH_TOO_LARGE"&lt;br /&gt;942079 Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 401.4 – Authorization failed by filter"&lt;br /&gt;942078 Error message when you visit a Web site that is hosted on a computer that is running IIS 7.0: "HTTP Error 401.5 – Authorization failed by ISAPI/CGI application"&lt;br /&gt;942051 Error message when a user visits a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 405.0 - Method not allowed"&lt;br /&gt;942071 Error message when you visit a Web site that is hosted on a server that is running IIS 7.0: "HTTP Error 404.15 – Not Found"&lt;br /&gt;942034 You are not prompted to select a client certificate from the local certificate store in IIS 7.0&lt;br /&gt;943240 FIX: Error message when IIS 6.0 receives the entity body for an HTTP POST request while an application pool is recycled: "The underlying connection was closed"&lt;br /&gt;&lt;br /&gt;From http://msmvps.com/blogs/bernard/archive/2007/11/14/iis-kbs-october-2007-more-iis-7-status-code.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8975202575957714554?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8975202575957714554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8975202575957714554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8975202575957714554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8975202575957714554'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/iis-kbs.html' title='IIS KBs'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4739174319966500670</id><published>2008-09-24T00:12:00.000-07:00</published><updated>2008-09-24T00:16:00.923-07:00</updated><title type='text'>NotSupportedException: The SSL settings for the service 'None' does not match those of the IIS 'Ssl, SslNegotiateCert, SslRequireCert, Ssl128'.</title><content type='html'>Problem:&lt;br /&gt;I deployed a WCF service in IIS7. This WCF requires client cert. When I browsed the SVC using IE, I got error page: NotSupportedException: The SSL settings for the service 'None' does not match those of the IIS 'Ssl, SslNegotiateCert, SslRequireCert, Ssl128'.&lt;br /&gt;&lt;br /&gt;Reason:&lt;br /&gt;I should select "Require client certificate" in IIS7 to match the WCF configuration. Ignore or accept client certificate does not work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4739174319966500670?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4739174319966500670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4739174319966500670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4739174319966500670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4739174319966500670'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/notsupportedexception-ssl-settings-for.html' title='NotSupportedException: The SSL settings for the service &apos;None&apos; does not match those of the IIS &apos;Ssl, SslNegotiateCert, SslRequireCert, Ssl128&apos;.'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-2733825920160273098</id><published>2008-09-24T00:00:00.001-07:00</published><updated>2008-09-24T00:02:18.904-07:00</updated><title type='text'>WCF service on IIS7, Window 2k8 server: HTTP Error 404.3 - Not Found</title><content type='html'>How to debug:&lt;br /&gt;1. see the error messages: "It is possible that a handler mapping is missing", "The feature you are trying to use may not be installed".&lt;br /&gt;&lt;br /&gt;2. check handler mappings in IIS7 to see whether there is svc type. I did not find svc.&lt;br /&gt;&lt;br /&gt;3. start optionalfeatures.exe to see whether WCF activation is enabled or not.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_oDMtqlCFidA/SNnlwAqNuWI/AAAAAAAABiA/R4CyIwUeADQ/s1600-h/Untitled.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_oDMtqlCFidA/SNnlwAqNuWI/AAAAAAAABiA/R4CyIwUeADQ/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5249479453650565474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. enabled WCF activation, then you can see svc appears in handler mappings.&lt;br /&gt;&lt;br /&gt;5. 404.3 error goes away.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-2733825920160273098?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/2733825920160273098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=2733825920160273098' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2733825920160273098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/2733825920160273098'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/wcf-service-on-iis7-window-2k8-server.html' title='WCF service on IIS7, Window 2k8 server: HTTP Error 404.3 - Not Found'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_oDMtqlCFidA/SNnlwAqNuWI/AAAAAAAABiA/R4CyIwUeADQ/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-8164428556010346574</id><published>2008-09-22T22:12:00.000-07:00</published><updated>2008-09-22T22:13:09.011-07:00</updated><title type='text'>What is the default underlying data type of Enum in C#?</title><content type='html'>int&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-8164428556010346574?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/8164428556010346574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=8164428556010346574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8164428556010346574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/8164428556010346574'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/what-is-default-underlying-data-type-of.html' title='What is the default underlying data type of Enum in C#?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6718812015906775280.post-4497081585501515777</id><published>2008-09-22T11:06:00.001-07:00</published><updated>2008-09-22T11:06:48.955-07:00</updated><title type='text'>How to use javascript to debug?</title><content type='html'>window.open (\"http://www.javascript-coder.com\",\"mywindow\")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6718812015906775280-4497081585501515777?l=itmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itmall.blogspot.com/feeds/4497081585501515777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6718812015906775280&amp;postID=4497081585501515777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4497081585501515777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6718812015906775280/posts/default/4497081585501515777'/><link rel='alternate' type='text/html' href='http://itmall.blogspot.com/2008/09/how-to-use-javascript-to-debug.html' title='How to use javascript to debug?'/><author><name>Leon</name><uri>http://www.blogger.com/profile/03288692843804175857</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
