<?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-16507645</id><updated>2011-12-11T22:34:23.229-06:00</updated><category term='ruby'/><category term='SubSonic'/><category term='IIS 7'/><category term='notepad2'/><category term='Regular Expressions'/><category term='beyond compare'/><category term='validators'/><category term='gridview'/><category term='Friends'/><category term='Windows Server 2008'/><category term='youtube'/><category term='msbuild'/><category term='Code Examples'/><category term='MDTC'/><category term='lyrics'/><category term='videos with captions'/><category term='windows 7'/><category term='Testing'/><category term='dell'/><category term='Flash'/><category term='Games'/><category term='TubeCaption'/><category term='rack'/><category term='rails'/><category term='Software'/><category term='flash effects'/><category term='greetings'/><category term='holiday cards'/><category term='laptop'/><category term='Kentico'/><category term='prototype.js'/><category term='Technical'/><category term='Verizon tech support.'/><category term='reviews'/><category term='SQL Server 2008'/><category term='m17x'/><category term='500 error'/><category term='vs.net 2008 SP1'/><category term='Javascript'/><category term='activescaffold'/><category term='montez de durango'/><category term='IIS'/><category term='gems'/><category term='export to excel'/><category term='flex'/><category term='Google'/><category term='MS Enterprise Library'/><category term='team foundation server'/><category term='visual studio'/><category term='C#'/><category term='internet problems'/><category term='jquery'/><category term='dbproj'/><category term='relocation'/><category term='icstars'/><category term='Bad Code'/><category term='drivers'/><category term='Linq'/><category term='Log4NET'/><category term='Load Testing'/><category term='asp.net'/><category term='greeting cards'/><category term='Puerto Vallarta Real Estate'/><category term='WebLoad'/><category term='targetas postales'/><category term='closed-captions'/><category term='.NET'/><category term='svn'/><category term='Utilities'/><title type='text'>Javier Perez's Blog</title><subtitle type='html'>me = new Developer();&lt;br&gt;
me.blogExperience();</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>96</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16507645.post-8264908269046700614</id><published>2010-12-15T12:15:00.003-06:00</published><updated>2010-12-15T12:19:03.718-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='prototype.js'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>jQuery hasClassName prototypejs function: How to check if element has class with JQuery</title><content type='html'>To determine if an element has a class register with jQuery you can use the function .hasClass() which is shorter for .hasClassName() in prototypejs&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;&lt;br /&gt;if($('#target').hasClass('foo')){&lt;br /&gt;  // Do something&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// With Prototype js you would use...&lt;br /&gt;&lt;br /&gt;if($('target').hasClassName('foo')){&lt;br /&gt;  // Do something&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8264908269046700614?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8264908269046700614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8264908269046700614'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/12/jquery-hasclassname-prototypejs.html' title='jQuery hasClassName prototypejs function: How to check if element has class with JQuery'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2942110419889952748</id><published>2010-12-15T11:52:00.003-06:00</published><updated>2010-12-15T12:01:41.759-06:00</updated><title type='text'>jQuery check element is visible : How to check if div is visible with jQuery</title><content type='html'>Unlike Prototypejs where there is a dedicate function .visible() that return true/false when element style is 'none', jQuery has this function .is() to check the value of given properties.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;This is how you can determine if an element is visible.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;&amp;lt;div id=&amp;quot;target&amp;quot; style=&amp;quot;display:none&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;if( $('#target').is(':visible') ) {&lt;br /&gt;     // this element is visible&lt;br /&gt;}&lt;br /&gt;// Check if its hidden&lt;br /&gt;if( $('#target').is(':hidden') ) {&lt;br /&gt;     // this element is hidden&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2942110419889952748?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2942110419889952748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2942110419889952748'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/12/jquery-check-element-is-visible-how-to.html' title='jQuery check element is visible : How to check if div is visible with jQuery'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7429033711601645118</id><published>2010-12-14T12:21:00.001-06:00</published><updated>2010-12-15T12:25:40.932-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='prototype.js'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>jQuery add class to element: How to add a class to a div</title><content type='html'>Adding class or removing a css class from an element with jQuery or Prototypejs is very simple.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;&lt;br /&gt;// With JQuery&lt;br /&gt;&lt;br /&gt;$('#target').addClass('bar');&lt;br /&gt;&lt;br /&gt;// With Prototypejs...&lt;br /&gt;&lt;br /&gt;$('target').addClassName('bar');&lt;br /&gt;&lt;br /&gt;// Removing a class with Jquery&lt;br /&gt;&lt;br /&gt;$('#target').removeClass('bar');&lt;br /&gt;&lt;br /&gt;// With Prototypejs...&lt;br /&gt;$('target').removeClassName('bar');&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Once again, jQuery has shorter function names which is awesome!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7429033711601645118?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7429033711601645118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7429033711601645118'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/12/jquery-add-class-to-element-how-to-add.html' title='jQuery add class to element: How to add a class to a div'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6416168895086961466</id><published>2010-10-13T12:15:00.008-05:00</published><updated>2010-10-13T12:32:23.304-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Linq'/><title type='text'>Linq Lamba Expressions Performance Problems SingleOrDefault Super Slow</title><content type='html'>A few months ago a release my website www.puertovallarta-bienesraices.com for real estate properties in Puerto Vallarta, Jalisco Mexico. In the last few nights  I decided to start optimizing the site and noticed huge performance problems when using SubSonic 3 with Linq. I used to use SubSonic 2 on a high traffic site without any problems. However, with Linq I have been having High CPU Peaks and Memory consumption. I throw some webtests/Load tests with Visual Studio 2010 and started noticed the performance issues especially with Linq. No problems with Subsonic since its just a layer to Linq to Sql.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In particular I was surprise with the function .SingleOrDefault() on a single call for a Property it was taking 0.2 seconds on a database with ~4,000 records. The database has already been optimized.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://s313.photobucket.com/albums/ll394/perezjavier/blogger/?action=view&amp;amp;current=lambaexpressions-Copy.png" target="_blank"&gt;&lt;img src="http://i313.photobucket.com/albums/ll394/perezjavier/blogger/lambaexpressions-Copy.png" border="0" alt="Photobucket" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I did some reading and found an article from JD in regards to this issue&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.jdconley.com/blog/archive/2007/11/28/linq-to-sql-surprise-performance-hit.aspx"&gt;http://www.jdconley.com/blog/archive/2007/11/28/linq-to-sql-surprise-performance-hit.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;I decided to implement on the Property class the static for delegates:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;        public static Func&lt;/span&gt;&lt;propertyrentaldb,&gt;&lt;span class="Apple-style-span"&gt;&gt; _propertyGetQuery =&lt;/span&gt;&lt;/propertyrentaldb,&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;           SubSonic.Linq.Structure.QueryCompiler.Compile((PropertyRentalDB db, int id) =&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;                                  from p in db.Properties&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;                                  where p.PropertyId == id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;                                  select p);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;        public static Property GetById(int propertyId)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;        {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;            var db = new PropertyRentalDB();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;            Property p = _propertyGetQuery(db, propertyId).SingleOrDefault();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;            return p;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;        }&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Compile and run Ants performance profiler and the load tests and the performance results here HUGE!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://s313.photobucket.com/albums/ll394/perezjavier/blogger/?action=view&amp;current=performancegain-Copy.png" target="_blank"&gt;&lt;img src="http://i313.photobucket.com/albums/ll394/perezjavier/blogger/performancegain-Copy.png" border="0" alt="Photobucket"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Total hits 71. Average from 0.20 to  0.011.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now I can go and optimized more of the code where I use similar instances.&lt;/div&gt;&lt;div&gt;However, I think on my next project I will just go back and use SubSonic 2 and forget about Linq.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6416168895086961466?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6416168895086961466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6416168895086961466'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/10/linq-lamba-expressions-performance.html' title='Linq Lamba Expressions Performance Problems SingleOrDefault Super Slow'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i313.photobucket.com/albums/ll394/perezjavier/blogger/th_lambaexpressions-Copy.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5997926220292483851</id><published>2010-08-25T16:31:00.005-05:00</published><updated>2010-08-25T16:50:27.131-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><title type='text'>SDC Tasks Failed to Update IIS website on Windows Server 2008  R2 IIS7</title><content type='html'>I just moved a website to IIS 7 on Windows Server 2008 R2 and the automate deployment builds failed to update IIS to set the website in maintenance mode (app offline) by simply changing the website path using the SDCTasks.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; Error:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;A task error has occured. Message           = Unknown error (0x80005000) MachineName       = \\LOCALQA01 HostName          = &lt;null&gt; Description       = acme.com Path              = D:\websites\app_offline\acme Identifier        = &lt;string.empty&gt; AuthFlags         = &lt;string.empty&gt; AppPoolId         = &lt;string.empty&gt; AnonymousUsername = &lt;string.empty&gt; AnonymousPassword = &lt;string.empty&gt; HttpExpires       = &lt;string.empty&gt; DirBrowseFlags    = &lt;string.empty&gt; DefaultDocs       = &lt;null&gt;     at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)    at System.DirectoryServices.DirectoryEntry.Bind()    at System.DirectoryServices.DirectoryEntry.get_IsContainer()    at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)    at Microsoft.Sdc.Tasks.Configuration.Web.WebSite.GetIdentifierFromDescription(String machineName, String description) in c:\projects\codeplex\sdctasks\Solutions\Main\Tasks\Configuration\Web\WebSite.cs:line 264    at Microsoft.Sdc.Tasks.Configuration.Web.WebSite.Exists(String machineName, String description) in c:\projects\codeplex\sdctasks\Solutions\Main\Tasks\Configuration\Web\WebSite.cs:line 241    at Microsoft.Sdc.Tasks.Web.WebSite.Modify.InternalExecute() in c:\projects\codeplex\sdctasks\Solutions\Main\Tasks\Web\WebSite\Modify.cs:line 225    at Microsoft.Sdc.Tasks.TaskBase.Execute() in c:\projects\codeplex\sdctasks\Solutions\Main\Tasks\TaskBase.cs:line 67&lt;/null&gt;&lt;/string.empty&gt;&lt;/string.empty&gt;&lt;/string.empty&gt;&lt;/string.empty&gt;&lt;/string.empty&gt;&lt;/string.empty&gt;&lt;/string.empty&gt;&lt;/null&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I did just digging around and finally go to the real issue. Looks like &lt;a href="http://msdn.microsoft.com/en-us/library/ms525791(VS.90).aspx"&gt;DirectoryServices &lt;/a&gt;which is what SDC tasks uses to update the IIS was the caused of this problem.&lt;/div&gt;&lt;div&gt;I created a simple consolde app to try updating the website with DirectoryServices:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;    try&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;    string MachineName = "LOCALQA01";&lt;br /&gt;    var Identifier = GetIdentifierFromDescription("LOCALQA01", "Acme.com").ToString();&lt;br /&gt;    string path = @"D:\websites\app_offline\Acme";&lt;br /&gt;&lt;br /&gt;    // load the site&lt;br /&gt;    DirectoryEntry site = new DirectoryEntry("IIS://" + MachineName + "/w3svc/" + Identifier + "/ROOT");&lt;br /&gt;&lt;br /&gt;    // make the changes we need to make&lt;br /&gt;    if (!string.IsNullOrEmpty(System.IO.Path.GetFullPath(path)))&lt;br /&gt;    {&lt;br /&gt;     //   Log.LogMessage(string.Format("Setting Path: {0}", path));&lt;br /&gt;        site.Properties["Path"][0] = path;&lt;br /&gt;    }&lt;br /&gt;    site.CommitChanges();&lt;br /&gt;&lt;br /&gt;    Console.WriteLine(Identifier);&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;    catch(Exception ex){&lt;br /&gt;        Console.WriteLine(ex.ToString());&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    Console.ReadLine();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static int GetIdentifierFromDescription(string machineName, string description)&lt;br /&gt;{&lt;br /&gt;    // load the W3SVC and check all the children for a property that matches&lt;br /&gt;&lt;br /&gt;    DirectoryEntry de = new DirectoryEntry("IIS://" + machineName + "/W3SVC");&lt;br /&gt;&lt;br /&gt;    foreach (DirectoryEntry o in de.Children)&lt;br /&gt;    {&lt;br /&gt;        if (o.SchemaClassName == "IIsWebServer")&lt;br /&gt;        {&lt;br /&gt;            if ((string)o.Properties["ServerComment"][0] == description)&lt;br /&gt;            {&lt;br /&gt;                return Convert.ToInt32(o.Name);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Bu when I run this from the build machine I was then getting this error:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;p&gt;&lt;span class="Apple-style-span"  style="color:#FFFFFF;"&gt;[System.Runtime.InteropServices.COMException] {"Unknown error (0x80005000)"}&lt;br /&gt;System.Runtime.InteropServices.COMException&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="Apple-style-span"  style="color:#FFFFFF;"&gt;Unknown error (0x80005000)&lt;br /&gt;at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)&lt;br /&gt;at System.DirectoryServices.DirectoryEntry.Bind()&lt;br /&gt;at System.DirectoryServices.DirectoryEntry.get_IsContainer()&lt;br /&gt;at System.DirectoryServices.DirectoryEntries.CheckIsContainer()&lt;br /&gt;at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaC&lt;br /&gt;lassName) &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Without going to further details the caused of this error was because I did not had IIS 6 Metabase Compability role service installed for IIS7 on the build machine where I was running the scripts from. You can installed this by going to :&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;Server Manager &gt; Roles&gt; Web Server (IIS) &gt; Add Role Services&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/_BcWINeDe0Ps/THWOyYHiULI/AAAAAAAAF6E/2pysYvb4ACw/s400/IIS+metabase+6.png" style="cursor:pointer; cursor:hand;width: 400px; height: 295px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5509466715276333234" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After  you fix this and still have issues probably the next error will be "Access Denied".&lt;/div&gt;&lt;div&gt;This is because of the UAC in Windows Server 2008 R2 which is annoying if you ask me. You can then make the account service that runs your builds local admin on the server your trying to update. This will take care of the issue. Or you can just disable the UAC and be done with it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5997926220292483851?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5997926220292483851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5997926220292483851'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/08/sdc-tasks-failed-to-update-iis-website.html' title='SDC Tasks Failed to Update IIS website on Windows Server 2008  R2 IIS7'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_BcWINeDe0Ps/THWOyYHiULI/AAAAAAAAF6E/2pysYvb4ACw/s72-c/IIS+metabase+6.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-9178313452484226145</id><published>2010-08-19T11:15:00.004-05:00</published><updated>2010-08-19T11:21:47.311-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>How to disable flash debugger Error Messages in FireFox</title><content type='html'>If you have the flash debugger installed or have Flash or Flex builder you will get annoying error messages from many of the websites that you visit today where developers have errors in their flash applications.&lt;br /&gt;&lt;br /&gt;You can disable this by creating a file mm.cfg under your users settings folder&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows Vista / Windows 7:&lt;/b&gt;&lt;br /&gt;c:\users\&lt;username&gt;\mm.cfg&lt;div&gt;&lt;username&gt;&lt;br /&gt;&lt;/username&gt;&lt;div&gt;&lt;username&gt;&lt;b&gt;Windows XP:&lt;/b&gt;&lt;/username&gt;&lt;div&gt;&lt;username&gt;c:\Documents and Settings\&lt;/username&gt;&lt;/div&gt;&lt;div&gt;&lt;username&gt;&lt;br /&gt;&lt;/username&gt;&lt;/div&gt;&lt;div&gt;&lt;username&gt;&lt;b&gt;OS X:&lt;/b&gt;&lt;/username&gt;&lt;/div&gt;&lt;div&gt;&lt;username&gt;/Library/Application Support/Macromedia&lt;/username&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;username&gt;&lt;br /&gt;Enter this in this file and save it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SuppressDebuggerExceptionDialogs=1&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Restart Firefox and the errors will no longer show.&lt;br /&gt;If you need to display the debugger error messages set the value to:&lt;br /&gt;&lt;br /&gt;SuppressDebuggerExceptionDialogs=0&lt;/username&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-9178313452484226145?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/9178313452484226145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/9178313452484226145'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/08/how-to-disable-flash-debugger-error.html' title='How to disable flash debugger Error Messages in FireFox'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2896127245457535530</id><published>2010-08-11T11:05:00.012-05:00</published><updated>2010-08-11T11:30:13.890-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2008'/><title type='text'>IIS 7 WebResource.axd forbidden Windows Server 2008</title><content type='html'>New site deployment using IIS 7.5 on Windows Server 2008 R2.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;HttpException: Because your server does not support reflection or you  set the attribute 'reflectionAlloweded="false"', You must specify a  non-autogenerated machine key in your web.config to compress  Webresource.axd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;System.Web.HttpException&lt;br /&gt;Mensagem: Because your server does not support reflection or you set the attribute 'reflectionAlloweded="false"', You must specify a non-autogenerated machine key in your web.config to compress Webresource.axd&lt;br /&gt;Source: MbCompression&lt;br /&gt;at Miron.Web.MbCompression.WebResourceCompressionModule.ThrowHttpException(Int32 num, String SRName)&lt;br /&gt;at Miron.Web.MbCompression.WebResourceCompressionModule.GetDataFromQuery(NameValueCollection queryString)&lt;br /&gt;at Miron.Web.MbCompression.WebResourceCompressionModule.OnPreRequestHandlerExecute(Object sender, EventArgs e)&lt;br /&gt;at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&lt;br /&gt;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;This issue is generated via the MbCompression library used to dynamically compress requests for Javascript files including the WebResources in asp.net 2.&lt;br /&gt;My web.config does not have any configuration settings in the web.config for the Mbcompression library. The solution is very simple and was fixed by adding the Machinekey in the web.config in the section.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2896127245457535530?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2896127245457535530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2896127245457535530'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/08/iis-7-webresourceaxd-forbidden-windows.html' title='IIS 7 WebResource.axd forbidden Windows Server 2008'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5696620683323972034</id><published>2010-07-29T15:35:00.004-05:00</published><updated>2010-07-29T15:50:39.305-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2008'/><title type='text'>IIS 7.5 Windows Server 2008 R2: Access Denied Permissions</title><content type='html'>&lt;p class="MsoNormal"&gt;I'll just be short about this error. New to IIS 7.5 Windows Server 2008 R2 and have issues with permissions write access on folders that the application is using?&lt;/p&gt;&lt;p class="MsoNormal"&gt;Write Access to folders will not cut it by simply giving permissions to IUSR or IIS_IUSRS group. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If the application pool is using “&lt;b&gt;ApplicationPoolIdentity&lt;/b&gt;” this means that the application pool has its own user account.&lt;/p&gt;  You need to add the App Pool use to that folder and give it access.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://2.bp.blogspot.com/_BcWINeDe0Ps/TFHpKeK9lcI/AAAAAAAAFQc/3syGtPer6QU/s400/users+list.png" style="cursor:pointer; cursor:hand;width: 304px; height: 400px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5499432986103092674" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://2.bp.blogspot.com/_BcWINeDe0Ps/TFHpRdJx_aI/AAAAAAAAFQk/86KvzseYKA0/s400/find+user.png" style="cursor:pointer; cursor:hand;width: 400px; height: 229px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5499433106088787362" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://4.bp.blogspot.com/_BcWINeDe0Ps/TFHpc_F1lCI/AAAAAAAAFQs/DLyw0hlVt18/s400/write+access.png" style="cursor:pointer; cursor:hand;width: 400px; height: 265px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5499433304177611810" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5696620683323972034?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5696620683323972034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5696620683323972034'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/07/iis-75-windows-server-2008-r2-access.html' title='IIS 7.5 Windows Server 2008 R2: Access Denied Permissions'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BcWINeDe0Ps/TFHpKeK9lcI/AAAAAAAAFQc/3syGtPer6QU/s72-c/users+list.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7609279264998148014</id><published>2010-07-28T23:38:00.003-05:00</published><updated>2010-08-25T17:07:06.393-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Puerto Vallarta Real Estate'/><title type='text'>Puerto Vallarta Apartments is now in English</title><content type='html'>My website &lt;a href="http://www.puertovallarta-bienesraices.com/"&gt;Puerto Vallarta Bienes Raices&lt;/a&gt; is now available for the English speaking visitors to find &lt;a href="http://en.puertovallarta-bienesraices.com/"&gt;Properties for Sale or Rent in Puerto Vallarta&lt;/a&gt;, &lt;a href="http://en.puertovallarta-bienesraices.com/realestate/nayarit/sayulita"&gt;Condos or Homes in Sayulita,&lt;/a&gt; or &lt;a href="http://en.puertovallarta-bienesraices.com/realestate/nayarit/bahia-de-banderas"&gt;find homes, condos, apartments in other near by areas such as Bahia de Banderas, Nayarit&lt;/a&gt;. &lt;div&gt;It took me about total of 2 weeks on part time basis to localize and translate all text and images in English but it all pays at the end. I used tools from ReSharper Jetbrains that allow me to easily extract strings in spanish and move then to resource files to be translated into English. I want to offer a website for native English speakers in the USA and Canada to easily locate vacation rentals for their vacations in Puerto Vallarta or to find their &lt;a href="http://en.puertovallarta-bienesraices.com/homes-for-sale/nayarit/sayulita/search?bed=1%3E&amp;amp;bath=1%3E&amp;amp;pmin=0&amp;amp;pmax=0&amp;amp;currency=1"&gt;retirement home in Sayulita&lt;/a&gt; which a very nice community as well as &lt;a href="http://en.puertovallarta-bienesraices.com/realestate/nayarit/bahia-de-banderas/punta-de-mita"&gt;Punta de Mita with great real estate properties&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Please feel free if you have any comments or suggestions about the this website. I am open to hear from any one.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7609279264998148014?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7609279264998148014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/07/puerto-vallarta-apartments-is-now-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7609279264998148014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7609279264998148014'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/07/puerto-vallarta-apartments-is-now-in.html' title='Puerto Vallarta Apartments is now in English'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-994585514982648840</id><published>2010-07-27T08:17:00.004-05:00</published><updated>2010-07-27T08:41:52.600-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reviews'/><category scheme='http://www.blogger.com/atom/ns#' term='internet problems'/><category scheme='http://www.blogger.com/atom/ns#' term='Verizon tech support.'/><title type='text'>Verizon's Router has issues when you connect 3 or more devices drops Internet Connections</title><content type='html'>&lt;p class="MsoNormal"&gt;Recently I have been working from home for often and got another computer connected in my LAN network. After this change I started noticing internet drops very often. So I contacted Verizon Technical Support (let me say that I hate Verizon’s call centers, you have to enter a hundred keys to get to the right agent). Any ways, tech support did some trouble shooting and made changes to the router etc. Problem still persists. &lt;/p&gt;&lt;p class="MsoNormal"&gt;I called again, they send a technician to troubleshoot it and he just replaced the router and was out of the door in less than 5 minutes. OK it was fine for 2-3 days and then the problem again. &lt;/p&gt;&lt;p class="MsoNormal"&gt;I called tech support again and yes again they send over another technician which he just change my router from Ethernet to Coax cable. It was good for 1 day and then the problem as still going on. The internet was dropping every 5 minutes. It was actually recycling the entire router powering itself on and off. I had three machines connected via Ethernet cable and 2 devices on the wireless network. Normal activities except for one machine which I might be transferring 1-2 Gigs of data, but noticed that the drops were occurring even If I wasn’t at home, as long as the computers where connected the internet was dropping. By this time I was already in the 3&lt;sup&gt;rd&lt;/sup&gt; router. &lt;/p&gt;&lt;p class="MsoNormal"&gt;Technical support sent another technical and he stayed for a while until he visually saw the drops himself. This time he decides to replace the box outside and put in a brand new router (same router of course Verizon only carries one type of router). Any ways I believe it worked at least for 4-5 days and Yes again the same problem. This was a nightmare I could not do my work and it was embarrassing with my clients when I had video conference calls and online meetings since it will drop my internet connecting on random times.&lt;/p&gt;&lt;p class="MsoNormal"&gt; Frustrated,  I called Technical support again and they put their Special Team on the line and said that it might be a problem on their central office so they said they were going to change me to another slot. That probably means to another server. Not sure but it worked for 1 day and still the same problem. Finally they send another technical to my house again and said dude you have 4 computers connected. I am like “So” it’s a router it was four Ethernet ports it’s mean to handle that. And he responded “Normally not a lot of people use all ports, they have 1 or 2 computers connected”. I asked if Verizon had another router perhaps the business account might come with a different router and he said “no, it’s the same router”. So it occurred to me that it’s possible that the router had an issue since they had replaced almost everything from my house to their central office. I decided to connect an ether hub and plugged in all my devices there and only connect the hub to the Verizon router and that did it. Since then connections have only dropped 1 or 2 times, still not a perfect solution but what am I doing to do. They are the only ones that have the speeds that I want.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-994585514982648840?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/994585514982648840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/994585514982648840'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/07/verizons-router-has-issues-when-you.html' title='Verizon&apos;s Router has issues when you connect 3 or more devices drops Internet Connections'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5019244029352797098</id><published>2010-07-06T16:27:00.004-05:00</published><updated>2010-07-06T16:42:07.345-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Debugging Flash Player Actionscript errors. How to get the amf response.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_BcWINeDe0Ps/TDOi7o7m1xI/AAAAAAAAFPA/N3QQ5tMprnI/s1600/flash+player+error.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 190px;" src="http://2.bp.blogspot.com/_BcWINeDe0Ps/TDOi7o7m1xI/AAAAAAAAFPA/N3QQ5tMprnI/s400/flash+player+error.png" alt="" id="BLOGGER_PHOTO_ID_5490911516178175762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Just found out about a very useful tool that allows you to see the request and response for amf types when flash makes a request to the server. Fiddler does not show the actually data that comes back from the server. But there is this tool called&lt;a href="http://www.themidnightcoders.com/products/ria-apppuncher/overview.html"&gt; AppPuncher that shows in details the amf response&lt;/a&gt; with the request arguments and the return data or any error information.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_BcWINeDe0Ps/TDOitsHcHhI/AAAAAAAAFO4/OgqeqrLpfUk/s1600/app+puncher+response.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 496px; height: 204px;" src="http://4.bp.blogspot.com/_BcWINeDe0Ps/TDOitsHcHhI/AAAAAAAAFO4/OgqeqrLpfUk/s400/app+puncher+response.png" alt="" id="BLOGGER_PHOTO_ID_5490911276514942482" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5019244029352797098?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5019244029352797098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/07/debugging-flash-player-actionscript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5019244029352797098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5019244029352797098'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/07/debugging-flash-player-actionscript.html' title='Debugging Flash Player Actionscript errors. How to get the amf response.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BcWINeDe0Ps/TDOi7o7m1xI/AAAAAAAAFPA/N3QQ5tMprnI/s72-c/flash+player+error.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4684770947634221314</id><published>2010-06-24T14:23:00.006-05:00</published><updated>2010-07-23T08:04:19.016-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Puerto Vallarta Real Estate'/><title type='text'>Puerto Vallarta Real Estate | Bienes Raices</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_BcWINeDe0Ps/TCOy4f4JYwI/AAAAAAAAFOE/APVL6B3lXQQ/s1600/DSC06047.JPG"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_BcWINeDe0Ps/TCOy4f4JYwI/AAAAAAAAFOE/APVL6B3lXQQ/s400/DSC06047.JPG" alt="" id="BLOGGER_PHOTO_ID_5486425454766809858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_BcWINeDe0Ps/TCOyuNJwWhI/AAAAAAAAFN8/tfVvH5OyIgg/s1600/DSC06054.JPG"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_BcWINeDe0Ps/TCOyuNJwWhI/AAAAAAAAFN8/tfVvH5OyIgg/s400/DSC06054.JPG" alt="" id="BLOGGER_PHOTO_ID_5486425277941701138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have recently got interested in the real estate market in Puerto Vallarta Mexico. As result I did an investment in Mexico to build a 6 unit apartments in downtown Puerto Vallarta. After searching for several deals I finally pulled the trigger on a 260 square meters lot where I plan to build 6 apartments that will built with similar designs here in the United States. As results since I am a developer of course I decided to create my own website here I would be listing my apartments for rent and after 1 month I launched this website to &lt;a href="http://www.blogger.com/www.puertovallarta-bienesraices.com"&gt;find real estate properties in puerto vallarta&lt;/a&gt;&lt;a href="http://www.blogger.com/www.puertovallarta-bienesraices.com"&gt;. &lt;/a&gt;Decided to setup the site for public visitors to &lt;a href="http://www.puertovallarta-bienesraices.com/departamentos-en-renta/jalisco/puerto-vallarta"&gt;find apartments for rent or sale, homes, condos, lots, villas and vacation rentals in puerto vallarta&lt;/a&gt; and bahia de banderas like &lt;a href="http://www.puertovallarta-bienesraices.com/buscar-colonia/nayarit/bah%C3%ADa-de-banderas/nuevo-vallarta"&gt;Buceria&lt;/a&gt;, nuevo vallarta, &lt;a href="http://www.puertovallarta-bienesraices.com/buscar-estado/nayarit"&gt;sayulita&lt;/a&gt;, punta mita and others. I integrated several Google API to do things like translations from Spanish to English. My goal is to allow Mexican users to post their ads in their native language and like my site handle the North America market in United States and Canada.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4684770947634221314?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4684770947634221314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/06/puerto-vallarta-real-estate-bienes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4684770947634221314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4684770947634221314'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/06/puerto-vallarta-real-estate-bienes.html' title='Puerto Vallarta Real Estate | Bienes Raices'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_BcWINeDe0Ps/TCOy4f4JYwI/AAAAAAAAFOE/APVL6B3lXQQ/s72-c/DSC06047.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4148407872502266773</id><published>2010-06-24T13:51:00.003-05:00</published><updated>2010-06-24T14:22:38.949-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='msbuild'/><title type='text'>The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)</title><content type='html'>&lt;span&gt;&lt;span&gt;&lt;br /&gt;After installing Visual Studio 2010 on the new server I found this error.&lt;br /&gt;&lt;br /&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (1360): Could not resolve this reference. Could not locate the assembly "Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.&lt;br /&gt;&lt;br /&gt;I had a project referencing Microsoft.Office.Interop.Excel.dll with the path&lt;br /&gt;&lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 415 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-alt:Calibri; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt;} @page WordSection1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.WordSection1 	{page:WordSection1;} --&gt;   C:\Program Files\Microsoft Visual Studio 9.0\Visual Studio Tools for Office\PIA\Office11\Microsoft.Office.Interop.Excel.dll&lt;br /&gt;If you did not installed the office tools for visual studio 2010 you can download the PIA VSTO Install here  &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 415 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-alt:Calibri; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin;} a:link, span.MsoHyperlink 	{mso-style-priority:99; 	color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt;} @page WordSection1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.WordSection1 	{page:WordSection1;} --&gt; http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=06c32242-2289-4471-93aa-ce96aa5cbc36&lt;br /&gt;&lt;br /&gt;I went to the project and updated the reference to use the new path for VS.NET 2010 using &lt;/span&gt;&lt;/span&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5Cjperez%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CUsers%5Cjperez%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Cjperez%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 415 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-alt:Calibri; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520092929 1073786111 9 0 415 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt;} @page WordSection1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.WordSection1 	{page:WordSection1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:shapedefaults ext="edit" spidmax="1026"&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:shapelayout ext="edit"&gt;   &lt;o:idmap ext="edit" data="1"&gt;  &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;span style="font-size: 11pt; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: rgb(31, 73, 125);"&gt;%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\PIA\Office14&lt;/span&gt; and it compiled perfectly fine.&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4148407872502266773?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4148407872502266773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/06/type-or-namespace-name-office-does-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4148407872502266773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4148407872502266773'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/06/type-or-namespace-name-office-does-not.html' title='The type or namespace name &apos;Office&apos; does not exist in the namespace &apos;Microsoft&apos; (are you missing an assembly reference?)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5178449004259761176</id><published>2010-05-07T10:29:00.004-05:00</published><updated>2010-05-07T10:36:08.674-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='dbproj'/><title type='text'>SQL80001: Incorrect syntax near ':'</title><content type='html'>I just upgraded 15 C# projects to visual studio 2010 and started with issues on the dbproj file.&lt;br /&gt;My pre deployment and post deployment scripts have sqlcmd syntax and visual studio .net 2010 cant understand it. Error: &lt;span style="font-weight: bold;"&gt;SQL80001: Incorrect syntax near ':'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_BcWINeDe0Ps/S-QzF8w02FI/AAAAAAAAFKI/buQjVT83W2U/s1600/sqlcmd.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 303px;" src="http://2.bp.blogspot.com/_BcWINeDe0Ps/S-QzF8w02FI/AAAAAAAAFKI/buQjVT83W2U/s400/sqlcmd.png" alt="" id="BLOGGER_PHOTO_ID_5468552024837904466" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5178449004259761176?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5178449004259761176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/05/sql80001-incorrect-syntax-near.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5178449004259761176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5178449004259761176'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/05/sql80001-incorrect-syntax-near.html' title='SQL80001: Incorrect syntax near &apos;:&apos;'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BcWINeDe0Ps/S-QzF8w02FI/AAAAAAAAFKI/buQjVT83W2U/s72-c/sqlcmd.png' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2081327721194171487</id><published>2010-03-21T13:20:00.002-05:00</published><updated>2010-03-21T13:34:17.529-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='laptop'/><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='m17x'/><category scheme='http://www.blogger.com/atom/ns#' term='drivers'/><title type='text'>Alienware m17x Windows 7 HDMI Stop working - FIX SOLUTION</title><content type='html'>I went to a little bit of hell when upgraded my Dell Alienware m17x to windows 7 64 bit ultimate. It's been working great for a while but out of no ware the HDMI output stopped working. I check the HDMI cable but it was a good cable. I could not get my HDMI working to my external dell 24" monitor nor my HDTV. After digging around I went to dell.com downloaded the latest BIOS driver for A03 release on 1/11/2011. To to dell.com and get the latest windows 7 BIOS driver. &lt;a href="http://support.dell.com/support/downloads/download.aspx?c=us&amp;amp;l=en&amp;amp;s=gen&amp;amp;releaseid=R254103&amp;amp;SystemID=ALW_LP_M17X&amp;amp;servicetag=&amp;amp;os=W764&amp;amp;osl=en&amp;amp;deviceid=19197&amp;amp;devlib=0&amp;amp;typecnt=0&amp;amp;vercnt=4&amp;amp;catid=-1&amp;amp;impid=-1&amp;amp;formatcnt=0&amp;amp;libid=1&amp;amp;typeid=-1&amp;amp;dateid=-1&amp;amp;formatid=-1&amp;amp;fileid=372828"&gt;http://support.dell.com/support/downloads/download.aspx?c=us&amp;amp;l=en&amp;amp;s=gen&amp;amp;releaseid=R254103&amp;amp;SystemID=ALW_LP_M17X&amp;amp;servicetag=&amp;amp;os=W764&amp;amp;osl=en&amp;amp;deviceid=19197&amp;amp;devlib=0&amp;amp;typecnt=0&amp;amp;vercnt=4&amp;amp;catid=-1&amp;amp;impid=-1&amp;amp;formatcnt=0&amp;amp;libid=1&amp;amp;typeid=-1&amp;amp;dateid=-1&amp;amp;formatid=-1&amp;amp;fileid=372828&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After updating the flash bios it started working like a charm.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2081327721194171487?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/2081327721194171487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/03/alienware-m17x-windows-7-hdmi-stop.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2081327721194171487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2081327721194171487'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/03/alienware-m17x-windows-7-hdmi-stop.html' title='Alienware m17x Windows 7 HDMI Stop working - FIX SOLUTION'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8447853223624897054</id><published>2010-03-05T13:18:00.001-06:00</published><updated>2010-03-05T14:28:06.974-06:00</updated><title type='text'>Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.</title><content type='html'>&lt;p&gt;Just started using Umbraco CMS. I follow all the install guide steps but when I first ran the website I got this error message:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;/p&gt;  &lt;p&gt;I check several security settings in the directory where the website source code existed with no lock.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The Fix:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;IIS 7 – &amp;gt; Select the application pool –&amp;gt; Advance Settings – &amp;gt; Load User Profile = “True”   &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Load User Profile was set to “false” setting it to “true” solved the problem.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8447853223624897054?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8447853223624897054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/03/this-is-another-test.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8447853223624897054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8447853223624897054'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/03/this-is-another-test.html' title='Request for the permission of type &amp;#39;System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39; failed.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6119388029141523187</id><published>2010-02-17T11:38:00.001-06:00</published><updated>2010-02-17T11:46:15.220-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rack'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='gems'/><title type='text'>rubygems.rb:827:in `report_activate_error': RubyGem version error: rack(1.0.0 not ~&gt; 1.0.1) (Gem::LoadError)</title><content type='html'>&lt;code&gt;&lt;br /&gt;c:\dev\AwesomeDudes&gt;ruby script/server&lt;br /&gt;C:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error': RubyGem version error: rack(1.0.0 not ~&gt; 1.0.1) (Gem::LoadError)&lt;br /&gt;        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:261:in `activate'&lt;br /&gt;        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:68:in `gem'&lt;br /&gt;        from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller.rb:34&lt;br /&gt;        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'&lt;br /&gt;        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'&lt;br /&gt;        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'&lt;br /&gt;        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'&lt;br /&gt;        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'&lt;br /&gt;        from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:2&lt;br /&gt;        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'&lt;br /&gt;        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'&lt;br /&gt;        from script/server:3&lt;br /&gt;&lt;br /&gt;c:\dev\AwesomeDudes&gt;gem install -v=1.0.1 rack --source http://chneukirchen.org/releases/gems&lt;br /&gt;Successfully installed rack-1.0.1&lt;br /&gt;1 gem installed&lt;br /&gt;Installing ri documentation for rack-1.0.1...&lt;br /&gt;Installing RDoc documentation for rack-1.0.1...&lt;br /&gt;&lt;br /&gt;c:\dev\AwesomeDudes&gt;ruby script/server&lt;br /&gt;=&gt; Booting Mongrel&lt;br /&gt;=&gt; Rails 2.3.5 application starting on http://0.0.0.0:3000&lt;br /&gt;C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_type.rb:80: warning: already initialized constant FBML&lt;br /&gt;=&gt; Call with -d to detach&lt;br /&gt;=&gt; Ctrl-C to shutdown server&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6119388029141523187?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6119388029141523187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/02/rubygemsrb827in-reportactivateerror.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6119388029141523187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6119388029141523187'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/02/rubygemsrb827in-reportactivateerror.html' title='rubygems.rb:827:in `report_activate_error&apos;: RubyGem version error: rack(1.0.0 not ~&gt; 1.0.1) (Gem::LoadError)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-315857907849343252</id><published>2010-01-05T10:54:00.003-06:00</published><updated>2010-01-05T11:00:06.653-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='notepad2'/><title type='text'>Windows 7 64-bit Replace Notepad.exe with Notepad2</title><content type='html'>Download from the link below the files you need to replace notepad.exe with the famous notepad2 on your 64-bit Windows 7 machine.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.box.net/shared/r6mzqoi4tu"&gt;http://www.box.net/shared/r6mzqoi4tu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Before you replace the old windows notepad.exe&lt;br /&gt;Make sure you turn off the windows notifications in windows 7.&lt;br /&gt;You can read this post for detail instructions.on &lt;a href="http://helpdeskgeek.com/windows-7/windows-7-disable-uac/" target="_blank"&gt;how to configure UAC in Windows 7&lt;/a&gt;. You need to drag the slider all the way down to Never Notify.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;then&lt;/span&gt;...&lt;br /&gt;&lt;br /&gt;Right click on replace.bat and select "Run as administrator".&lt;br /&gt;&lt;br /&gt;That should do it!&lt;br /&gt;&lt;br /&gt;The zip file contains all the steps specify in this post&lt;br /&gt;&lt;a href="http://www.online-tech-tips.com/computer-tips/replace-notepad-with-notepad2/"&gt;http://www.online-tech-tips.com/computer-tips/replace-notepad-with-notepad2/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-315857907849343252?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/315857907849343252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2010/01/windows-7-64-bit-replace-notepadexe.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/315857907849343252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/315857907849343252'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2010/01/windows-7-64-bit-replace-notepadexe.html' title='Windows 7 64-bit Replace Notepad.exe with Notepad2'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5728077188701286394</id><published>2009-12-07T16:47:00.005-06:00</published><updated>2011-06-20T13:23:10.512-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='holiday cards'/><category scheme='http://www.blogger.com/atom/ns#' term='greeting cards'/><category scheme='http://www.blogger.com/atom/ns#' term='greetings'/><category scheme='http://www.blogger.com/atom/ns#' term='targetas postales'/><title type='text'>Holiday Christmas Card - Greeting Cards</title><content type='html'>If you haven't got you Christmas cards this year. This is a really cool site to get them.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cardsdirect.com"&gt;CardsDirect offers your personalized Christmas cards&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Really nice cards. This is a funny holiday card.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cardsdirect.com/cardeetailex.aspx?Pro__ProductId=1307869"&gt;Funny Dog Christmas Cards with Holiday Greetings&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5728077188701286394?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5728077188701286394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/12/holiday-christmas-card-greeting-cards.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5728077188701286394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5728077188701286394'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/12/holiday-christmas-card-greeting-cards.html' title='Holiday Christmas Card - Greeting Cards'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4995162564850778940</id><published>2009-11-08T18:52:00.004-06:00</published><updated>2009-11-08T19:01:10.907-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='prototype.js'/><title type='text'>IE Javascript Error: object doesn't support this property or method</title><content type='html'>I was working on a page for www.cardsdirect.com and got this JavaScript error in IE:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;object doesn't support this property or method&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I debug the DOM and noticed that none of the extended prototype functions provided by the prototype.js framework (http://prototypejs.org) were register with IE.&lt;br /&gt;&lt;br /&gt;No problems with FF (as usual) and other browsers but IE was just not registering the extended functions. After some time debugging I concluded that the error was caused by multiple prototype versions. I didn't have multiple prototype.js files register but instead one of the chat software used in the site had it's own prototype functions that were conflicting with the prototype function $().&lt;br /&gt;&lt;br /&gt;Removing the function $() from the chat software solve the problem.&lt;br /&gt;&lt;br /&gt;The other solution was to register the prototype.js file at the end of the page so that I will override any other prototype functions registered.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;Check for multiple prototypes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4995162564850778940?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4995162564850778940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/11/ie-javascript-errorobject-doesnt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4995162564850778940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4995162564850778940'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/11/ie-javascript-errorobject-doesnt.html' title='IE Javascript Error: object doesn&apos;t support this property or method'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-62821376709367005</id><published>2009-09-30T12:36:00.004-05:00</published><updated>2009-09-30T12:46:42.203-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='vs.net 2008 SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='Load Testing'/><title type='text'>TFS VS.NET 2008 Testing  Fails Corrupt Installer</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="GENERATOR" content="BLOCKNOTE.NET"&gt;&lt;title&gt;&lt;/title&gt;&lt;style&gt;BODY { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } P { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } DIV { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } TD { FONT-FAMILY:Tahoma; FONT-SIZE:10pt } &lt;/style&gt;&lt;basefont style="font-family: Tahoma; font-size: 85%;"&gt;I recently tried to install vs.net 2008 for testers and was not able to run testing projects succesfully.&lt;br /&gt;I was getting the this error:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/198283.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I tried re-installing vs.net 2008 for testers ( I already had vs.net Team Foundation 2008 installed) but I had error with the installer.&lt;br /&gt;&lt;br /&gt;These are the errors in the Application Event Logs:&lt;br /&gt;&lt;br /&gt;Error in Template (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\VisualBasic\1033\AdoNetEntityDataModelVB_ASPNET.zip), file (ModelObjectItemVB_ASPNET.vstemplate). Invalid template element (TemplateID) value (Microsoft.Data.Entity.Design.VSTemplate.ModelObjectItemVB_ASPNET).&lt;br /&gt;&lt;br /&gt;Finally I tried to re-install Visual Studio .NET 2008 SP1 and that fixed the problems with the test projects.&lt;br /&gt;&lt;br /&gt;My setup was in this order:&lt;br /&gt;&lt;br /&gt;1) VS.net 2008 Team Foundation Server&lt;br /&gt;2) Vs.net 2008 SP1&lt;br /&gt;3) Vs.net 2008 for Testers (Didn't work)&lt;br /&gt;So I went back and Re-install SP1 and fixed all my vs.net issues.&lt;br /&gt;&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/16507645-62821376709367005?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/62821376709367005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/09/tfs-vsnet-2008-testing-fails-corrupt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/62821376709367005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/62821376709367005'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/09/tfs-vsnet-2008-testing-fails-corrupt.html' title='TFS VS.NET 2008 Testing  Fails Corrupt Installer'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2014159157168942731</id><published>2009-09-28T09:28:00.005-05:00</published><updated>2009-09-28T09:32:21.789-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS Enterprise Library'/><category scheme='http://www.blogger.com/atom/ns#' term='Log4NET'/><title type='text'>Microsoft Enterprise Library Logging Vs Log4NET</title><content type='html'>I have doing some research about the available logging services out there and found this interesting article. I have used both logging services MS and Log4NET and great thing about both is that configuration is simple and straigth forward. The problem that I had most of the time with Microsoft Enterprise Library Logging Block is that I had to create a wrapper on top so that I can log messages for different categories and handle them little bit different + formatting without having to do a lot of configuration via the configuration files.&lt;br /&gt;&lt;br /&gt;Here is the article I am referring.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/lorenh/archive/2005/02/18/376191.aspx"&gt;http://weblogs.asp.net/lorenh/archive/2005/02/18/376191.aspx&lt;/a&gt;&lt;br /&gt;Here is part two:&lt;br /&gt;&lt;a href="http://weblogs.asp.net/lorenh/archive/2005/03/20/395289.aspx"&gt;http://weblogs.asp.net/lorenh/archive/2005/03/20/395289.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Whats interesting are his stats.&lt;br /&gt;&lt;br /&gt;See below.&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;Avg Requests&lt;br /&gt;per Sec&lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;% Slower&lt;br /&gt;Than baseline&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;b&gt;No Logging (baseline)&lt;/b&gt;&lt;/td&gt; &lt;td&gt;470.54&lt;/td&gt; &lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;b&gt;Log4net empty appender&lt;/b&gt;&lt;/td&gt; &lt;td&gt;470.46&lt;/td&gt; &lt;td&gt;0%&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;b&gt;EntLib empty sink&lt;/b&gt;&lt;/td&gt; &lt;td&gt;328.19&lt;/td&gt; &lt;td&gt;30%&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;b&gt;Log4net to file&lt;/b&gt;&lt;/td&gt; &lt;td&gt;441.05&lt;/td&gt; &lt;td&gt;6%&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;b&gt;EntLib to file&lt;/b&gt;&lt;/td&gt; &lt;td&gt;260.75&lt;/td&gt; &lt;td&gt;45%&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2014159157168942731?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/2014159157168942731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/09/microsoft-enterprise-library-logging-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2014159157168942731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2014159157168942731'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/09/microsoft-enterprise-library-logging-vs.html' title='Microsoft Enterprise Library Logging Vs Log4NET'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8632272200580332349</id><published>2009-06-29T11:39:00.004-05:00</published><updated>2009-06-29T11:49:18.787-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='beyond compare'/><category scheme='http://www.blogger.com/atom/ns#' term='team foundation server'/><title type='text'>Using Beyond Compare in Visual Studio Team Foundation Server for Comparing and Merging</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_BcWINeDe0Ps/SkjwczNLAoI/AAAAAAAAEic/uGummk7HtCw/s1600-h/beyond+compare+in+tfs.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 393px; height: 229px;" src="http://1.bp.blogspot.com/_BcWINeDe0Ps/SkjwczNLAoI/AAAAAAAAEic/uGummk7HtCw/s320/beyond+compare+in+tfs.png" alt="" id="BLOGGER_PHOTO_ID_5352792534702293634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;This is how you get Beyond Compare working for comparing/merging in vs.net TFS. The default viewer is not as great as beyond compare so it comes very handy when you change to bc.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In Visual Studio do the following:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Click on &lt;strong&gt;Tools&lt;/strong&gt; menu &lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;Options&lt;/strong&gt; menu item &lt;/li&gt;&lt;li&gt;Expand &lt;strong&gt;Source Control&lt;/strong&gt; tree item &lt;/li&gt;&lt;li&gt;Select &lt;strong&gt;Visual Studio Team Foundation Server&lt;/strong&gt; tree item &lt;/li&gt;&lt;li&gt;Click on &lt;strong&gt;Configure User Tools...&lt;/strong&gt; button&lt;/li&gt;&lt;li&gt;Click the &lt;strong&gt;Add...&lt;/strong&gt; button &lt;/li&gt;&lt;li&gt;For Extension, type &lt;strong&gt;* (for all files)&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;For Operation, select &lt;strong&gt;Compare&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;For Command, browse for &lt;strong style="font-weight: bold;"&gt;C:\Program Files\Beyond Compare 2\BC2.exe  &lt;/strong&gt; &lt;/li&gt;&lt;li&gt;For Arguments, type &lt;strong&gt;/%1 %2&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to accept&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Do the same for Merging.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8632272200580332349?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8632272200580332349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/06/using-beyond-compare-in-visual-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8632272200580332349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8632272200580332349'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/06/using-beyond-compare-in-visual-studio.html' title='Using Beyond Compare in Visual Studio Team Foundation Server for Comparing and Merging'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_BcWINeDe0Ps/SkjwczNLAoI/AAAAAAAAEic/uGummk7HtCw/s72-c/beyond+compare+in+tfs.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8495204776393762619</id><published>2009-06-16T22:20:00.007-05:00</published><updated>2009-06-17T10:50:03.889-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2008'/><title type='text'>SQL Server 2008 Annoying warning when saving changes : Saving Changes Not Permitted</title><content type='html'>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;When I started working with SQL server 2008 express edition I got a new message that I have not seen in previous versions of SQL Server. The designer does not allow to save table changes like before.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;This is the warning message:&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="color:#FFFF00;"&gt;Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created.&lt;br /&gt;After searching at the options menu I noticed you can disable this warning by unchecking the "Prevent saving changes that require table re-creation".&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 20px;font-size:13px;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;i&gt;&lt;img src="http://3.bp.blogspot.com/_BcWINeDe0Ps/SjkQBLlnheI/AAAAAAAAD0c/C0PiR58rg_s/s320/sql+server+save+prompt.Bmp" style="cursor:pointer; cursor:hand;width: 320px; height: 260px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5348323644955657698" /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Since it's a warning message there is a way to remove this simply by unchecking an option in the &lt;b&gt;Tools -&gt; &lt;/b&gt;&lt;b&gt;Options -&gt; Designer&lt;/b&gt; menu context. &lt;/div&gt;&lt;div&gt;Uncheck the option &lt;/div&gt;&lt;img src="http://3.bp.blogspot.com/_BcWINeDe0Ps/SjkQLjGVKJI/AAAAAAAAD0k/wGh5uAxo4Ec/s320/sql+sever+options.Bmp" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 190px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5348323823065573522" /&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;"Prevent saving changes that require table re-creation"&lt;/b&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This will take care of the issue.&lt;/div&gt;&lt;div&gt;Enjoy!&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8495204776393762619?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8495204776393762619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/06/sql-server-2008-annoying-warning-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8495204776393762619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8495204776393762619'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/06/sql-server-2008-annoying-warning-when.html' title='SQL Server 2008 Annoying warning when saving changes : Saving Changes Not Permitted'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_BcWINeDe0Ps/SjkQBLlnheI/AAAAAAAAD0c/C0PiR58rg_s/s72-c/sql+server+save+prompt.Bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-111473603859250274</id><published>2009-01-23T11:40:00.003-06:00</published><updated>2009-01-23T11:48:09.631-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='activescaffold'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>svn: This client is too old to work with working copy; please get a newer Subversion client</title><content type='html'>When I tried downloading the latest &lt;a href="http://activescaffold.com/"&gt;ActiveScaffold&lt;/a&gt; plug-in (script/plugin install git://github.com/activescaffold/active_scaffold.git -r rails-2.2 ) for my rails app. I got this error&lt;br /&gt;&lt;pre&gt;svn: This client is too old to work with working copy;&lt;br /&gt;please get a newer Subversion client&lt;br /&gt;&lt;/pre&gt;I check my svn version and I was running 1.4.6.28521. I downloaded the client from the CollabNet website &lt;a href="http://www.open.collab.net/downloads/subversion/"&gt;http://www.open.collab.net/downloads/subversion/&lt;/a&gt; and installed it. At the installer I had to change the install path to match my old installation folder(C:\Program Files\Subversion).&lt;br /&gt;&lt;br /&gt;After upgrading to svn version 1.5 i was able to run the plug-in update without any errors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-111473603859250274?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/111473603859250274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/01/svn-this-client-is-too-old-to-work-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/111473603859250274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/111473603859250274'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/01/svn-this-client-is-too-old-to-work-with.html' title='svn: This client is too old to work with working copy; please get a newer Subversion client'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-9136434361134529517</id><published>2009-01-22T14:37:00.004-06:00</published><updated>2009-01-22T15:15:36.948-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='msbuild'/><title type='text'>CC.NET Fails: Task failed because "sgen.exe" was not found:</title><content type='html'>When deploying an application to Windows Server 2008 I found the following error.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt;Could not locate the expected version of the Microsoft Windows SDK. Looked for a location specified in the "InstallationFolder" value of the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A". If your build process does not need the SDK then this can be ignored. Otherwise you can solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.  2) Install Visual Studio 2008.  3) Manually set the above registry key to the correct location.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To solve this I downloaded and installed the v3.5 SDK for Windows server 2008.&lt;br /&gt;&lt;br /&gt;This is the ISO:&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you are doing it remote you need to download the web installer&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&amp;amp;displaylang=en&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-9136434361134529517?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/9136434361134529517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/01/ccnet-fails-task-failed-because-sgenexe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/9136434361134529517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/9136434361134529517'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/01/ccnet-fails-task-failed-because-sgenexe.html' title='CC.NET Fails: Task failed because &quot;sgen.exe&quot; was not found:'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7659902150253428197</id><published>2009-01-21T16:13:00.001-06:00</published><updated>2009-01-21T16:14:44.551-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Rails Error: Rails requires RubyGems &gt;= 1.3.1 (you have 1.2.0).</title><content type='html'>I tried setting up a new rails project today. After I updated to the new rails version 2.2.2, I got the following error when attempting to run my WEBrick server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;"Rails requires RubyGems &gt;= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So I did what It said.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;gem update --system &lt;/span&gt;&lt;br /&gt;and it returned&lt;span style="font-style: italic;"&gt; 'Nothing to Update' &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I solved this problem by running&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;gem install rubygems-update&lt;/span&gt;&lt;br /&gt;and then...&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic; font-family: courier new;"&gt;update_rubygems&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;that actually did the updating.&lt;br /&gt;After the gem updates I was back in business.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7659902150253428197?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7659902150253428197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/01/rails-error-rails-requires-rubygems-131.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7659902150253428197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7659902150253428197'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/01/rails-error-rails-requires-rubygems-131.html' title='Rails Error: Rails requires RubyGems &gt;= 1.3.1 (you have 1.2.0).'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-3456154334486614058</id><published>2009-01-16T14:09:00.004-06:00</published><updated>2009-01-16T14:17:48.506-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Javascript to show and hide input default text</title><content type='html'>Here is a script that I got from one of the sites I worked on.&lt;br /&gt;It has come very handy and re-usable in other sites.&lt;br /&gt;&lt;br /&gt;Just add the class 'default_value' to your Textbox or input controls &amp;lt;input class="'default_value' /&amp;gt; and that's it.  When you click on the textbox the default text will disappear. If you don't enter any value on blur the default value will be displayed in the input again.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/48093.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-3456154334486614058?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/3456154334486614058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2009/01/javascript-to-show-and-hide-input.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3456154334486614058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3456154334486614058'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2009/01/javascript-to-show-and-hide-input.html' title='Javascript to show and hide input default text'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2114043618438236070</id><published>2008-12-05T10:30:00.003-06:00</published><updated>2009-01-21T16:26:25.102-06:00</updated><title type='text'>Multiple Default Buttons on a single asp.net Form</title><content type='html'>When in need of multiple default buttons on a single form. I set the onKeypress event to handle the postback if user hit on the "Enter" key. This works great to set a default button for any input control.&lt;br /&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/50281.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2114043618438236070?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/2114043618438236070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/12/multiple-default-buttons-on-single.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2114043618438236070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2114043618438236070'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/12/multiple-default-buttons-on-single.html' title='Multiple Default Buttons on a single asp.net Form'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4203159535454783215</id><published>2008-11-20T16:29:00.001-06:00</published><updated>2008-11-20T16:32:05.309-06:00</updated><title type='text'>Verdadera Felicidad:   Proverbio Chino</title><content type='html'>"Si quieres felicidad por una hora, toma una siesta.&lt;br /&gt;&lt;br /&gt;Si queires felicidad por un día, ve a pescar.&lt;br /&gt;&lt;br /&gt;Si quieres felicidad por un mes, cásate.&lt;br /&gt;&lt;br /&gt;Si quieres felicidad por un año, hereda una fortuna.&lt;br /&gt;&lt;br /&gt;Si quieres felicidad por toda una vida, ayuda a los demás."&lt;br /&gt;&lt;br /&gt; Proverbio Chino&lt;br /&gt;&lt;br /&gt;"If you want happiness for an hour, take a nap.&lt;br /&gt;If you want happiness for a day, go fishing.&lt;br /&gt;If you want happiness for a month, get married.&lt;br /&gt;If you want happiness for a year, inherit a fortune.&lt;br /&gt;If you want happiness for a lifetime, help others. "&lt;br /&gt;&lt;br /&gt; Chinese Proverb&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4203159535454783215?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4203159535454783215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/11/verdadera-felicidad-proverbio-chino.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4203159535454783215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4203159535454783215'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/11/verdadera-felicidad-proverbio-chino.html' title='Verdadera Felicidad:   Proverbio Chino'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6403760080110302485</id><published>2008-11-06T11:22:00.002-06:00</published><updated>2008-11-06T11:23:36.927-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kentico'/><title type='text'>Kentico Error: Unable to cast object of type 'ASP.cmstemplatelayouts_blankmasterpage_ascx' to type 'CMS.PortalControls.CMSAbstractLayout</title><content type='html'>While working with Kentico CMS I have came across this annoying error.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unable to cast object of type 'ASP.cmstemplatelayouts_blankmasterpage_ascx' to type 'CMS.PortalControls.CMSAbstractLayout&lt;br /&gt;&lt;br /&gt;This is due the fact that the website is currently precompiling or related with a pre-compilation error with the website. &lt;br /&gt;&lt;br /&gt;I normally fix this error my restart IIS or the app pool for the website.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6403760080110302485?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6403760080110302485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/11/kentico-error-unable-to-cast-object-of.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6403760080110302485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6403760080110302485'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/11/kentico-error-unable-to-cast-object-of.html' title='Kentico Error: Unable to cast object of type &apos;ASP.cmstemplatelayouts_blankmasterpage_ascx&apos; to type &apos;CMS.PortalControls.CMSAbstractLayout'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5459576287917071925</id><published>2008-10-27T16:39:00.004-05:00</published><updated>2008-10-27T16:55:57.553-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Hotmail Embedded Images in HTML email not working</title><content type='html'>With one of my recent projects going live I experienced an issue with hotmail email client not showing the emails sent by my application correctly. Especially embedded images in the email. These images were replace by a gray box "i_safe.gif" making the email look bad. This was only happening in hotmail. Again Microsoft had to be special.&lt;br /&gt;Gmail, Yahoo, Exchange Outlook etc was rendering the email perfectly fine.&lt;br /&gt;&lt;br /&gt;Hotmail just need to have additional information in the email LinkedResource object.&lt;br /&gt;&lt;br /&gt;Setting the properties LinkedResource.ContentType.Name and LinkedResource.TransferEncodig fixed this problem.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;backImageResource.ContentType.Name = "dress_back";&lt;/b&gt;&lt;br/&gt;&lt;br /&gt;&lt;b&gt;backImageResource.TransferEncoding = TransferEncoding.Base64;&lt;/b&gt;&lt;br /&gt;Here is my code example that work the emails working.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Create the html AlternateView&lt;br/&gt;&lt;br /&gt;AlternateView htmlView = AlternateView.CreateAlternateViewFromString(template.Body, null, "text/html");&lt;br/&gt;&lt;br /&gt;// Add Linked Resources for the embedded images&lt;br/&gt;&lt;br /&gt;LinkedResource frontImageResource = new LinkedResource(Utility.GetImageStream(DressFrontView, ImageFormat.Jpeg), MediaTypeNames.Image.Jpeg);&lt;br/&gt;&lt;br /&gt;frontImageResource.ContentId = "dress_front";&lt;br/&gt;&lt;br /&gt;frontImageResource.ContentType.Name = "dress_front";&lt;br/&gt;&lt;br /&gt;frontImageResource.TransferEncoding = TransferEncoding.Base64;  &lt;br/&gt;&lt;br /&gt; &lt;br/&gt;&lt;br /&gt;LinkedResource backImageResource = new LinkedResource(Utility.GetImageStream(DressBackView, ImageFormat.Jpeg), MediaTypeNames.Image.Jpeg);&lt;br/&gt;&lt;br /&gt;backImageResource.ContentId = "dress_back";&lt;br/&gt;&lt;br /&gt;&lt;b&gt;backImageResource.ContentType.Name = "dress_back";&lt;/b&gt;&lt;br/&gt;&lt;br /&gt;&lt;b&gt;backImageResource.TransferEncoding = TransferEncoding.Base64; &lt;/b&gt; &lt;br/&gt;&lt;br /&gt; &lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;// Relate resources with AlternativeView&lt;br/&gt;&lt;br /&gt;htmlView.LinkedResources.Add(frontImageResource);&lt;br/&gt;&lt;br /&gt;htmlView.LinkedResources.Add(backImageResource);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After adding the ContentType.Name and TransferEncoding the e-mails displayed corrently in hotmail.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5459576287917071925?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5459576287917071925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/hotmail-embedded-images-in-html-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5459576287917071925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5459576287917071925'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/hotmail-embedded-images-in-html-email.html' title='Hotmail Embedded Images in HTML email not working'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7021914303302353850</id><published>2008-10-24T17:47:00.005-05:00</published><updated>2008-10-24T18:02:40.500-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='500 error'/><title type='text'>Flash uploading large files to ASP.NET: HTTP 500 Error</title><content type='html'>If you are having trouble uploading large files via flash or standard asp.net form its probably because there is a max request length set in the machine.config file. Max request length by default is set to 4MB. &lt;br /&gt;&lt;br /&gt;When exceeding the max request length you get a HTTP 500 error code.&lt;br /&gt;If you check the Application Event viewer on the server side you might see errors such as this:&lt;br /&gt;&lt;br /&gt;Event code: 3004 &lt;br /&gt;Event message: Post size exceeded allowed limits. &lt;br /&gt;Event time: 10/24/2008 5:11:39 PM &lt;br /&gt;Event time (UTC): 10/24/2008 10:11:39 PM &lt;br /&gt;Event ID: 640ae5c3a03349b18112b5289fd09989 &lt;br /&gt;Event sequence: 12 &lt;br /&gt;Event occurrence: 3 &lt;br /&gt;Event detail code: 0 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To solve this problem override your web.config with the following configuration element.&lt;br /&gt;&lt;br /&gt;Also update the executionTimeout to allow more time before it shuts down the request.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br/&gt;&lt;br /&gt;  &amp;lt;system.web&amp;gt;&lt;br/&gt;&lt;br /&gt;    &amp;lt;httpRuntime maxRequestLength="11000" executionTimeout="60" /&amp;gt;&lt;br/&gt;&lt;br /&gt; &amp;lt;!-- 50MB max request size--&amp;gt;&lt;br/&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;More information can be found at the MSDN site &lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/e1f13641(VS.71).aspx"&gt;&lt;br /&gt;http://msdn.microsoft.com/en-us/library/e1f13641(VS.71).aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7021914303302353850?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7021914303302353850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/flash-uploading-large-files-to-aspnet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7021914303302353850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7021914303302353850'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/flash-uploading-large-files-to-aspnet.html' title='Flash uploading large files to ASP.NET: HTTP 500 Error'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5313855381245612962</id><published>2008-10-24T14:45:00.003-05:00</published><updated>2008-10-24T14:52:46.173-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>IE7 very picky with Javascript &amp; Json: IE counts null objects.</title><content type='html'>I just came across with another debugging situation with javascript code in IE7.&lt;br /&gt;IE7 takes in consideration null objects.&lt;br /&gt;&lt;br /&gt;For example, below is a JSon array of objects. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;var markers = [&lt;br /&gt;{&lt;br /&gt;'abbr': '1',&lt;br /&gt;'latitude':33.029764,&lt;br /&gt;'longitude':-97.090090,&lt;br /&gt; 'dealer': {&lt;br /&gt;    "companyName": "Armstrong Office Interiors","address1" : "3205 Dwyer St","city" : "Flower Mound","state" : "TX","website": "www.armstrongofficeconcepts.com","phone" : "469-568-6648", "address2": "", "zipCode": "75022" , "fax": "(469) 293-6602" , "email": "jarmstrong@armstrongoffice.com" , "dealerType": 1 , "distance": "3.0" , "showcase": "N" , "locationId": "19830" , "contactName": "Armstrong Office Interiors" , "gsa": "Y"}&lt;br /&gt;,&lt;br /&gt; 'wp':'n'&lt;br /&gt;}];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this case as you can see there is only 1 object.&lt;br /&gt;If you do markers.length, you get a total of 1. And that's correct.&lt;br /&gt;&lt;br /&gt;No lets say we add a comma "," to the end of the first object.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;var markers = [&lt;br /&gt;{&lt;br /&gt;'abbr': '1',&lt;br /&gt;'latitude':33.029764,&lt;br /&gt;'longitude':-97.090090,&lt;br /&gt; 'dealer': {&lt;br /&gt;    "companyName": "Armstrong Office Interiors","address1" : "3205 Dwyer St","city" : "Flower Mound","state" : "TX","website": "www.armstrongofficeconcepts.com","phone" : "469-568-6648", "address2": "", "zipCode": "75022" , "fax": "(469) 293-6602" , "email": "jarmstrong@armstrongoffice.com" , "dealerType": 1 , "distance": "3.0" , "showcase": "N" , "locationId": "19830" , "contactName": "Armstrong Office Interiors" , "gsa": "Y"}&lt;br /&gt;,&lt;br /&gt; 'wp':'n'&lt;br /&gt;}&lt;br /&gt;&lt;b&gt;,&lt;/b&gt; // Added extra comma here.&lt;br /&gt;];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;run markers.length again and now you will get a count of 2.&lt;br /&gt;In firefox you will still get a count of 1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5313855381245612962?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5313855381245612962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/ie7-very-picky-with-javascript-json-ie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5313855381245612962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5313855381245612962'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/ie7-very-picky-with-javascript-json-ie.html' title='IE7 very picky with Javascript &amp; Json: IE counts null objects.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-1842512928868174130</id><published>2008-10-15T10:41:00.003-05:00</published><updated>2008-10-15T10:46:51.463-05:00</updated><title type='text'>OnItemCommand event does not fire on Repeater</title><content type='html'>After breaking my brain into species figuring out why the OnItemCommand event was not firing for my repeater, I finally come to very simple &amp; stupid conclusion.&lt;br /&gt;&lt;br /&gt;You need to rebind the repeater on the Page_Load event every time.&lt;br /&gt;I was only binding the repeater if(!Page.IsPostBack) { // Bind Repeater }...&lt;br /&gt;&lt;br /&gt;Binding the repeater in the Page_Load event took care of the issue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;      &amp;lt;asp:Repeater ID="repAvailableFilters" runat="server" OnItemCommand="repFilters_ItemCommand"&amp;gt;&lt;br/&gt;&lt;br /&gt;            &amp;lt;HeaderTemplate&amp;gt;&lt;br/&gt;&lt;br /&gt;                &amp;lt;ul class="style-1"&amp;gt;&lt;br/&gt;&lt;br /&gt;            &amp;lt;/HeaderTemplate&amp;gt;&lt;br/&gt;&lt;br /&gt;            &amp;lt;ItemTemplate&amp;gt;&lt;br/&gt;&lt;br /&gt;                &amp;lt;li&amp;gt;&lt;br/&gt;&lt;br /&gt;                    &amp;lt;asp:LinkButton ID="lbtnAddFilter" runat="server" CommandArgument='&amp;lt;%# Eval("ID") %&amp;gt;'&lt;br/&gt;&lt;br /&gt;                        CommandName="AddFilter"  &amp;gt;&amp;lt;%# Eval("Name") %&amp;gt;&amp;lt;/asp:LinkButton&amp;gt;&lt;br/&gt;&lt;br /&gt;                        &lt;br/&gt;&lt;br /&gt;                &amp;lt;/li&amp;gt;&lt;br/&gt;&lt;br /&gt;            &amp;lt;/ItemTemplate&amp;gt;&lt;br/&gt;&lt;br /&gt;            &amp;lt;FooterTemplate&amp;gt;&lt;br/&gt;&lt;br /&gt;                &amp;lt;/ul&amp;gt;&lt;br/&gt;&lt;br /&gt;            &amp;lt;/FooterTemplate&amp;gt;&lt;br/&gt;&lt;br /&gt;        &amp;lt;/asp:Repeater&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-1842512928868174130?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/1842512928868174130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/onitemcommand-event-does-not-fire-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1842512928868174130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1842512928868174130'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/onitemcommand-event-does-not-fire-on.html' title='OnItemCommand event does not fire on Repeater'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6308750666995258013</id><published>2008-10-14T13:33:00.005-05:00</published><updated>2008-10-15T10:41:25.258-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>ToString() Number format</title><content type='html'>To write a number in a formatted numeric format. Use the 'N' argument in the ToString() method.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;int n = 1000;&lt;br /&gt;&lt;br /&gt;Console.WriteLine(n.ToString("N"));&lt;br /&gt;&lt;br /&gt;// Will produce&lt;br /&gt;&lt;br /&gt;1,000.00&lt;br /&gt;&lt;br /&gt;// If you don't decimals &lt;br /&gt;Console.WriteLine(n.ToString("N0"));&lt;br /&gt;&lt;br /&gt;// Will produce&lt;br /&gt;1,000&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6308750666995258013?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6308750666995258013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/tostring-number-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6308750666995258013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6308750666995258013'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/tostring-number-format.html' title='ToString() Number format'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4887889265424046089</id><published>2008-10-13T16:10:00.003-05:00</published><updated>2008-10-13T16:15:29.708-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='export to excel'/><category scheme='http://www.blogger.com/atom/ns#' term='gridview'/><title type='text'>Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server.</title><content type='html'>I ran across this error when trying to export the grid view data to excel. &lt;br /&gt;I do have a form tag setup runat=server. But it continue to fail.&lt;br /&gt;&lt;br /&gt;Solution: Create an HtmlForm object and add the grid view to the form in code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;string style = @"&lt;style&gt; .text { mso-number-format:\@; } &lt;/style&gt; ";&lt;br /&gt;&lt;br /&gt;           Response.ClearContent();&lt;br /&gt;&lt;br /&gt;           // Create form tag&lt;br /&gt;&lt;b&gt;&lt;br /&gt;           HtmlForm form1 = new HtmlForm();&lt;br /&gt;&lt;br /&gt;           form1.Controls.Add(gvData);&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;           Response.AddHeader("content-disposition", "myfilename.xls");&lt;br /&gt;&lt;br /&gt;           Response.ContentType = "application/excel";&lt;br /&gt;&lt;br /&gt;           StringWriter sw = new StringWriter();&lt;br /&gt;           StringWriter header= new StringWriter();&lt;br /&gt;&lt;br /&gt;          &lt;br /&gt;           HtmlTextWriter htw = new HtmlTextWriter(sw);&lt;br /&gt;&lt;br /&gt;           gvData.RenderControl(htw);&lt;br /&gt;          &lt;br /&gt;&lt;br /&gt;           // Style is added dynamically&lt;br /&gt;&lt;br /&gt;           Response.Write(style);&lt;br /&gt;&lt;br /&gt;           Response.Write(sw.ToString());&lt;br /&gt;&lt;br /&gt;           Response.End();&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4887889265424046089?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4887889265424046089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/control-gridview1-of-type-gridview-must.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4887889265424046089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4887889265424046089'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/control-gridview1-of-type-gridview-must.html' title='Control &apos;GridView1&apos; of type &apos;GridView&apos; must be placed inside a form tag with runat=server.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-602642484517551770</id><published>2008-10-07T15:34:00.001-05:00</published><updated>2008-10-07T15:36:29.380-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>Delete svn folders /files Recursive Subfolders batch file</title><content type='html'>Create a batch file with the following code to remove all svn files + folders from your trunk.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="coderegion"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-602642484517551770?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/602642484517551770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/10/delete-svn-folders-files-recursive.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/602642484517551770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/602642484517551770'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/10/delete-svn-folders-files-recursive.html' title='Delete svn folders /files Recursive Subfolders batch file'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8454363473937825969</id><published>2008-09-12T14:27:00.002-05:00</published><updated>2008-09-12T14:37:39.277-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><title type='text'>Visual Studio WebSites vs Web Projects</title><content type='html'>&lt;p class="MsoNormal"&gt;I am having a hard time right now dealing with a huge VS.Net 2008 Website.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;We are using a CMS Solution which contains many features for the site.&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Navigation through source files in the VS.Net IDE seems to be slower and slower. This is due the fact the compiler continues to recompile the modified files as you make changes. I prefer to work with Web Application projects because I am more in control with the compilation and I actually we a compiled dll instead of hundreds for assemblies for vs.net websites.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;One of the solutions to fix this problem is to remove the CMS features that I am not using so that the website can compile faster. However, this is not an option based on client feedback.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;My recommendation is that if you intend to have a large site, use Visual Studio .Net Web Application Projects instead of Websites. Trust me!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8454363473937825969?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8454363473937825969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/09/visual-studio-websites-vs-web-projects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8454363473937825969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8454363473937825969'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/09/visual-studio-websites-vs-web-projects.html' title='Visual Studio WebSites vs Web Projects'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6342959240618492107</id><published>2008-09-04T17:01:00.003-05:00</published><updated>2008-09-04T17:10:31.047-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TubeCaption'/><category scheme='http://www.blogger.com/atom/ns#' term='videos with captions'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><category scheme='http://www.blogger.com/atom/ns#' term='flash effects'/><title type='text'>Video captions with effects!</title><content type='html'>&lt;div&gt;I finally got some time to work on my free nights on the video player for TubeCaption.com&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can now customize the player with reach features.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can change:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Font type&lt;/li&gt;&lt;li&gt;Color&lt;/li&gt;&lt;li&gt;Background color&lt;/li&gt;&lt;li&gt;Font size&lt;/li&gt;&lt;li&gt;Embedded player size&lt;/li&gt;&lt;li&gt;Caption Effects.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Check out this video playing captions with blur in effects.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;object width="380" height="356" id="tubecaption_player" align="middle"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="fullscreen" value="true"&gt;&lt;param name="movie" value="http://tubecaption.com:80/flash/player.swf?v=xo0bpPbiUlM&amp;amp;standAlone=true&amp;amp;vcId=257"&gt;&lt;param name="quality" value="high"&gt;&lt;param name="bgcolor" value="#000000"&gt;&lt;embed src="http://tubecaption.com:80/flash/player.swf?v=xo0bpPbiUlM&amp;amp;standAlone=true&amp;amp;vcId=257" quality="high" bgcolor="#000000" width="380" height="356" name="tubecaption.com" align="middle" allowscriptaccess="always" fullscreen="true" flashvars="fontFace=Tahoma&amp;amp;fontColor=FF2323&amp;amp;fontSize=21&amp;amp;captionBgColor=000000&amp;amp;effectName=BLUR_IN" application="" pluginspage="http://www.macromedia.com/go/getflashplayer"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://tubecaption.com/watch?v=xo0bpPbiUlM&amp;amp;vcId=257"&gt;http://tubecaption.com/watch?v=xo0bpPbiUlM&amp;amp;vcId=257&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6342959240618492107?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6342959240618492107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/09/video-captions-with-effects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6342959240618492107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6342959240618492107'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/09/video-captions-with-effects.html' title='Video captions with effects!'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5491020630835603938</id><published>2008-08-28T15:52:00.005-05:00</published><updated>2008-08-28T16:07:33.282-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Common Phone validator RegEx , E-mail validator Regular Expression</title><content type='html'>I use custom validators to validate my forms email and phone numbers.&lt;br /&gt;In most of the public website that I developed I use this two common javascript functions to work with ASP.NET validators.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;asp:textbox id="txtPhoneNumber" maxlength="13" runat="server"&amp;gt;&amp;lt;/asp:textbox&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:customvalidator id="valPhone" runat="server" cssclass="ErrorLabel" errormessage="* required" clientvalidationfunction="validatePhone" controltovalidate="txtPhoneNumber" validateemptytext="true"&amp;gt;&amp;lt;/asp:customvalidator&amp;gt;&lt;br /&gt;&lt;br /&gt;function validatePhone(sender, args)&lt;br /&gt;{&lt;br /&gt;if(args.Value.length &gt; 0)&lt;br /&gt;{&lt;br /&gt;   var ex = /\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;&lt;br /&gt;   var re = new RegExp(ex);&lt;br /&gt;&lt;br /&gt;   if(re.exec(args.Value))&lt;br /&gt;   {&lt;br /&gt;       args.IsValid = true;&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;       sender.errormessage= "* invalid";&lt;br /&gt;       sender.innerHTML= sender.errormessage;&lt;br /&gt;       args.IsValid = false;&lt;br /&gt;   }   &lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;   sender.errormessage= "* required";&lt;br /&gt;   sender.innerHTML= sender.errormessage;&lt;br /&gt;   args.IsValid = false;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function validateEmail(sender, args)&lt;br /&gt;{&lt;br /&gt;if(args.Value.length &gt; 0)&lt;br /&gt;{&lt;br /&gt;   var ex = /^([a-zA-Z0-9_.+-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/;&lt;br /&gt;   var re = new RegExp(ex );&lt;br /&gt;&lt;br /&gt;   if(re.exec(args.Value))&lt;br /&gt;   {&lt;br /&gt;       args.IsValid = true;&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;       sender.errormessage= "* invalid";&lt;br /&gt;       sender.innerHTML= sender.errormessage;&lt;br /&gt;       args.IsValid = false;&lt;br /&gt;   }   &lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;   sender.errormessage= "* required";&lt;br /&gt;   sender.innerHTML= sender.errormessage;&lt;br /&gt;   args.IsValid = false;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5491020630835603938?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5491020630835603938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/08/common-phone-validator-regex-e-mail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5491020630835603938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5491020630835603938'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/08/common-phone-validator-regex-e-mail.html' title='Common Phone validator RegEx , E-mail validator Regular Expression'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6352395878021999735</id><published>2008-08-28T14:49:00.002-05:00</published><updated>2008-08-28T14:53:53.396-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='validators'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>How to override .NET validator error message font color</title><content type='html'>I hate the red color in the asp.net validators using the inline style attribute.&lt;br /&gt;&lt;br /&gt;If you create a css class defining your color will do no good since the inline style will override your set color.&lt;br /&gt;&lt;br /&gt;Instead of setting the FontColor Property in every single control, create a css class with the following code:&lt;br /&gt;&lt;br /&gt;.error {&lt;br /&gt;color:#e95e31 !important;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This will look like this &lt;span style="color: rgb(233, 94, 49);"&gt;My Error Message!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6352395878021999735?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6352395878021999735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/08/how-to-override-net-validator-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6352395878021999735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6352395878021999735'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/08/how-to-override-net-validator-error.html' title='How to override .NET validator error message font color'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-3389646612433806761</id><published>2008-08-25T22:07:00.004-05:00</published><updated>2008-08-25T22:22:24.613-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Error starting rails WEBRick server - ActionController::Caching::Fragments::MemCacheStore (NameError)</title><content type='html'>I go into error when trying to update my gems this week. After an unsuccessful gem update I found my self with the following error when trying to run my WEBRick server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant': uninitialized constant&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; ActionController::Caching::Fragments::MemCacheStore (NameError)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I checked to see if my memcached-client was installed and it was there. I compared with another developer and the same files were there. After unsuccessful debugging I took the choice to uninstall the entire ruby language and also rails framework.&lt;br /&gt;&lt;br /&gt;I follow this tutorial &lt;a href="http://tubecaption.com/watch?v=c0jR_hptpdA"&gt;http://tubecaption.com/watch?v=c0jR_hptpdA&lt;/a&gt; that demonstrate the order of how to uninstall / remove your gems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-3389646612433806761?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/3389646612433806761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/08/error-starting-rails-webrick-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3389646612433806761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3389646612433806761'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/08/error-starting-rails-webrick-server.html' title='Error starting rails WEBRick server - ActionController::Caching::Fragments::MemCacheStore (NameError)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8841103242990684384</id><published>2008-08-21T16:20:00.000-05:00</published><updated>2008-08-21T16:22:21.887-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lyrics'/><category scheme='http://www.blogger.com/atom/ns#' term='montez de durango'/><title type='text'>Montez de Durango - Que Vuelva Video con Lyrics</title><content type='html'>Aqui esta el video de montez de durango con el titulo "Que Vuelva".&lt;br /&gt;Con TubeCaption.com puedes poner la letra/lyrics de la cancion.&lt;br /&gt;&lt;br /&gt;Aqui esta la pagina completa:&lt;br /&gt;&lt;a href="http://tubecaption.com/watch?v=KRiDz-7UpBo&amp;amp;vcId=278"&gt;http://tubecaption.com/watch?v=KRiDz-7UpBo&amp;amp;vcId=278&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;object id="tubecaption_player" width="480" align="middle" height="450"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="fullscreen" value="true"&gt;&lt;param name="movie" value="http://tubecaption.com:80/flash/player.swf?v=KRiDz-7UpBo&amp;amp;standAlone=true&amp;amp;vcId=278"&gt;&lt;param name="quality" value="high"&gt;&lt;param name="bgcolor" value="#000000"&gt;&lt;embed src="http://tubecaption.com:80/flash/player.swf?v=KRiDz-7UpBo&amp;amp;standAlone=true&amp;amp;vcId=278" quality="high" bgcolor="#000000" name="tubecaption.com" allowscriptaccess="always" fullscreen="true" flashvars="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="480" align="middle" height="450"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div&gt;&lt;a href="http://tubecaption.com/watch?v=KRiDz-7UpBo&amp;amp;vcId=278"&gt;&lt;img src="http://tubecaption.com/flash/pf.gif" alt="add your captions on TubeCaption.com" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://tubecaption.com/watch?v=KRiDz-7UpBo&amp;amp;vcId=278"&gt;http://tubecaption.com/watch?v=KRiDz-7UpBo&amp;amp;vcId=278&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8841103242990684384?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8841103242990684384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/08/montez-de-durango-que-vuelva-video-con.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8841103242990684384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8841103242990684384'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/08/montez-de-durango-que-vuelva-video-con.html' title='Montez de Durango - Que Vuelva Video con Lyrics'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5729111246019975993</id><published>2008-08-20T11:50:00.003-05:00</published><updated>2008-08-20T11:57:27.451-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its depend</title><content type='html'>I deployed a site that was using the AjaxToolKit and had references to the System.Web.Extensions.&lt;br /&gt;&lt;br /&gt;I found this error &lt;span style="font-style: italic; font-weight: bold;"&gt;Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its depend&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is due that it could not find that assembly System.Web.Extensions or System.Web.Extensions.Design in the bin or the GAC folder C:\Windows\assembly.&lt;br /&gt;&lt;br /&gt;I solved this error my installing the ASP.NET AJAX 1.0 package from Microsoft.&lt;br /&gt;You can download it at &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This msi installs in your GAC  (C:\Windows\assembly) the correct assemblies System.Web.Extensions version  &lt;span style="font-style: italic; font-weight: bold;"&gt;1.0.61025.0&lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5729111246019975993?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5729111246019975993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/08/could-not-load-file-or-assembly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5729111246019975993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5729111246019975993'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/08/could-not-load-file-or-assembly.html' title='Could not load file or assembly &apos;System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its depend'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5132100470375965629</id><published>2008-07-29T15:55:00.004-05:00</published><updated>2008-07-29T16:03:53.716-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='msbuild'/><title type='text'>MSBuild Error with Web Application Project  : errorMSB4019</title><content type='html'>On windows server 2003 I am using CruiseControl.net (CCNet) to create builds of my application. However, I experience an issue when compiling a web application project (WAP).&lt;br /&gt;&lt;br /&gt;This is the reported error:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;errorMS&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;B4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the &amp;lt;Import&amp;gt; declaration is correct, and that the file exists on disk.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Probably because with vs.net 2005 and vs.net 2008 you need the Web Application Project extension to get the web projects work just like vs.net 2003.&lt;br /&gt;&lt;br /&gt;I fixed this error buy installing the Web Application Project Extension from Microsoft. You can download it &lt;a href="http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://www.blogger.com/%20http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi"&gt; http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This msi takes care of putting the missing MSbuild files required for compile web application project files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5132100470375965629?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5132100470375965629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/07/msbuild-error-with-web-application.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5132100470375965629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5132100470375965629'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/07/msbuild-error-with-web-application.html' title='MSBuild Error with Web Application Project  : errorMSB4019'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4152183931715425388</id><published>2008-07-25T18:07:00.001-05:00</published><updated>2008-07-25T18:19:24.416-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='relocation'/><title type='text'>No 802.11g WIFI in Dallas, TX Suburns</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CJavier%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CJavier%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CJavier%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} a:link, span.MsoHyperlink 	{mso-style-priority:99; 	color:blue; 	mso-themecolor:hyperlink; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;With my current relocation to Lewisville, Texas relocation process, I have found myself stuck with WFI 80211b network everywhere I go. I can’t believe this NO G WIFI! I used &lt;a href="http://www.jiwire.com/"&gt;jiwire.com&lt;/a&gt; to search for WIFI &lt;span style=""&gt; &lt;/span&gt;and HotSpots so that I can work. &lt;span style=""&gt; &lt;/span&gt;Until I with my placed setup with Internet I am stuck working from Starbucks, Panera Bread, Barnes &amp;amp; nobles etc. But all these places have 80211b networks. Some of them have G but requires an ATT account or pay for 2 hours of wifi. I have T-Mobile and I am having a really hard time getting fast connects. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;See the results from &lt;a href="http://www.jiwire.com/"&gt;jiwire.com&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a href="http://www.jiwire.com/search-wifi-hotspots-general.htm?radius=5.0&amp;amp;venue_group_id=0&amp;amp;radius_unit=mi&amp;amp;latitude=33.007591&amp;amp;longitude=-96.974252&amp;amp;address=2325+S+Stemmons+Frwy&amp;amp;city=Lewisville&amp;amp;city_id=131871&amp;amp;state_id=44&amp;amp;state=TX&amp;amp;country_id=1&amp;amp;country=US&amp;amp;zip=75067&amp;amp;hotspot_name=&amp;amp;location_type_id=0&amp;amp;technology_id=0&amp;amp;pay_free=&amp;amp;provider_id=0&amp;amp;ssid=&amp;amp;jump_letter=&amp;amp;wisp=&amp;amp;limit=&amp;amp;startnum=1&amp;amp;num_per_page=&amp;amp;tab=5&amp;amp;&amp;amp;result_display=list"&gt;http://www.jiwire.com/search-wifi-hotspots-general.htm?radius=5.0&amp;amp;venue_group_id=0&amp;amp;radius_unit=mi&amp;amp;latitude=33.007591&amp;amp;longitude=-96.974252&amp;amp;address=2325+S+Stemmons+Frwy&amp;amp;city=Lewisville&amp;amp;city_id=131871&amp;amp;state_id=44&amp;amp;state=TX&amp;amp;country_id=1&amp;amp;country=US&amp;amp;zip=75067&amp;amp;hotspot_name=&amp;amp;location_type_id=0&amp;amp;technology_id=0&amp;amp;pay_free=&amp;amp;provider_id=0&amp;amp;ssid=&amp;amp;jump_letter=&amp;amp;wisp=&amp;amp;limit=&amp;amp;startnum=1&amp;amp;num_per_page=&amp;amp;tab=5&amp;amp;&amp;amp;result_display=list&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;I keep on asking and no one knows what I am talking about. I talked to someone at Starbucks and they are like “Yeah, we just got new equipment from ATT for the WIFI” and guess what? It’s a 80211b connection! What good of an upgrade, uh?&lt;/p&gt;  &lt;p class="MsoNormal"&gt;So if you are around the Lewisville, Texas or Flower Mound, Texas Area and you are in need of High speed WiFi, be prepare. Make sure you spend some time thinking of where you are going to be going for your HotSpot.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4152183931715425388?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4152183931715425388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/07/no-80211g-wifi-in-dallas-tx-suburns.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4152183931715425388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4152183931715425388'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/07/no-80211g-wifi-in-dallas-tx-suburns.html' title='No 802.11g WIFI in Dallas, TX Suburns'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8579692731179154807</id><published>2008-07-22T09:22:00.005-05:00</published><updated>2008-07-22T09:30:14.517-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Examples'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Time Ago in Words for .NET C#</title><content type='html'>I saw the need for a C# version of the time_ago_in_words function in Ruby. I translated the code below into C# from my existing post I published for Ruby.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;static string TimeAgo(DateTime time)&lt;br /&gt;{&lt;br /&gt;    DateTime startDate = DateTime.Now;&lt;br /&gt;    TimeSpan deltaMinutes = startDate.Subtract(time);&lt;br /&gt;    string distance = string.Empty;&lt;br /&gt;    if (deltaMinutes.TotalMinutes &lt;= (8724 * 60))&lt;br /&gt;    {&lt;br /&gt;        distance = DistanceOfTimeInWords(deltaMinutes.TotalMinutes);&lt;br /&gt;        if (deltaMinutes.Minutes &lt; 0)&lt;br /&gt;        {&lt;br /&gt;            return distance + " from  now";&lt;br /&gt;        }&lt;br /&gt;        else&lt;br /&gt;        {&lt;br /&gt;            return distance + " ago";&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;        return "on " + time.ToString();&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static string DistanceOfTimeInWords(double minutes)&lt;br /&gt;{&lt;br /&gt;    if (minutes &lt; 1)&lt;br /&gt;    {&lt;br /&gt;        return "less than a minute";&lt;br /&gt;    }&lt;br /&gt;    else if (minutes &lt; 50)&lt;br /&gt;    {&lt;br /&gt;        return minutes.ToString() + " minutes";&lt;br /&gt;    }&lt;br /&gt;    else if (minutes &lt; 90)&lt;br /&gt;    {&lt;br /&gt;        return "about one hour";&lt;br /&gt;    }&lt;br /&gt;    else if (minutes &lt; 1080)&lt;br /&gt;    {&lt;br /&gt;        return Math.Round(new decimal((minutes / 60))).ToString() + " hours";&lt;br /&gt;    }&lt;br /&gt;    else if (minutes &lt; 1440)&lt;br /&gt;    {&lt;br /&gt;        return "one day";&lt;br /&gt;    }&lt;br /&gt;    else if (minutes &lt; 2880)&lt;br /&gt;    {&lt;br /&gt;        return "about one day";&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;        return Math.Round(new decimal((minutes / 1440))).ToString() + " days";&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can download the complete source here: &lt;a href="http://www.box.net/shared/3fmhllxq8g"&gt;http://www.box.net/shared/3fmhllxq8g&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8579692731179154807?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8579692731179154807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/07/time-ago-in-words-for-net-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8579692731179154807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8579692731179154807'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/07/time-ago-in-words-for-net-c.html' title='Time Ago in Words for .NET C#'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4366970667645780871</id><published>2008-07-08T16:35:00.008-05:00</published><updated>2008-07-08T16:46:00.943-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Hide Submit button to prevent double click using JavaScript in .NET</title><content type='html'>Here is snippet of JavaScript to hide the submit button to prevent users from double-clicking on the button multiple times causing several server requests.&lt;br /&gt;&lt;br /&gt;What I like to do is hide the submit button and show a message to notify the user that the action is in progress.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;This is my front-end code. I have an image button that OnClick is submits an order.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;asp:ImageButton ID="btnPlaceOrder" runat="server" Visible="False" OnClick="btnPlaceOrder_Click" /&amp;gt;&lt;br /&gt;&amp;lt;div id="process_message" style="display:none;"&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt; Processing your order...&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The code-behind looks like this:&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;btnPlaceOrder.Attributes.Add("onclick", "this.disabled = true;this.hide(); $('process_message').show();" + ClientScript.GetPostBackEventReference(btnPlaceOrder, null) + ";");&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4366970667645780871?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4366970667645780871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/07/hide-submit-button-to-prevent-double.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4366970667645780871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4366970667645780871'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/07/hide-submit-button-to-prevent-double.html' title='Hide Submit button to prevent double click using JavaScript in .NET'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8079830243835987310</id><published>2008-06-30T16:07:00.000-05:00</published><updated>2008-06-30T16:08:38.623-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Flash unable to request swf files from another subdomain within the same web server.</title><content type='html'>Flash unable to request swf files from another sub-domain within the same web server.&lt;br /&gt;&lt;br /&gt;I just experienced an issue with flash loading other swf files in the same web server but requesting from another sub-domain.&lt;br /&gt;For example:&lt;br /&gt;http://www.mywebsite.com/flash/shell.swf is requesting http://mywebsite.com/flash/game.swf&lt;br /&gt;&lt;br /&gt;The crossdomain.xml is not issue. This is configured to allow * all access.&lt;br /&gt;The website path is provided to shell.swf via a param. If I change the param to provide “http://www.mywebsite.com” it will work when the user is using www.mywebsite.com. This is very weir because everything is stored in the same location is just an issue with host headers.&lt;br /&gt;I solved this issue my simply providing the current url host header to the shell.swf via the param.&lt;br /&gt;&lt;br /&gt;So if the user is using “www” I will use www.mywebsite.com.  If the user is using “origin.mywebsite.com”, then flash will use origin.mywebsite.com.&lt;br /&gt;I am not sure 100% why flash is unable to request files from other sub-domains. But this was the quickest solution to this problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8079830243835987310?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8079830243835987310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/flash-unable-to-request-swf-files-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8079830243835987310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8079830243835987310'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/flash-unable-to-request-swf-files-from.html' title='Flash unable to request swf files from another subdomain within the same web server.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6197830930775917810</id><published>2008-06-27T10:18:00.007-05:00</published><updated>2008-06-27T10:25:48.902-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Regular Expressions'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Strip numbers from String : C# .NET Remove numbers from string</title><content type='html'>Here is a simple function I created to strip/remove numbers from a string.&lt;br /&gt;I used the regular expressions to check if a char is number.&lt;br /&gt;I choose to use regular expressions than using the Double.TryParse() because I feel RegEx are faster then the TryParse function. I could be wrong but at this point is doing the job.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;public string StripNumbers(string input)&lt;br /&gt;{&lt;br /&gt;    Regex regEx = new Regex("[0-9]+");&lt;br /&gt;    StringBuilder sb = new StringBuilder();&lt;br /&gt;    foreach (char a in input)&lt;br /&gt;    {&lt;br /&gt;        if (!regEx.IsMatch(a.ToString()))&lt;br /&gt;        {&lt;br /&gt;            sb.Append(a);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    return sb.ToString();&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The next steps will be to test performance and find out what method is faster to check for IsNumber().&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6197830930775917810?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6197830930775917810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/strip-numbers-from-string-c-net-remove.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6197830930775917810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6197830930775917810'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/strip-numbers-from-string-c-net-remove.html' title='Strip numbers from String : C# .NET Remove numbers from string'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-1763765465948348625</id><published>2008-06-25T20:21:00.004-05:00</published><updated>2008-06-25T20:30:20.741-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDTC'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>The transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D024)</title><content type='html'>In .Net this exception occurs when using the TransactionScope.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;using (TransactionScope ts = new TransactionScope())&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Follow this instructions on all database servers and web servers to configure properly the MSDTC service.&lt;br /&gt;&lt;br /&gt;First verify the "Distribute Transaction Coordinator" Service is&lt;br /&gt;running on both database server computer and client computers&lt;br /&gt;1.      Go to "Administrative Tools &gt; Services"&lt;br /&gt;2.      Turn on the "Distribute Transaction Coordinator" Service if it is not running&lt;br /&gt;&lt;br /&gt;If it is running and client application is not on the same computer as&lt;br /&gt;the database server, on the computer running database server&lt;br /&gt;1.      Go to "Administrative Tools &gt; &lt;span style="font-weight: bold;"&gt;Component Services&lt;/span&gt;"&lt;br /&gt;2.      On the left navigation tree, go to "Component Services &gt; Computers&lt;br /&gt;&gt; My Computer" (you may need to double click and wait as some nodes&lt;br /&gt;need time to expand)&lt;br /&gt;3.      Right click on "My Computer", select "Properties"&lt;br /&gt;4.      Select "&lt;span style="font-weight: bold;"&gt;MSDTC&lt;/span&gt;" tab&lt;br /&gt;5.      Click "&lt;span style="font-weight: bold;"&gt;Security Configuration&lt;/span&gt;"&lt;br /&gt;6.      Make sure you check "&lt;span style="font-weight: bold;"&gt;Network DTC Access&lt;/span&gt;", "&lt;span style="font-weight: bold;"&gt;Allow Remote Client&lt;/span&gt;",&lt;br /&gt;"&lt;span style="font-weight: bold;"&gt;Allow Inbound/Outbound&lt;/span&gt;", "&lt;span style="font-weight: bold;"&gt;Enable TIP&lt;/span&gt;" (Not required if the client machine and remote machines are in the same domain)&lt;br /&gt;7.      The MSDTC service will restart.&lt;br /&gt;&lt;br /&gt;On the client computer use the same above procedure to open the&lt;br /&gt;"Security Configuration" setting, make sure you check "Network DTC&lt;br /&gt;Access", "Allow Inbound/Outbound" option, restart service and computer&lt;br /&gt;if necessary.&lt;br /&gt;&lt;br /&gt;On the SQL server service manager, click "Service" dropdown, select&lt;br /&gt;"Distribute Transaction Coordinator", it should be also running on&lt;br /&gt;the SQL server computer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is this does not solve the issue, check the web server to ensure if DTC is enable.&lt;br /&gt;1) Go To Control Panel&lt;br /&gt;2) Add Remove Programs -&gt; Add/Remove Windows Components&lt;br /&gt;4) Select the Application Server and Click on the Details button&lt;br /&gt;5) Ensure that Enable DTC Service is selected.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Additional Reading about MSDTC here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Distributed_Transaction_Coordinator"&gt;http://en.wikipedia.org/wiki/Distributed_Transaction_Coordinator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms684146.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms684146.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-1763765465948348625?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/1763765465948348625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/transaction-manager-has-disabled-its.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1763765465948348625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1763765465948348625'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/transaction-manager-has-disabled-its.html' title='The transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D024)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-3807155929914057617</id><published>2008-06-23T15:55:00.004-05:00</published><updated>2008-06-23T15:57:26.756-05:00</updated><title type='text'>C# Get Person Age In Years By Birth Date ( DOB )</title><content type='html'>Here is quick method for C# to get the age of a person given the birth date.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;public int GetAge(DateTime dob)&lt;br /&gt;{&lt;br /&gt;    // Get year diff&lt;br /&gt;    int years = DateTime.Now.Year - dob.Year;&lt;br /&gt;    // Add year diff to birth day&lt;br /&gt;    dob = dob.AddYears(years);&lt;br /&gt;&lt;br /&gt;    // Subtract another year if its one day before the birth day&lt;br /&gt;    if (DateTime.Today.CompareTo(dob) &lt; 0) { years--; }&lt;br /&gt;    &lt;br /&gt;    return years;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-3807155929914057617?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/3807155929914057617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/c-get-person-age-in-years-by-birth-date.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3807155929914057617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3807155929914057617'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/c-get-person-age-in-years-by-birth-date.html' title='C# Get Person Age In Years By Birth Date ( DOB )'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-3275128370976415686</id><published>2008-06-20T15:53:00.003-05:00</published><updated>2008-06-20T15:57:21.864-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>ASP.NET  LinkButton does not work in FireFox as the DefaultButton</title><content type='html'>I recently discover that LinkButtons do not work in FireFox as the form's default button to trigger the form submit on the Enter keystroke.&lt;br /&gt;&lt;br /&gt;I tried doing this:&lt;br /&gt;&lt;br /&gt;this.Form.DefaultButton = this.lbtnLogin.UniqueID;&lt;br /&gt;&lt;br /&gt;And no luck.&lt;br /&gt;I also tried &lt;asp:Panel DefaultButton="MyLinkButtonId" /&gt;&lt;br /&gt;and this also did not work.&lt;br /&gt;&lt;br /&gt;But here is more info to solve this issue.&lt;br /&gt;I worked around by making my button and ImageButton instead of a LinkButton.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://kpumuk.info/asp-net/using-panel-defaultbutton-property-with-linkbutton-control-in-asp-net"&gt;&lt;br /&gt;http://kpumuk.info/asp-net/using-panel-defaultbutton-property-with-linkbutton-control-in-asp-net&lt;a/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-3275128370976415686?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/3275128370976415686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/aspnet-linkbutton-does-not-work-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3275128370976415686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3275128370976415686'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/aspnet-linkbutton-does-not-work-in.html' title='ASP.NET  LinkButton does not work in FireFox as the DefaultButton'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4362957072982882263</id><published>2008-06-13T11:40:00.004-05:00</published><updated>2008-06-13T11:57:42.513-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Bookmarking with Flash and Javascript</title><content type='html'>Bookmarking using Flash&lt;br /&gt;&lt;br /&gt;To bookmark a page from a Flash call, flash needs to call an external JavaScript function in your page to actually do the bookmarking any browser.&lt;br /&gt;&lt;br /&gt;But here is the trick....&lt;br /&gt;&lt;br /&gt;In order for the bookmarking prompt window for example in IE to show up the focus needs to be outside the flash object.  So you need to set a focus to a DOM element outside flash.&lt;br /&gt;&lt;br /&gt;Here is an example script that works.&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;pre&gt;&lt;code&gt;function bookMarkPage(url, title) {&lt;br /&gt;// set focus to a DOM element, otherwise it won't work.&lt;br /&gt;$('flash_container').focus();&lt;br /&gt;&lt;br /&gt;switch(BrowserDetect.browser){&lt;br /&gt;case "Firefox":&lt;br /&gt;   window.location.hash = url;//set the hash value&lt;br /&gt;   alert("Please press 'Ctrl + D' to bookmark this page.");&lt;br /&gt; break;&lt;br /&gt;&lt;br /&gt; case "Explorer":&lt;br /&gt;   window.external.AddFavorite(url, title);&lt;br /&gt; break;&lt;br /&gt;&lt;br /&gt; case "Safari":&lt;br /&gt;   alert("Please press 'Ctrl + D' to bookmark this page.");&lt;br /&gt; break;&lt;br /&gt;&lt;br /&gt; case "Opera":&lt;br /&gt;   // Create document element dynamic and invoke&lt;br /&gt;   var bookMark = document.createElement('a');&lt;br /&gt;   bookMark.setAttribute('rel','sidebar');&lt;br /&gt;   bookMark.setAttribute('href',url);&lt;br /&gt;   bookMark.setAttribute('title',title);&lt;br /&gt;   bookMark.click();&lt;br /&gt; break;&lt;br /&gt;&lt;br /&gt; default:&lt;br /&gt;   alert("Please bookmark this page manually.");&lt;br /&gt; break;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4362957072982882263?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4362957072982882263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/bookmarking-with-flash-and-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4362957072982882263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4362957072982882263'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/bookmarking-with-flash-and-javascript.html' title='Bookmarking with Flash and Javascript'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2153303654571502907</id><published>2008-06-12T22:44:00.003-05:00</published><updated>2008-06-12T22:54:29.537-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TubeCaption'/><category scheme='http://www.blogger.com/atom/ns#' term='closed-captions'/><title type='text'>The problem with video captions today?</title><content type='html'>What’s the problem with adding closed-captions to online videos up until today?  &lt;p class="MsoNormal"&gt;As I dig more into the online video closed-captioning market and get more convince that &lt;a href="http://tubecaption.com/"&gt;TubeCaption.com&lt;/a&gt; has the yet the best web editor for adding captions to your captions.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You see the #1 problem with the websites today such as Google Video Captioning, &lt;a href="http://dotsub.com/"&gt;dotSub.com&lt;/a&gt;, YouTube.com, &lt;a href="http://veotag.com/"&gt;veoTag&lt;/a&gt;, and many others is that they force the user to use minutes and seconds. The user does not want to remember or even set the start and end time for the captions. That’s too painful.&lt;span style=""&gt;  &lt;/span&gt;I have tried it and I hate it! Adding captions should be more simplified and super easy to use. Everyone knows that adding captions is not as easy as it looks.&lt;span style=""&gt;  &lt;/span&gt;So, that’s why you have to provide the best out of the web for these users. Features like, copy and paste, resizing, drag and drop, delete, etc are small features that makes the user experience a much better one.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This is why I am very passionate about &lt;a href="http://www.tubecaption.com/"&gt;TubeCaption.com.&lt;/a&gt; On top of &lt;a href="http://tubecaption.com/static/revenue_sharing/overview.html"&gt;rewarding the users that provide the captions with money&lt;/a&gt; (cash $), we are trying to make a better and a more pleasant experience when it comes to adding captions (closed-captions) to their favorite videos. &lt;a href="http://tubecaption.com/captions/demo"&gt;Try the caption editor here &lt;/a&gt;to start playing with the &lt;a href="http://tubecaption.com/captions/demo"&gt;“captionizer”&lt;/a&gt; and add captions in seconds.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Video captions will take video viewing, searching, and of course the advertising to another level. This is the next step to online video viewing. The users will be able to find exactly what they are looking for just by simply entering short keywords that are found somewhere in a video with captions.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Oh, I am forgetting, &lt;a href="http://tubecaption.com/"&gt;TubeCaption.com&lt;/a&gt; is 100% free and will always be. Every can add captions, comments, transcripts, and etc to any online video. At this point only &lt;a href="http://youtube.com/"&gt;YouTube.com&lt;/a&gt; is supported but with good response from the public we will be able to add support to other video providers.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Give it a try and let us know what you think.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2153303654571502907?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/2153303654571502907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/problem-with-video-captions-today.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2153303654571502907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2153303654571502907'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/problem-with-video-captions-today.html' title='The problem with video captions today?'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8735636120706978294</id><published>2008-06-10T11:18:00.002-05:00</published><updated>2008-06-10T13:03:29.170-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>IIS Error: You have attempted to execute a CGI, ISAPI..</title><content type='html'>I setup a new asp.net 2.0 application under IIS web service and I come across this error:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The page cannot be displayed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you get this error it usually means that you have not set execute permissions to "Scripts only" under the "home directory" tab in your website properties. When creating a new website the value for execute permission is set to "none". Changing to "Scripts only" will solve this problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8735636120706978294?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8735636120706978294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/iis-error-you-have-attempted-to-execute.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8735636120706978294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8735636120706978294'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/iis-error-you-have-attempted-to-execute.html' title='IIS Error: You have attempted to execute a CGI, ISAPI..'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4887958247912187132</id><published>2008-06-07T15:16:00.005-05:00</published><updated>2008-06-07T15:36:37.240-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TubeCaption'/><category scheme='http://www.blogger.com/atom/ns#' term='videos with captions'/><title type='text'>TubeCaption.com | Videos with Captions</title><content type='html'>Here is an example video I created for my wife. Its a song by Enrique Iglesias in spanish. I added the music lyrics to the video I pull from YouTube.com&lt;br /&gt;&lt;br /&gt;In the beginning I added my own video annotations.&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="450" id="tubecaption_player" align="middle"&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;param name="fullscreen" value="true" /&gt;&lt;param name="movie" value="http://tubecaption.com:80/flash/player.swf?v=agcZMnqqJ-0&amp;standAlone=true&amp;vcId=20&amp;siteUrl=tubecaption.com" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="bgcolor" value="#000000" /&gt;&lt;embed src="http://tubecaption.com:80/flash/player.swf?v=agcZMnqqJ-0&amp;standAlone=true&amp;vcId=20&amp;siteUrl=tubecaption.com" quality="high" bgcolor="#000000" width="480" height="450" name="tubecaption.com" align="middle" allowScriptAccess="always" fullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;&lt;/object&gt;&lt;div&gt;&lt;a href="http://http://tubecaption.com/watch?v=agcZMnqqJ-0&amp;vcId=20"&gt;&lt;img src="http://tubecaption.com/flash/pf.gif" alt="add your captions on TubeCaption.com" border="0"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;a href="http://tubecaption.com/watch?v=agcZMnqqJ-0&amp;vcId=20"&gt;http://tubecaption.com/watch?v=agcZMnqqJ-0&amp;vcId=20&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4887958247912187132?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4887958247912187132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/tubecaptioncom-videos-with-captions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4887958247912187132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4887958247912187132'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/tubecaptioncom-videos-with-captions.html' title='TubeCaption.com | Videos with Captions'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-1649201414054228503</id><published>2008-06-06T13:52:00.003-05:00</published><updated>2008-06-06T13:54:17.873-05:00</updated><title type='text'>Amazon website down??</title><content type='html'>Just when to amazon.com and to find out that there website is down.&lt;br /&gt;&lt;br /&gt;Why?&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_BcWINeDe0Ps/SEmHuc88koI/AAAAAAAABdc/Kfz9Dd3za3Y/s1600-h/amazon+down.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_BcWINeDe0Ps/SEmHuc88koI/AAAAAAAABdc/Kfz9Dd3za3Y/s400/amazon+down.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5208843676146242178" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-1649201414054228503?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/1649201414054228503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/amazon-website-down.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1649201414054228503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1649201414054228503'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/amazon-website-down.html' title='Amazon website down??'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_BcWINeDe0Ps/SEmHuc88koI/AAAAAAAABdc/Kfz9Dd3za3Y/s72-c/amazon+down.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-1620042118993699399</id><published>2008-06-05T23:59:00.004-05:00</published><updated>2008-06-06T00:25:01.070-05:00</updated><title type='text'>TubeCaption.com Videos with Closed Captions</title><content type='html'>It’s been a very good journey working on my latest website &lt;a href="http://www.tubecaption.com/"&gt;TubeCaption.com&lt;/a&gt;.&lt;br /&gt;I started this experiment site with my friend Alex Le. I took on this challenge primary to learn something else other than .NET. Yes, I started to learn ruby on rails. We started this project 2 months ago to be exact. Our dedication was just part-time since we both have real jobs. However, the project got more and more interesting (actually a lot more fun than work) that we spend more and more time on in and in 3 occasions we coded through the night. No we are so happy that we can at least provide a beta version out in the web so that users can start experimenting with TubeCaption.com.&lt;br /&gt;&lt;br /&gt; I learned a lot working with Alex as a team. We both worked remotely and we did pear to pear programming in our laptops over IM.&lt;br /&gt;Early in the game I had the opportunity to chat with Rohit Kumar, new CIO for the Chicago Sun-times newspaper (&lt;a href="http://www.topix.com/com/hlr/2008/02/rohit-kumar-named-stmgs-new-cio"&gt;http://www.topix.com/com/hlr/2008/02/rohit-kumar-named-stmgs-new-cio&lt;/a&gt;) at an &lt;a href="icstars.org"&gt;i.cstars&lt;/a&gt; event. Rohit and I had a great chat about online video broadcasting and advertising. Up to today videos are only searchable by the title and the description. Some companies are trying tagging the videos with keywords so that searches and ads are more targeted and related to the video content. But with TubeCaption.com you can take this to the next level. Our videos are not just searchable by the title, description, and tags but also by the entire video content. One of my first videos I added captions was a music video by 3 Doors Down (Without you). Two (2) minutes after my captions were published the ads next to the video were about 3 Doors down music rings. Then I experiment with the movie trailer from Iron Man and same thing. A minute later the ads next to the video displayed a video ad for the new Hulk movie. How cool is that?&lt;br /&gt;I believe TubeCaption.com has lots of potential.&lt;br /&gt;&lt;br /&gt;I am personally going to use it to record my own videos, upload them to YouTube, and add captions to provide teaching and how to for the i.cstars community of interns and alumni.&lt;br /&gt;What’s great about TubeCaption?&lt;br /&gt;One nice feature about our site is that we share the revenue with you!&lt;br /&gt;Once you have created an account us, you can link your Google Adsense account and we will display Google ads using your account when your video captions are displayed, about 50% of the time. In the near future will ad support for additional advertising providers.&lt;br /&gt;Well, that’s if for my starter. I have plenty to say but I got to keep in short for today.&lt;br /&gt;Thanks for reading and make sure to visit &lt;a href="http://www.tubecaption.com/"&gt;TubeCaption.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-1620042118993699399?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/1620042118993699399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/tubecaptioncom-videos-with-closed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1620042118993699399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1620042118993699399'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/tubecaptioncom-videos-with-closed.html' title='TubeCaption.com Videos with Closed Captions'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8948165147303455864</id><published>2008-06-02T01:18:00.004-05:00</published><updated>2008-06-13T11:59:48.118-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>ruby on rails: will_paginate anchor param</title><content type='html'>Recently I discover that I can add an anchor to the will_paginate helper for the will_paginate plugin in rails.&lt;br /&gt;&lt;br /&gt;This will create the url as "path/?page=2#myanchor".&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;%= will_paginate @videos, :params =&gt; {:anchor =&gt; "myanchor" }%&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8948165147303455864?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8948165147303455864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/06/ruby-on-rails-willpaginate-anchor-param.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8948165147303455864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8948165147303455864'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/06/ruby-on-rails-willpaginate-anchor-param.html' title='ruby on rails: will_paginate anchor param'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6035229177282811963</id><published>2008-05-28T10:20:00.006-05:00</published><updated>2008-07-02T21:07:31.502-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>IIS 5.1 Server Application Unavailable Error</title><content type='html'>I get this error sometimes when I change the default application in IIS.&lt;br /&gt;When trying to browse my default.aspx page I get the big red font error "Server Application Unavailable".&lt;br /&gt;&lt;br /&gt;I fix this issue by executing the following commands:&lt;br /&gt;1) Give modify access to the "IIS_WPG"and "Internet Guest Account" users to your web directory. Try see if that works, if not continue with step2.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://s313.photobucket.com/albums/ll394/perezjavier/?action=view&amp;amp;current=iispermissions.jpg" target="_blank"&gt;&lt;img src="http://i313.photobucket.com/albums/ll394/perezjavier/iispermissions.jpg" alt="Photobucket" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;2) aspnet_regiis -i&lt;br /&gt;3) iisreset&lt;br /&gt;&lt;br /&gt;Microsoft Instructions:&lt;br /&gt;To fix IIS mappings for ASP.NET, run the aspnet_regiis.exe utility:&lt;br /&gt;1. Click Start, and then click Run.&lt;br /&gt;2. In the Open text box, type cmd, and then press ENTER.&lt;br /&gt;3. At the command prompt, type the following, and then press ENTER:&lt;br /&gt;"%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i&lt;br /&gt;In this path, version represents the version number of the .NET Framework that you installed on your server. You must replace this placeholder with the actual version number when you type the command.&lt;br /&gt;&lt;br /&gt;Then,&lt;br /&gt;&lt;br /&gt;1. Click Start, and then click Run.&lt;br /&gt;2. In the Open text box, type iisreset.&lt;br /&gt;&lt;br /&gt;Done! Go check out your site it should be up and running.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6035229177282811963?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6035229177282811963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/05/iis-51-server-application-unavailable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6035229177282811963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6035229177282811963'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/05/iis-51-server-application-unavailable.html' title='IIS 5.1 Server Application Unavailable Error'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4251252206207514087</id><published>2008-05-28T00:09:00.008-05:00</published><updated>2008-05-28T10:44:11.029-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Ruby: Display datetime - time in words -  timeago helper function.</title><content type='html'>I found this function on the web and putted right into my helper class to display  DateTime or Time into words. Displaying time in words is now more used on the web. Popular pages such as YouTube and Yahoo videos use this approach.&lt;br /&gt;&lt;br /&gt;Copy the code and plugged into your helper class.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt; def timeago(time, options = {})&lt;br /&gt;   start_date = options.delete(:start_date) || Time.new&lt;br /&gt;   date_format = options.delete(:date_format) || :default&lt;br /&gt;   delta_minutes = (start_date.to_i - time.to_i).floor / 60&lt;br /&gt;   if delta_minutes.abs &lt;= (8724*60)       &lt;br /&gt;     distance = distance_of_time_in_words(delta_minutes)       &lt;br /&gt;     if delta_minutes &lt; 0&lt;br /&gt;        return "#{distance} from now"&lt;br /&gt;     else&lt;br /&gt;        return "#{distance} ago"&lt;br /&gt;     end&lt;br /&gt;   else&lt;br /&gt;      return "on #{DateTime.now.to_formatted_s(date_format)}"&lt;br /&gt;   end&lt;br /&gt; end&lt;br /&gt; def distance_of_time_in_words(minutes)&lt;br /&gt;   case&lt;br /&gt;     when minutes &lt; 1&lt;br /&gt;       "less than a minute"&lt;br /&gt;     when minutes &lt; 50&lt;br /&gt;       pluralize(minutes, "minute")&lt;br /&gt;     when minutes &lt; 90&lt;br /&gt;       "about one hour"&lt;br /&gt;     when minutes &lt; 1080&lt;br /&gt;       "#{(minutes / 60).round} hours"&lt;br /&gt;     when minutes &lt; 1440&lt;br /&gt;       "one day"&lt;br /&gt;     when minutes &lt; 2880&lt;br /&gt;       "about one day"&lt;br /&gt;     else&lt;br /&gt;       "#{(minutes / 1440).round} days"&lt;br /&gt;   end&lt;br /&gt; end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4251252206207514087?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4251252206207514087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/05/ruby-display-datetime-in-words-timeago.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4251252206207514087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4251252206207514087'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/05/ruby-display-datetime-in-words-timeago.html' title='Ruby: Display datetime - time in words -  timeago helper function.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-852387728374454113</id><published>2008-05-27T23:46:00.015-05:00</published><updated>2008-11-07T13:53:54.886-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Ruby: Format seconds into minutes to_minutes function</title><content type='html'>I created this function to turn seconds into minutes.&lt;br /&gt;Example: 500 seconds should be displayed as 8:00 minutes.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt; def to_minutes(seconds)&lt;br /&gt;  &lt;br /&gt;  m = (seconds/60).floor&lt;br /&gt;  s = (seconds - (m * 60)).round&lt;br /&gt; &lt;br /&gt;  # add leading zero to one-digit minute&lt;br /&gt;  if m &lt; 10&lt;br /&gt;   m = "0#{m}"&lt;br /&gt;  end&lt;br /&gt;  # add leading zero to one-digit second&lt;br /&gt;  if s &lt; 10&lt;br /&gt;   s = "0#{s}"&lt;br /&gt;   end&lt;br /&gt;  # return formatted time&lt;br /&gt;  return "#{m}:#{s}"&lt;br /&gt; end&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-852387728374454113?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/852387728374454113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/05/ruby-format-seconds-into-minutes.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/852387728374454113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/852387728374454113'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/05/ruby-format-seconds-into-minutes.html' title='Ruby: Format seconds into minutes to_minutes function'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2403762488328704524</id><published>2008-03-25T10:04:00.000-05:00</published><updated>2008-03-25T10:05:13.982-05:00</updated><title type='text'>IE caches IFrame pages. Page load does not fire in IFrame page.</title><content type='html'>I had this issue on a project that I was working on. I created an IFrame to load a page in a modal window. On the close of the modal window I will close the frame, and then when the user clicks on a button to open the window I will recreate the frame with the same url to load the page. This worked fine with FireFox. On every load of the modal window I the Page_Load event will fire, however, with IE this was not the case. I solve the problem by creating a unique request every time setting a parameter with a random number in the source of the IFrame.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Iframe.src="MyPage.aspx?unique="+ Math.random();&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2403762488328704524?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/2403762488328704524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/03/ie-caches-iframe-pages-page-load-does.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2403762488328704524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2403762488328704524'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/03/ie-caches-iframe-pages-page-load-does.html' title='IE caches IFrame pages. Page load does not fire in IFrame page.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7447082240976563611</id><published>2008-03-20T08:39:00.008-05:00</published><updated>2008-07-22T09:20:59.340-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bad Code'/><title type='text'>Aivea eShop Shopping Cart is NOT Enterprise Ready (Review)</title><content type='html'>After looking for e-commerce solution for my store shopping cart I made the decision to go with Aivea eShop product. Their website ‘professional’ looking was what convinced me to buy it. However, when I downloaded the product with the source code I was shock. I have work in “Enterprise wide” applications and the eShop source code is not enterprise ready as they claim in their website.&lt;br /&gt;&lt;br /&gt;These are my disappointment factors:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Source code uses Hungarian notation.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;In store front website source code they persists almost every value in the session in the session.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;They don’t use strong typed entities. I only noticed 3 or 4 object to used to get data&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Heavy used of data sets instead of objects&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Not a flexible architecture. Business rules and data access is all in the App_Code folder. If you have more than one interface that needs to access the shopping cart to process order or retrieve order orders you can’t accomplish it without serious re-factoring and extracting the source code to reusable components.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;I am sure I can find other reasons but I will stop here. This was the reason I decided not to use it in my application. Towards the end of the project I was so happy that I did not use this out of the shelf solution that encouraged me to write this article.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;I am not writing this post to drive off their business, but to express my believe and make them be aware of what a user is thinking about their product. By the way the version that I used was 2.5+.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;You can find more reviews here at&lt;br /&gt;&lt;a href="http://www.411asp.net/func/review?id=6449910&amp;rid=&amp;proc=anony"&gt;http://www.411asp.net/func/review?id=6449910&amp;rid=&amp;proc=anony&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7447082240976563611?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7447082240976563611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/03/aivea-eshop-shopping-cart-is-not.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7447082240976563611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7447082240976563611'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/03/aivea-eshop-shopping-cart-is-not.html' title='Aivea eShop Shopping Cart is NOT Enterprise Ready (Review)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7504851069158423628</id><published>2008-03-18T10:54:00.004-05:00</published><updated>2008-03-18T11:02:40.078-05:00</updated><title type='text'>DetailsView Edit Mode never changes after Update command. DetailsView Edit button requires to clicks to change to edit mode.</title><content type='html'>I was stocked for sometime using the asp.net 2.0 DetailsView control to Edit/Update data. I wanted to do my custom implementation for the Update command instead of using the DataBinding Object sources but I found my self in trouble with several road blocks.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Problem 1: &lt;/b&gt;When clicking on the Edit button the DetailsView will not change the mode until the second click. The edit button required two clicks to change the mode to Edit instead of ReadOnly. &lt;br /&gt;I solved this problem by changing the mode in the ModeChanging event handler and then rebinding the DetailsView control.&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ModeChanging Event Handler:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;protected void dvOrder_ModeChanging(object sender, DetailsViewModeEventArgs e)&lt;br /&gt;        {&lt;br /&gt;            dvOrders.ChangeMode(e.NewMode);&lt;br /&gt;&lt;br /&gt;            if (e.NewMode != DetailsViewMode.Insert)&lt;br /&gt;            {&lt;br /&gt;                RefreshOrderDetails();&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Problem 2: &lt;/b&gt;When clicking the update button I handle the updating of the order in the ItemUpdating event but the ItemUpdated never fires and the DetailsView never change the mode to ReadOnly after the data was updated. DetailsView control always stayed on the Edit Mode.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I solve this problem by canceling the ItemUpdating event, changing the mode, and rebinding the details view data source.&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ItemUpdating Event Handler:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  protected void dvOrder_ItemUpdating(object sender, DetailsViewUpdateEventArgs e)&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            UpdateOrder();&lt;br /&gt;&lt;br /&gt;            e.Cancel = true;&lt;br /&gt;&lt;br /&gt;            dvOrders.ChangeMode(DetailsViewMode.ReadOnly);&lt;br /&gt;            &lt;br /&gt;            RefreshOrderDetails();&lt;br /&gt;        } &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;This was the only way I got things to worked for me. The ItemUpdated event never fired but I got the DetailsView to works how I wanted. I wish there was an easier way to do this or at least more documentation on Microsoft’s website.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7504851069158423628?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7504851069158423628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/03/detailsview-edit-mode-never-changes.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7504851069158423628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7504851069158423628'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/03/detailsview-edit-mode-never-changes.html' title='DetailsView Edit Mode never changes after Update command. DetailsView Edit button requires to clicks to change to edit mode.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5681633026571018697</id><published>2008-03-11T09:19:00.008-05:00</published><updated>2008-03-11T09:32:18.480-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>IE Autocomplete Dropdown wrong location in Modal/Dialog window ASP.NET 2.0</title><content type='html'>I recently discover that if the &lt;strong&gt;AutoCompleteType&lt;/strong&gt; attribute is not specify explicitly in the input control IE will display the autocomplete options dropdown in offset location in modal/dialog windows.&lt;br /&gt;&lt;br /&gt;This is not the case if you are using Yahoo's tool bar or Google's auto fill feature in its tool bar, but IE is more stupid.&lt;br /&gt;&lt;br /&gt;I fixed this issue my explicitly settings the &lt;strong&gt;AutoCompleteType&lt;/strong&gt; attribute in the Textbox control.&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;Example textbox for first name field.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;asp:TextBox ID="txtFirstName" CssClass="input" runat="server" AutoCompleteType="firstname"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;By setting the AutoCompleteType attribute the problem was corrected.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5681633026571018697?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5681633026571018697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/03/ie-autocomplete-dropdown-location-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5681633026571018697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5681633026571018697'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/03/ie-autocomplete-dropdown-location-in.html' title='IE Autocomplete Dropdown wrong location in Modal/Dialog window ASP.NET 2.0'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5578297649136472787</id><published>2008-02-26T14:16:00.006-06:00</published><updated>2008-03-18T11:01:47.818-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>JavaScript Validate Email using RegEx</title><content type='html'>Use the code below with an asp.net custom validator to check if an email is valid.&lt;br /&gt;The code below check for a value if no value is provided then is not a valid email.&lt;br /&gt;&lt;br /&gt;The pattern below will work with gmail's email address with "+" such as johnsmith+test@gmail.com&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;function ValidateEmail(sender, args)&lt;br /&gt;{&lt;br /&gt;   if(args.Value.trim().length &gt; 0)&lt;br /&gt;   {&lt;br /&gt;       var ex = /^([a-zA-Z0-9_.+-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/;&lt;br /&gt;       var re = new RegExp(ex );&lt;br /&gt;       &lt;br /&gt;       if(re.exec(args.Value))&lt;br /&gt;       {&lt;br /&gt;           args.IsValid = true;&lt;br /&gt;       }&lt;br /&gt;       else&lt;br /&gt;       {&lt;br /&gt;           args.IsValid = false;&lt;br /&gt;       }&lt;br /&gt;      &lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;       args.IsValid = false;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5578297649136472787?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5578297649136472787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/02/javascript-validate-email-using-regex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5578297649136472787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5578297649136472787'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/02/javascript-validate-email-using-regex.html' title='JavaScript Validate Email using RegEx'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-2993844477664051743</id><published>2008-02-18T13:48:00.004-06:00</published><updated>2008-03-18T10:59:31.672-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Credit Card Expiration Date Validation -Javascript Function</title><content type='html'>&lt;div class="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;function ValidateExpDate()&lt;br/&gt;&lt;br /&gt;{&lt;br/&gt;&lt;br /&gt;    var ccExpYear = 20 + $F('&amp;lt;%= txtCCExpirationYear.ClientID%&amp;gt;');&lt;br/&gt;&lt;br /&gt;    var ccExpMonth = $F('&amp;lt;%= txtCCExpirationMonth.ClientID%&amp;gt;');&lt;br/&gt;&lt;br /&gt;    &lt;br/&gt;&lt;br /&gt;    var expDate=new Date();&lt;br/&gt;&lt;br /&gt;    expDate.setFullYear(ccExpYear, ccExpMonth, 1);&lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;    var today = new Date();&lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;    if (expDate&amp;lt;today)&lt;br/&gt;&lt;br /&gt;    {&lt;br/&gt;&lt;br /&gt;        // Credit Card is expire&lt;br/&gt;&lt;br /&gt;        return false;&lt;br/&gt;&lt;br /&gt;    }&lt;br/&gt;&lt;br /&gt;    else&lt;br/&gt;&lt;br /&gt;    {&lt;br/&gt;&lt;br /&gt;        // Credit is valid&lt;br/&gt;&lt;br /&gt;        return true;&lt;br/&gt;&lt;br /&gt;    }&lt;br/&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-2993844477664051743?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/2993844477664051743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/02/credit-card-expiration-date-validation.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2993844477664051743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/2993844477664051743'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/02/credit-card-expiration-date-validation.html' title='Credit Card Expiration Date Validation -Javascript Function'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8383044295476444594</id><published>2008-02-13T15:10:00.002-06:00</published><updated>2008-02-13T15:11:42.899-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>Compilation Error CS0433</title><content type='html'>I fixed this error by changing the Page Property CodeFile to CodeBehind on the mater page and the content pages.&lt;br /&gt;&lt;br /&gt;Use CodeBehind when working on Web Application projects in ASP.NET 2.0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8383044295476444594?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8383044295476444594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/02/compilation-error-cs0433.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8383044295476444594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8383044295476444594'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/02/compilation-error-cs0433.html' title='Compilation Error CS0433'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8055490771016996586</id><published>2008-01-22T14:51:00.000-06:00</published><updated>2008-01-22T14:53:46.683-06:00</updated><title type='text'>VS.NET 2005 Close Tab on Double-Click</title><content type='html'>Anyone out there knows how to enable the functionality to close a tab document in vs.net 2005 on the double-click action just like firefox extensions?&lt;br /&gt;&lt;br /&gt;I hate to use the middle button and will like to use the double click.&lt;br /&gt;&lt;br /&gt;Thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8055490771016996586?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8055490771016996586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2008/01/vsnet-2005-close-tab-on-double-click.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8055490771016996586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8055490771016996586'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2008/01/vsnet-2005-close-tab-on-double-click.html' title='VS.NET 2005 Close Tab on Double-Click'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-3271010807345457264</id><published>2007-12-08T21:36:00.000-06:00</published><updated>2007-12-08T21:42:54.557-06:00</updated><title type='text'>17 Search Engine Reputation Management Optimization Tips</title><content type='html'>&lt;span&gt;I recently got this e-mail from a friend of mine. The tips listed below are very true for increasing your website to be in the top of search results when searching for keywords related to your site. I followed several of these tips when I worked for a software automation company.  In one to two weeks I started noticing that the bots were checking for often the company's website and the keywords searched in Google were listing the company's website to the top.&lt;br /&gt;&lt;br /&gt;-&lt;/span&gt;&lt;span&gt;--------------------------&lt;/span&gt;&lt;span&gt;--------------------------&lt;/span&gt;&lt;span&gt;------------------------&lt;/span&gt;&lt;span&gt;-------------------------&lt;br /&gt;17 Search Engine              Reputation Management Optimization Tips&lt;br /&gt;&lt;/span&gt;&lt;span&gt;by Rob Garner&lt;/span&gt;&lt;span&gt;, Wednesday,              November 7, 2007&lt;/span&gt;              &lt;p&gt;&lt;span&gt; &lt;strong&gt;AS IT IS BECOMING MORE              &lt;/strong&gt;commonly accepted that Google, Yahoo and MSN are reputation              management engines just as much as they are search engines, more              folks are seeking information on how to increase positive visibility              for a personal or corporate name.  Here is a quick list of 17              different ways to optimize for positive visibility for your personal              or brand name:&lt;br /&gt;   &lt;/span&gt;&lt;/p&gt;             &lt;p&gt;1)      &lt;strong&gt;Add your              profile to LinkedIn&lt;/strong&gt;, and build a real page with real              connections.  &lt;/p&gt;             &lt;p&gt;2)      &lt;strong&gt;Create a site              with your exact keyword or name domain&lt;/strong&gt;, and add useful and              unique content.  &lt;/p&gt;             &lt;p&gt;3)      &lt;strong&gt;Use paid              search to enhance your site visibility.&lt;/strong&gt;  The engines              give you two basic opportunities for placement -- paid and natural.              Consider using them both if it will help achieve your end              goals.  This does not mean that a defensive stance is required              in the copy, but it &lt;em&gt;can&lt;/em&gt; help increase visibility, if              needed.&lt;/p&gt;             &lt;p&gt;4)      &lt;strong&gt;Take              inventory of all of your existing sites&lt;/strong&gt;.  Determine if              they are properly optimized for your target brand or name keyword              set.  If not, start filling in the gaps with optimized pages,              and optimized title and meta elements.&lt;/p&gt;             &lt;p&gt;5)      &lt;strong&gt;Use various              optimized digital assets -- particularly video.&lt;/strong&gt;  Video              and image results can attract eyeballs away from everything else on              the page.  Make it useful, funny, or otherwise unique and              entertaining.&lt;/p&gt;             &lt;p&gt;6)      &lt;strong&gt;Write useful              content and establish yourself or your company as an expert, either              for your own site, or for other blogs.&lt;/strong&gt;  Good content              naturally finds itself at the top of the search results, and its              creators are often rewarded with link citations, writer profile              pages ! and high rankings as a result.  &lt;/p&gt;             &lt;p&gt;7)      &lt;strong&gt;Link              strategically. &lt;/strong&gt; I don't want to sell this one short,              as it is one of the most important elements, but leverage your              on-theme sites and link to other relevant sites to help push them up              higher in the results. &lt;/p&gt;             &lt;p&gt;8)      &lt;strong&gt;Leverage your              good domain for search benefits by creating a subdomain for your              target term.  &lt;/strong&gt;Add valuable and useful content.               Corporate sites should seriously consider architecting around              subdomains, as they are treated as separate domains by the              engines.&lt;/p&gt;             &lt;p&gt;9)      &lt;strong&gt;Create a              profile on various social media sites like MySpace and              Flickr.&lt;/strong&gt;  Also note that content entered into Flickr is              entered into a Creative Commons license.&lt;/p&gt;             &lt;p&gt;10)  &lt;strong&gt;Start a blog on WordPress.              &lt;/strong&gt; Plan on investing time and making it a real              blog.  &lt;/p&gt;             &lt;p&gt;11) &lt;strong&gt;Start a WordPress blog on your own domain.              &lt;/strong&gt;&lt;/p&gt;             &lt;p&gt;12)&lt;strong&gt;  Avoid putting out any material that              you wouldn't want in your primary namespace. &lt;/strong&gt; An ounce              of prevention is worth a pound of cure.&lt;/p&gt;             &lt;p&gt;13)&lt;strong&gt;  Create a Naymz profile.&lt;/strong&gt;&lt;/p&gt;             &lt;p&gt;14)&lt;strong&gt;  Send out a press release, or              two.  &lt;/strong&gt;Or twenty (over time, of course).&lt;/p&gt;             &lt;p&gt;15)&lt;strong&gt; Have someone interview you about your              passion.&lt;/strong&gt;  Publish the interview on your site.&lt;/p&gt;             &lt;p&gt;16)&lt;strong&gt; Create a search roll at Rollyo&lt;/strong&gt; of              search engines and topics you really like.  &lt;/p&gt;             &lt;p&gt;17)&lt;strong&gt; Be very, very patient.  &lt;/strong&gt;&lt;/p&gt;             &lt;div style="padding: 10px 0px;"&gt;&lt;a style="font-size: 14px; text-decoration: underline;" href="http://blogs.mediapost.com/search_insider/?p=654#comments" target="_blank"&gt;Post              your response to the public Search Insider blog.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-size: 14px; text-decoration: underline;" href="http://blogs.mediapost.com/search_insider/" target="_blank"&gt;See what others              are saying on the Search Insider blog.&lt;/a&gt; &lt;/div&gt;                                                            &lt;table border="0" cellpadding="2" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;/td&gt;                 &lt;td valign="top"&gt;&lt;span&gt;&lt;em&gt;Rob Garner is                    strategy director for interactive marketing and search agency                    &lt;a href="http://icrossing.com/research/" target="_blank"&gt;iCrossing&lt;/a&gt; and                    writes for &lt;a href="http://greatfinds.icrossing.com/" target="_blank"&gt;Great                    Finds&lt;/a&gt;, the iCrossing blog. He is president-elect of the                    Dallas/Fort Worth Search Engine Marketing Association, and                    also serves on the board of the Dallas/Fort Worth Interactive                    Marketing Association.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-3271010807345457264?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/3271010807345457264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/12/17-search-engine-reputation-management.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3271010807345457264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/3271010807345457264'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/12/17-search-engine-reputation-management.html' title='17 Search Engine Reputation Management Optimization Tips'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-281113069360162498</id><published>2007-12-07T12:20:00.000-06:00</published><updated>2007-12-07T12:25:41.285-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Examples'/><category scheme='http://www.blogger.com/atom/ns#' term='MS Enterprise Library'/><title type='text'>Enterprise Library Logging Timestamp format</title><content type='html'>Just for awareness the Microsoft Enterprise Library Logging Application Block for flat file trace lister allows to specified the time stamp format in the template formatter as&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;{timestamp(local)}&lt;/span&gt; for local time zone time stamp or optionally you can specified your DateTime format such as MM/dd/yyyy HH:mm:ss.&lt;br /&gt;&lt;br /&gt;See .NET Standard DateTime String Formats at &lt;a href="http://msdn2.microsoft.com/en-us/library/az4se3k1%28vs.71%29.aspx"&gt;http://msdn2.microsoft.com/en-us/library/az4se3k1(vs.71).aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-281113069360162498?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/281113069360162498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/12/enterprise-library-logging-timestamp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/281113069360162498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/281113069360162498'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/12/enterprise-library-logging-timestamp.html' title='Enterprise Library Logging Timestamp format'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6797942901980188202</id><published>2007-12-06T12:32:00.000-06:00</published><updated>2007-12-06T12:49:53.198-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='icstars'/><title type='text'>i.c.stars is recruiting for Cycle 16 January 2008 – Technology Jobs</title><content type='html'>&lt;a href="http://www.icstars.org/"&gt;i.cstars&lt;/a&gt; is currently taking applications for cycle 16 of technology, business and leadership training. You can apply online at &lt;a href="http://www.howcanicstars.org"&gt;www.howcanicstars.org&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.icstars.org/"&gt;i.cstars&lt;/a&gt; offers free training for high school or GED graduates that want to acquire technology, business, and leadership skills. At the end for the intensive training,  graduates will have a change to be recruit by companies seeking &lt;a href="http://drupal.icstars.org/team/alums"&gt;i.cstars&lt;/a&gt;&lt;a href="http://drupal.icstars.org/team/alums"&gt; graduates &lt;/a&gt;to fill positions in Software Development, Business Analyst, Testing, Networking, Computer Technicians, Computer Design, Game Development, and other technology related jobs.&lt;br /&gt;&lt;br /&gt;Information sessions are held every 2nd Tuesday at 6p.m at the Chicago location. Find more information about the information sessions at &lt;a href="http://www.icstars.org/"&gt;i.cstars.org&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I am an &lt;a href="http://www.icstars.org/"&gt;i.cstars&lt;/a&gt; Alumni from Cycle 7 and I join &lt;a href="http://www.icstars.org/"&gt;i.cstars&lt;/a&gt; right after graduating from High School in Chicago Illinois. Five months after completing my training I was working as a Software Developer for a Software company in Chicago at 19 years old with a great salary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you think this interest you, don’t wait any more. Call &lt;a href="http://www.icstars.org/"&gt;i.cstars&lt;/a&gt; now. Oh by the way I forgot to mention. During the time you are learning at &lt;a href="http://www.icstars.org/"&gt;i.cstars&lt;/a&gt; you get a monthly check!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6797942901980188202?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6797942901980188202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/12/icstars-is-recruiting-for-cycle-16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6797942901980188202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6797942901980188202'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/12/icstars-is-recruiting-for-cycle-16.html' title='i.c.stars is recruiting for Cycle 16 January 2008 – Technology Jobs'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7279620659079913665</id><published>2007-11-30T14:14:00.000-06:00</published><updated>2007-11-30T14:22:11.772-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='WebLoad'/><title type='text'>WebLoad posting form data as files for Ajax applications</title><content type='html'>I have an application that is doing and Ajax callback XHTMLrequest to an .ashx handler. Web launch WebLoad to record an agenda to capture the Ajax posts WebLoad was recording the agenda using the CopyFile function similar to:&lt;br /&gt;&lt;br /&gt; CopyFile("wl3941127422.dat","wl3941127422.dat")&lt;br /&gt;&lt;br /&gt;After digging I found out that there was a setting in the recording options "Record unknown post types as file". I un-check this settings and tried again to record the agenda an changed the way the form was posting recording the actual form data in the JavaScript Agenda.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Change this setting by going to:&lt;br /&gt;&lt;br /&gt;WebLoad IDE --&gt; Tools --&gt; Recording Options --&gt; Post Data --&gt; and un-check the "Record unknown Post Types as File"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7279620659079913665?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7279620659079913665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/webload-posting-form-data-as-file-for.html#comment-form' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7279620659079913665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7279620659079913665'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/webload-posting-form-data-as-file-for.html' title='WebLoad posting form data as files for Ajax applications'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-8970441954468747622</id><published>2007-11-29T08:29:00.000-06:00</published><updated>2007-11-29T08:50:06.113-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Google's Grand Central - The New Way To Use Your Phone Number</title><content type='html'>I recently got an invitation to use Google's &lt;a href="http://www.grandcentral.com/"&gt;GrandCentral &lt;/a&gt;online service that allows me to pick a phone number and have it forward to any telephone I want. It simply can be your only phone number for life. At any time you can change the forwarding number. &lt;br /&gt;&lt;br /&gt;I used to have AT&amp;T VOIP service and they have an online service where I can check my incoming and outgoing calls, check voice mail and other similar functions.&lt;br /&gt;&lt;br /&gt;GrandCentral can send all your voice mails to your e-mail so that you don't miss a voice mail message. &lt;br /&gt;&lt;br /&gt;What I think is best is the availability to block callers, reject calls, send calls to your voice mail.&lt;br /&gt;&lt;br /&gt;This is how it works:&lt;br /&gt;&lt;br /&gt;Caller calls your GrandCentral number  GrandCentral calls your phones  You get a call and you take an action&lt;br /&gt; &lt;br /&gt;Here is a screen shot of the control panel:&lt;br /&gt;&lt;img src="http://i219.photobucket.com/albums/cc158/devonesoft/Google_GranCentral.png" alt="Google Gran Central Control Panel"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So far the service now is for free for one phone number. However, when it comes out of beta I am not sure how much they will charge for the service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-8970441954468747622?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/8970441954468747622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/googles-grand-central-new-way-to-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8970441954468747622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/8970441954468747622'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/googles-grand-central-new-way-to-use.html' title='Google&apos;s Grand Central - The New Way To Use Your Phone Number'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6491035747077916211</id><published>2007-11-27T14:25:00.001-06:00</published><updated>2007-11-27T14:41:38.080-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SubSonic'/><title type='text'>How to use the SubSonic Collection Find() method with Predicate</title><content type='html'>Here is a code example to find a particular item within a collection of entities.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Instead of creating a loop to go over the collection to find your entity, you can take advantage of the Predicates.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Model.Person foundPerson =(Model.Person) personCollection.Find(delegate(Model.Person e) { return e.FirstName == "John"; });&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I hope this is helpful. I did not find anything in the SubSonic forums regarding the Find method. This worked for me instead of creating a loop to go over all items in the collection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6491035747077916211?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6491035747077916211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/how-to-use-subsonic-collection-find.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6491035747077916211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6491035747077916211'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/how-to-use-subsonic-collection-find.html' title='How to use the SubSonic Collection Find() method with Predicate'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-789152435168047485</id><published>2007-11-26T23:15:00.000-06:00</published><updated>2007-11-26T23:41:58.543-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SubSonic'/><title type='text'>SubSonic Updated Templates to Delete Entities With Children</title><content type='html'>In a recent project that I worked on I had a need to delete a top entity that had multiple children. With the generated code out of the box from SubSonic I found it difficult to delete the parent entity and all the children that depend on the parent entity since I had to specifically invoke the child entity for a delete operation. So I decided to mess with the templates. In particular with the 'Controller' (CS_ODSController.aspx).&lt;br /&gt;&lt;br /&gt;I decided to create a method named "DeleteWithChildren()" that will take the primary key id of the parent entity to follow the same controller pattern already in place similar methods.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DeleteWithChildren() will go load the parent entity using the primary key and then invoke the corresponding controller class for each of each children.&lt;br /&gt;&lt;br /&gt;For example,&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;public void DeleteWithChildren(object keyID)&lt;br /&gt;{&lt;br /&gt;&lt;code&gt;&lt;br /&gt;// Load the entity&lt;br /&gt;MyCompany.Model.Employee entity = new MyCompany.Model.Employee(keyID);&lt;br /&gt;      &lt;br /&gt;foreach(MyCompany.Model.SiteEmployee child in entity.SiteEmployeeRecords)&lt;br /&gt;{&lt;br /&gt;                             &lt;br /&gt;&lt;br /&gt;MyCompany.Controller.SiteEmployeeCtrl.Instance.DeleteWithChildren(child.SiteEmployeeId);&lt;br /&gt;                                                             &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This allowed me to simple invoke the parent entity controller such as Controller.ParentEntity.DeleteWithChildren(5000); and have the controller delete everything the hangs off the ParentEntity object by calling the DeleteWithChildren() method for each child. This allows to delete hierarchical entities.&lt;br /&gt;&lt;br /&gt;You can download the template file from my online box &lt;a href="http://www.box.net/shared/pn354726xj"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;My template was code to first check that a transaction was started since you might not want to attempt to delete everything from that entity without a transaction.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-789152435168047485?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/789152435168047485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/subsonic-updated-templates-to-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/789152435168047485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/789152435168047485'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/subsonic-updated-templates-to-delete.html' title='SubSonic Updated Templates to Delete Entities With Children'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-494739493761718159</id><published>2007-11-26T21:44:00.000-06:00</published><updated>2007-11-26T22:10:02.678-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='laptop'/><category scheme='http://www.blogger.com/atom/ns#' term='drivers'/><title type='text'>Dell Inspiron 1720 Windows XP Pro Working Audio Driver SIGMATEL STAC 92XX</title><content type='html'>After wiping out Windows Vista and installing Windows XP Pro SP2 in my Dell Inspiron 1720 I found my self in trouble. I could not find any where in Dell's web site or forums the driver for the sound device for my laptop.&lt;br /&gt;&lt;br /&gt;After several hours of search and trying different drivers I found a driver only available in Dell's German Language for the SigmaTel sound card &lt;a href="http://support.euro.dell.com/support/downloads/download.aspx?c=de&amp;amp;cs=dedhs1&amp;amp;l=de&amp;amp;s=dhs&amp;amp;releaseid=R153908&amp;amp;formatcnt=1&amp;amp;libid=0&amp;amp;fileid=205136"&gt;R153908.exe&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can download it from Dell's website &lt;a href="http://support.euro.dell.com/support/downloads/download.aspx?c=de&amp;amp;cs=dedhs1&amp;amp;l=de&amp;amp;s=dhs&amp;amp;releaseid=R153908&amp;amp;formatcnt=1&amp;amp;libid=0&amp;amp;fileid=205136"&gt;here&lt;/a&gt; or you can get it from my online box &lt;a href="http://www.box.net/shared/sj57f1tkma"&gt;here&lt;/a&gt;.&lt;br /&gt;Just donwload run the file it will extract all the files to a directory default "c:\dell\drivers" and the setup will be launched.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-494739493761718159?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/494739493761718159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/dell-inspiron-1720-windows-xp-audio.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/494739493761718159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/494739493761718159'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/dell-inspiron-1720-windows-xp-audio.html' title='Dell Inspiron 1720 Windows XP Pro Working Audio Driver SIGMATEL STAC 92XX'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-871095657625911908</id><published>2007-11-21T08:50:00.000-06:00</published><updated>2007-11-21T09:19:18.906-06:00</updated><title type='text'>Free Screen Capture For Windows  - Cropper</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://blogs.geekdojo.net/brian/articles/Cropper.aspx"&gt;Cropper&lt;/a&gt; is an open source screen capture tool written in C# .NET that allows users to mark a region in their desktop and take a screen capture and save it to any image type format.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;Its simple, light weight and its free.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;Cropper was support for plug-ins (extensions, add-ons what ever you want to call it). You can create your own extension in .NET to enhance the functionality of cropper. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;br /&gt;I used it for my development for to take a snapshot of an error for example and then automatically uploading the capture image to the issue management application such as “Mantis”.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;Compare to SnagIt, cropper does not have all the features in SnagIt out of the box but there are several extensions for cropper our there that can provide a similar functionality. You’ll find the plug-ins download sites &lt;a href="http://www.codeplex.com/cropperplugins"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-871095657625911908?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/871095657625911908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/free-screen-capture-cropper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/871095657625911908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/871095657625911908'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/free-screen-capture-cropper.html' title='Free Screen Capture For Windows  - Cropper'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5305888134146500567</id><published>2007-11-16T12:17:00.000-06:00</published><updated>2007-11-16T12:17:32.234-06:00</updated><title type='text'>Agile Testing: Performance vs. load vs. stress testing</title><content type='html'>Here is a good blog about performance and load testing for web applications.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://agiletesting.blogspot.com/2005/02/performance-vs-load-vs-stress-testing.html"&gt;Agile Testing: Performance vs. load vs. stress testing&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am currently working on adding load to an application I have been working for the past six months.&lt;br /&gt;So far I can say that this is probably one of the most time and effort consuming phase of the entire project for me. Lucky I have &lt;a href="http://www.webload.org/"&gt;WebLOAD &lt;/a&gt;to create the load scripts and simulate the user for the application.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.webload.org/"&gt;WebLOAD &lt;/a&gt;was easy to get started. Initially I could not getting it  work under Windows Vista but when I had my new machine with Windows XP it worked like a charm.&lt;br /&gt;&lt;br /&gt;WebLOAD can connect to the web server and collection metrics. It also shows you a nice graph of all the stats collected.&lt;br /&gt;&lt;br /&gt;When adding load to the application I was able to identify potential issues what would come up once we bring the application live.&lt;br /&gt;&lt;br /&gt;Where I am having some difficulties is identifying the state of the application. I am trying to identify what is an acceptable response/performance so that I can say "The web servers can support x number of concurring users" Or "If you want to support x number of users" here are the specs you need for the web servers.&lt;br /&gt;&lt;br /&gt;If any has a good experience with loading testings such as what are the key metrics to collection, please shared them with the public.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5305888134146500567?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://agiletesting.blogspot.com/2005/02/performance-vs-load-vs-stress-testing.html' title='Agile Testing: Performance vs. load vs. stress testing'/><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5305888134146500567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/agile-testing-performance-vs-load-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5305888134146500567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5305888134146500567'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/agile-testing-performance-vs-load-vs.html' title='Agile Testing: Performance vs. load vs. stress testing'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4656568662547297898</id><published>2007-11-16T08:02:00.000-06:00</published><updated>2007-11-16T08:17:40.402-06:00</updated><title type='text'>xplorer² (Windows File Manager Replacement)</title><content type='html'>Since I was introduced to &lt;a href="http://www.zabkat.com/"&gt;Xplorer2&lt;/a&gt; my a friend at work, I have not gone back using the traditional windows explorer.&lt;br /&gt;&lt;br /&gt;The first thing I do when my boot my laptop when I get to work is "Ctrl + space which launches the bad ass launch and then I type "xplorer" to open Xplorer2.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zabkat.com/"&gt;Xplorer2 &lt;/a&gt;allows you to have dual panes so that you can navigate multiple directory structures. With dual panes you can transfer files from one location to another simply by using the F5 shortcut. You need need to open another windows explorer window.&lt;br /&gt;&lt;br /&gt;In the &lt;a href="http://www.zabkat.com/"&gt;Xplorer2 &lt;/a&gt;address bar of your path location you can set filter so that you only see the files you care such "D:\Music\*.mp3 to display all the mp3 files in the Music directory.&lt;br /&gt;&lt;br /&gt;The find window allows you to enter multiple filters so that you can find exactly what you are looking for.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i219.photobucket.com/albums/cc158/devonesoft/xplorer_find.jpg" border="0" alt="Xplorer2 files search dialog"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Xplorer2 is $30 bucks and its worth it.&lt;br /&gt;You can download the trial version &lt;a href="http://www.zabkat.com/qbx2.htm"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4656568662547297898?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4656568662547297898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/xplorer-windows-file-manager.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4656568662547297898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4656568662547297898'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/xplorer-windows-file-manager.html' title='xplorer² (Windows File Manager Replacement)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6390119627708611261</id><published>2007-11-15T12:01:00.000-06:00</published><updated>2007-11-15T14:16:15.305-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Code Examples'/><title type='text'>String.Format()  JavaScript equivalent to .NET</title><content type='html'>Here is a JavaScript function to format strings on the Client-Side as if you were using in the the .NET String.Format() method in your code-behind.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;String.Format = function()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;    // Check for arguments&lt;br /&gt;    if( arguments.length == 0 ) return null;&lt;br /&gt;    // Get the string which is the first argument&lt;br /&gt;    var stringToFormat = arguments[0];&lt;br /&gt;    for(var i=1; i &lt; arguments.length;i++)&lt;br /&gt;    {&lt;br /&gt;        var replaceExpression = new RegExp('\\{' + (i-1) + '\\}','gm');&lt;br /&gt;        // Replace argument&lt;br /&gt;        stringToFormat = stringToFormat.replace(replaceExpression, arguments[i]);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    // Return the formated string&lt;br /&gt;    return stringToFormat;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Alternative you can used the JavaScript prototype framework 'Template' object to do string formatting using variable names instead of argument indexes.&lt;br /&gt;&lt;br /&gt;See &lt;a href="See http://prototypejs.org/api/template"&gt;http://prototypejs.org/api/template&lt;/a&gt; for the Template object API.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6390119627708611261?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6390119627708611261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/stringformat-javascript-equivalent-to.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6390119627708611261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6390119627708611261'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/stringformat-javascript-equivalent-to.html' title='String.Format()  JavaScript equivalent to .NET'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4017649135945492220</id><published>2007-11-14T08:10:00.000-06:00</published><updated>2007-11-18T11:52:34.916-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Friends'/><title type='text'>A long night fixing defects....</title><content type='html'>We did it again...&lt;br /&gt;&lt;br /&gt;We work all day yesterday from 7:30am to 10:30am fixing all possible defects log in our defect tracking application "Mantis". We are in a code freeze phase and we are fixing the issues logged from the user acceptance testing group.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="float: left;"&gt;&lt;img style="width: 266px; height: 205px;" alt="Eric Flores working late" src="http://i219.photobucket.com/albums/cc158/devonesoft/IMG00538.jpg" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="float: left;"&gt;Here is Eric with his krispy kreme hat. All happy about staying late fixing all the defects. Eric is great an paying attention to details and can really put him self in the shoes of the user. Its important to have someone like him in a team.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4017649135945492220?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4017649135945492220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/long-night-fixing-defects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4017649135945492220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4017649135945492220'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/long-night-fixing-defects.html' title='A long night fixing defects....'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-747255291845828243</id><published>2007-11-13T20:42:00.000-06:00</published><updated>2007-12-10T12:39:48.899-06:00</updated><title type='text'>Enabling/Disabling ASP.NET Checkbox in client side via JavaScript</title><content type='html'>If you are wondering why you cannot disable and enable a simple asp.net checkbox in IE using simple script like this...&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;function ToggleEnableCheckbox(checkboxObj)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;checkboxObj.disabled = !checkboxObj.disabled;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well the answer is because IE goes one level up and also adds a span which wraps the input checkbox.&lt;br /&gt;&lt;br /&gt;&amp;lt;span disabled="disabled"&amp;gt;&lt;br /&gt;&amp;lt;input id="myCheckbox" disabled="disabled" type="checkbox"&amp;gt;&lt;br /&gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To make it work in IE you also need to update the parent node node.&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;function ToggleEnableCheckbox(checkboxObj)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;checkboxObj.disable = !checkboxObj.disable;&lt;br /&gt;checkboxObj.parenNode.disabled = !checkboxObj.parenNode.disabled;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This was a pain in the beginning until I looked at the output html source of the page. First procedure works fine in FireFox but IE adds the disabled attribute to the span, therefore you have to compile for both browsers.&lt;br /&gt;&lt;br /&gt;I hope this helpful.&lt;br /&gt;&lt;br /&gt;The next step is to create your own checkbox list control that inherits from the ASP.NET Checkbox List and override the source writing for better simplicity.&lt;br /&gt;&lt;br /&gt;Good Luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-747255291845828243?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/747255291845828243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/enablingdisabling-aspnet-checkbox-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/747255291845828243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/747255291845828243'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/enablingdisabling-aspnet-checkbox-in.html' title='Enabling/Disabling ASP.NET Checkbox in client side via JavaScript'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-7101828989319807894</id><published>2007-11-13T07:46:00.001-06:00</published><updated>2007-11-15T11:12:49.714-06:00</updated><title type='text'>Visual Studio .NET environment fonts that don't hurt your eyes.</title><content type='html'>After working long hours in the Visual Studio .NET 2005 environment the default colors and environment settings start hurting your eyes.&lt;br /&gt;&lt;br /&gt;When working with Alex Lee with Ruby on Rails for his game, I started using E-text editor. I found that "E editor" had a nicer and less ease to your eyes environment with a black background and multi-color fonts. During the day I used Visual Studio .Net 2005 and sometimes in the afternoon I was using E. So I decided to make the environment match so that the transition was not harsh.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Visual Studio .NET 2005 Class Editor Colors:&lt;br /&gt;&lt;img src="http://aycu20.webshots.com/image/35619/2005855810348402055_rs.jpg" alt="Visual Studio .NET environment fonts and colors" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Visual Studio .NEt 2005 html source editor colors:&lt;br /&gt;&lt;img src="http://aycu29.webshots.com/image/34068/2003784428552279749_rs.jpg" alt="html source editor colors" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can download my font setting &lt;a href="http://www.box.net/shared/qcezz0kapn"&gt;here&lt;/a&gt;.&lt;br /&gt;Use the visual studio Import settings utility under the Tools menu to import the fonts. For the text I use a MONACO font not install in Windows XP by default. You can also download the font &lt;a href="http://www.box.net/shared/lauucp84k0"&gt;here.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-7101828989319807894?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/7101828989319807894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/visual-studio-net-environment-fonts.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7101828989319807894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/7101828989319807894'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/visual-studio-net-environment-fonts.html' title='Visual Studio .NET environment fonts that don&apos;t hurt your eyes.'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-5459108448452150712</id><published>2007-11-08T12:59:00.000-06:00</published><updated>2007-11-19T08:02:11.773-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='laptop'/><title type='text'>Inspiron 1720 with Windows XP nVidia GeForce 8600M GT driver</title><content type='html'>About a week ago a got my new &lt;a href="http://www.dell.com/content/products/productdetails.aspx/inspnnb_172x?c=us&amp;amp;cs=19&amp;amp;l=en&amp;amp;s=dhs"&gt;Inspiron 1720&lt;/a&gt; laptop from &lt;a href="http://dell.com/"&gt;dell.&lt;/a&gt;&lt;br /&gt;Of course dell push me to Window Vista Home edition but we all know that developer's cannot work with this. I was running Window Vista Business edition in my previous laptop a Lenovo 3000N100 which a got to say that it was a piece of junk. My friend Alex got the same Lenovo machine and he blog about how bad the keyboard is. Read he's blog post &lt;a href="http://alexle.net/archives/227"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As soon as I open the box with my new Inspiron 1720 I fire it up with the Windows XP Pro CD.&lt;br /&gt;I had difficulties installing the Windows XP Pro, since the laptop was targeting Vista. But thanks to some blogs out there I finally got it working.&lt;br /&gt;&lt;br /&gt;However, the trouble came when installing the drivers. Dell doest not have any driver downloads at there website for Window XP operating system, therefore, I had to search the entire internet.&lt;br /&gt;&lt;br /&gt;I tried several nVidia drivers from &lt;a href="http://www.laptopvideo2go.com/"&gt;http://www.laptopvideo2go.com/&lt;/a&gt; but what got it working for my &lt;span style="FONT-WEIGHT: bold"&gt;nVidia 256mb 8600M GT &lt;/span&gt;graphics card was the driver version &lt;span style="FONT-WEIGHT: bold"&gt;163.75 &lt;/span&gt;with the modded inf file.&lt;br /&gt;&lt;br /&gt;You can download the driver &lt;a href="http://www.laptopvideo2go.com/forum/index.php?showtopic=15381"&gt;here&lt;/a&gt; from the &lt;a href="http://www.laptopvideo2go.com/"&gt;http://www.laptopvideo2go.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hate that Microsoft and the retailers are trying to get everyone stuck with Vista.&lt;br /&gt;I don't have any problem with Vista. But as a developer I need to used reliable tools and applications and many out there are still not up to date for Vista.&lt;br /&gt;&lt;br /&gt;If laptopvideo2go.com is down, you can download the driver &lt;a href="http://www.gigasize.com/get.php?d=6b4fg72sn7f"&gt;here&lt;/a&gt;.&lt;br /&gt;The modified .inf file you get download it &lt;a href="http://www.box.net/shared/mtyygu5ras"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Good luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-5459108448452150712?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/5459108448452150712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/inspiron-1710-with-windows-xp-nvidia.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5459108448452150712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/5459108448452150712'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/inspiron-1710-with-windows-xp-nvidia.html' title='Inspiron 1720 with Windows XP nVidia GeForce 8600M GT driver'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4775986157201803177</id><published>2007-11-06T21:45:00.000-06:00</published><updated>2007-11-27T14:09:34.534-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Examples'/><category scheme='http://www.blogger.com/atom/ns#' term='SubSonic'/><title type='text'>SubSonic - Using the Exist() Method using predicates</title><content type='html'>Here is a simple example on how to use the Exist() method that hangs of the collection entities generated by &lt;a href="htt://subsonicproject.com"&gt;SubSonic&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div id="coderegion"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;for (int i = 0; i &amp;lt; originalentitycollection.Count; i++)&lt;br /&gt;{&lt;br /&gt;   Predicate&lt;Model.Person&gt; exist = delegate(Model.Person match)&lt;br /&gt;   {&lt;br /&gt;      if (match.PersonId == originalentitycollection[i].PersonId)&lt;br /&gt;         return true;&lt;br /&gt;      else return false;&lt;br /&gt;    };&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   if (!distinctpersoncollection.exists(exist))&lt;br /&gt;   {&lt;br /&gt;                              &lt;br /&gt;      distinctpersoncollection.add(originalentitycollection[i]);&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can visit &lt;a href="http://msdn2.microsoft.com/en-us/library/bfcke1bz.aspx"&gt;MSDN&lt;/a&gt; for more information about the predicate delegates:&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bfcke1bz.aspx"&gt;http://msdn2.microsoft.com/en-us/library/bfcke1bz.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4775986157201803177?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4775986157201803177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/subsonic-using-exist-method-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4775986157201803177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4775986157201803177'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/subsonic-using-exist-method-using.html' title='SubSonic - Using the Exist() Method using predicates'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-6837921437126202109</id><published>2007-11-03T11:52:00.000-05:00</published><updated>2007-11-04T08:01:09.989-06:00</updated><title type='text'>How secure can you get with PDF files</title><content type='html'>You have an application that provides a service for your customers where your users are allowed to download a produced pdf document by your application.&lt;br /&gt;&lt;br /&gt;To protect your business you need to secure and protect the output PDF documents as much as possible. But can you really protect a PDF document?&lt;br /&gt;&lt;br /&gt;Let's step back for a second....&lt;br /&gt;&lt;br /&gt;The application's requirement is to protect the produced  document and restrict user's from modifying the document. At the same time the produced document needs to be in  a standard format that an average user with internet access can download. Oh and did I mentioned that the output document can be many pages long.&lt;br /&gt;&lt;br /&gt;We know our constraints:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Standard format&lt;/li&gt;&lt;li&gt; Average internet user( that means non-technical users)&lt;/li&gt;&lt;li&gt;Many pages long&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This means we cannot produced a proprietary document that can only be view with a in house viewer. It cannot be an image since it's many pages long. That leaves us with PDF documents.&lt;br /&gt;&lt;br /&gt;Yes we can secure a PDF document with Adobe PDF Digital Right Management (DRM).&lt;br /&gt;But at the same time there are several application out there that can removed the protection of the PDF document.&lt;br /&gt;&lt;br /&gt;How can you prepare and handle this situation? Well I still have not figure it out. If you can think of a better alternative please comment in this blog.&lt;br /&gt;&lt;br /&gt;The reality is that once your document goes out from your control. In this once the user has downloaded the document they can do anything! They can print it, ORC, modified and re-used it. Of course that will mean that the user is violation legal rights.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As the article at this link mentions " The only way to keep PDF secure is to keep it your self"&lt;br /&gt;&lt;span style=""&gt;&lt;span class="a"&gt;&lt;a href="http://www.blogger.com/www.cs.cmu.edu/%7Edst/Adobe/Gallery/PDFsecurity.pdf"&gt;www.cs.cmu.edu/~dst/Adobe/Gallery/&lt;b&gt;PDF&lt;/b&gt;security.&lt;/a&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/www.cs.cmu.edu/%7Edst/Adobe/Gallery/PDFsecurity.pdf"&gt;pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-6837921437126202109?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/6837921437126202109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/how-secure-can-you-get-with-pdf-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6837921437126202109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/6837921437126202109'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/how-secure-can-you-get-with-pdf-files.html' title='How secure can you get with PDF files'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-1953303517906162735</id><published>2007-11-02T15:17:00.000-05:00</published><updated>2007-11-03T11:48:56.881-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utilities'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>TortoiseSVN &amp; Beyond Compare Settings</title><content type='html'>Here are my settings for TortoiseSVN to use Beyond compare as the file difference tools.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://i219.photobucket.com/albums/cc158/devonesoft/tortisediff.jpg"&gt;&lt;br /&gt;&lt;img src="http://i219.photobucket.com/albums/cc158/devonesoft/tortisediff.jpg" alt="" border="0" height="200" width="350"/&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-1953303517906162735?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/1953303517906162735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/11/tortoisesvn-beyond-compare-settings_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1953303517906162735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1953303517906162735'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/11/tortoisesvn-beyond-compare-settings_02.html' title='TortoiseSVN &amp; Beyond Compare Settings'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4576463116219381672</id><published>2007-10-03T13:57:00.000-05:00</published><updated>2007-10-03T14:12:40.103-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Friends'/><category scheme='http://www.blogger.com/atom/ns#' term='Games'/><title type='text'>Building Wars of Earth</title><content type='html'>&lt;span style="font-family:arial;"&gt;About 3 months ago I met a new friend (&lt;/span&gt;&lt;a href="http://alexle.net/"&gt;Alex Le&lt;/a&gt;) &lt;span style="font-family:arial;"&gt;at work. He is also very young and we both have the same age. Alex is very talented. Two days later we meet he introduced me to Ruby on Rails. He is building an RPG game "Wars of Earth". You can check out the official game web site at &lt;/span&gt;&lt;span style="font-size:-1;"&gt;&lt;span class="a"&gt;&lt;a href="www.warsofearth.com"&gt;www.&lt;b&gt;wars&lt;/b&gt;of&lt;b&gt;earth&lt;/b&gt;.com. &lt;/a&gt;&lt;span style="font-size:100%;"&gt;Occasionally Alex brings it off line.  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;Ruby sounded very interesting and I said why not give it a shot. I have spend a few night helping Alex to develop his game. So far a build the guild and user messaging pages for the game. It's very exiting. Learning Ruby on rails is no brainier, but there are some bridges you need to cross. I look forward on the release of Wars of Earth.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4576463116219381672?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4576463116219381672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/10/building-wars-of-earth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4576463116219381672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4576463116219381672'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/10/building-wars-of-earth.html' title='Building Wars of Earth'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-651907815068512604</id><published>2007-10-03T08:48:00.000-05:00</published><updated>2007-11-16T08:00:31.601-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utilities'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>Subversion integration with Visual Studio .NET 2005 (AnkhSvn)</title><content type='html'>AnkhSVN is an awesome add-in for Visual Studio .NET when working with subversion source depository.&lt;br /&gt;&lt;br /&gt;You can download AnkhSVN from Scott Hanselman's blog (&lt;a href="http://www.hanselman.com/blog/AnkhSVNUsingSubversionWithinVisualStudio.aspx"&gt;Scott Hanselman's Computer Zen - AnkhSVN: Using Subversion within Visual Studio&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Once install you may want to edit the default configuration by going to Tools --&gt; AnkhSVN --&gt; Edit AnkhSVN Configuration in Visual Studio .NET IDE.&lt;br /&gt;&lt;br /&gt;I turn off "AutoAddNewFiles" since I don't really want to add to the depository new files that I add to my project. Having this property turn on to "true" made my life annoying.&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span&gt;Here are my setting found in the ankhsvn.xml under my application data folder:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;C:\Documents and Settings\&lt;user&gt;&lt;/user&gt;&lt;/span&gt;&lt;/span&gt;&lt;user&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;username\Application Data\AnkhSVN\ankhsvn.xml&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/user&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:100%;"  &gt;&lt;user&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;You can download the xml file here:&lt;/span&gt;&lt;br /&gt;&lt;a style="font-style: italic;" href="http://www.box.net/shared/iz7jefzos4"&gt;&lt;span&gt;http://www.box.net/shared/iz7jefzos4&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/user&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt;&lt;user&gt;&lt;br /&gt;&lt;/user&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-651907815068512604?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/651907815068512604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/10/subversion-integration-for-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/651907815068512604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/651907815068512604'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/10/subversion-integration-for-visual.html' title='Subversion integration with Visual Studio .NET 2005 (AnkhSvn)'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-120905906676339810</id><published>2007-10-02T12:05:00.000-05:00</published><updated>2007-11-03T11:52:21.465-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utilities'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>SQL Server 2005 Management Studio Intellisense</title><content type='html'>In the quest for sql intellisense for the SQL Server 2005 Management Studio I came across SQL Assist for SSMS 2005 from company Round Polygons. &lt;a href="http://www.roundpolygons.com/SqlAssist/Download/tabid/94/Default.aspx"&gt;SQLAssist can be download it here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;SQL assist works great. Its lighter weight compare to the RedGate tools.&lt;br /&gt;I think its definitely worth the $50 bucks. I initially downloaded the beta version 2.0.210.0, however, this did not work for Windows Vista Business.  After installing version 1.5.185.0 I was in business.&lt;br /&gt;&lt;br /&gt;Make sure you have SQL Server 2005 Management Studio (Standard or Enterprise) version since this tool will not work with SQL Server 2005 Management Studio Express.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-120905906676339810?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/120905906676339810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/10/sql-server-2005-management-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/120905906676339810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/120905906676339810'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/10/sql-server-2005-management-studio.html' title='SQL Server 2005 Management Studio Intellisense'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-1389947415362817235</id><published>2007-10-02T09:55:00.000-05:00</published><updated>2007-10-02T10:04:58.689-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utilities'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>Replacing old notepad in Windows Vista</title><content type='html'>&lt;span style="font-family:arial;"&gt;I am have been trying to find a good tool to replace the old windows notepad in Windows vista.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;For a developer &lt;span style="font-style: italic;"&gt;notepad.exe&lt;/span&gt; just doesn't cut it.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;So far I have using &lt;a href="http://www.flos-freeware.ch/notepad2.html"&gt;notepad 2&lt;/a&gt;,&lt;a href="http://notepad-plus.sourceforge.net/uk/site.htm"&gt; notepad ++&lt;/a&gt; and &lt;a href="http://www.pnotepad.org/"&gt;programmer's notepad 2&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;These are all great tools, but I have not been able to replace notepad.exe from the c:\windows and c:\window\system32 directory. I have follow the instructions from &lt;a href="http://www.mattberther.com/?p=828"&gt;Matt Berther's blog  &lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: arial;"&gt;but the &lt;span style="font-family: arial;"&gt;instructions do not seem to work for vista.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;If any one has accomplish this task, please share it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Thanks.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-1389947415362817235?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/1389947415362817235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/10/replacing-old-notepad-in-windows-vista.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1389947415362817235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/1389947415362817235'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/10/replacing-old-notepad-in-windows-vista.html' title='Replacing old notepad in Windows Vista'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16507645.post-4196460815277363640</id><published>2007-09-20T10:03:00.000-05:00</published><updated>2007-09-20T10:05:26.392-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utilities'/><title type='text'>Coming Soon Send To GMail</title><content type='html'>I created a little windows app that allows users to right-click on a file in windows explorer and select from the context menu 'Send To Gmail' and allows the user to e-mail attachements using your gmail account.&lt;br /&gt;&lt;br /&gt;I will post the download link later...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16507645-4196460815277363640?l=perezj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perezj.blogspot.com/feeds/4196460815277363640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://perezj.blogspot.com/2007/09/coming-soon-send-to-gmail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4196460815277363640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16507645/posts/default/4196460815277363640'/><link rel='alternate' type='text/html' href='http://perezj.blogspot.com/2007/09/coming-soon-send-to-gmail.html' title='Coming Soon Send To GMail'/><author><name>perezj</name><uri>http://www.blogger.com/profile/13764955399904487717</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_BcWINeDe0Ps/SGAOfIKf0pI/AAAAAAAABgg/pUHvqXPIne4/S220/DSC05206.JPG'/></author><thr:total>0</thr:total></entry></feed>
