Posts

Showing posts from October, 2012

IE9 rendering issues table offset at random columns

Today while developing an ASP.NET application using AJAX to display the Search Result, I encountered a weird issue. My aspx p age contain a Repeater control with ItemTemplate to display free flow data in HTML Table .  Issue What seems to happen though, is that one or two rows in the loaded table, will have its data offset at a random column.   You can find the details of issue in following articles: http://stackoverflow.com/questions/7267014/ie9-table-has-random-rows-which-are-offset-at-random-columns http://social.msdn.microsoft.com/Forums/en-AU/iewebdevelopment/thread/28d78780-c95c-4c35-9695-237ebb912d90 Resolution The problem was with extra white space between td nodes causing IE9 render a dynamically generated table incorrectly, in my case to misalign a cell within a table.  Same code rendered perfectly fine in IE6, IE7, IE8, FireFox 4, Chrome 10, but not IE9.  Try one of the following Adding to the head element [meta http-equiv="X-UA-Comp

How to get the IUSR and IWAM user account passwords

Open up command prompt and navigate to C:\Inetpub\AdminScripts. Then type: cscript.exe adsutil.vbs get w3svc/anonymoususerpass If everything goes well, you will see the following with the password in ***** format: C:\Inetpub\AdminScripts>cscript.exe adsutil.vbs get w3svc/anonymoususerpas Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. anonymoususerpass : (STRING) "**********" To display the IUSR and IWAM account passwords in cleartext, you need to open C:\Inetpub\AdminScripts and edit Adsutil.vbs in Notepad. Find this line: If (Attribute = True) Then IsSecureProperty = True Else IsSecureProperty = False End If and change it to: If (Attribute = True) Then IsSecureProperty = False Else IsSecureProperty = False End If Now run the script commands above again and you will see the passwords in clear text. Of course, please make