<?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-7136231886823673874</id><updated>2012-01-13T17:11:58.380Z</updated><category term='flash'/><category term='javascript'/><category term='bsod'/><category term='iframe'/><category term='registry'/><category term='passwords'/><category term='dotnetnuke'/><category term='sharepoint 2010'/><category term='events'/><category term='word'/><category term='windows server'/><category term='stsadm'/><category term='sharepoint designer 2010'/><category term='reflector'/><category term='sharepoint'/><category term='download'/><category term='accessibility'/><category term='webparts'/><category term='css'/><category term='masterpage'/><category term='powershell'/><category term='sharepoint designer'/><category term='orchard'/><category term='gacutil'/><category term='mix'/><category term='wss'/><category term='tuning'/><category term='windows'/><category term='CQWP'/><category term='xbox'/><category term='vb.net'/><category term='bind'/><category term='hardware'/><category term='nupkg'/><category term='linux'/><category term='aspnet'/><category term='packages'/><category term='crash'/><category term='iis'/><category term='mysql'/><category term='Messenger'/><category term='internet explorer'/><category term='perks'/><category term='Office'/><category term='photoshop'/><category term='security'/><category term='LCID'/><category term='networking'/><category term='sql server'/><category term='user'/><category term='C#'/><category term='SPOffice365'/><category term='outlook'/><category term='jquery'/><category term='installerror'/><category term='nuget'/><category term='infopath'/><category term='7zip'/><category term='visual studio 2010'/><category term='search'/><category term='GoogleAPI'/><category term='sharepoint 2007'/><title type='text'>ftduarte.blogspot.com</title><subtitle type='html'>.Net, SharePoint, PowerShell, Networking</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default?start-index=101&amp;max-results=100'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>361</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2396834767841412634</id><published>2012-01-03T10:19:00.001Z</published><updated>2012-01-03T10:23:17.842Z</updated><title type='text'>C# | App_Code class missing in the current context</title><content type='html'>&lt;br /&gt;Something as simple as creating a new class in Visual Studio can be tricky.&lt;br /&gt;Lately I've been creating a class by right-clicking "App_Code" in a Web Project and selecting "Add", "Class..."&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-An8IFo1BSDE/TwLS7ZkYSMI/AAAAAAAAAI0/BDnujViaIzI/s1600/newclass_wrongway.png" imageanchor="1"&gt;&lt;img border="0" height="168" src="http://4.bp.blogspot.com/-An8IFo1BSDE/TwLS7ZkYSMI/AAAAAAAAAI0/BDnujViaIzI/s320/newclass_wrongway.png" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When accessing the class "Tiago", I would get:&lt;br /&gt;- The name 'Tiago' does not exist in the current context&lt;br /&gt;- The type or namespace name 'Tiago' could not be found (are you missing a using directive or an assembly reference?)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-WPWS_UIJcbg/TwLS6sDz5rI/AAAAAAAAAIs/WYkNe3QsRKk/s1600/newclass_rightway.png" imageanchor="1"&gt;&lt;img border="0" height="143" src="http://1.bp.blogspot.com/-WPWS_UIJcbg/TwLS6sDz5rI/AAAAAAAAAIs/WYkNe3QsRKk/s320/newclass_rightway.png" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here are some thoughts on this:&lt;br /&gt;- Adding classes to the root folder works fine&lt;br /&gt;- Adding classes to the root folder, and THEN moving them to the App_Code folder works fine&lt;br /&gt;- Adding classes through the "Generate class for 'X'" context menu works fine&lt;br /&gt;&lt;br /&gt;Why is this happening?&lt;br /&gt;When you create a new class within the App_Code folder, its default behavior (check by clicking properties on the class) will be "Content", when it should be "Compile".&lt;br /&gt;&lt;br /&gt;So we can just confirm we have the right namespace for the class (since creating it on a subfolder may add extra text to it) and change the "Build Action" to "Compile" instead of "Content".&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-2WbFkcBe1ew/TwLXA4slIlI/AAAAAAAAAJM/ylZjd7PP6Sk/s1600/newclass_solution.png" imageanchor="1"&gt;&lt;img border="0" height="153" src="http://3.bp.blogspot.com/-2WbFkcBe1ew/TwLXA4slIlI/AAAAAAAAAJM/ylZjd7PP6Sk/s320/newclass_solution.png" width="320" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2396834767841412634?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2396834767841412634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2012/01/c-appcode-class-missing-in-current.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2396834767841412634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2396834767841412634'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2012/01/c-appcode-class-missing-in-current.html' title='C# | App_Code class missing in the current context'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-An8IFo1BSDE/TwLS7ZkYSMI/AAAAAAAAAI0/BDnujViaIzI/s72-c/newclass_wrongway.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4610327717387820162</id><published>2011-12-07T18:17:00.001Z</published><updated>2011-12-07T18:21:55.582Z</updated><title type='text'>Are you attending the 15th SPUGPT meeting?</title><content type='html'>Feel free to attend the 15th SharePointPt metting event taking place in Porto/Lisbon next Saturday the 10th&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.eventbrite.com/event/2607775928?utm_source=eb_email&amp;amp;utm_medium=email&amp;amp;utm_campaign=new_attendee&amp;amp;utm_term=event_name" target="blank"&gt;&lt;img alt="SharepointPt15" height="800" src="https://evbdn.eventbrite.com/s3-s3/eventlogos/5316734/magazinecover1-1.jpg" title="SharepointPt15" width="566" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4610327717387820162?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4610327717387820162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/12/are-you-attending-15th-spugpt-meeting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4610327717387820162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4610327717387820162'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/12/are-you-attending-15th-spugpt-meeting.html' title='Are you attending the 15th SPUGPT meeting?'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8910587216772005490</id><published>2011-12-06T14:16:00.001Z</published><updated>2011-12-06T15:21:16.219Z</updated><title type='text'>Running a virtualized 64bit OS</title><content type='html'>How to install a 64bit OS as a virtual system?&lt;br /&gt;&lt;br /&gt;First, ensure that you own a 64bit CPU with 64bit host OS (computer properties).&lt;br /&gt;&lt;br /&gt;Then run &lt;a href="http://www.grc.com/securable.htm" target="_blank"&gt;Securable&lt;/a&gt; and &lt;a href="http://downloads.vmware.com/d/details/processor_check_5_5_dt/dCpiQGhkYmRAZQ==" target="_blank"&gt;VMWare Guest Check&lt;/a&gt; to confirm you can run 64 bit OS, so, to known your system is Virtualization (VT) capable.&lt;br /&gt;&lt;br /&gt;Now you may come to a error like this one:"Software virtualization is incompatible with long mode on this platform. Disabling long mode. Without long mode support, the virtual machine will not be able to run 64 bit code. For more details see &lt;a href="http://vmware.com/info?id=152" target="_blank"&gt;http://vmware.com/info?id=152&lt;/a&gt;."&lt;br /&gt;&lt;br /&gt;This means that even though you may have VT, it is most likely, disabled.&lt;br /&gt;If you're not sure if you have VT and/or it is enabled you should burn &lt;a href="http://communities.vmware.com/docs/DOC-8978" target="_blank"&gt;vt.iso&lt;/a&gt; and boot it, since the applications above will only tell you if your CPU is 64bit and VT exists somehow. This checker will tell you exactly what is the state of VT, which will be one of the following.&lt;br /&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;CPU &lt;n&gt;: This core does not support long mode&lt;br /&gt;CPU &lt;n&gt;: This core does not support VT&lt;br /&gt;CPU &lt;n&gt;: Feature control MSR is unlocked!&lt;br /&gt;CPU &lt;n&gt;: VT is disabled in the feature control MSR! &amp;lt;-- I had this&lt;br /&gt;CPU &lt;n&gt;: VT is enabled on this core.&lt;/n&gt;&lt;/n&gt;&lt;/n&gt;&lt;/n&gt;&lt;/n&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So now that?&lt;br /&gt;If you can find options in your BIOS that allow enabling the VT/Virtualization/VT-X, enabling them will be enough.&lt;br /&gt;&lt;br /&gt;In my case, I have no options in the BIOS to enable VT, but there is a way to enable it even so!&lt;br /&gt;How?&lt;br /&gt;Boot up a USB flash drive with some boot system from Windows 98 and place symcmos.exe and pedit.exe. The first grabs the CMOS and the second edits the VT flag on it. Here is the step-by-step procedure.&lt;br /&gt;&lt;br /&gt;1) &lt;a href="http://www.bay-wolf.com/usbmemstick.htm" target="_blank"&gt;CREATE A BOOTABLE USB FLASH DRIVE WITH HP FLASH UTILITY&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) PLACE &lt;a href="ftp://ftp.supermicro.com/utility/Phoenix_bios_utility/SYMCMOS.EXE" target="_blank"&gt;SYMCMOS.EXE&lt;/a&gt; AND &lt;a href="http://www.flaxfx.com/dwl/pedit.zip" target="_blank"&gt;PEDIT.EXE&lt;/a&gt;&lt;br /&gt;Source: &lt;a href="http://blog.steelooper.com/2009/07/enabling-virtualization-on-sony-vaio.html" target="_blank"&gt;Enabling virtualization on a Sony Vaio (The Unofficial guide)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) Reset BIOS to defaults, enable external boot devices, and configure USB flash as first boot device.&lt;br /&gt;&lt;br /&gt;4) after boot, type "symcmos -v2 -lcmos.sav" and then "pedit cmos.sav"&lt;br /&gt;&lt;br /&gt;5) look for 02D0 (for me its this entry, since its a Vaio VGN-FZ31M) and change it from 0000 to 0001 (this is a general activation method)&lt;br /&gt;&lt;br /&gt;6) save with menu command alt+f and then exit pedit. the command line may crash, but we can reboot with no harm&lt;br /&gt;&lt;br /&gt;7) upload the new cmos with command "symcmos -v2 -ucmos.sav"&lt;br /&gt;&lt;br /&gt;Other resources&lt;a href="http://www.linuxinside.gr/content/how-unlock-and-enable-hardware-accelerated-virtualization-technology-vt-sony-vaio-laptop-and" target="_blank"&gt;Enable virtualization on VAIO laptop&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;UPDATE:On &lt;a href="http://msdn.microsoft.com/en-us/windows/apps/br229516" target="_blank"&gt;Windows 8 Developer Preview&lt;/a&gt; I had to choose "install OS after" instead of picking the ISO/DVD on the first screen, or I would get a "&amp;lt;productkey&amp;gt;" &amp;lt;/productkey&amp;gt; error.&lt;br /&gt;&lt;br /&gt;If you need to &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/ea402fb2-7192-4599-b999-22ad6b28c55a" target="_blank"&gt;reinstall Windows Developer Preview&lt;/a&gt; or use the Reset functionality, you might be asked to enter this product key: 6RH4V-HNTWC-JQKG8-RFR3R-36498&lt;br /&gt;If you’re running a server version of Windows Developer Preview, you can use this product key:&lt;br /&gt;4Y8N3-H7MMW-C76VJ-YD3XV-MBDKV&lt;br /&gt;&lt;br /&gt;VmWare 5.5 rolled back the install everytime and it turned out to be issues with unsigned drivers. Booting with F8, option "disable driver signing" would allow the install to complete successful, throwing some warnings about the drivers. I think v5.5 worked fine in W2008 SP1 with its "experimental x64" option but now in SP2 I had to try with a later version of the product because it was making the host OS unstable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8910587216772005490?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8910587216772005490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/12/running-64bit-os.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8910587216772005490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8910587216772005490'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/12/running-64bit-os.html' title='Running a virtualized 64bit OS'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7861245522973964312</id><published>2011-11-22T18:26:00.001Z</published><updated>2011-11-22T18:31:03.818Z</updated><title type='text'>Reading an XML file</title><content type='html'>Easy way of reading an xml file without linq or xpath&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharp" name="code"&gt;XmlDocument comment = new XmlDocument();&lt;br /&gt;//full path. use .Load for URL&lt;br /&gt;comment.LoadXml(File.ReadAllText(myfile.FullName));&lt;br /&gt;XmlNodeList xnList = comment.SelectNodes("/RootNode");&lt;br /&gt;foreach (XmlNode xn in xnList)&lt;br /&gt;{&lt;br /&gt;title = xn["Title"].InnerText;&lt;br /&gt;description = xn["Content"].InnerText;&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/7136231886823673874-7861245522973964312?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7861245522973964312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/11/reading-xml-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7861245522973964312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7861245522973964312'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/11/reading-xml-file.html' title='Reading an XML file'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2396715171400514767</id><published>2011-11-08T12:46:00.000Z</published><updated>2011-11-08T12:46:06.386Z</updated><title type='text'>PowerShell | Load assemly the right way</title><content type='html'>&lt;br /&gt;We often want to load an assembly into our environment.&lt;br /&gt;Even though there is not much to it, there are a few ways to achieve it, ones better than others.&lt;br /&gt;&lt;br /&gt;So far, I've used:&lt;br /&gt;&lt;b&gt;[void][Reflection.Assembly]::LoadFrom("assembly.dll")&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Turns out, using PowerShell or .NET, our used dll may become locked. Even if this is not an issue for us, if we could improve this load to prevent file locks, and prevent future issues.&lt;br /&gt;So we can do that by loading the file strem into the memory, instead of using its file system location.&lt;br /&gt;&lt;b&gt;[void][Reflection.Assembly]::Load([System.IO.File]::ReadAllBytes("assembly.dll"))&lt;/b&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/7136231886823673874-2396715171400514767?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2396715171400514767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/11/powershell-load-assemly-right-way.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2396715171400514767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2396715171400514767'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/11/powershell-load-assemly-right-way.html' title='PowerShell | Load assemly the right way'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3845620296805224459</id><published>2011-10-24T12:59:00.000+01:00</published><updated>2011-10-26T14:52:15.972+01:00</updated><title type='text'>Reflection | Get Assembly's GUID for Current DLL Build</title><content type='html'>Problem:&lt;br /&gt;Get the Hash/Guid (unique value) of the running assembly, in runtime.&lt;br /&gt;&lt;br /&gt;Solution:string myguid = Assembly.GetExecutingAssembly().GetModule("MyAssembly.dll").ModuleVersionId.ToString();&lt;br /&gt;&lt;br /&gt;Result:143afb59-6b87-4e8b-a187-74b57fdd3b5d&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-R9n50yn_5YQ/TqVS-zVOXWI/AAAAAAAAAHE/NQnbOxvH2w0/s1600/getdll.jpg" imageanchor="1"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-R9n50yn_5YQ/TqVS-zVOXWI/AAAAAAAAAHE/NQnbOxvH2w0/s320/getdll.jpg" width="278" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3845620296805224459?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3845620296805224459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/10/reflection-get-assemblys-guid-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3845620296805224459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3845620296805224459'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/10/reflection-get-assemblys-guid-for.html' title='Reflection | Get Assembly&apos;s GUID for Current DLL Build'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-R9n50yn_5YQ/TqVS-zVOXWI/AAAAAAAAAHE/NQnbOxvH2w0/s72-c/getdll.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8044572510052583073</id><published>2011-10-07T12:27:00.003+01:00</published><updated>2011-10-25T12:11:29.596+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='search'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Windows SharePoint Services | Search Corrupt</title><content type='html'>Problem:&lt;br /&gt;WSS Search Corrupt:&lt;br /&gt;&lt;br /&gt;"Não foi possível inicializar o índice de conteúdos em Search. Erro O índice de conteúdos está danificado.   0xc0041800.Componente: a6aee81d-3681-4f22-bf00-a182c5625f4f"&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;"The search index is currupted"&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Make a full crawl, erasing the current Search DB&lt;br /&gt;- Open C.A., services on server, stop Search Helper Service&lt;br /&gt;- Start (services.msc) Search Service on the Server&lt;br /&gt;- Open Search Management (click Search Helper on the C.A.'s Operations)&lt;br /&gt;- Chose a New Search DB name&lt;br /&gt;- Start the Search Helper Service&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/943605" target="_blank"&gt;http://support.microsoft.com/kb/943605&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8044572510052583073?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8044572510052583073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/10/problem-wss-search-corrupt-nao-foi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8044572510052583073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8044572510052583073'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/10/problem-wss-search-corrupt-nao-foi.html' title='Windows SharePoint Services | Search Corrupt'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1314934792063615651</id><published>2011-10-06T15:44:00.002+01:00</published><updated>2011-10-06T15:47:45.133+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | The PowerShell Song</title><content type='html'>&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;function Out-Text {&lt;br /&gt;    param(&lt;br /&gt;        [Parameter(Mandatory=$true)]&lt;br /&gt;        $Text,&lt;br /&gt;&lt;br /&gt;        [switch]&lt;br /&gt;        $Drunk&lt;br /&gt;    )&lt;br /&gt;&lt;br /&gt;    $object = New-Object -ComObject SAPI.SpVoice&lt;br /&gt;    if ($drunk) { $object.Rate = -10 }&lt;br /&gt;    $object.Speak($text) | Out-Null&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Out-text "hi tiago duarte. how are you?"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Check out more cool tips from &lt;a target="_blank" href="http://powershell.com/cs/blogs/tips/"&gt;PowerShell Power Tips&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1314934792063615651?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1314934792063615651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/10/powershell-powershell-song.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1314934792063615651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1314934792063615651'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/10/powershell-powershell-song.html' title='PowerShell | The PowerShell Song'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4247724602959699156</id><published>2011-09-30T16:29:00.007+01:00</published><updated>2011-10-06T15:44:12.846+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='word'/><title type='text'>Word | Resize all images simultaneously</title><content type='html'>Situation:&lt;br /&gt;You have hundreads of images in a word document.&lt;br /&gt;You want to grab them all, and set the same width and height.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;- Open Developer Tab (may require activating it on Word Options, Popular, "Show Developer tab in the ribbon")&lt;br /&gt;- Create a new macro&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="csharp"&gt;&lt;br /&gt;    Public Sub ResizePics()&lt;br /&gt;        Dim oDoc As Document, oShape As InlineShape&lt;br /&gt;       &lt;br /&gt;        Set oDoc = Application.ActiveDocument&lt;br /&gt;       &lt;br /&gt;        For Each oShape In oDoc.InlineShapes&lt;br /&gt;            oShape.Height = 270&lt;br /&gt;            oShape.Width = 360&lt;br /&gt;        Next oShape&lt;br /&gt;       &lt;br /&gt;        Set oDoc = Nothing&lt;br /&gt;    End Sub &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Remember to convert cm's to pixels&lt;br /&gt;&lt;a href="http://www.translatorscafe.com/cafe/units-converter/typography/calculator/pixel-%28X%29-to-centimeter-%5Bcm%5D/" target="_blank"&gt;http://www.translatorscafe.com/cafe/units-converter/typography/calculator/pixel-%28X%29-to-centimeter-%5Bcm%5D/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4247724602959699156?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4247724602959699156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/word-resize-all-images-simultaneously.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4247724602959699156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4247724602959699156'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/word-resize-all-images-simultaneously.html' title='Word | Resize all images simultaneously'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7139430988399161391</id><published>2011-09-30T16:04:00.006+01:00</published><updated>2011-09-30T16:19:07.296+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint designer 2010'/><title type='text'>SharePoint 2010 | Enabling Blocked File Types</title><content type='html'>Problem:&lt;br /&gt;&lt;br /&gt;We cannot add several file types to a SharePoint Site with SharePoint Designer or through a WSP solution. Examples are: ashx, dll, exe, msi.&lt;br /&gt;&lt;br /&gt;Error: "Server error: The following file(s) have been blocked by the administrator: /Style Library/Empower/images/Imfuscator.dll"&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide" href="http://4.bp.blogspot.com/-VhCjHl_RF9o/ToXcS34N5WI/AAAAAAAAAGg/WF6BjRORpok/s1600/spdesigner_adding_dll.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 142px;" src="http://4.bp.blogspot.com/-VhCjHl_RF9o/ToXcS34N5WI/AAAAAAAAAGg/WF6BjRORpok/s200/spdesigner_adding_dll.jpg" alt="" id="BLOGGER_PHOTO_ID_5658170723656394082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Solutions:&lt;br /&gt;&lt;br /&gt;- From Microsoft: place your files in a zip and upload them packaged&lt;br /&gt;&lt;br /&gt;- Configuring Central Admin:&lt;br /&gt;&lt;br /&gt;Security, Define blocked file types (/_admin/BlockedFileType.aspx)&lt;br /&gt;&lt;br /&gt;- For SharePoint Online / Office 365: Issue a "Service Request" (https://portal.microsoftonline.com/Support/ServiceRequests.aspx)&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide" href="http://4.bp.blogspot.com/-RFUnDZU1YeY/ToXcOXXX2kI/AAAAAAAAAGY/QFlyGi9olDA/s1600/ca_blocked_file_types.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 129px;" src="http://4.bp.blogspot.com/-RFUnDZU1YeY/ToXcOXXX2kI/AAAAAAAAAGY/QFlyGi9olDA/s200/ca_blocked_file_types.jpg" alt="" id="BLOGGER_PHOTO_ID_5658170646209223234" 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/7136231886823673874-7139430988399161391?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7139430988399161391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/sharepoint-2010-enabling-blocked-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7139430988399161391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7139430988399161391'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/sharepoint-2010-enabling-blocked-file.html' title='SharePoint 2010 | Enabling Blocked File Types'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-VhCjHl_RF9o/ToXcS34N5WI/AAAAAAAAAGg/WF6BjRORpok/s72-c/spdesigner_adding_dll.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1048132492169624780</id><published>2011-09-16T14:30:00.003+01:00</published><updated>2011-10-25T12:19:02.244+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Stop creating thumbs.db in Windows Vista/7</title><content type='html'>1) run "gpedit.msc"&lt;br /&gt;2) go to "User Configuration", "Administrative Templates", "Windows Components", "Windows Explorer"&lt;br /&gt;3) enable "Turn off the caching of thumbnails in hidden thumbs.db files"&lt;br /&gt;&lt;br /&gt;You can also try a different aproach: &lt;br /&gt;Open the Registry Editor (regedit.exe).&lt;br /&gt;&lt;br /&gt;Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced.&lt;br /&gt;&lt;br /&gt;Double-click the DisableThumbnailCache value, or go to Edit &amp;gt; New &amp;gt; DWORD value to create a new value by that name.&lt;br /&gt;&lt;br /&gt;Enter 1 for its value.&lt;br /&gt;&lt;br /&gt;Click Ok and close the Registry Editor when you're done; you'll have to log off and then log back on for this to take effect. &lt;br /&gt;&lt;br /&gt;Note: don't confuse with folder options "always show icons, never thumbnails", which disables showing thumbnails on windows explorer views (you will have to open the images to be able to see what they look like)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1048132492169624780?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1048132492169624780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/stop-creating-thumbsdb-in-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1048132492169624780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1048132492169624780'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/stop-creating-thumbsdb-in-windows.html' title='Stop creating thumbs.db in Windows Vista/7'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2551890404269685866</id><published>2011-09-14T15:04:00.007+01:00</published><updated>2011-09-14T15:32:47.136+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint designer'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint'/><title type='text'>SharePoint 2010 | Hidding the ribbon VS a SPSecurityTrimmed story</title><content type='html'>I've been strugling with the SPSecurityTrimmedControl, when using it to wrap controls so they only get seen by anonymous/logged in users.&lt;br /&gt;&lt;br /&gt;Turns out the control doesn't work right so neither using PermissionString or AuthenticationRestrictions won't get the job done.&lt;br /&gt;&lt;br /&gt;Possible values for PermissionString (&lt;a href="http://msdn.microsoft.com/EN-US/library/ms412690" target="_blank"&gt;http://msdn.microsoft.com/EN-US/library/ms412690&lt;/a&gt;):&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;EmptyMask &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ViewListItems &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;AddListItems &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;EditListItems &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;DeleteListItems &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ApproveItems &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;OpenItems &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ViewVersions &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;DeleteVersions &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;CancelCheckout &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ManagePersonalViews &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ManageLists &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ViewFormPages &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;Open &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ViewPages &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;AddAndCustomizePages &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ApplyThemeAndBorder &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ApplyStyleSheets &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ViewUsageData &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;CreateSSCSite &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ManageSubwebs &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;CreateGroups &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ManagePermissions &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;BrowseDirectories &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;BrowseUserInfo &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;AddDelPrivateWebParts &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;UpdatePersonalWebParts &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ManageWeb &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;UseClientIntegration &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;UseRemoteAPIs &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;ManageAlerts &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;CreateAlerts &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;EditMyUserInfo &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;EnumeratePermissions &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;FullMask &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Possible values for AuthenticationRestrictions:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;AuthenticatedUsersOnly&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;AnonymousUsersOnly&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;AllUsers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Bug Post&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/00ed3f14-8b73-47f2-a651-4c0b2d246a6e/" target="_blank"&gt;http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/00ed3f14-8b73-47f2-a651-4c0b2d246a6e/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Possible Types&lt;br /&gt;&lt;a href="http://sharepointforum.com/en-US/Bugday/Lists/Posts/Post.aspx?ID=66" target="_blank"&gt;http://sharepointforum.com/en-US/Bugday/Lists/Posts/Post.aspx?ID=66&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lately I've come up with something that easily hides controls from the page.&lt;br /&gt;Since you can't use SPSecurityTrimmedControl (unless you create a custom version of it) and since you can't simply add controls to the LoginView, at least you can add an inline style that will conditionally hide/show content.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;asp:loginview runat="server" id="LoginViewHideRibbon"&gt;&lt;br /&gt;&lt;anonymoustemplate&gt;&lt;br /&gt;   &lt;style&gt;#s4-ribbonrow{display:none;}&lt;/style&gt;&lt;br /&gt;&lt;/anonymoustemplate&gt;&lt;br /&gt;&lt;loggedintemplate&gt;&lt;br /&gt;   &lt;style&gt;#loggedincontrol{display:block;}&lt;/style&gt;&lt;br /&gt;&lt;/loggedintemplate&gt;&lt;br /&gt;&lt;/asp:loginview&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/7136231886823673874-2551890404269685866?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2551890404269685866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/sharepoint-2010-easy-hide-ribbon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2551890404269685866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2551890404269685866'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/sharepoint-2010-easy-hide-ribbon.html' title='SharePoint 2010 | Hidding the ribbon VS a SPSecurityTrimmed story'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2360197035672644677</id><published>2011-09-13T13:39:00.004+01:00</published><updated>2011-09-25T22:55:36.645+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Windows 7 | Error Code 5 - cannot boot from disk</title><content type='html'>Problem:&lt;br /&gt;Booting from a Windows 7 DVD in a machine that most likely is using an ASRock/MSI Motherboard, throws "Cannot boot from disk: Error code 5"&lt;br /&gt;&lt;br /&gt;Reason:&lt;br /&gt;Some motherboards are not compatible with Microsoft's boot sector used in Windows 7 install disc&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;There are two ways of overcoming this:&lt;br /&gt;- Boot up from a Vista DVD, bypass language selection, chose repair, and open a command line, then switch to W7 DVD and enter "setup"&lt;span style="display: block;" id="formatbar_Buttons"&gt;&lt;span onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);" class=" down" style="display: block;" id="formatbar_CreateLink" title="Link"&gt;&lt;img src="http://www.blogger.com/img/blank.gif" alt="Link" class="gl_link" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- Record a new W7 DVD with specific Motherboard&lt;br /&gt;&lt;a href="http://www.unawave.de/windows-7-tipps/code5-error.html?lang=EN"&gt;&lt;br /&gt;http://www.unawave.de/windows-7-tipps/code5-error.html?lang=EN&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2360197035672644677?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2360197035672644677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/windows-7-error-code-5-can-not-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2360197035672644677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2360197035672644677'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/windows-7-error-code-5-can-not-boot.html' title='Windows 7 | Error Code 5 - cannot boot from disk'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1155185324836417296</id><published>2011-09-12T22:53:00.010+01:00</published><updated>2011-09-30T16:28:35.242+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>Troubleshooting problematic PSU/MOBO</title><content type='html'>Hardware issues can be a derived from a simple hard drive replacement to a more complex issue. Usually, Power Supply Units are though to either work/not work by checking if the computer boots up or not. Mother boards are usually replaced, when the issue could be as simple as replacing the 3V battery. So here are some areas to troubleshoot. A multimeter will surely come in handy. let's disconnect all cables and start.&lt;br /&gt;&lt;br /&gt;1) put the multimeter in AC mode and test the power outlet for voltage. expected is a non constant value of 220-230V(EU) or 115V-120V(US).&lt;br /&gt;&lt;br /&gt;2) retrieve and check the small CR2032 baterry on the mother board for voltage. A value from 2.90V to 3.10V is expected. Anything lower than that will start to create &lt;a href="http://en.wikipedia.org/wiki/BIOS" target="_blank"&gt;BIOS&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Power-on_self-test" target="_blank"&gt;POST&lt;/a&gt; issues.&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-tzXrjv3WS-k/Teh4x_A7c-I/AAAAAAAAAEU/bEzkl2Yme28/s1600/cmos_battery1.jpg"&gt;&lt;img style="cursor: pointer; width: 229px; height: 171px;" src="http://2.bp.blogspot.com/-tzXrjv3WS-k/Teh4x_A7c-I/AAAAAAAAAEU/bEzkl2Yme28/s1600/cmos_battery1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) to do a basic power supply unit test: if it's a AT PSU (old P8/P9 connectors), just connect the power cable and see if it turns on. if it's a ATX PSU (P1 connector) we can set direct link on it, otherwise it will only turn on when connected to a MOBO. to directly connect the ATX PSU, grab a clip and connect the green pin (usually near middle) to one of the available black pins. this test tells us right away if the PSU is going directly to the trash, or may have salvation. be careful not tu connect the wrong pins, or you may damage the PSU or cause a power failure on the premisses. I usually place the clip first, then push the ON/OFF button on the PSU, and finnally, slowly place the power cable in the PSU (without touching the PSU directly).&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-dACKpf8Kpas/Tm6EBDBKnII/AAAAAAAAAGA/1jk8VufxPlc/s1600/psu.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 190px;" src="http://3.bp.blogspot.com/-dACKpf8Kpas/Tm6EBDBKnII/AAAAAAAAAGA/1jk8VufxPlc/s200/psu.jpg" alt="" id="BLOGGER_PHOTO_ID_5651599735921482882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) now we are going to connect the power cable to the power outlet and to the PSU unit, and the AT/ATX connector to the MOBO. Still without actually starting the machine, we should check for the 5V pin for, well, 5V! connect the 9th pin to one of the black pins. know that 15-16 pins are located by the ATX connector "click" that grabs the it to the MOBO is, and the 9th pin will be on the back and to the left.&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.techrepublic.com/i/tr/cms/contentPics/t01620020319pos01_05.gif"&gt;&lt;img style="cursor: pointer; width: 297px; height: 198px;" src="http://www.techrepublic.com/i/tr/cms/contentPics/t01620020319pos01_05.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) if the above steps are passed flawlessly, our PSU should be working and able to boot up the MOBO I usually pick up a screewdriver and then go over the power pins until the MOBO turns on (unless I can tell where the power pins are by looking at the inscriptions or board manual). you don't really have to connect the power button from the chassis. if we connect the multimeter to a yellow and a black pin (using the red and black multimeter connectors respectivly), it should read a value of 11V to 13V. anything lower than that should mean the PSU does not turn on or has faulty voltage. we should check the various yellow wires available. I did this myself and I got 11.58V.&lt;br /&gt;&lt;br /&gt;Feel free to test other voltages according to the schema.&lt;br /&gt;&lt;br /&gt;Resources:&lt;br /&gt;&lt;a target="_blank" href="http://www.techrepublic.com/article/power-supply-troubleshooting-with-a-multimeter/1056686"&gt;http://www.techrepublic.com/article/power-supply-troubleshooting-with-a-multimeter/1056686&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1155185324836417296?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1155185324836417296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/troubleshooting-problematic-psumobo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1155185324836417296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1155185324836417296'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/troubleshooting-problematic-psumobo.html' title='Troubleshooting problematic PSU/MOBO'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-tzXrjv3WS-k/Teh4x_A7c-I/AAAAAAAAAEU/bEzkl2Yme28/s72-c/cmos_battery1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4568227936815490451</id><published>2011-09-11T15:38:00.001+01:00</published><updated>2011-09-11T15:39:56.440+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><title type='text'>SQL Server | Windows 7</title><content type='html'>Issue:&lt;br /&gt;&lt;br /&gt;Getting this issue when picking databases over Management Studio from SQL Server:&lt;br /&gt;"The database XXX is not accessible. XXX.Express.ObjectExplorer"&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Open Microsoft SQL Server Management Studio with right-click, as admin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4568227936815490451?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4568227936815490451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/09/sql-server-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4568227936815490451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4568227936815490451'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/09/sql-server-windows-7.html' title='SQL Server | Windows 7'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8035586669317107567</id><published>2011-07-20T16:40:00.010+01:00</published><updated>2011-09-09T10:58:00.916+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>When IE7 just doesn't go away</title><content type='html'>Internet Explorer and Compatibility Views seem to be messing up our environments, forcing lower rendering modes when upper modes are available.&lt;br /&gt;&lt;br /&gt;If we hit F12 we can see what browser mode and document mode our page is using.&lt;br /&gt;We'll probably figure out IE7 is being used when IE8 or IE9 is installed.&lt;br /&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/ie7_02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;We can do two things now:&lt;br /&gt;&lt;br /&gt;- Disable "Display intranet sites in Compatibility View" (Tools -&gt; "Compatibility View settings")&lt;br /&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/ie7_01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;- And change X-UA-Compatible attribute in the master page&lt;br /&gt;&lt;br /&gt;Turns out Microsoft ships v4.master in SharePoint with IE8 as standards mode.&lt;br /&gt;&amp;#60;meta http-equiv="X-UA-Compatible" content="IE=8"/&amp;#62;&lt;br /&gt;&lt;br /&gt;We can either set it to IE9,&lt;br /&gt;&amp;#60;meta http-equiv="X-UA-Compatible" content="IE=9"/&amp;#62;&lt;br /&gt;&lt;br /&gt;to the latest available mode,&lt;br /&gt;&amp;#60;meta http-equiv="X-UA-Compatible" content="IE=EDGE"/&amp;#62;&lt;br /&gt;&lt;br /&gt;or none at all,&lt;br /&gt;&amp;#60;!--&amp;#60;meta http-equiv="X-UA-Compatible" content="IE=8"/&amp;#62;--&amp;#62;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8035586669317107567?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8035586669317107567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/07/when-ie7-just-doesnt-go-away.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8035586669317107567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8035586669317107567'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/07/when-ie7-just-doesnt-go-away.html' title='When IE7 just doesn&apos;t go away'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3023101106172718349</id><published>2011-07-19T00:26:00.001+01:00</published><updated>2011-07-19T00:27:17.285+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dotnetnuke'/><title type='text'>DNN5 Unable to generate a temporary class</title><content type='html'>Error:&lt;br /&gt;Unable to generate a temporary class (result=1). error CS2001&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Give IIS_IUSRS Full Access to Windows\Temp folder&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3023101106172718349?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3023101106172718349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/07/dnn5-unable-to-generate-temporary-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3023101106172718349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3023101106172718349'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/07/dnn5-unable-to-generate-temporary-class.html' title='DNN5 Unable to generate a temporary class'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4905788295469296296</id><published>2011-07-10T20:53:00.002+01:00</published><updated>2011-07-10T20:58:06.822+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Fix boot and master boot record XP/Vista</title><content type='html'>Most hard drive issues are due to unexpected rebooting or sudent power failure. This, in turn, usually prevents the operating sytem from booting, even if the disk is not actually damaged.&lt;br /&gt;&lt;br /&gt;Botting trough an OS install disk, we can open a repair command-line to try some things that may fix the boot system.&lt;br /&gt;&lt;br /&gt;In XP/W2K:&lt;br /&gt;fixmbr&lt;br /&gt;fixboot&lt;br /&gt;&lt;br /&gt;In Vista/7:&lt;br /&gt;bootrec /fixmbr&lt;br /&gt;bootrec /fixboot&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4905788295469296296?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4905788295469296296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/07/fix-boot-and-master-boot-record-xpvista.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4905788295469296296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4905788295469296296'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/07/fix-boot-and-master-boot-record-xpvista.html' title='Fix boot and master boot record XP/Vista'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8155064647928269007</id><published>2011-07-04T12:43:00.008+01:00</published><updated>2011-07-04T13:00:21.074+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='orchard'/><category scheme='http://www.blogger.com/atom/ns#' term='iis'/><title type='text'>Orchard | Allow ashx files</title><content type='html'>Add this handler to system.webserver, handlers section of Web.config to allow theme/modules to open up ashx files:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;&lt;br /&gt;      &lt;add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a target="_blank" href="http://orchard.codeplex.com/discussions/260500"&gt;http://orchard.codeplex.com/discussions/260500&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8155064647928269007?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8155064647928269007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/07/orchard-allow-ashx-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8155064647928269007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8155064647928269007'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/07/orchard-allow-ashx-files.html' title='Orchard | Allow ashx files'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4872967221162973073</id><published>2011-06-13T11:49:00.016+01:00</published><updated>2011-09-30T16:27:42.127+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SPOffice365'/><title type='text'>SharePoint Office 365 | Convert Public site to internal master pages</title><content type='html'>SharePoint Office 365 public sites have built-in functionality to redesign the site and its pages.&lt;br /&gt;However, if we try to edit root.master (default master page for public sites), even just adding an empty line, when customizing it, the site will throw an exception:&lt;br /&gt;"The base type 'Microsoft.SharePoint.Spx.WebsiteCore.RootMaster' is not allowed for this page. The type is not registered as safe."&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"   href="http://cambada.do.sapo.pt/blog/imagens/spo/01_about_us_default.png" width="400"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/spo/01_about_us_default.png" style="cursor:hand;width: 300px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  href="http://cambada.do.sapo.pt/blog/imagens/spo/02_editing_root_master.jpg" width="400"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/spo/02_editing_root_master.jpg" style="cursor:hand;width: 300px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  href="http://cambada.do.sapo.pt/blog/imagens/spo/03_spx.websitecore.rootmaster_notregisteredassafe.jpg" width="400"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/spo/03_spx.websitecore.rootmaster_notregisteredassafe.jpg" style="cursor:hand;width: 300px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I tried creating a new master page with the same content, inside and outside SharePoint Designer, with no avail.&lt;br /&gt;&lt;br /&gt;I've found that we can "overcome" this issue by setting one of the internal master pages, and replacing the main content area placeholder id from IWS_WH_CPH_Content to PlaceHolderMain.&lt;br /&gt;&lt;br /&gt;This can also be done automatically by editing the page and selecting Style (tab) -&gt; Attach -&gt; pick master page.&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  href="http://cambada.do.sapo.pt/blog/imagens/spo/04_attach_v4.jpg" width="400"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/spo/04_attach_v4.jpg" style="cursor:hand;width: 300px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A popup dialog will appear saying the place holder ids will be replaced as necessary and upon save the page will open with v4's look and feel.&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide"  href="http://cambada.do.sapo.pt/blog/imagens/spo/05_about_us_v4.png" width="400"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/spo/05_about_us_v4.png" style="cursor:hand;width: 300px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks to Amit Phule for his &lt;a href="http://amitphule.blogspot.com/2011/05/customizing-office-365-public-facing.html?ext-ref=comm-sub-email" target="_blank"&gt;post&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4872967221162973073?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4872967221162973073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/06/sharepoint-office-365-convert-public.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4872967221162973073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4872967221162973073'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/06/sharepoint-office-365-convert-public.html' title='SharePoint Office 365 | Convert Public site to internal master pages'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2698326822935531043</id><published>2011-05-25T18:14:00.005+01:00</published><updated>2011-05-25T18:16:23.685+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><title type='text'>SharePoint 2010 | No Gantt View in Custom Master Page</title><content type='html'>Here's another brainer&lt;br /&gt;&lt;br /&gt;Problem: Custom Master Pages show blank main content area when opening lists in Gant Views&lt;br /&gt;&lt;br /&gt;Solution: Make sure you add these divs to your html markup&lt;br /&gt;&amp;#60;div id="s4-workspace"&amp;#62;&lt;br /&gt;&amp;#60;div id="s4-bodyContainer"&amp;#62;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2698326822935531043?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2698326822935531043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/05/sharepoint-2010-no-gantt-view-in-custom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2698326822935531043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2698326822935531043'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/05/sharepoint-2010-no-gantt-view-in-custom.html' title='SharePoint 2010 | No Gantt View in Custom Master Page'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3150169089513504391</id><published>2011-05-11T18:52:00.003+01:00</published><updated>2011-05-11T19:04:23.287+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>WSS3 | MOSS 2007 Where's my disc space?</title><content type='html'>Today a got a warning from the OS&lt;br /&gt;"You are running out of disc space!"&lt;br /&gt;&lt;br /&gt;What? 160GB is not enough anymore?&lt;br /&gt;After removing some stuff, like temporary files, cleaning the disc, and removing unecessary apps and installations, I decided to look for large files above 150MB and turns out there were about 60GB in SharePoint log files.&lt;br /&gt;(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS)&lt;br /&gt;&lt;br /&gt;I did find some issues. SharePoint was trying to use Single Sign-On, while SSO wasn't enable on the farm.&lt;br /&gt;Well, since I don't really need logs I just stopped and disabled the WSS Tracing Service. At least now I don't have to worry about keeping an eye on that folder every once and a while.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3150169089513504391?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3150169089513504391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/05/wss3-moss-2007-wheres-my-disc-space.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3150169089513504391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3150169089513504391'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/05/wss3-moss-2007-wheres-my-disc-space.html' title='WSS3 | MOSS 2007 Where&apos;s my disc space?'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6303620656832685391</id><published>2011-04-12T22:44:00.005+01:00</published><updated>2011-04-12T22:56:35.059+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tuning'/><category scheme='http://www.blogger.com/atom/ns#' term='bind'/><category scheme='http://www.blogger.com/atom/ns#' term='mix'/><title type='text'>Bind Tuning featured on Mix 2011</title><content type='html'>The Bind Tuning Tool was featured at the keynote on the Mix 2011 event (&lt;a href="http://live.visitmix.com/Keynotes" target="_blank"&gt;http://live.visitmix.com/Keynotes&lt;/a&gt;). Navigate from 01:07:00 to 01:09:00 to see the highlights of the tuning tool usage over Orchard themes, by Drew Robbins.&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide" href="http://cambada.do.sapo.pt/blog/imagens/bindtuning01.jpg" width="400"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/bindtuning01.jpg" style="cursor:hand;width: 400px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click &lt;a href="http://tuning.bind.pt/" target="_blank"&gt;here&lt;/a&gt; to start tuning!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6303620656832685391?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6303620656832685391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/bind-tuning-featured-on-mix-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6303620656832685391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6303620656832685391'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/bind-tuning-featured-on-mix-2011.html' title='Bind Tuning featured on Mix 2011'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3294930998587388087</id><published>2011-04-08T18:00:00.001+01:00</published><updated>2011-04-08T18:03:07.134+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>WSS3/MOSS 2007 upgrade already running stsadm issue</title><content type='html'>Problem:&lt;br /&gt;If an upgrade is started using the stsadm command line tool, you will not able to start another upgrade process from the user interface. If you try to start a second instance of upgrade, the following error message will be displayed:&lt;br /&gt;&lt;br /&gt;"Unable to upgrade SharePoint Products and Technologies because an upgrade is already in progress. Upgrade progress can be monitored using the Central Administration Web Application or by monitoring the upgrade log on server "X"."&lt;br /&gt;http://www.blogger.com/img/blank.gif&lt;br /&gt;"X" is the name of the server that initiated the upgrade process.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;stsadm -o setproperty -pn command-line-upgrade-running -pv No&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/cc288357%28office.12%29.aspx"&gt;http://technet.microsoft.com/en-us/library/cc288357%28office.12%29.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3294930998587388087?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3294930998587388087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/wss3moss-2007-upgrade-already-running.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3294930998587388087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3294930998587388087'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/wss3moss-2007-upgrade-already-running.html' title='WSS3/MOSS 2007 upgrade already running stsadm issue'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-261701869921443549</id><published>2011-04-08T15:33:00.009+01:00</published><updated>2011-04-08T15:59:55.591+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='stsadm'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>stsadm upgrade fails with too new exception</title><content type='html'>[ERROR] [08-04-2011 11:05:54]: Upgrade object too new (build version =&lt;br /&gt;12.0.6539.5000, schema version = 12.0.0.0). Current server (build&lt;br /&gt;version = 12.0.6425.1000, schema version = 12.0.0.0).&lt;br /&gt;&lt;br /&gt;After trying almost everything, I managed to get the command working by changing, the... registry!&lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0&lt;br /&gt;Key: BuildVersion Value 12.0.6425.1000&lt;br /&gt;&lt;br /&gt;To the actual installed version located in C.A. Operations, Servers in Farm (12.0.6554.5000)&lt;br /&gt;&lt;br /&gt;then it worked!&lt;br /&gt;stsadm –o upgrade –inplace –forceupgrade&lt;br /&gt;&lt;br /&gt;Latest WSS Cummulative Update (12.0.6554.5000)&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/2475886" target="_blank"&gt;http://support.microsoft.com/kb/2475886&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Latest MOSS Cummulative Update (12.0.6554.5000)&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/2475885" target="_blank"&gt;http://support.microsoft.com/kb/2475885&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;WSS/MOSS VERSIONS&lt;br /&gt;&lt;a target="_blank" href="http://insomniacgeek.com/how-to-determine-the-installed-sharepoint-version/"&gt;http://insomniacgeek.com/how-to-determine-the-installed-sharepoint-version/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source&lt;br /&gt;&lt;a target="_blank" href="http://vandanarathore.blogspot.com/2009/06/b2b-upgrade-fails-with-error-upgrade.html"&gt;http://vandanarathore.blogspot.com/2009/06/b2b-upgrade-fails-with-error-upgrade.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-261701869921443549?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/261701869921443549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/stsadm-upgrade-fails-with-too-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/261701869921443549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/261701869921443549'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/stsadm-upgrade-fails-with-too-new.html' title='stsadm upgrade fails with too new exception'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3314427720983952526</id><published>2011-04-08T14:56:00.002+01:00</published><updated>2011-04-08T14:58:36.603+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wss'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Errors Adding a Server to the Farm - Invalid List Template (0x8102007B)</title><content type='html'>Problem: SharePoint Configuration wizard throws Invalid List Template while adding a server to a farm&lt;br /&gt;&lt;br /&gt;Solution: Check servers for missing XML templates from one another. Make sure all servers have all language folders:&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\1033\XML&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\2070\XML&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.richardawilson.com/2010/09/erors-adding-server-to-farm-invalid.html" target="_blank"&gt;http://www.richardawilson.com/2010/09/erors-adding-server-to-farm-invalid.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3314427720983952526?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3314427720983952526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/errors-adding-server-to-farm-invalid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3314427720983952526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3314427720983952526'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/errors-adding-server-to-farm-invalid.html' title='Errors Adding a Server to the Farm - Invalid List Template (0x8102007B)'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3387713531119163848</id><published>2011-04-06T16:35:00.006+01:00</published><updated>2011-04-06T16:49:24.728+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>SharePoint Server Issues</title><content type='html'>Q: "Error 6. The handle is invalid" When starting WSS Serch Service&lt;br /&gt;&lt;br /&gt;A: Change login account to local service&lt;br /&gt;&lt;a href="http://consultingblogs.emc.com/johnrayner/archive/2007/02/16/MOSS_3A00_-Error-_2200_The-handle-is-invalid_2200_-when-starting-Windows-SharePoint-Services-_2800_WSS_2900_-Search-service.aspx" target="_blank"&gt;http://consultingblogs.emc.com/johnrayner/archive/2007/02/16/MOSS_3A00_-Error-_2200_The-handle-is-invalid_2200_-when-starting-Windows-SharePoint-Services-_2800_WSS_2900_-Search-service.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: SharePoint_Config log is too full(SharePoint_Config_log.LDF)&lt;br /&gt;&lt;br /&gt;A: Backup file and Reset Log to specified MBs&lt;br /&gt;SQL SQUERY:&lt;br /&gt;BACKUP LOG [Sharepoint_Config] TO DISK='C:\configLogBackup.bak'&lt;br /&gt;[Execute]&lt;br /&gt;BACKUP LOG [Sharepoint_Config] WITH TRUNCATE_ONLY&lt;br /&gt;USE [SharePoint_Config]&lt;br /&gt;[Execute]&lt;br /&gt;DBCC SHRINKFILE (N'SharePoint_Config_log' , 50)&lt;br /&gt;[Execute]&lt;br /&gt;&lt;a href="http://www.sharepointboris.net/2008/10/sharepoint-config-database-log-file-too-big-reduce-it/" target="_blank"&gt;http://www.sharepointboris.net/2008/10/sharepoint-config-database-log-file-too-big-reduce-it/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: MSSQLSERVER NT AUTHORITY\SYSTEM Event Failure every Minute&lt;br /&gt;&lt;br /&gt;A: Remove Jobs from non-existing databases&lt;br /&gt;&lt;a href="http://www.sharepointassist.com/2009/04/19/login-failed-for-user-nt-authoritysystem-client/" target="_blank"&gt;http://www.sharepointassist.com/2009/04/19/login-failed-for-user-nt-authoritysystem-client/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: Server error: http://go.microsoft.com/fwlink?LinkID=96177&lt;br /&gt;A: Ensure WSS3 SP2 and MOSS SP2 are installed and run&lt;br /&gt;stsadm –o upgrade –inplace –forceupgrade&lt;br /&gt;&lt;a href="http://gj80blogtech.blogspot.com/2010/06/server-error-httpgomicrosoftcomfwlinkli.html" target="_blank"&gt;http://gj80blogtech.blogspot.com/2010/06/server-error-httpgomicrosoftcomfwlinkli.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q: Missing Stored Procedure - dbo.profilesynch_sweep_GetDBToken&lt;br /&gt;A: Database Update Synchronization issues&lt;br /&gt;Possible solution:&lt;br /&gt;stsadm -o preparetomove -contentdb &lt;server name: database name&gt; -undo&lt;br /&gt;stsadm -o sync -deleteolddatabases 0&lt;br /&gt;&lt;a href="http://social.technet.microsoft.com/Forums/en/sharepointsocialcomputing/thread/2b518cbf-b3b5-4da1-9f95-61ae212a0600" target="_blank"&gt;http://social.technet.microsoft.com/Forums/en/sharepointsocialcomputing/thread/2b518cbf-b3b5-4da1-9f95-61ae212a0600&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3387713531119163848?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3387713531119163848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/sharepoint-server-issues.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3387713531119163848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3387713531119163848'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/sharepoint-server-issues.html' title='SharePoint Server Issues'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-5143220106268282850</id><published>2011-04-04T17:00:00.013+01:00</published><updated>2011-04-12T22:20:09.989+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='passwords'/><category scheme='http://www.blogger.com/atom/ns#' term='user'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>No more passwords lying around</title><content type='html'>Let's face it.&lt;br /&gt;You own a computer and you do tons of things with it, but still, sometimes you forget you have it. Sometimes you grab a &lt;span style="font-weight: bold;"&gt;piece of paper to write down some links or passwords&lt;/span&gt;, even knowing you will probably loose it sometime or even misunderstant your own hand writing! I love paper, for both reading and writing, but such important information have to be kept somewhere else, for backup reasons, as well as for security and availability reasons.&lt;br /&gt;&lt;br /&gt;So now you know its a good thing to &lt;span style="font-weight: bold;"&gt;save your data&lt;/span&gt;. But now you face another problem. Once you connect to that great Internet hot spot, all your computer info is automatically available for everyone (and don't tell me you have a good anti-virus or firewall).&lt;br /&gt;&lt;br /&gt;My take on this is quite simple: assume people WILL in fact gain access to your computer at some point (even with updated OS, firewalls, no shares and so on). By assuming this, you have accepted, in a nutshell, that you cannot trust in technologies. So even with all your system protected for the most common issues, you have another task: make your information impossible to be read by people who get their hands on it. Or as a teacher of mine used to say, "&lt;span style="font-weight: bold;"&gt;disable the possibility of someone who get in possession of our information to actually see it in an useful time frame&lt;/span&gt;". This means that it someone took 10 years to crack one of your password protected files, it wouldn't really matter because most probably that file would have bacome outdated and deprecated, with no use whatsoever.&lt;br /&gt;&lt;br /&gt;My following example - as most of your already figured out - is all about kepping our files save and protected, although they are located on our own beautiful computer.&lt;br /&gt;I should be mocked for having a clear text password file list myself but the important thing is I finally decided to do something about it.&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide" href="http://cambada.do.sapo.pt/blog/imagens/pwd01.jpg" width="100"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/pwd01.jpg" style="cursor:hand;width: 180px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And how hard can it be to protect it? It must be, because I've been using it for a few years now! Or is it?&lt;br /&gt;&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide" href="http://cambada.do.sapo.pt/blog/imagens/pwd02.jpg"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/pwd02.jpg" style="cursor:hand;width: 180px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally, we can complete our work, and yes, we will have to enter the password whenever we open our text file. A small price to pay for free information protection.&lt;br /&gt;&lt;a onclick="return hs.expand(this)" class="highslide" href="http://cambada.do.sapo.pt/blog/imagens/pwd03.jpg" width="100"&gt;&lt;img src="http://cambada.do.sapo.pt/blog/imagens/pwd03.jpg" style="cursor:hand;width: 180px; pt="" blog="" imagens="" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;A free compressor app like &lt;a href="http://www.7-zip.org/" target="_blank"&gt;7zip&lt;/a&gt; does the trick.&lt;br /&gt;&lt;br /&gt;Check out this great &lt;a href="http://www.informationweek.com/news/global-cio/showArticle.jhtml?articleID=19202221" target="_blank"&gt;article from informationweek.com&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-5143220106268282850?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/5143220106268282850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/no-more.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/5143220106268282850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/5143220106268282850'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/no-more.html' title='No more passwords lying around'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1934124787005564939</id><published>2011-04-01T12:27:00.006+01:00</published><updated>2011-04-01T12:34:03.684+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>JavaScript | Get a child element and add a class to it</title><content type='html'>Here's a simple script, nice to have around.&lt;br /&gt;It gets ONE ul element, that is below a top ID element, and adds a class to it.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;var element = document.getElementById('ElementIDAbove').getElementsByTagName('ul')[0];&lt;br /&gt;if(element) //lets sanitize this, shall we&lt;br /&gt;{&lt;br /&gt;element.setAttribute('class', 'ProductList'); //other browsers&lt;br /&gt;element.setAttribute('className', 'ProductList'); //IE&lt;br /&gt;}&lt;br /&gt;&lt;/script&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/7136231886823673874-1934124787005564939?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1934124787005564939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/04/javascript-get-child-element-and-add.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1934124787005564939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1934124787005564939'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/04/javascript-get-child-element-and-add.html' title='JavaScript | Get a child element and add a class to it'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7753198715923319848</id><published>2011-03-14T10:33:00.010Z</published><updated>2011-03-14T10:55:53.544Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='dotnetnuke'/><category scheme='http://www.blogger.com/atom/ns#' term='orchard'/><title type='text'>Design has Evolved | tuning.bind.pt</title><content type='html'>&lt;a target="_blank" alt="Open Bind Tuning in a new page" href="http://tuning.bind.pt/"&gt;&lt;img style="display: block; margin: 0px auto 0px; text-align: center; width: 580px; " src="http://a6.sphotos.ak.fbcdn.net/hphotos-ak-snc6/184623_197081900314055_123088651046714_590651_1425758_n.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Web design just became easier with &lt;a target="_blank" href="http://tuning.bind.pt/"&gt;BIND TUNING&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Available now for Orchard, DotNetNuke and SharePoint Themes, this amazing all-in-one platform let's you build up your own site theme, quickly and easily, without any design or development knowledge. Customize and recustomize, add background images, background layers, choose menu designs and looks, paint it with different colors for the various page components and see how it will actually look BEFORE you even buy it, in the exact CSS and HTML the chosen CMS uses.&lt;br /&gt;&lt;br /&gt;Build simple, yet astonishing site-morphing layouts for your collaboration platforms. Try it &lt;a target="_blank" href="http://tuning.bind.pt/"&gt;NOW&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-7753198715923319848?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7753198715923319848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/03/design-has-evolved-tuningbindpt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7753198715923319848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7753198715923319848'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/03/design-has-evolved-tuningbindpt.html' title='Design has Evolved | tuning.bind.pt'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2879701476403804995</id><published>2011-03-11T17:45:00.002Z</published><updated>2011-03-11T17:46:16.827Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='packages'/><category scheme='http://www.blogger.com/atom/ns#' term='nupkg'/><category scheme='http://www.blogger.com/atom/ns#' term='nuget'/><category scheme='http://www.blogger.com/atom/ns#' term='orchard'/><title type='text'>Orchard | Make NuGet files downloadable</title><content type='html'>Go to IIS, Site, Mime Types&lt;br /&gt;&lt;br /&gt;Add:&lt;br /&gt;Extension: ".nupkg"&lt;br /&gt;Type: "application/x-compress"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2879701476403804995?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2879701476403804995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/03/orchard-make-nuget-files-downloadable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2879701476403804995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2879701476403804995'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/03/orchard-make-nuget-files-downloadable.html' title='Orchard | Make NuGet files downloadable'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8912571077279466756</id><published>2011-03-11T15:12:00.004Z</published><updated>2011-03-11T15:30:52.940Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='word'/><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><category scheme='http://www.blogger.com/atom/ns#' term='windows server'/><title type='text'>PowerShell | Word fails to open documents as a background service</title><content type='html'>System: Windows 2008 Server&lt;br /&gt;&lt;br /&gt;Environment: PowerShell + Microsoft.Office.Interop.Word.ApplicationClass (word.application) (as a task in Task Scheduler)&lt;br /&gt;&lt;br /&gt;Issue: Word fails to open document in method:&lt;br /&gt;$docxPath = gci "myfile.docx"&lt;br /&gt;$wordApp = New-Object -Com Word.Application&lt;br /&gt;$wordApp.Visible = $false&lt;br /&gt;$wordDoc = $wordApp.Documents.Open($docxPath.FullName)&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;As CRAZY as it sounds, the solution is to CREATE AN EMPTY FOLDER called "Desktop" in either:&lt;br /&gt;C:\Windows\SysWOW64\config\systemprofile\Desktop&lt;br /&gt;or&lt;br /&gt;C:\Windows\System32\config\systemprofile\Desktop&lt;br /&gt;&lt;br /&gt;...depending on whether you have 64-bit Windows.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://stackoverflow.com/questions/1177974/word-interop-not-working-in-a-scheduled-task"&gt;http://stackoverflow.com/questions/1177974/word-interop-not-working-in-a-scheduled-task&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8912571077279466756?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8912571077279466756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/03/powershell-word-fails-to-open-documents.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8912571077279466756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8912571077279466756'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/03/powershell-word-fails-to-open-documents.html' title='PowerShell | Word fails to open documents as a background service'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8928892022091154136</id><published>2011-03-08T12:40:00.004Z</published><updated>2011-03-08T12:45:37.772Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='word'/><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | How to know if an Application is installed?</title><content type='html'>Let's find out if Microsoft Word is installed on the system:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;if ((dir  REGISTRY::HKEY_CLASSES_ROOT\Word.Application) -ne $Null)&lt;br /&gt;{&lt;br /&gt;#do word installed stuff such as&lt;br /&gt;$myWord = New-Object -Com Word.Application&lt;br /&gt;$myWord.Visible = $true&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Another option would be to catch the exception launched from the failed new-object&lt;br /&gt;&lt;br /&gt;Thanks to&lt;br /&gt;&lt;a target="_blank" href="http://www.virtu-al.net/2008/08/07/powershell-is-microsoft-word-installed/"&gt;http://www.virtu-al.net/2008/08/07/powershell-is-microsoft-word-installed/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8928892022091154136?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8928892022091154136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/03/powershell-how-to-know-if-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8928892022091154136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8928892022091154136'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/03/powershell-how-to-know-if-application.html' title='PowerShell | How to know if an Application is installed?'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8696384367583698023</id><published>2011-02-10T16:03:00.005Z</published><updated>2011-02-15T12:44:01.111Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | Match Partial String</title><content type='html'>Input: @Display(Model.Header)&lt;br /&gt;(Orchard zone btw)&lt;br /&gt;&lt;br /&gt;Output: Header&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;$zoneName = [regex]::Replace(".*@Display(Model.Header).*", "@Display\(Model.([A-Za-z]*).*?\)", "`$1")&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Obs:&lt;br /&gt;- ( and ) literals need to be escaped with \&lt;br /&gt;- using (some text) in powershell enables reusing the matched string inside with $1, $2, $3, etc&lt;br /&gt;- Should use "`$1" or '$1'&lt;br /&gt;- .* removes all text before and after matched string&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8696384367583698023?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8696384367583698023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/02/powershell-match-partial-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8696384367583698023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8696384367583698023'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/02/powershell-match-partial-string.html' title='PowerShell | Match Partial String'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1010324906014569537</id><published>2011-02-03T17:48:00.004Z</published><updated>2011-02-03T17:55:02.704Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='dotnetnuke'/><title type='text'>DNN5 | Use SkinPath not allowed in image tag</title><content type='html'>When facing ASPNET controls, our attributes are contained within commas, but referencing system variables and html tags together might be a problem.&lt;br /&gt;&lt;br /&gt;When can solve this by replacing our tag encolures by ascii:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;Separator="&amp;#38;lt;img src=&amp;#38;quot;images/breadcrumb.sep.png&amp;#38;quot; width='11' height='13'&amp;#38;gt;"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;SkinPath is not needed, since referencing the image this way automcatically adds the path to the current skin installed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1010324906014569537?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1010324906014569537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/02/dnn5-use-skinpath-not-allowed-in-image.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1010324906014569537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1010324906014569537'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/02/dnn5-use-skinpath-not-allowed-in-image.html' title='DNN5 | Use SkinPath not allowed in image tag'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1384276722000918336</id><published>2011-02-01T09:37:00.006Z</published><updated>2011-02-01T09:47:07.930Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio 2010'/><title type='text'>The Project X is under source control</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;br /&gt;A project says it is under source control when trying to be opened by Visual Studio, ending up in opening failure:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"The project 'OpenXML Power Tools' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If this error is not fixed, another error appears and opening the project is not possible:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"One or more projects in the solution could not be loaded for the folloging reason(s):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The application for the project is not allowed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;These projects will be labeled as unavailable in Solution Explorer.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Expand the project node to show the reason the project could not be loaded."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;Edit .csproj/.vbproj file end remove all &amp;#60;scc&amp;#62; occurrences.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://social.msdn.microsoft.com/Forums/en/tfsversioncontrol/thread/01e89840-1e9d-4c5a-8049-e4949c04c609"&gt;http://social.msdn.microsoft.com/Forums/en/tfsversioncontrol/thread/01e89840-1e9d-4c5a-8049-e4949c04c609&lt;/a&gt;&lt;/scc&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1384276722000918336?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1384276722000918336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/02/project-x-is-under-source-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1384276722000918336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1384276722000918336'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/02/project-x-is-under-source-control.html' title='The Project X is under source control'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7516460000531001450</id><published>2011-01-27T19:09:00.009Z</published><updated>2011-01-27T19:19:45.659Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>SharePoint | Find Site Template Name and ID</title><content type='html'>WSS3&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;stsadm.exe -o enumallwebs -databasename [WSS_Content] &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;WSS_Content is Content Database name, found in C.A., Application Management, Content databases&lt;br /&gt;&lt;br /&gt;WSS4&lt;br /&gt;In 2010 this can be done with powershell:&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;get-spweb http://contoso | select WebTemplate&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;get-spweb http://contoso | select WebTemplateID&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/7136231886823673874-7516460000531001450?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7516460000531001450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/sharepoint-find-site-template-name-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7516460000531001450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7516460000531001450'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/sharepoint-find-site-template-name-and.html' title='SharePoint | Find Site Template Name and ID'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8230070326591626694</id><published>2011-01-27T12:22:00.020Z</published><updated>2011-01-28T10:28:08.579Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='perks'/><title type='text'>Blog Posts | Post your code nicely</title><content type='html'>On my way to try this&lt;br /&gt;&lt;br /&gt;Google SyntaxHighlighter&lt;br /&gt;&lt;a target="_blank" href="http://code.google.com/p/syntaxhighlighter/wiki/Usage"&gt;http://code.google.com/p/syntaxhighlighter/wiki/Usage&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download latest version&lt;br /&gt;&lt;a target="_blank" href="http://code.google.com/p/syntaxhighlighter/downloads/list"&gt;http://code.google.com/p/syntaxhighlighter/downloads/list&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note: Blogger replaces line feeds by &amp;#60;br&amp;#62; so all your code will appear in line 01, unless you add (before HideAll!):&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;dp.SyntaxHighlighter.BloggerMode();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here goes all code needed (with javascript, c# and xml code transformations):&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;&amp;#60;link href='http://mywebsiteurl/syntax/SyntaxHighlighter.css' rel='stylesheet' type='text/css'/&gt;&lt;br /&gt;&amp;#60;script language='javascript' src='http://mywebsiteurl/syntax/shCore.js'/&gt;&lt;br /&gt;&amp;#60;script language='javascript' src='http://mywebsiteurl/syntax/shBrushCSharp.js'/&gt;&lt;br /&gt;&amp;#60;script language='javascript' src='http://mywebsiteurl/syntax/shBrushXml.js'/&gt;&lt;br /&gt;&amp;#60;script language='javascript' src='http://mywebsiteurl/syntax/shBrushJScript.js'/&gt;&lt;br /&gt;&amp;#60;script language='javascript'&gt;&lt;br /&gt;window.onload = function () {&lt;br /&gt;    dp.SyntaxHighlighter.ClipboardSwf = &amp;#39;http://mywebsiteurl/syntax/clipboard.swf&amp;#39;;&lt;br /&gt;dp.SyntaxHighlighter.BloggerMode();&lt;br /&gt;dp.SyntaxHighlighter.HighlightAll(&amp;#39;code&amp;#39;);&lt;br /&gt;}&lt;br /&gt;&amp;#60;/script&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;* This code is assuming you place all contents of Styles, JavaScript and Flash Folders within the same folder (syntax) inside mywebsiteurl site.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8230070326591626694?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8230070326591626694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/blog-posts-post-your-code-nicely.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8230070326591626694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8230070326591626694'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/blog-posts-post-your-code-nicely.html' title='Blog Posts | Post your code nicely'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3312324055502690245</id><published>2011-01-27T12:13:00.017Z</published><updated>2011-01-27T12:57:48.898Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>SharePoint | Conditionally Aprove List Item When Content Aproval is Enabled</title><content type='html'>We can programatically aprove an item with&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;item.Aprove("my comment");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;the thing is, this will end up in an exception when Content Aproval is not enabled for a list (cheking in is enough to make the item available).&lt;br /&gt;&lt;br /&gt;I tried using &lt;span style="font-weight:bold;"&gt;item.ModerationInformation.Status&lt;/span&gt; but it turns out this attribute isn't even available for lists without content aproval.&lt;br /&gt;&lt;br /&gt;so I end up with this:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;if (myfile.Item.ModerationInformation != null)&lt;br /&gt;{&lt;br /&gt;   myfile.Approve("");&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/7136231886823673874-3312324055502690245?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3312324055502690245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/sharepoint-conditionally-aprove-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3312324055502690245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3312324055502690245'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/sharepoint-conditionally-aprove-list.html' title='SharePoint | Conditionally Aprove List Item When Content Aproval is Enabled'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7550780153835544919</id><published>2011-01-21T10:11:00.001Z</published><updated>2011-01-21T10:21:08.586Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>MOSS | Failed to extract the cab file in the solution.</title><content type='html'>Issue:&lt;br /&gt;STSADM or SharePoint Solution installer trows&lt;br /&gt;"Failed to extract the cab file in the solution."&lt;br /&gt;&lt;br /&gt;When trying to install wsp package.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Look for duplicate files in manifest.xml or illegal characters (~, ^) in feature.xml.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://geekswithblogs.net/kjones/archive/2010/02/09/137887.aspx"&gt;http://geekswithblogs.net/kjones/archive/2010/02/09/137887.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-7550780153835544919?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7550780153835544919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/moss-failed-to-extract-cab-file-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7550780153835544919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7550780153835544919'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/moss-failed-to-extract-cab-file-in.html' title='MOSS | Failed to extract the cab file in the solution.'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7337761228802385363</id><published>2011-01-19T15:28:00.003Z</published><updated>2011-01-19T15:32:33.639Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='reflector'/><title type='text'>Revert DLL to code with Reflector + FileDisassembler</title><content type='html'>&lt;a target="_blank" href="http://reflector.red-gate.com/download.aspx"&gt;.NET Reflector&lt;/a&gt; enables us to open assemblies and view the existing methods, arguments, system variables, and so on.&lt;br /&gt;&lt;br /&gt;The FileDisassembler takes an assembly and generates code from it.&lt;br /&gt;Useful for retrieving lost source code.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://reflectoraddins.codeplex.com/"&gt;http://reflectoraddins.codeplex.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-7337761228802385363?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7337761228802385363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/revert-dll-to-code-with-reflector.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7337761228802385363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7337761228802385363'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/revert-dll-to-code-with-reflector.html' title='Revert DLL to code with Reflector + FileDisassembler'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8633445663027111294</id><published>2011-01-18T12:42:00.009Z</published><updated>2011-01-27T12:59:57.092Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows server'/><title type='text'>Windows Server | Server busy Switch To...</title><content type='html'>System:&lt;br /&gt;Windows Server 2008 R2 (Hyper-V VM)&lt;br /&gt;SharePoint Server 2010&lt;br /&gt;&lt;br /&gt;Running IE8, FireFox, SharePoint Designer 2010&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;"This action cannot be completed because the other program is busy. Choose Switch To to activate the busy program and correct the problem."&lt;br /&gt;&lt;br /&gt;&lt;a class="highslide" onclick="return hs.expand(this)" href="http://cambada.do.sapo.pt/blog/imagens/serverbusy_small.png" width="200"&gt;&lt;img style="cursor:hand;width: 200px;" src="http://cambada.do.sapo.pt/blog/imagens/serverbusy_small.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5561326280329087954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;I haven't totaly figured out what's happenning here. The only thing that solves it is restarting the server.&lt;br /&gt;&lt;br /&gt;I do think my issue is due to low memory available, and when the IIS is constantly asking for more memory than what is available in the system, eventually I get this error. So while working on the server, regular iisresets keeps this from happening.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8633445663027111294?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8633445663027111294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/windows-server-server-busy-switch-to.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8633445663027111294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8633445663027111294'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/windows-server-server-busy-switch-to.html' title='Windows Server | Server busy Switch To...'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2898005751189100317</id><published>2011-01-17T18:09:00.011Z</published><updated>2011-01-27T14:07:25.643Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><title type='text'>SharePoint 2010 | You must specify a value for this required field</title><content type='html'>After creating my custom master page, every time a edit and saved the page, I got the popup:&lt;br /&gt;&lt;br /&gt;"You must specify a value for this required field."&lt;br /&gt;&lt;br /&gt;Turns out it happens when you set the place holder PlaceHolderPageTitleInTitleArea with &lt;span style="font-weight:bold;"&gt;Visible &lt;/span&gt;attribute &lt;span style="font-weight:bold;"&gt;false&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The solution, for Travis Mathison, is to wrap the placeholder in a panel, linked with a css visibility attribute set to false instead of doing it through the place holder attribute.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="c#"&gt;&lt;br /&gt;&lt;asp:panel runat="server" class="hiddenpanel"&gt;&lt;br /&gt;  &lt;asp:contentplaceholder id="PlaceHolderPageTitleInTitleArea" runat="server" /&gt;&lt;br /&gt;&lt;/asp:panel&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;.hiddenpanel{visibility:hidden;}&lt;br /&gt;&lt;br /&gt;Although Travis saved my life by finding this solution, I worked out my own through his, and now you don't need an external css file, and the white-space occupied by the place holder won't show up.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="c#"&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;asp:Panel style="display:none;"&gt;&lt;br /&gt;&lt;asp:ContentPlaceHolder ID="PlaceHolderPageTitleInTitleArea" runat="server" /&gt;&lt;br /&gt;&lt;/asp:Panel&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Note: SharePoint 2007 works great either way. My solution in IE for SharePoint 2010 still shows some text on the bottom of the page. Anyway, I decided not to hide this place holder, since it gives some context options for lists and such, and won't be available if the place holder is removed from the page.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://blogs.msdn.com/b/tmathis/archive/2010/03/18/you-must-specify-a-value-for-this-required-field-error-when-hidding-placeholderpagetitleintitlearea.aspx"&gt;http://blogs.msdn.com/b/tmathis/archive/2010/03/18/you-must-specify-a-value-for-this-required-field-error-when-hidding-placeholderpagetitleintitlearea.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2898005751189100317?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2898005751189100317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/sharepoint-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2898005751189100317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2898005751189100317'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/sharepoint-2010.html' title='SharePoint 2010 | You must specify a value for this required field'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1946051619912360192</id><published>2011-01-13T11:53:00.001Z</published><updated>2011-01-13T11:57:35.929Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='events'/><title type='text'>LightUp SharePoint | MS Free Developer Event</title><content type='html'>"[PT] O LightUp Sharepoint Developer roadshow é um evento gratuito da Microsoft direccionado a gestores de equipas de desenvolvimento, developers ou arquitectos com interesse em soluções avançadas, elegantes e interactivas sobre a plataforma Sharepoint. Ao longo deste dia iremos apresentar-lhe as diferentes opções para desenvolvimento de soluções avançadas Sharepoint nos seus clientes, e como utilizar as diferentes ferramentas e plataformas Microsoft para o efeito, como o Visual Studio 2010 ou o Silverlight. Este evento é a oportunidade ideal para ficar a conhecer a ligação entre o mundo do Sharepoint e a visão global da Microsoft para a área do desenvolvimento, bem como para saber como aproveitar tudo o que esta plataforma tem para oferecer, muito além das funcionalidades out-of-the-box."&lt;br /&gt;&lt;br /&gt;9h00: Recepção e Credenciação&lt;br /&gt;9h30: Introduction to SharePoint 2010/BPOS development (45 Min)&lt;br /&gt;10h15: Light Up SharePoint with Silverlight (60 Min)&lt;br /&gt;11h15: Coffee Break&lt;br /&gt;11h30: Professional SharePoint development with VS2010 (60 Min)&lt;br /&gt;12h30: Almoço Livre&lt;br /&gt;14h00: Team Development and ALM for SharePoint projects (45 Min)&lt;br /&gt;14h45: Testing SharePoint solutions - Overview (45 Min)&lt;br /&gt;15h30: Coffee Break&lt;br /&gt;15h45: Technical Community Session (60 min)&lt;br /&gt;16h45: Wrap-Up (15 Min)&lt;br /&gt;17h00: Encerramento&lt;br /&gt;&lt;br /&gt;Register Page&lt;br /&gt;&lt;a target="_blank" href="https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032475066&amp;Culture=pt-PT"&gt;https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032475066&amp;Culture=pt-PT&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Post CPS&lt;br /&gt;&lt;a target="_blank" href="http://www.sharepointpt.org/archive/2011/01/13/light-up-developer-sharepoint-roadshow-vem-aí-mais-um-evento-07022011.aspx"&gt;http://www.sharepointpt.org/archive/2011/01/13/light-up-developer-sharepoint-roadshow-vem-aí-mais-um-evento-07022011.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1946051619912360192?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1946051619912360192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/lightup-sharepoint-ms-free-developer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1946051619912360192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1946051619912360192'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/lightup-sharepoint-ms-free-developer.html' title='LightUp SharePoint | MS Free Developer Event'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3668972243272796821</id><published>2011-01-12T15:43:00.006Z</published><updated>2011-01-12T15:51:18.975Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows server'/><title type='text'>Windows Server RunMRU list</title><content type='html'>I haven't had my start-&gt;run programs list populated for quite some time.&lt;br /&gt;&lt;br /&gt;Today I decided to look for a way to ativate it and come up with the apparently easy solution:&lt;br /&gt;&lt;br /&gt;- Right-click the Taskbar and choose Properties&lt;br /&gt;- Select the Start Menu tab&lt;br /&gt;- Uncheck the following option: &lt;br /&gt;- Store and display a list of recently opened programs&lt;br /&gt;&lt;br /&gt;&lt;a class="highslide" onclick="return hs.expand(this)" href="http://cambada.do.sapo.pt/blog/imagens/runmrulist.jpg" width="100"&gt;&lt;img style="cursor:hand;width: 180px; height: 200px;" src="http://cambada.do.sapo.pt/blog/imagens/runmrulist.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5561326280329087954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Source&lt;br /&gt;&lt;a target="_blank" href="http://www.winhelponline.com/articles/129/1/Clearing-the-Run-MRU-entries-in-Windows-Vista.html"&gt;http://www.winhelponline.com/articles/129/1/Clearing-the-Run-MRU-entries-in-Windows-Vista.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3668972243272796821?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3668972243272796821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/windows-server-runmru-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3668972243272796821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3668972243272796821'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/windows-server-runmru-list.html' title='Windows Server RunMRU list'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4670712653574442248</id><published>2011-01-06T14:43:00.008Z</published><updated>2011-01-12T15:49:59.234Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Outlook 2007 | Contact folder not appearing in new mail form</title><content type='html'>Backing up contacts and emails resulted in contact subfolders not appearing when I selected the "New" email, on the address book list.&lt;br /&gt;&lt;br /&gt;The solution was to edit the properties of each contact folder and enabling the checkbox "Show this folder as an e-mail Address Book" in "Outlook Address Book" tab.&lt;br /&gt;&lt;br /&gt;&lt;a class="highslide" onclick="return hs.expand(this)" href="http://cambada.do.sapo.pt/blog/imagens/outlook_showcontactfolder.jpg" width="100"&gt;&lt;img style="cursor:hand;width: 180px; height: 200px;" src="http://cambada.do.sapo.pt/blog/imagens/outlook_showcontactfolder.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5561326280329087954" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4670712653574442248?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4670712653574442248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/outlook-2007-contact-folder-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4670712653574442248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4670712653574442248'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/outlook-2007-contact-folder-not.html' title='Outlook 2007 | Contact folder not appearing in new mail form'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-509528482065201570</id><published>2011-01-06T12:41:00.007Z</published><updated>2011-08-10T12:30:43.205+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='orchard'/><title type='text'>Orchard | Generate a NuPack Package</title><content type='html'>To generate a theme package called "MyCustomTheme" for Orchard starting version 0.9.253, we must work a manifest file and pack it using &lt;a target="_blank" href="http://nuget.codeplex.com/releases/52018/download/184132"&gt;NuGet.exe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1) first we must place all contents in an output folder (Content, Styles, Views, Shapes, Zones)&lt;br /&gt;&lt;br /&gt;2) then we must create out manifest file (.nuspec), which may or may not specify the files in the package (seems ouputting the folder adds each file automatically)&lt;br /&gt;&lt;br /&gt;Contents of manifest file, Orchard.Theme.MyCustomTheme.nuspec:&lt;br /&gt;&lt;br /&gt;&amp;#60;?xml version="1.0"?&amp;#62;&lt;br /&gt;     &amp;#60;package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;#62;&lt;br /&gt;       &amp;#60;metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"&amp;#62;&lt;br /&gt;         &amp;#60;id&amp;#62;Orchard.Theme.MyCustomTheme&amp;#60;/id&amp;#62;&lt;br /&gt;         &amp;#60;version&amp;#62;0.9.253&amp;#60;/version&amp;#62;&lt;br /&gt;         &amp;#60;authors&amp;#62;Bind&amp;#60;/authors&amp;#62;&lt;br /&gt;         &amp;#60;requireLicenseAcceptance&amp;#62;false&amp;#60;/requireLicenseAcceptance&amp;#62;&lt;br /&gt;         &amp;#60;description&amp;#62;This is the MyCustomTheme Theme for Orchard&amp;#60;/description&amp;#62;&lt;br /&gt;       &amp;#60;/metadata&amp;#62;&lt;br /&gt;       &amp;#60;/package&amp;#62;&lt;br /&gt;&lt;br /&gt;3) finally, we run the command-line needed to compile the theme in a Orchard.Theme.MyCustomTheme.0.9.253.nupkg uploadable package.&lt;br /&gt;&lt;br /&gt;NuGet.exe pack Orchard.Theme.MyCustomTheme.nuspec -b .\output -o .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Final Note:&lt;br /&gt;&lt;br /&gt;Optionally this can be done with Orchard installation dependancy, by placing the theme contents (MyCustomTheme folder) in [OrchardInstallFolder]\Themes and then running [OrchardInstallFolder]\bin\Orchard.exe package create MyCustomTheme ..\Themes&lt;br /&gt;&lt;br /&gt;(..\Themes makes the output package to be placed in the Themes folder instead of the installation's bin folder)&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://nuget.codeplex.com/documentation?title=Creating%20a%20Package"&gt;Documentation on NuGet&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-509528482065201570?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/509528482065201570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/orchard-generate-nupack-package.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/509528482065201570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/509528482065201570'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/orchard-generate-nupack-package.html' title='Orchard | Generate a NuPack Package'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3893932492495779593</id><published>2011-01-06T11:03:00.000Z</published><updated>2011-01-06T11:04:36.030Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>JavaScript Online Editor</title><content type='html'>JavaScript language "IDE" Page&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_replace3"&gt;http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_replace3&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3893932492495779593?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3893932492495779593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/javascript-online-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3893932492495779593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3893932492495779593'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/javascript-online-editor.html' title='JavaScript Online Editor'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-9111316489394177878</id><published>2011-01-06T10:05:00.005Z</published><updated>2011-11-07T11:47:32.738Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | Starting running scripts</title><content type='html'>For first steps,&lt;br /&gt;- Install / make sure PS is installed&lt;br /&gt;- Run PS command-line with admin previleges&lt;br /&gt;- Run "Set-ExecutionPolicy Unrestricted" to enable the system to run scripts&lt;br /&gt;&lt;br /&gt;"By default, PowerShell has scripting support disabled. If you try and run a PowerShell script, you will be greeted with an error stating that the execution of scripts is disabled on your system."&lt;br /&gt;&lt;a href="http://www.tech-recipes.com/rx/2513/powershell_enable_script_support/" target="_blank"&gt;http://www.tech-recipes.com/rx/2513/powershell_enable_script_support/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt;&lt;br /&gt;This is usually needed when running scripts for the first time. System presents us with errors such as:&lt;br /&gt;File C:\Common\Scripts\hello.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update: Output of "&lt;u&gt;help set-executionpolicy -detail&lt;/u&gt;" command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SYNOPSIS&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Changes the user preference for the Windows PowerShell execution policy.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SYNTAX&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-ExecutionPolicy [-ExecutionPolicy] {Unrestricted | RemoteSigned | AllSigned | Restricted | Default | Bypass | Undefined} [[-Scope] {Process | CurrentUser | LocalMachine | UserPolicy | MachinePolicy}] [-Force] [-Confirm] [-WhatIf] [&lt;commonparameters&gt;]&lt;br /&gt;&lt;br /&gt;DESCRIPTION&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The Set-ExecutionPolicy changes the user preference for the Windows PowerShell execution policy.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To run this command on Windows Vista, Windows Server 2008, and later versions of Windows, you must start Windows PowerShell with the "Run as administrator" option, even if you are a member of the Administrators group on the computer.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The execution policy is part of the security strategy of Windows PowerShell. It determines whether you can load configuration files (including your Windows PowerShell profile) and run scripts, and it determines which scripts, if any, must be digitally signed before they will run.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For more information, see about_Execution_Policies.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PARAMETERS&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ExecutionPolicy &lt;executionpolicy&gt;Specifies a new execution policy for the shell. The parameter name ("Name") is optional.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Valid values are:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;b&gt;Restricted&lt;/b&gt;: Does not load configuration files or run scripts. "Restricted" is the default.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;b&gt;AllSigned&lt;/b&gt;: Requires that all scripts and configuration files be signed by a trusted publisher, including scripts that you write on the local computer.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;b&gt;RemoteSigned&lt;/b&gt;: Requires that all scripts and configuration files downloaded from the Internet be signed by a trusted publisher.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;b&gt;Unrestricted&lt;/b&gt;: Loads all configuration files and runs all scripts. If you run an unsigned script that was downloaded from the Internet, you are prompted for permission before it runs.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;b&gt;Bypass&lt;/b&gt;: Nothing is blocked and there are no warnings or prompts.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- &lt;b&gt;Undefined&lt;/b&gt;: Removes the currently assigned execution policy from the current scope. This parameter will not remove an execution policy that is set in a Group Policy scope.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Force [&lt;switchparameter&gt;]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Suppresses all prompts. By default, Set-ExecutionPolicy displays a warning whenever you change the execution policy.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Scope &lt;executionpolicyscope&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Specifies the scope of the execution policy. The default is LocalMachine.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Valid values are:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Process: The execution policy affects only the current Windows PowerShell process.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- CurrentUser: The execution policy affects only the current user.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- LocalMachine: The execution policy affects all users of the computer.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To remove an execution policy from a particular scope, set the execution policy for that scope to Undefined.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Confirm [&lt;switchparameter&gt;]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prompts you for confirmation before executing the command.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -WhatIf [&lt;switchparameter&gt;]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Describes what would happen if you executed the command without actually executing the command.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;commonparameters&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This cmdlet supports the common parameters: Verbose, Debug,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorAction, ErrorVariable, WarningAction, WarningVariable,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutBuffer and OutVariable. For more information, type,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "get-help about_commonparameters".&lt;/commonparameters&gt;&lt;/switchparameter&gt;&lt;/switchparameter&gt;&lt;/executionpolicyscope&gt;&lt;/switchparameter&gt;&lt;/executionpolicy&gt;&lt;/commonparameters&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-9111316489394177878?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/9111316489394177878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2011/01/powershell-starting-running-scripts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/9111316489394177878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/9111316489394177878'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2011/01/powershell-starting-running-scripts.html' title='PowerShell | Starting running scripts'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3636405822952853989</id><published>2010-12-24T10:36:00.010Z</published><updated>2011-04-18T12:56:27.889+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>C# | Get My REAL External Public IP Address (not 127 or 192 stuff)</title><content type='html'>Yes, there is a way.&lt;br /&gt;No 127.0.0.1 or 192.168.0.1 stuff.&lt;br /&gt;&lt;br /&gt;Contact whatsmyip.com and they'll tell you!&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;public static IPAddress GetExternalIp()&lt;br /&gt;{&lt;br /&gt;        string whatIsMyIp = "http://www.whatismyip.com/automation/n09230945.asp";&lt;br /&gt;        WebClient wc = new WebClient();&lt;br /&gt;        UTF8Encoding utf8 = new UTF8Encoding();&lt;br /&gt;        string requestHtml = "";&lt;br /&gt;        try&lt;br /&gt;        {&lt;br /&gt;            requestHtml = utf8.GetString(wc.DownloadData(whatIsMyIp));&lt;br /&gt;        }&lt;br /&gt;        catch (WebException we)&lt;br /&gt;        {&lt;br /&gt;            // do something with exception&lt;br /&gt;            Console.Write(we.ToString());&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;        IPAddress externalIp = IPAddress.Parse(requestHtml);&lt;br /&gt;        return externalIp;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Thanks to this guys at dreamincode.net&lt;br /&gt;&lt;a target="_blank" href="http://www.dreamincode.net/forums/topic/24692-showing-the-external-ip-address-in-c%23/"&gt;http://www.dreamincode.net/forums/topic/24692-showing-the-external-ip-address-in-c%23/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Update:&lt;br /&gt;The function appears to return the server IP address.&lt;br /&gt;How to get both CLIENT and SERVER public IP Addresses?&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="js"&gt;&lt;br /&gt;string serverIP = GetExternalIp().ToString();&lt;br /&gt;string clientIP = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];&lt;br /&gt;if ((clientIP == null) || (clientIP == ""))&lt;br /&gt;{&lt;br /&gt;    clientIP = Request.ServerVariables["REMOTE_ADDR"];&lt;br /&gt;}&lt;br /&gt;//private IPs: 10.X, 172.X, 192.168.X&lt;br /&gt;if ((clientIP.Contains("127.0.0.1")) || (clientIP.StartsWith("192.168")) || (clientIP.StartsWith("10.")) || (clientIP.StartsWith("172.")))&lt;br /&gt;{&lt;br /&gt;     //I'm internal to the server&lt;br /&gt;     clientIP = serverIP;&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/7136231886823673874-3636405822952853989?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3636405822952853989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/c-get-my-real-external-public-ip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3636405822952853989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3636405822952853989'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/c-get-my-real-external-public-ip.html' title='C# | Get My REAL External Public IP Address (not 127 or 192 stuff)'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1115734431301482729</id><published>2010-12-23T12:35:00.004Z</published><updated>2010-12-23T12:41:06.647Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>JavaScript | Static Current Date Format</title><content type='html'>&amp;#60;script type="text/javascript"&amp;#62;&lt;br /&gt;var today = new Date();&lt;br /&gt;var d = today.getDate();&lt;br /&gt;var m = today.getMonth();&lt;br /&gt;var y = today.getFullYear();&lt;br /&gt;var months = new Array("January", "February", "March", "April", "May", "June", "Jully", "August", "September", "October", "November", "December");&lt;br /&gt;datestr = months[m] + " " + d + ", " + y;&lt;br /&gt;document.write(datestr);&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;This displays always "Month Day, Year", regardless of user browser language, or system regional settings.&lt;br /&gt;&lt;br /&gt;The code can be added in-line, where it is needed within the html.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1115734431301482729?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1115734431301482729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/javascript-static-current-date-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1115734431301482729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1115734431301482729'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/javascript-static-current-date-format.html' title='JavaScript | Static Current Date Format'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1069149313815466175</id><published>2010-12-22T19:31:00.001Z</published><updated>2010-12-22T19:31:57.111Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | Change Application Pool State</title><content type='html'>$appPool = get-wmiobject -namespace "root\MicrosoftIISv2" -class "IIsApplicationPool" | where-object {$_.Name -eq "W3SVC/AppPools/MY_APP_POOL"}&lt;br /&gt;&lt;br /&gt;$appPool.Stop()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1069149313815466175?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1069149313815466175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/powershell-change-application-pool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1069149313815466175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1069149313815466175'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/powershell-change-application-pool.html' title='PowerShell | Change Application Pool State'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3823569537586409994</id><published>2010-12-21T15:40:00.002Z</published><updated>2010-12-21T15:42:00.869Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='dotnetnuke'/><title type='text'>DNN | Non-dynamic control ID names</title><content type='html'>We can avoid those "Placeholder_MYID" ID generation in DNN.&lt;br /&gt;&lt;br /&gt;&amp;#60;asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="MainContent" ClientIDMode="Static"&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.highoncoding.com/Articles/703_Understanding_ClientIDMode_Mode_Feature_in_ASP_net_4_0.aspx"&gt;http://www.highoncoding.com/Articles/703_Understanding_ClientIDMode_Mode_Feature_in_ASP_net_4_0.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3823569537586409994?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3823569537586409994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/dnn-non-dynamic-control-id-names.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3823569537586409994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3823569537586409994'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/dnn-non-dynamic-control-id-names.html' title='DNN | Non-dynamic control ID names'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4535171924025695733</id><published>2010-12-15T15:40:00.006Z</published><updated>2010-12-27T12:38:33.347Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='outlook'/><title type='text'>Outlook 2007 | Too slow changing between folders</title><content type='html'>After a MS update, Outlook starting acting crazy.&lt;br /&gt;Common effects are non-responsive behavior and slow loading between folders.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Remove Hotmail add-in!&lt;br /&gt;&lt;br /&gt;Tools&lt;br /&gt;Trust Center&lt;br /&gt;Add-ins&lt;br /&gt;"Go"&lt;br /&gt;"COM Addin for Microsoft Outlook Hotmail Connector"&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://labnol.blogspot.com/2007/03/microsoft-outlook-2007-running-slow-fix.html"&gt;http://labnol.blogspot.com/2007/03/microsoft-outlook-2007-running-slow-fix.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4535171924025695733?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4535171924025695733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/outlook-2007-too-slow-changing-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4535171924025695733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4535171924025695733'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/outlook-2007-too-slow-changing-between.html' title='Outlook 2007 | Too slow changing between folders'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8807003611195315033</id><published>2010-12-14T19:32:00.005Z</published><updated>2010-12-14T20:00:40.754Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MYSQL starters for dummies</title><content type='html'>reset password&lt;br /&gt;c:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld.exe --init-file=C:\\mysql-init --console&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://cambada.do.sapo.pt/blog/appz/mysql-init.txt"&gt;file here&lt;/a&gt;&lt;br /&gt;Source: MySQL.com&lt;br /&gt;&lt;a target="_blank" href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html"&gt;http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;MySQL commands:&lt;br /&gt;show databases;&lt;br /&gt;create database [db_name];&lt;br /&gt;drop database [db_name];&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;Unable to connect to the database:Could not connect to MySQL&lt;br /&gt;&lt;br /&gt;Fix: Change hostname to from "localhost" to "127.0.0.1"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8807003611195315033?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8807003611195315033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/mysql-starters-for-dummies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8807003611195315033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8807003611195315033'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/mysql-starters-for-dummies.html' title='MYSQL starters for dummies'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3247557048599973978</id><published>2010-12-13T18:49:00.007Z</published><updated>2011-01-11T10:51:29.576Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='orchard'/><title type='text'>Orchard first steps</title><content type='html'>Machine Key Error ViewState MAC&lt;br /&gt;&lt;br /&gt;add to web config's system.web&lt;br /&gt;&amp;#60;machineKey validationKey="84EF7A1ABD0B0AE06E348C0700126710730D72A52041CDF03C9143BB30C0F9E3D5D497418281F5433A219A2BF9C3C7D63464DDF54D2064DE6FD8EB06606DB5FB" decryptionKey="9271D3B59272D556F028B7B7C3761751733DCB2C2BD71E88479761A4B9089665" validation="SHA1" decryption="AES" /&amp;#62;&lt;br /&gt;&lt;br /&gt;restart iis and browser!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;for code generation:&lt;/b&gt;&lt;br /&gt;start cmd.exe&lt;br /&gt;\orchard\bin\orchard.exe&lt;br /&gt;feature enable Orchard.CodeGeneration&lt;br /&gt;codegen theme MyTheme /BasedOn:TheThemeMachine&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.orchardproject.net/docs/Default.aspx?Page=Customizing-the-default-theme&amp;NS=&amp;AspxAutoDetectCookieSupport=1"&gt;http://www.orchardproject.net/docs/Default.aspx?Page=Customizing-the-default-theme&amp;NS=&amp;AspxAutoDetectCookieSupport=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;online machine key generator&lt;br /&gt;&lt;a target="_blank" href="http://aspnetresources.com/tools/machineKey"&gt;http://aspnetresources.com/tools/machineKey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;orchard activate search on 0.8&lt;br /&gt;&lt;a target="_blank" href="http://www.orchardproject.net/docs/Search-and-indexing.ashx"&gt;http://www.orchardproject.net/docs/Search-and-indexing.ashx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;update:&lt;/b&gt;&lt;br /&gt;orchard starting 0.9.253 search activation process:&lt;br /&gt;- In Gallery, Modules, install: Indexing, Search and Lucene&lt;br /&gt;- Then go to Configuration, Features and enable those same modules&lt;br /&gt;&lt;br /&gt;- Theme NuGet Packages uploading require activation of features:&lt;br /&gt;Services + Packaging + Gallery&lt;br /&gt;&lt;br /&gt;&lt;b&gt;update:&lt;/b&gt;&lt;br /&gt;orchard starting 0.9.253 takes nupkg packages instead of zip files&lt;br /&gt;&lt;br /&gt;to pack a module or theme:&lt;br /&gt;orchard.exe package create [ModuleName] [DestinationPath]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3247557048599973978?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3247557048599973978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/orchard-first-steps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3247557048599973978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3247557048599973978'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/orchard-first-steps.html' title='Orchard first steps'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4336778542279097564</id><published>2010-12-06T15:20:00.004Z</published><updated>2010-12-06T15:29:36.914Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>Run Process from ASPNET and capture output</title><content type='html'>ProcessStartInfo myProcessInfo = new ProcessStartInfo();&lt;br /&gt;myProcessInfo.WorkingDirectory = workingDir; //variable with folder to be on&lt;br /&gt;myProcessInfo.FileName = file; //file to run&lt;br /&gt;myProcessInfo.Arguments = args; //arguments: string, spaces between args&lt;br /&gt;&lt;br /&gt;Process myProcess = new Process();&lt;br /&gt;myProcess .StartInfo = myProcessInfo;&lt;br /&gt;gerador.Start();&lt;br /&gt;myProcess.PriorityClass = ProcessPriorityClass.RealTime; //must be after starting!&lt;br /&gt;&lt;br /&gt;gerador.WaitForExit(600000); //max waiting for 10 minutes&lt;br /&gt;if (!gerador.HasExited)&lt;br /&gt;{&lt;br /&gt;gerador.Kill();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;TimeSpan durationInSeconds = (DateTime.Now - gerador.StartTime).Seconds.ToString();&lt;br /&gt;textDuration.Text = "Duration: " + durationInSeconds + " seconds!";&lt;br /&gt;&lt;br /&gt;optionally set on exit action&lt;br /&gt;//myProcess .Exited += delegate { Response.Write("Finished in "+(DateTime.Now - gerador.StartTime).Seconds.ToString() + " seconds"); };&lt;br /&gt;&lt;br /&gt;or on exit event&lt;br /&gt;myProcess .EnableRaisingEvents = true;&lt;br /&gt;myProcess .Exited += new EventHandler(procExit);&lt;br /&gt;&lt;br /&gt;void procExit(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;//DO STUFF&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//for output&lt;br /&gt;                //myProcessInfo.RedirectStandardOutput = true;&lt;br /&gt;                //myProcessInfo.UseShellExecute = false;&lt;br /&gt;                //myProcessInfo.CreateNoWindow = true;&lt;br /&gt;                //myProcessInfo.ErrorDialog = false;&lt;br /&gt;//StreamReader read = myProcess.StandardOutput;&lt;br /&gt;//if (myProcess.HasExited)&lt;br /&gt;                //{&lt;br /&gt;                //    string res = read.ReadToEnd();&lt;br /&gt;                //    read.Close();&lt;br /&gt;                //    Response.Write(res);&lt;br /&gt;                //}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4336778542279097564?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4336778542279097564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/run-process-from-aspnet-and-capture.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4336778542279097564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4336778542279097564'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/run-process-from-aspnet-and-capture.html' title='Run Process from ASPNET and capture output'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6027037693269267269</id><published>2010-12-02T10:06:00.001Z</published><updated>2010-12-02T10:07:23.842Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>ASPNET | Increase File Upload Size and Waiting Time</title><content type='html'>&amp;#60;httpRuntime maxRequestLength="4000" enable = "true" requestLengthDiskThreshold="512" useFullyQualifiedRedirectUrl="true" executionTimeout="200" /&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/e1f13641.aspx"&gt;http://msdn.microsoft.com/en-us/library/e1f13641.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6027037693269267269?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6027037693269267269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/aspnet-increase-file-upload-size-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6027037693269267269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6027037693269267269'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/aspnet-increase-file-upload-size-and.html' title='ASPNET | Increase File Upload Size and Waiting Time'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3289351611523160505</id><published>2010-12-02T10:03:00.006Z</published><updated>2010-12-04T14:39:13.619Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Email being used for spam</title><content type='html'>Some people I know are "sending" me spam email, wether they're using hotmail, gmail or others.&lt;br /&gt;&lt;br /&gt;This also making some of them sending artificial communication in Windows Live Messenger while they're actually offline.&lt;br /&gt;&lt;br /&gt;Commonly, there are links that say one thing, and actually redirect to something else.&lt;br /&gt;&lt;br /&gt;This is why I've decided to post some info on this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What to do to prevent&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1) Do not respond to those "messenger bots" talking to you in WLM (usually the contact is set as offline)&lt;br /&gt;&lt;br /&gt;2) Block "people" you don't know and is asking to join your friends, network or whatever (do give yourself the trouble of blocking them)&lt;br /&gt;&lt;br /&gt;3) Install an anti-virus (some free: &lt;a href="http://www.avast.com/pt-pt/free-antivirus-download" target="_blank"&gt;Avast!&lt;/a&gt;, &lt;a href="http://free.avg.com/pt-pt/pagina-inicial" target="_blank"&gt;AVG&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;4) Keep firewall and system updated and active, running regular spyware and virus checking (I recomend &lt;a target="_blank" href="http://www.safer-networking.org/pt/download/index.html"&gt;SpyBot Search &amp; Destroy&lt;/a&gt; for Spyware removal)&lt;br /&gt;&lt;br /&gt;5) Do NOT click on those links in awkward emails (mainly english and brazilian). These emails have usually no formatting, special characters or ponctuation, and have only one objective: getting you to click on the blue link. So DON'T!&lt;br /&gt;&lt;br /&gt;Something I usually do is place the mouse over the link or copy it and paste somewhere &lt;br /&gt;so I can tell what URL exactly does the email want me to go to. Most are small links (http://bit.something) or crazy php pages (http://whatever.com/aassdd1222.php)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What to do when "hacked"&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1) Cleansing. Update Spybot and Anvi-vírus (uninstall and reinstall them first if getting awkward events happening). Then, run the full system checks for both.&lt;br /&gt;&lt;br /&gt;2) Open the mighty Internet Explorer, check the home page and clear all cache and temporary files. If possible, reset everyting (Tools, Internet Options, Advanced (tab), and "Reset")&lt;br /&gt;&lt;br /&gt;3) Erase all contents of folders (some folders may be hidden)&lt;br /&gt;- c:\windows\temp&lt;br /&gt;- C:\Users\[You]\AppData\Local\Temp (path my differ by OS)&lt;br /&gt;&lt;br /&gt;4) Change recovery options for any email account (security question/answer, backup email, and such)&lt;br /&gt;&lt;br /&gt;5) Change email account / live id password. Use a "hard" password:&lt;br /&gt;- letters&lt;br /&gt;- numbers&lt;br /&gt;- special characters (@, _)&lt;br /&gt;- preferably don't use actual words (cat, dog, hello, person). try acronyms (LOL)&lt;br /&gt;- don't use personal info (name, birth date, girlfriend's name, so on)&lt;br /&gt;&lt;br /&gt;e.g. ILSPS@1985 (I Like Strong PasswordS)&lt;br /&gt;&lt;br /&gt;More info on these Google postings. Look for "Popular answer"&lt;br /&gt;&lt;a target="_blank" href="http://www.google.com/support/forum/p/gmail/thread?tid=6b24036052b2be05&amp;hl=en"&gt;http://www.google.com/support/forum/p/gmail/thread?tid=6b24036052b2be05&amp;hl=en&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3289351611523160505?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3289351611523160505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/12/email-being-used-for-spam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3289351611523160505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3289351611523160505'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/12/email-being-used-for-spam.html' title='Email being used for spam'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-989123677378915428</id><published>2010-11-25T16:50:00.002Z</published><updated>2010-11-25T16:52:46.188Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | Activate &amp; Deactivate the Developer DashBoard</title><content type='html'>This command sets the developer dashboard state in SharePoint 2010. When active, it displays a set of information in the bottom of the masterpage of every website.&lt;br /&gt;&lt;br /&gt;PS C:\Users\tiago&gt; stsadm -o setproperty -propertyname developer-dashboard -prop&lt;br /&gt;ertyvalue [On|Off]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-989123677378915428?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/989123677378915428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/powershell-activate-deactivate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/989123677378915428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/989123677378915428'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/powershell-activate-deactivate.html' title='PowerShell | Activate &amp; Deactivate the Developer DashBoard'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3405626723137093534</id><published>2010-11-25T15:52:00.010Z</published><updated>2011-06-13T10:28:16.077+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='masterpage'/><title type='text'>SharePoint | Get currently active master page [2010/2007]</title><content type='html'>** SHAREPOINT 2010 / POWERSHELL ***&lt;br /&gt;GET:&lt;br /&gt;get-spweb -id http://sharepointbind/new/basicsearch | select&lt;br /&gt;CustomMasterUrl&lt;br /&gt;SET:&lt;br /&gt;(get-spweb -id http://sharepointbind/new/basicsearch).MasterUrl = "_catalogs/masterpage/v4.master"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*** WSS3/MOSS 2007 / STSADM ***&lt;br /&gt;&lt;br /&gt;Get my version of msdn's package, repackaged for fixed "type null" issue and with SharePoint solution installer attached for faster installation.&lt;br /&gt;&lt;br /&gt;Just install and then run "stsadm -o showmaster page -url http://localhost"&lt;br /&gt;&lt;br /&gt;Download &lt;a href="http://cambada.do.sapo.pt/blog/appz/MasterPageCommands.zip"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://code.msdn.microsoft.com/masterpagecommands"&gt;MSDN CustomPageCommands Link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*** Enable/Disable SP2010 Features ***&lt;br /&gt;&lt;br /&gt;Enable-SPFeature -Identity featurename –url http://yoursiteurl&lt;br /&gt;&lt;br /&gt;Disable-SPFeature -Identity featurename –url http://yoursiteurl&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3405626723137093534?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3405626723137093534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/get-currently-active-master-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3405626723137093534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3405626723137093534'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/get-currently-active-master-page.html' title='SharePoint | Get currently active master page [2010/2007]'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-5805762707662325839</id><published>2010-11-23T22:35:00.002Z</published><updated>2010-11-23T22:37:49.521Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='bsod'/><title type='text'>HP Laptop BSOD when installing XP</title><content type='html'>When trying to install Windows XP on Sata HD (HP Laptop), you might run into this blue screen:&lt;br /&gt;&lt;br /&gt;***STOP: 0x0000007B (0xF78D2524,0xC0000034,0x00000000,0x00000000). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To fix it, start the laptop, press "ESC", F10 (BIOS), go to device configurations and move option "AHCI" to "IDE"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-5805762707662325839?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/5805762707662325839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/hp-laptop-bsod-when-installing-xp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/5805762707662325839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/5805762707662325839'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/hp-laptop-bsod-when-installing-xp.html' title='HP Laptop BSOD when installing XP'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6491375743082615410</id><published>2010-11-22T12:37:00.003Z</published><updated>2010-11-22T12:39:02.049Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>C# | Write HTML from external file</title><content type='html'>I just wrote this for a friend.&lt;br /&gt;It lets us load html dynamically into our page, that is located in some external file.&lt;br /&gt;Commented lines are for debugging purposes&lt;br /&gt;&lt;br /&gt;//Response.Write(Path.GetFullPath(Server.MapPath("1\\teste.txt")));&lt;br /&gt;string filePath = Path.GetFullPath(Server.MapPath("1\\teste.txt"));&lt;br /&gt;string fileContents = File.ReadAllText(filePath);&lt;br /&gt;//Response.Write(fileContents);&lt;br /&gt;this.Controls.Add(new LiteralControl(fileContents));&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.csharp411.com/c-read-text-file-into-string/"&gt;http://www.csharp411.com/c-read-text-file-into-string/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6491375743082615410?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6491375743082615410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/c-write-html-from-external-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6491375743082615410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6491375743082615410'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/c-write-html-from-external-file.html' title='C# | Write HTML from external file'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1647894161637488484</id><published>2010-11-15T22:18:00.005Z</published><updated>2010-11-15T22:24:13.174Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>CCNA Cheat Sheet</title><content type='html'>My own precious learning sheet for all those CCNA alumni and anyone else who wants to take a helicopter view at CCNA&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://cambada.do.sapo.pt/blog/CCNA_Cheat_Sheet.pdf"&gt;CCNA_Cheat_Sheet.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Check &lt;a target="_blank" href="http://packetlife.net/library/cheat-sheets/"&gt;PacketLife.net&lt;/a&gt; for some stunning cheat sheets&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1647894161637488484?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1647894161637488484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/ccna-cheat-sheet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1647894161637488484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1647894161637488484'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/ccna-cheat-sheet.html' title='CCNA Cheat Sheet'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-766015794148772494</id><published>2010-11-09T18:07:00.001Z</published><updated>2010-11-09T18:09:39.366Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><category scheme='http://www.blogger.com/atom/ns#' term='7zip'/><title type='text'>PowerShell | Filter svn files while zipping</title><content type='html'>Use the -xr!?svn\* switch to filter svn files out of zip packages&lt;br /&gt;&lt;br /&gt;"C:\Program Files\7-Zip\7z.exe" a -r -tzip -y -xr!?svn\* Project.zip C:\Project\To\Backup\*&lt;br /&gt;&lt;br /&gt;or (worked for me)&lt;br /&gt;&lt;br /&gt;"C:\Program Files\7-Zip\7z.exe" a -r -tzip -y -xr!?svn Project.zip C:\Project\To\Backup\*&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://superuser.com/questions/28162/how-do-i-use-7-zip-to-backup-files-but-exclude-some-directories"&gt;http://superuser.com/questions/28162/how-do-i-use-7-zip-to-backup-files-but-exclude-some-directories&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-766015794148772494?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/766015794148772494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/powershell-filter-svn-files-while.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/766015794148772494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/766015794148772494'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/powershell-filter-svn-files-while.html' title='PowerShell | Filter svn files while zipping'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8451399191079054822</id><published>2010-11-03T12:21:00.001Z</published><updated>2010-11-03T12:22:35.836Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><title type='text'>Track Registry Changes with RegShot</title><content type='html'>You can make a "registry shot" before and after installing an application and see what keys exactly were added and/or changed ;-)&lt;br /&gt;&lt;a target="_blank" href="http://www.majorgeeks.com/download965.html"&gt;http://www.majorgeeks.com/download965.html&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8451399191079054822?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8451399191079054822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/11/track-registry-changes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8451399191079054822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8451399191079054822'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/11/track-registry-changes.html' title='Track Registry Changes with RegShot'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1697142563755301050</id><published>2010-10-18T15:30:00.002+01:00</published><updated>2010-10-18T15:33:06.161+01:00</updated><title type='text'>Generate WebSite Thumbnails from command line</title><content type='html'>Here's a cool Command line interface (CLI) for generating prints of a website based on the URL.&lt;br /&gt;&lt;br /&gt;And the cool thing is... it's free!&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://iecapt.sourceforge.net/"&gt;http://iecapt.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a target="_blank" href="http://www.webresourcesdepot.com/10-free-website-thumbnail-generation-services/"&gt;webresourcesdepot.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1697142563755301050?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1697142563755301050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/10/generate-website-thumbnails-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1697142563755301050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1697142563755301050'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/10/generate-website-thumbnails-from.html' title='Generate WebSite Thumbnails from command line'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8806889361825956225</id><published>2010-10-15T10:59:00.000+01:00</published><updated>2010-10-15T11:00:24.043+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | Get Current Folder</title><content type='html'>this is great for working with absolute paths&lt;br /&gt;&lt;br /&gt;$current_folder = Get-Location -PSProvider FileSystem&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8806889361825956225?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8806889361825956225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/10/powershell-get-current-folder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8806889361825956225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8806889361825956225'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/10/powershell-get-current-folder.html' title='PowerShell | Get Current Folder'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3281202457706650756</id><published>2010-10-15T10:52:00.002+01:00</published><updated>2010-10-15T10:53:47.578+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>PowerShell | Load URL in the back</title><content type='html'>$IE=new-object -com internetexplorer.application&lt;br /&gt; $IE.navigate2("http://ftduarte.blogspot.com/")&lt;br /&gt; while ($oIE.busy)&lt;br /&gt; {&lt;br /&gt;#give some time for page to load&lt;br /&gt;     sleep -milliseconds 500 #or [System.Threading.Thread]::Sleep(500)&lt;br /&gt; }&lt;br /&gt; # $IE.visible=$true #optionally make browser appear&lt;br /&gt; #TODO: stuff&lt;br /&gt; $IE.Quit() #terminate COM object&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3281202457706650756?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3281202457706650756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/10/powershell-load-url-in-back.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3281202457706650756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3281202457706650756'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/10/powershell-load-url-in-back.html' title='PowerShell | Load URL in the back'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-9135689105349072286</id><published>2010-10-13T23:18:00.001+01:00</published><updated>2010-10-13T23:19:46.814+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>html go back button</title><content type='html'>&amp;#60;input type="button" value="Cancelar" onClick="history.back()" /&amp;#62;&lt;br /&gt;&lt;br /&gt;credits&lt;br /&gt;&lt;a target="_blank" href="http://www.comptechdoc.org/independent/web/cgi/javamanual/javahistory.html"&gt;http://www.comptechdoc.org/independent/web/cgi/javamanual/javahistory.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-9135689105349072286?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/9135689105349072286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/10/html-go-back-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/9135689105349072286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/9135689105349072286'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/10/html-go-back-button.html' title='html go back button'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4362099475303324258</id><published>2010-10-03T20:31:00.001+01:00</published><updated>2010-10-03T20:38:42.434+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xbox'/><title type='text'>X-Box throws "Your NAT type is Moderate"</title><content type='html'>When trying to log into X-Box Live through Internet, I get "Your NAT type is Moderate".&lt;br /&gt;&lt;br /&gt;After searching around, turns out forwarding some ports to the console solves the issue.&lt;br /&gt;&lt;br /&gt;3074 (TCP &amp; UDP)&lt;br /&gt;53 (TCP &amp; UDP)&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.question-defense.com/2010/02/15/xbox-360-your-nat-type-is-moderate-configure-port-forwarding-on-your-router"&gt;http://www.question-defense.com/2010/02/15/xbox-360-your-nat-type-is-moderate-configure-port-forwarding-on-your-router&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4362099475303324258?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4362099475303324258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/10/x-box-throws-your-nat-type-is-moderate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4362099475303324258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4362099475303324258'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/10/x-box-throws-your-nat-type-is-moderate.html' title='X-Box throws &quot;Your NAT type is Moderate&quot;'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6495941921695108711</id><published>2010-09-29T10:17:00.002+01:00</published><updated>2010-09-29T10:20:40.943+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Cannot activate Publishing Infrastructure feature on MOSS 2007</title><content type='html'>Today I got this error when trying to activate the publishing infrastructure feature for a new SharePoint 2007 Team Site:&lt;br /&gt;&lt;br /&gt;"A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site.  Use your browser’s Back button, and type a new name.   at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt)&lt;br /&gt;   at Microsoft.SharePoint.Library.SPRequest.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt)"&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Turns out erasing the "Style Library" with SharePoint Designer solves it!&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.cleverworkarounds.com/2007/10/27/sharepoint-branding-part-5-%E2%80%93-feature-improvements-and-bugs/"&gt;http://www.cleverworkarounds.com/2007/10/27/sharepoint-branding-part-5-%E2%80%93-feature-improvements-and-bugs/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6495941921695108711?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6495941921695108711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/today-i-got-this-error-when-trying-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6495941921695108711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6495941921695108711'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/today-i-got-this-error-when-trying-to.html' title='Cannot activate Publishing Infrastructure feature on MOSS 2007'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7949619601540722682</id><published>2010-09-24T23:30:00.001+01:00</published><updated>2010-09-24T23:32:27.153+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Messenger'/><title type='text'>Messenger issues 0x8ac70013 and 0x8100039d</title><content type='html'>Getting these errors while trying to connect through video and voice calls.&lt;br /&gt;&lt;br /&gt;Solutions:&lt;br /&gt;&lt;br /&gt;- Erase all Internet Explorer history and temporary files&lt;br /&gt;&lt;br /&gt;- Deactivate existing VMWare Network Connections&lt;br /&gt;&lt;br /&gt;- Exit Windows Live Messenger, reopen, and try video calls again&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.cesarromero.com.br/2010/msn-live-messenger-webcam-erros-0x8ac70013-0x8100039d/"&gt;http://www.cesarromero.com.br/2010/msn-live-messenger-webcam-erros-0x8ac70013-0x8100039d/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-7949619601540722682?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7949619601540722682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/messenger-issues-0x8ac70013-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7949619601540722682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7949619601540722682'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/messenger-issues-0x8ac70013-and.html' title='Messenger issues 0x8ac70013 and 0x8100039d'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6506881636871142622</id><published>2010-09-13T11:09:00.004+01:00</published><updated>2010-09-14T09:47:15.721+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>SharePoint welcome.ascx change PT-PT login message</title><content type='html'>In SharePoint sites language 2070 (PT-PT), login welcome message is&lt;br /&gt;"Bem-vindo a [DOMAIN\USER]"&lt;br /&gt;&lt;br /&gt;we can change this message with javascript, finding the Menu ID of the link button.&lt;br /&gt;&lt;br /&gt;  _spBodyOnLoadFunctionNames.push("welcomeBemVindo");&lt;br /&gt;  function welcomeBemVindo() {&lt;br /&gt;    &lt;br /&gt;   var re= new RegExp('_Menu','g')&lt;br /&gt;   var el = document.getElementsByTagName('a');&lt;br /&gt;   for(var i=0;i&lt;el.length;i++)&lt;br /&gt;   {&lt;br /&gt;    if(el[i].id.match(re))&lt;br /&gt;    {&lt;br /&gt;     var content = document.getElementById(el[i].id);&lt;br /&gt;       content.innerHTML = content.innerHTML.replace("Bem-vindo a", "Bem-vindo");&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;   }&lt;br /&gt;    &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;the id is dynamic, so we have to use a regular expression to get it.&lt;br /&gt;usually it is zz8_Menu but it can change for other pages&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6506881636871142622?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6506881636871142622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/sharepoint-welcomeascx-change-pt-pt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6506881636871142622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6506881636871142622'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/sharepoint-welcomeascx-change-pt-pt.html' title='SharePoint welcome.ascx change PT-PT login message'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4465041089649072305</id><published>2010-09-09T16:30:00.003+01:00</published><updated>2010-09-09T16:33:40.408+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Installing Windows Media Player Plugin in Server OS</title><content type='html'>Scenario:&lt;br /&gt;- Windows Server Operating System&lt;br /&gt;- Using Windows Media Player 10/11 Codec&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;- Windows Media Player Plugin won't install on other browsers than IE with error:&lt;br /&gt;"This package does not support server operating systems".&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;- Unzip exe, and hex edit the msi file. Or simply download the edited plugin &lt;a target="_blank" href="http://www.megaupload.com/?d=EH6IK54T"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Resource:&lt;br /&gt;&lt;a href="http://arnoutboer.nl/weblog/?p=24"&gt;http://arnoutboer.nl/weblog/?p=24&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4465041089649072305?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4465041089649072305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/scenario-windows-server-operating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4465041089649072305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4465041089649072305'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/scenario-windows-server-operating.html' title='Installing Windows Media Player Plugin in Server OS'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3572097501419262696</id><published>2010-09-09T12:15:00.005+01:00</published><updated>2010-09-09T15:41:33.480+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Data View Web Part Filter by URL Field</title><content type='html'>Scenario:&lt;br /&gt;Lets say you have a page with multiple data (say videos) and you want to click (select) the item and open a new page with the item open (video display).&lt;br /&gt;&lt;br /&gt;This can be done with a Data View Web Part Per Page.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;Create a data view web part in the main page that shows all data from the list, filtering and/or sorting the results, and even giving then specific layouts (I usually use Plain List style and then use xslt and css).&lt;br /&gt;Here you should create a html link tag with the list item's name as text and URL (FileRef) as href.&lt;br /&gt;&lt;br /&gt;If you're using a document library, you can use the field directly in the html,&lt;br /&gt;&lt;br /&gt;&amp;#60;a href="Video.aspx?ID={@ID}" &amp;#62;&amp;#60;xsl:value-of select="@FileLeafRef" /&amp;#62;&amp;#60;/a&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Right now you have a page of queried items and a page that opens with an ID query string&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;On the view page, create a data view web part, customize it, and limit the results to one.&lt;br /&gt;Here you must create a new filter, and select "Create a new parameter..." and choose "Query String" as Parameter Source. Chose ID as field and default value 1.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Now if you add to the web part's code, a &lt;a href="http://ftduarte.blogspot.com/2010/02/playing-audio-and-video-files.html"&gt;video player&lt;/a&gt; with {@FileRef} on the URL/value/src fields, the page will actually load and play the video. You can then change autostart property and others.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now your video page is ready to display videos clicked by the video list page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.sharepointdev.net/sharepoint--general-question-answers-discussion/using-a-parameter-to-filter-sharepoint-data-list-view-from-url-8726.shtml"&gt;http://www.sharepointdev.net/sharepoint--general-question-answers-discussion/using-a-parameter-to-filter-sharepoint-data-list-view-from-url-8726.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3572097501419262696?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3572097501419262696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/data-view-web-part-filter-by-url-field.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3572097501419262696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3572097501419262696'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/data-view-web-part-filter-by-url-field.html' title='Data View Web Part Filter by URL Field'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2580048380626529212</id><published>2010-09-07T15:40:00.001+01:00</published><updated>2010-09-07T15:41:21.596+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Take off clicking borders on links</title><content type='html'>sometimes we get a dotted line around the link area, particularly when using display:block and background images&lt;br /&gt;&lt;br /&gt;:focus { outline: none 0; }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2580048380626529212?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2580048380626529212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/take-off-clicking-borders-on-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2580048380626529212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2580048380626529212'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/take-off-clicking-borders-on-links.html' title='Take off clicking borders on links'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3317560376535398773</id><published>2010-09-07T15:38:00.002+01:00</published><updated>2010-09-07T15:39:46.523+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Transparent background in flash swf files</title><content type='html'>1.Add the following parameter to the OBJECT tag: &lt;br /&gt;&lt;br /&gt;&amp;#60;param name="wmode" value="transparent"&amp;#62;&lt;br /&gt;&lt;br /&gt;2.Add the following parameter to the EMBED tag: &lt;br /&gt; wmode="transparent"&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://kb2.adobe.com/cps/142/tn_14201.html"&gt;http://kb2.adobe.com/cps/142/tn_14201.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3317560376535398773?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3317560376535398773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/transparent-background-in-flash-swf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3317560376535398773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3317560376535398773'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/transparent-background-in-flash-swf.html' title='Transparent background in flash swf files'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7970936360189809222</id><published>2010-09-03T19:04:00.005+01:00</published><updated>2010-09-09T15:40:54.279+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Editing SharePoint Surveys</title><content type='html'>Problem: Add customized numbers in the SharePoint Survey list's question field&lt;br /&gt;&lt;br /&gt;Solution: Add question as: "surveyquestionstart 1. surveyquestionend Where's my car dude?"&lt;br /&gt;&lt;br /&gt;So now what we want to do is add a javascript to the page that changes&lt;br /&gt;surveyquestionstart -&gt; to &amp;#60;span class="question"&amp;#62;&lt;br /&gt;and&lt;br /&gt;surveyquestionend -&gt; to &amp;#60;/span&amp;#62;&lt;br /&gt;&lt;br /&gt;Javascript can be added by the ToolPaneView=2 trick and adding a content editor web part to insert the script; or open the form directly with SharePoint Designer and add the code to the END of the contents in the main place holder.&lt;br /&gt;&lt;a href="http://www.sharepointkings.com/2009/08/creating-and-working-with-survey-in_7080.html" targewt="_blank"&gt;http://www.sharepointkings.com/2009/08/creating-and-working-with-survey-in_7080.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://cambada.do.sapo.pt/blog/surveyquestions.js" target="_blank"&gt;Find the script here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nice trick to edit the form as webpart zone: add ToolPaneView=2 to the new/edit/disp URLs.&lt;br /&gt;&lt;a href="http://www.sharepointkings.com/2008/05/how-to-edit-list-forms-like-newformaspx.html" targewt="_blank"&gt;http://www.sharepointkings.com/2008/05/how-to-edit-list-forms-like-newformaspx.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-7970936360189809222?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7970936360189809222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/09/editing-sharepoint-surveys.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7970936360189809222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7970936360189809222'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/09/editing-sharepoint-surveys.html' title='Editing SharePoint Surveys'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8793459364463331676</id><published>2010-08-19T11:17:00.008+01:00</published><updated>2010-08-29T00:18:19.334+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>PopEndTag was called without a corresponding PushEndTag</title><content type='html'>I came across this error when overriding the menu class to make SharePoint navigation CSSFriendly. &lt;a target="_blank" href="http://cssfriendly.codeplex.com/"&gt;CSSFriendly control adapters from CodePlex&lt;/a&gt; are not an option, since control adapters change all navigation controls (horizontal and vertical) for all SharePoint sites and admin zones throughout the given application pool.&lt;br /&gt;&lt;br /&gt;public class MossMenu:System.Web.UI.WebControls.Menu&lt;br /&gt;&lt;br /&gt;Method to override:&lt;br /&gt;- RenderBeginTag&lt;br /&gt;- RenderContens&lt;br /&gt;- RenderEndTag&lt;br /&gt;&lt;br /&gt;After all errors removed and deploying solution, I get:&lt;br /&gt;"PopEndTag was called without a corresponding PushEndTag"&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;The solution is to add the render method so it mentions all methods:&lt;br /&gt;protected override void Render(HtmlTextWriter writer)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;if (this.Page != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.Page.VerifyRenderingInServerForm(this);&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;if (this.Items.Count &gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.RenderBeginTag(writer);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.RenderContents(writer);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.RenderEndTag(writer);&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;See solution at siderite blog&lt;br /&gt;&lt;a target="_blank" href="http://siderite.blogspot.com/2009/07/popendtag-was-called-without.html"&gt;http://siderite.blogspot.com/2009/07/popendtag-was-called-without.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8793459364463331676?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8793459364463331676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/08/issue-popendtag-was-called-without.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8793459364463331676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8793459364463331676'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/08/issue-popendtag-was-called-without.html' title='PopEndTag was called without a corresponding PushEndTag'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8759448752768507601</id><published>2010-08-01T22:11:00.002+01:00</published><updated>2010-08-01T22:15:26.034+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Messenger'/><title type='text'>Windows Live Message encountered error</title><content type='html'>Windows Live Messenger shutdown when trying to open with error&lt;br /&gt;"Windows Live Messager has encountered an error and needs to close"&lt;br /&gt;&lt;br /&gt;Tried:&lt;br /&gt;- Full Live uninstall / reinstall&lt;br /&gt;- Uninstall with registry sweeps and file erases for Messenger stuff&lt;br /&gt;&lt;br /&gt;stats:&lt;br /&gt;live messenger wldcore.dll 0xc0000005&lt;br /&gt;&lt;br /&gt;Working solution:&lt;br /&gt;- Go to HKCU\Software\Microsoft\MSNMessenger\PerpasswordSettings and remove all folders (MSN IDs), except folder "0". Might wanna backup first ;-)&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.winvistatips.com/windows-live-messenger-has-stopped-working-t580755.html"&gt;http://www.winvistatips.com/windows-live-messenger-has-stopped-working-t580755.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8759448752768507601?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8759448752768507601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/08/windows-live-message-encountered-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8759448752768507601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8759448752768507601'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/08/windows-live-message-encountered-error.html' title='Windows Live Message encountered error'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-3172147584472185421</id><published>2010-07-29T15:18:00.001+01:00</published><updated>2010-07-29T15:20:22.618+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Disable add "Name.dll" request on IE7/8</title><content type='html'>Add to master page&lt;br /&gt;&amp;#60;script type="text/javascript"&amp;#62;&lt;br /&gt;    function ProcessImn(){} &lt;br /&gt;    function ProcessImnMarkers(){}    &lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://blog.drisgill.com/2010/02/removing-name-activex-control-warning.html"&gt;http://blog.drisgill.com/2010/02/removing-name-activex-control-warning.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-3172147584472185421?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/3172147584472185421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/disable-add-namedll-request-on-ie78.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3172147584472185421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/3172147584472185421'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/disable-add-namedll-request-on-ie78.html' title='Disable add &quot;Name.dll&quot; request on IE7/8'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6263136629832940649</id><published>2010-07-27T12:37:00.006+01:00</published><updated>2010-07-27T15:09:20.226+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Feature Scopes, targets, and security handling</title><content type='html'>Feature &lt;b&gt;Scope&lt;/b&gt; (feature attribute) say where the feature will appear, and how activation/deactivation is inherited throughout the sites&lt;br /&gt;&lt;br /&gt;- Web(subsite)&lt;br /&gt;- WebApplication(web application)&lt;br /&gt;- Site(site collection)&lt;br /&gt;- Farm&lt;br /&gt;&lt;br /&gt;Note: Farm features do not allow modules&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DeploymentTarget&lt;/b&gt; (manifest.xml assembly attribute) lets us say we either want to give the dll full trust (stuck it in the GAC) or just copy it to the current web application's bin folder.&lt;br /&gt;&lt;br /&gt;- GlobalAssemblyCache&lt;br /&gt;- WebApplication&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Save Control&lt;/b&gt; tagging to web.config lets assemblies execute code on our pages. This definition can, as the previous two ones, be compiled within the wsp package, in the manifest.xml.&lt;br /&gt;  &amp;#60;Assemblies&amp;#62;&lt;br /&gt;    &amp;#60;Assembly Location="mydll.dll" DeploymentTarget="GlobalAssemblyCache" &amp;#62;&lt;br /&gt;      &amp;#60;SafeControls&amp;#62;&lt;br /&gt;        &amp;#60;SafeControl Assembly="mydll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a3b8628163ff75bc" Namespace="mydll" TypeName="*" Safe="True" /&amp;#62;&lt;br /&gt;      &amp;#60;/SafeControls&amp;#62;&lt;br /&gt;    &amp;#60;/Assembly&amp;#62;&lt;br /&gt;  &amp;#60;/Assemblies&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://weblogs.asp.net/soever/archive/2007/05/03/sharepoint-features-elements-scope-and-other-info.aspx"&gt;http://weblogs.asp.net/soever/archive/2007/05/03/sharepoint-features-elements-scope-and-other-info.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6263136629832940649?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6263136629832940649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/feature-scopes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6263136629832940649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6263136629832940649'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/feature-scopes.html' title='Feature Scopes, targets, and security handling'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1412132944569566425</id><published>2010-07-27T12:27:00.003+01:00</published><updated>2010-07-27T12:30:45.099+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Library not registered, messed up init.js</title><content type='html'>"Library Not Registered"&lt;br /&gt;init.js&lt;br /&gt;line 0&lt;br /&gt;&lt;br /&gt;I think my SharePoint/SharePoint Designer ran into some issues. Anyway...&lt;br /&gt;&lt;br /&gt;I've tried the fix on johndandison.com with no luck:&lt;br /&gt;C:\Program Files (x86)\Microsoft Office\Office12&gt;regsvr32 /i name.dll&lt;br /&gt;&lt;br /&gt;Then, I tried this and the error was gone:&lt;br /&gt;C:\Program Files (x86)\Microsoft Office\Office12&gt;ren name.dll 1.dll&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://johndandison.com/blog/post/2010/04/16/Initjs-Library-Not-Registered-e28093-Office-2010-x64-SharePoint-2007.aspx"&gt;http://johndandison.com/blog/post/2010/04/16/Initjs-Library-Not-Registered-e28093-Office-2010-x64-SharePoint-2007.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1412132944569566425?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1412132944569566425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/library-not-registered-messed-up-initjs.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1412132944569566425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1412132944569566425'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/library-not-registered-messed-up-initjs.html' title='Library not registered, messed up init.js'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-163706576999495418</id><published>2010-07-24T18:38:00.004+01:00</published><updated>2011-07-08T12:36:21.080+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Cancel Job Deployment</title><content type='html'>Look for the job in timer job definitions, in C.A, operations.&lt;br /&gt;&lt;br /&gt;Once you click on the job, there will be a delete option. To use the command line correctly, remove the 2%D and copy the id, or run stsadm -o enumdeployments.&lt;br /&gt;&lt;br /&gt;To force scheduled jobs to start:&lt;br /&gt;&lt;b&gt;stsadm -o execadmsvcjobs&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To cancel a specific job being deployed:&lt;br /&gt;&lt;b&gt;stsadm -o canceldeploymeny -id [JOB_ID]&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://itdevnewbie.blogspot.com/2008/05/stsadm-o-canceldeployment-when-solution.html"&gt;http://itdevnewbie.blogspot.com/2008/05/stsadm-o-canceldeployment-when-solution.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-163706576999495418?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/163706576999495418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/cancel-job-deployment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/163706576999495418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/163706576999495418'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/cancel-job-deployment.html' title='Cancel Job Deployment'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-7077824168660651796</id><published>2010-07-22T16:58:00.002+01:00</published><updated>2010-07-23T14:54:01.313+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Write C# code in aspx form</title><content type='html'>Quote from Nick's blog&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open up SharePoint Designer and the masterpage you want to edit. Switch to the code view and anywhere from the first &amp;#60;head&amp;#62; tag down you can add some inline c# code:&lt;br /&gt;&lt;br /&gt;&amp;#60;script runat="server"&amp;#62;&lt;br /&gt;    string myVar = "hello world!";&lt;br /&gt;    void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        Response.Write(myVar);&lt;br /&gt;        SPSite siteCollection = new SPSite("http://usb-server1");&lt;br /&gt;        SPWeb site = siteCollection.OpenWeb("/SiteDirectory/MainCalendar/");&lt;br /&gt;&lt;br /&gt;        SPList list = site.Lists["Announcements"];&lt;br /&gt;        SPListItemCollection items = list.Items;&lt;br /&gt;&lt;br /&gt;        foreach(SPListItem item in items)&lt;br /&gt;        {&lt;br /&gt;            Response.Write(item["Title"].ToString());&lt;br /&gt;            Response.Write("&amp;#60;br/&amp;#62;");&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;Doesn’t do anything amazing but does show you can use the SharePoint object model in your inline code. If you saved the masterpage now and opened the site in your browser you’d get an error about not being able to run code blocks. There’s an extra line you need to put into your web.config file first to allow this inline c# to execute.&lt;br /&gt;&lt;br /&gt;&amp;#60;PageParserPaths&amp;#62;&lt;br /&gt;        &amp;#60;PageParserPath VirtualPath="/_catalogs/masterpage/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" /&amp;#62;&lt;br /&gt;&amp;#60;/PageParserPaths&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://weblog.vb-tech.com/nick/archive/2006/08/03/1710.aspx"&gt;http://weblog.vb-tech.com/nick/archive/2006/08/03/1710.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-7077824168660651796?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/7077824168660651796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/write-c-code-in-aspx-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7077824168660651796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/7077824168660651796'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/write-c-code-in-aspx-form.html' title='Write C# code in aspx form'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2308158076520347779</id><published>2010-07-22T12:55:00.003+01:00</published><updated>2010-07-22T12:57:02.732+01:00</updated><title type='text'>Windows Live Installer failure</title><content type='html'>- "Uninstall Live Mesh Beta" Error when trying to install Windows Live Essentials Beta&lt;br /&gt;&lt;br /&gt;- Live Mesh does NOT appear in Programs and Features list from Control Panel&lt;br /&gt;&lt;br /&gt;Remove registry entry:&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\[User_SID]\Products\9D1E4BCD781B45B479E1418784C5A935&lt;br /&gt;&lt;br /&gt;&lt;a href="http://alensiljak.blogspot.com/2009/04/uninstalling-live-mesh-beta.html"&gt;http://alensiljak.blogspot.com/2009/04/uninstalling-live-mesh-beta.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2308158076520347779?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2308158076520347779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/windows-live-installer-failure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2308158076520347779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2308158076520347779'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/windows-live-installer-failure.html' title='Windows Live Installer failure'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1616005315216231980</id><published>2010-07-21T10:28:00.004+01:00</published><updated>2010-07-21T10:38:38.795+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Edit dynamic control by javascript</title><content type='html'>So you want to change the properties of a control, such as button "btnPost".&lt;br /&gt;&lt;br /&gt;Seems rufly easy to accomplish, unless SharePoint, DotNetNuke or other environment decides to change the ID property of the control, adding internal IDs.&lt;br /&gt;&lt;br /&gt;Like this:&lt;br /&gt;ctl00_m_g_d14f2004_461a_4c76_9224_70143135d269_btnGen&lt;br /&gt;&lt;br /&gt;So how do you change, say, the display option of the control, to make it visible or hidden?&lt;br /&gt;&lt;br /&gt;The trick is to make a function that looks for the control, given a regular expression.&lt;br /&gt;&lt;br /&gt;btnGen.Attributes.Add("onclick", "this.style.display='none';var re = new RegExp('btnPost', 'g');var elems = document.getElementsByTagName('*'), i = 0, el;while (el = elems[i++]){if (el.id.match(re)){document.getElementById(el.id).style.display='';location.href='" + url + "';}}"); //hide button&lt;br /&gt;&lt;br /&gt;I must say, creadits to make this possible go to &lt;a target="_blank" href="http://www.webdeveloper.com/forum/archive/index.php/t-114892.html"&gt;Kor's postings on webdeveloper.com&lt;/a&gt;, where we can find the complete function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1616005315216231980?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1616005315216231980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/edit-dynamic-control-by-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1616005315216231980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1616005315216231980'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/edit-dynamic-control-by-javascript.html' title='Edit dynamic control by javascript'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1106926691454037919</id><published>2010-07-19T15:28:00.006+01:00</published><updated>2010-07-22T15:53:26.041+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='accessibility'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Keyboard Shortcuts</title><content type='html'>Enable keyboard navigation for users who can't "point and click".&lt;br /&gt;&lt;br /&gt;accesskey="G"&lt;br /&gt;&lt;br /&gt;&lt;img border="0" src="http://cambada.do.sapo.pt/blog/imagens/accesskey.bmp" /&gt;&lt;br /&gt;&lt;br /&gt;IE response:&lt;br /&gt;[Point] Alt + Access Key&lt;br /&gt;[Click] Enter&lt;br /&gt;&lt;br /&gt;Firefox response:&lt;br /&gt;[Click] Alt + Shift + Access Key&lt;br /&gt;&lt;br /&gt;Macintosh response:&lt;br /&gt;[Click] Control + Access Key&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1106926691454037919?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1106926691454037919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/keyboard-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1106926691454037919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1106926691454037919'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/keyboard-shortcuts.html' title='Keyboard Shortcuts'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8173705548346796008</id><published>2010-07-19T11:12:00.008+01:00</published><updated>2010-07-19T15:30:59.953+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='accessibility'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>MOSS Accessibility - going caveman</title><content type='html'>Wonder why it's so hard to make things clear, and information "accessible".&lt;br /&gt;&lt;br /&gt;So we want to build a SharePoint 2007 Accessible Site!?&lt;br /&gt;&lt;br /&gt;1. Start a master page from scratch? Use AkS's or Heather Solomon's minimal masters?&lt;br /&gt;I'd say its better to start off with BlueBand.master from AkS and start by changing the doctype to xhmlt 1.0 scrict (why is it not already??)&lt;br /&gt;&lt;br /&gt;2. Use transitional HTML 4.01? Standard 1.0 XHTML? Strict 1.0 XHTML?&lt;br /&gt;I found out strict XHTML isn't exactly a requirement for accessible sites so HTML 4.01 will do just fine.&lt;br /&gt;&lt;br /&gt;3. What's the benefit of using AkS publishing masterpage? Just css font resizing?&lt;br /&gt;"These pages have been modified to include modifications and enhancements for sizing, skip navigation, table summaries, removal of deprecated elements, and usage of the AKS Style Sheets."&lt;br /&gt;&lt;br /&gt;I guess I'll have to find these out for myself...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8173705548346796008?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8173705548346796008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/sharepoint-2007-accessibility.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8173705548346796008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8173705548346796008'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/sharepoint-2007-accessibility.html' title='MOSS Accessibility - going caveman'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1358506244459243463</id><published>2010-07-15T14:52:00.020+01:00</published><updated>2010-07-23T12:38:35.798+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='accessibility'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>Accessibility in SharePoint 2007</title><content type='html'>Accessibility for Starters&lt;br /&gt;&lt;br /&gt;Official AKS build by HISoftware, aided by Microsoft (register, login and download)&lt;br /&gt;&lt;a target="_blank" href="https://aks.hisoftware.com/default.aspx"&gt;https://aks.hisoftware.com/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;NOTE: After installing in x64 systes, you must fix the AKS folder copied to the 12 hive, because it will be on the x86 program folder and not on the "normal" one. Just move it from the the corrent folder from:&lt;br /&gt;C:\Program Files (x86)\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\AKS&lt;br /&gt;&lt;br /&gt;to&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\AKS&lt;br /&gt;&lt;br /&gt;Then its okay to run file C:\Program Files (x86)\HiSoftware\AKS\install_AKSFEAT.bat&lt;br /&gt;&lt;br /&gt;Unofficial AKS&lt;br /&gt;&lt;a target="_blank"  href="http://aks.codeplex.com/"&gt;http://aks.codeplex.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;White Paper from MS&lt;br /&gt;&lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/cc668367(office.12).aspx"&gt;http://technet.microsoft.com/en-us/library/cc668367(office.12).aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;W3C WGAC 1.0 Guidelines&lt;br /&gt;&lt;a target="_blank" href="http://www.w3.org/TR/WCAG10/"&gt;http://www.w3.org/TR/WCAG10/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accessibility Tips&lt;/b&gt; (from AKS User Guide.pdf)&lt;br /&gt;&lt;br /&gt;- Add xhtml strict to web.config under system.web&lt;br /&gt;&amp;#60;xhtmlConformance mode="Strict" /&amp;#62;&lt;br /&gt;&lt;br /&gt;- Place Site Actions under a Secure Trimmed Control to avoid messages &amp; Use XHMLT 1.0 Strict DOCTYPE in master page&lt;br /&gt;&lt;br /&gt;&amp;#60;! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&amp;#62;&lt;br /&gt;&amp;#60;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&amp;#62; &amp;#60;SharePoint:SPSecurityTrimmedControl PermissionsString="AddAndCustomizePages" runat="server"&amp;#62; &amp;#60;PublishingSiteAction:SiteActionMenu runat="server"/&amp;#62; &amp;#60;/SharePoint:SPSecurityTrimmedControl&amp;#62; &amp;#60;/html&amp;#62;&lt;br /&gt;&lt;br /&gt;- Validation tools&lt;br /&gt;&lt;a target="_blank"  href="http://www.tawdis.net/"&gt;http://www.tawdis.net/&lt;/a&gt;&lt;br /&gt;&lt;a target="_blank"  href="http://www.cynthiasays.com/"&gt;http://www.cynthiasays.com/&lt;/a&gt;&lt;br /&gt;&lt;a target="_blank"  href="http://www.acesso.umic.pt/webax/nota_tecnica.html"&gt;http://www.acesso.umic.pt/webax/nota_tecnica.html&lt;/a&gt;&lt;br /&gt;&lt;a target="_blank"  href="http://www.sidar.org/hera/"&gt;http://www.sidar.org/hera/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- HTML Validation tools&lt;br /&gt;&lt;a target="_blank" href="http://validator.w3.org/"&gt;http://validator.w3.org/&lt;/a&gt;&lt;br /&gt;HCCE (AkS)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1358506244459243463?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1358506244459243463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/accessibility-in-sharepoint-2007.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1358506244459243463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1358506244459243463'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/accessibility-in-sharepoint-2007.html' title='Accessibility in SharePoint 2007'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-2874662711918000797</id><published>2010-07-14T15:24:00.001+01:00</published><updated>2010-07-14T15:26:40.363+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>Basic two-page simulation</title><content type='html'>&amp;#60;script type="text/javascript" language="javascript"&amp;#62;&lt;br /&gt;&amp;nbsp;&amp;nbsp;$(document).ready(function () {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#Panel2').hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#ButtonPrev').hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#ButtonNext').click(function() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#Panel1').hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#Panel2').show();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(this).hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#ButtonPrev').show();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#ButtonPrev').click(function() {  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#Panel1').show();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#Panel2').hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$(this).hide();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$('#ButtonNext').show();&lt;br /&gt;&amp;nbsp;&amp;nbsp;});&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;});&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-2874662711918000797?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/2874662711918000797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/basic-two-page-simulation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2874662711918000797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/2874662711918000797'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/basic-two-page-simulation.html' title='Basic two-page simulation'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6592891994149008784</id><published>2010-07-14T12:48:00.000+01:00</published><updated>2010-07-14T12:49:14.231+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>Use Response outside html writer</title><content type='html'>Response.Redirect&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;HttpContext.Current.Response.Redirect&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-6592891994149008784?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6592891994149008784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/use-response-outside-html-writer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6592891994149008784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6592891994149008784'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/use-response-outside-html-writer.html' title='Use Response outside html writer'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-4923861527336587604</id><published>2010-07-14T12:47:00.000+01:00</published><updated>2010-07-14T12:48:18.222+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>Set file to be downloaded, and define destination name</title><content type='html'>HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=" + "tiago.pdf");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-4923861527336587604?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/4923861527336587604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/set-file-to-be-downloaded-and-define.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4923861527336587604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/4923861527336587604'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/set-file-to-be-downloaded-and-define.html' title='Set file to be downloaded, and define destination name'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-5941978227477483467</id><published>2010-07-14T12:27:00.004+01:00</published><updated>2010-07-14T12:29:51.230+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>Response to open in a new Window</title><content type='html'>Response.Write("&amp;#60;script language='javascript'&amp;#62;window.open('" + url + "','_blank');&amp;#60;/script&amp;#62;");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-5941978227477483467?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/5941978227477483467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/responde-to-open-in-new-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/5941978227477483467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/5941978227477483467'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/responde-to-open-in-new-window.html' title='Response to open in a new Window'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-1411067827944120429</id><published>2010-07-14T12:26:00.000+01:00</published><updated>2010-07-14T12:27:16.314+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aspnet'/><title type='text'>Find out current page URL</title><content type='html'>string url = HttpContext.Current.Request.Url.ToString();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-1411067827944120429?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/1411067827944120429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/find-out-current-page-url.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1411067827944120429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/1411067827944120429'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/find-out-current-page-url.html' title='Find out current page URL'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-6653031864219715390</id><published>2010-07-13T17:14:00.000+01:00</published><updated>2010-07-13T17:15:18.475+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Remote Desktop in W95/W98</title><content type='html'>&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/aa728832(VS.71).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa728832(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/7136231886823673874-6653031864219715390?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/6653031864219715390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/remote-desktop-in-w95w98.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6653031864219715390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/6653031864219715390'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/remote-desktop-in-w95w98.html' title='Remote Desktop in W95/W98'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-806651539007393787</id><published>2010-07-02T16:21:00.007+01:00</published><updated>2010-10-13T19:43:45.735+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Messenger'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>MSN Messenger messages not delivered in routed network</title><content type='html'>For months I've had this same issue:&lt;br /&gt;&lt;br /&gt;Windows Live Messenger fails to deliver some messages without ANY warning of failure.&lt;br /&gt;&lt;br /&gt;After lots of troubleshooting, I've decided to foward port 1863 to the WIFI router that is directly connected to the internet access modem router and what do you know, it worked!&lt;br /&gt;&lt;br /&gt;Turns out some of the messages we lost in the first router. Since there are two separate networks (the WAN and the DHCP internal private network), sometimes packets just didn't know where to go.&lt;br /&gt;&lt;br /&gt;Modem Router Network: 192.168.1.254&lt;br /&gt;WiFi Router Nework: 192.168.1.1 (WAN) / 192.168.2.1 (LAN)&lt;br /&gt;&lt;br /&gt;TCP Port: 1863&lt;br /&gt;Forward to 192.168.1.1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-806651539007393787?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/806651539007393787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/msn-messenger-messages-not-delivered-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/806651539007393787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/806651539007393787'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/msn-messenger-messages-not-delivered-in.html' title='MSN Messenger messages not delivered in routed network'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-408050636816344174</id><published>2010-07-02T16:09:00.005+01:00</published><updated>2010-07-02T16:30:23.485+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>VPN connection shuts down internet access</title><content type='html'>Connecting through a VPN tunneled connection stops you from opening web sites or using msn messenger?&lt;br /&gt;&lt;br /&gt;Fear not, you're troubled days are gone.&lt;br /&gt;Just disable default gateway / default router on the connection settings:&lt;br /&gt;&lt;br /&gt;&lt;a class="highslide" onclick="return hs.expand(this)" href="http://cambada.do.sapo.pt/blog/imagens/vpn_net.jpg" width="100"&gt;&lt;img width="300" border="0" src="http://cambada.do.sapo.pt/blog/imagens/vpn_net.jpg" width="300" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just make sure you won't need it to access any resources!&lt;br /&gt;&lt;br /&gt;Credits for these guys at velocity news forum&lt;br /&gt;&lt;a target="_blank" href="http://www.velocityreviews.com/forums/t29443-cannot-access-internet-while-connected-thru-vpn.html"&gt;http://www.velocityreviews.com/forums/t29443-cannot-access-internet-while-connected-thru-vpn.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-408050636816344174?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/408050636816344174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/07/vpn-connection-shuts-down-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/408050636816344174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/408050636816344174'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/07/vpn-connection-shuts-down-internet.html' title='VPN connection shuts down internet access'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7136231886823673874.post-8966479986172438524</id><published>2010-06-29T15:18:00.005+01:00</published><updated>2010-06-29T15:47:09.362+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='infopath'/><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint 2007'/><title type='text'>just started working with Infopath</title><content type='html'>InfoPath 2007 enables the quick and easy creating of user forms.&lt;br /&gt;&lt;br /&gt;One thing that has bugged my is the "form" word.&lt;br /&gt;In english language, "form" means the aspx pages created to insert content, but also mean the "parts" that are added to the page that contain the New/Update/Insert form.&lt;br /&gt;&lt;br /&gt;So, to create those insertion forms, infopath is really cool cause it creates filled out out-of-the-box templates and may create document libraries or site collumns and content types all together.&lt;br /&gt;&lt;br /&gt;To use infopath, you can let it use/create a document library or you can create a "form library".&lt;br /&gt;&lt;br /&gt;Note: as discussion boards, the form libraries will only be available for selection once "Team Collaboration Lists" feature is active on site features.&lt;br /&gt;&lt;br /&gt;resources&lt;br /&gt;&lt;a target="_blank" href="http://www.bizsupportonline.net/blog/2009/06/3-ways-deploy-infopath-form-templates-sharepoint/"&gt;http://www.bizsupportonline.net/blog/2009/06/3-ways-deploy-infopath-form-templates-sharepoint/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7136231886823673874-8966479986172438524?l=ftduarte.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ftduarte.blogspot.com/feeds/8966479986172438524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ftduarte.blogspot.com/2010/06/just-started-working-with-infopath.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8966479986172438524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7136231886823673874/posts/default/8966479986172438524'/><link rel='alternate' type='text/html' href='http://ftduarte.blogspot.com/2010/06/just-started-working-with-infopath.html' title='just started working with Infopath'/><author><name>Tiago Duarte</name><uri>https://profiles.google.com/103516091202014847166</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-OZ1pw9z1n7I/AAAAAAAAAAI/AAAAAAAAAFA/YUf_ohjZVEw/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
