<?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-1773821877020177026</id><updated>2012-02-01T11:17:39.689-08:00</updated><category term='VanSLUG'/><category term='BCIT'/><category term='.netBC User Group'/><category term='ASP.NET 2.0'/><category term='Sharepoint 2007'/><category term='Windows'/><category term='General'/><category term='SharePoint 2010'/><category term='Speaking Engagements'/><category term='DotNetNuke'/><category term='Silverlight'/><title type='text'>Medhat Elmasry</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-8459277711904069102</id><published>2012-02-01T11:09:00.000-08:00</published><updated>2012-02-01T11:17:39.710-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>How do you find out the name of a feature from the GUID in SharePoint 2010?</title><content type='html'>While trying to import an exported site onto a different SharePoint instance, I encountered the following error:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;The site template requires that the Feature {d57f4817-f1f9-42aa-863c-139804c731b0} be installed in the farm or site collection.&lt;br /&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;Troubleshoot issues with Microsoft SharePoint Foundation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Correlation ID: 59577f16-fffc-422c-8b16-458cfb62adaf&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;I needed to figure out what feature was missing on the destination SharePoint 2010 instance. The following Powershell command came in handy:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: orange;"&gt;PS C:\&amp;gt; &lt;span style="color: black;"&gt;GET-SPFeature -Identity "d57f4817-f1f9-42aa-863c-139804c731b0"&lt;/span&gt;&lt;/span&gt;&lt;br style="color: orange;" /&gt;&lt;br style="color: orange;" /&gt;&lt;span style="color: orange; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;DisplayName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scope&lt;/span&gt;&lt;br style="color: orange; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: orange; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;-----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&lt;/span&gt;&lt;br style="color: orange; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="color: orange; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;FBAManagement&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d57f4817-f1f9-42aa-863c-139804c731b0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It turned out that I had installed a codeplex "Forms Based Authentication Management" feature on the source site that facilitates managing forms-based authentication users with the aspnetdb.mdf database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-8459277711904069102?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/8459277711904069102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2012/02/how-do-you-find-out-name-of-feature.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8459277711904069102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8459277711904069102'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2012/02/how-do-you-find-out-name-of-feature.html' title='How do you find out the name of a feature from the GUID in SharePoint 2010?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7364695740937330740</id><published>2012-02-01T10:38:00.000-08:00</published><updated>2012-02-01T10:38:48.042-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Easy way to create a site template in SharePoint 2010</title><content type='html'>Even though it is not as obvious as in SharePoint 2007, here's an easy way to create a site template for a site that you would like to reuse:&lt;br /&gt;&lt;br /&gt;1) Go to the site that you want to create a site template for. Example: http://sp.abc.com/marketing/default.aspx&lt;br /&gt;&lt;br /&gt;2)&amp;nbsp; Add the "_layouts/SaveTmpl.aspx" to the site's URL. Example: http://sp.abc.com/marketing/_layouts/SaveTmpl.aspx&lt;br /&gt;&lt;br /&gt;3) This brings you back to the familiar dialog from the SharePoint 2007 days. The site template is saved in the &lt;br /&gt;&amp;nbsp;root site Solutions gallery under: Site Actions &amp;gt;&amp;gt; Galleries &amp;gt;&amp;gt; Solutions&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7364695740937330740?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7364695740937330740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2012/02/easy-way-to-create-site-template-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7364695740937330740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7364695740937330740'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2012/02/easy-way-to-create-site-template-in.html' title='Easy way to create a site template in SharePoint 2010'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-628743216746584770</id><published>2012-02-01T10:27:00.000-08:00</published><updated>2012-02-01T10:27:44.174-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Cannot find "Team Site" on SharePoint 2010</title><content type='html'>I installed a SharePoint 2010 web site based on the "Publishing Site" template. When I came to create sub sites I could not find the many templates (including Team Site) that I was accustomed to under SharePoint 2007. It turned out that they included but need to be brought to the surface. Here's how you can make them available:&lt;br /&gt;&lt;br /&gt;Site Actions &amp;gt;&amp;gt;&amp;nbsp; Look and Feel &amp;gt;&amp;gt; Page layouts and site templates&lt;br /&gt;&lt;br /&gt;All the templates are in the first listbox. Add them then click OK. Voila... you can now create new sites based on this template.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-628743216746584770?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/628743216746584770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2012/02/cannot-find-team-site-on-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/628743216746584770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/628743216746584770'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2012/02/cannot-find-team-site-on-sharepoint.html' title='Cannot find &quot;Team Site&quot; on SharePoint 2010'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-9180044897186674455</id><published>2011-08-12T15:18:00.000-07:00</published><updated>2011-08-12T15:18:16.827-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>LINQ to SQL not working on SharePoint 2010</title><content type='html'>I recently created a user control that was hosted on a SharePoint 2010 server using the Smart Part. This user control contained a simple LINQ to SQL statement that looked like this:&lt;br /&gt;&lt;br /&gt;int count = (from address in db.JobsDistribution&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where address.Active == true&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select address).Count();&lt;br /&gt;&lt;br /&gt;I was getting a compile error: Missing ; on line xx.&lt;br /&gt;&lt;br /&gt;It turned that the default compiler used by the SharePoint 2010 web application was .NET Framework 2.0. This issue was fixed by adding the following section in the web.config file of the application within the &amp;lt;configuration&amp;gt; section:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="default prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;system.codedom&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;compilers&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;compiler&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;language&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"c#;cs;csharp"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;extension&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;".cs"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;type&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;warningLevel&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"4"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;providerOption&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;name&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CompilerVersion"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;value&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"v3.5"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;providerOption&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;name&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"WarnAsError"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;value&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"false"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/compiler&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;compiler&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;language&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"vb;vbs;visualbasic;vbscript"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;extension&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;".vb"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;type&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;warningLevel&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"4"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;providerOption&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;name&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"CompilerVersion"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;value&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"v3.5"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;providerOption&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;name&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"OptionInfer"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;value&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"true"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;providerOption&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;name&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"WarnAsError"&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt; &lt;/span&gt;&lt;span class="atn" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: red; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;value&lt;/span&gt;&lt;span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;=&lt;/span&gt;&lt;span class="atv" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;"false"&lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/compiler&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/compilers&amp;gt;&lt;/span&gt;&lt;span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span class="tag" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/system.codedom&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&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/1773821877020177026-9180044897186674455?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/9180044897186674455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2011/08/linq-to-sql-not-working-on-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/9180044897186674455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/9180044897186674455'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2011/08/linq-to-sql-not-working-on-sharepoint.html' title='LINQ to SQL not working on SharePoint 2010'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7682173912355052907</id><published>2010-10-05T17:10:00.000-07:00</published><updated>2010-10-05T17:12:14.380-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='DotNetNuke'/><title type='text'>Dealing with error "Login failed for user ‘IIS APPPOOL\DefaultAppPool" on Windows 7.</title><content type='html'>The cause of this error is&amp;nbsp;that a login is being attempted to&amp;nbsp;a database with the "ApplicationPoolIdentity" account. In a development environment, you would prefer using your credentials to log into a SQL Express database. This can be&amp;nbsp;fixed by doing the following:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Go to IIS Manager&lt;/li&gt;&lt;li&gt;Click on Application Pools&lt;/li&gt;&lt;li&gt;Click on&amp;nbsp;the offending application pool&lt;/li&gt;&lt;li&gt;Click on the "Advanced Settings ..." link on the right-hand-side&lt;/li&gt;&lt;li&gt;Find the "Identity" property and change it from "ApplicationPoolIdentity" to "LocalSystem"&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7682173912355052907?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7682173912355052907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/10/dealing-with-error-login-failed-for.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7682173912355052907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7682173912355052907'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/10/dealing-with-error-login-failed-for.html' title='Dealing with error &quot;Login failed for user ‘IIS APPPOOL\DefaultAppPool&quot; on Windows 7.'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-2291406924654305639</id><published>2010-08-19T13:09:00.000-07:00</published><updated>2010-08-19T13:13:37.557-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to display the ID number on edit and display forms in SharePoint 2007?</title><content type='html'>&lt;ol&gt;&lt;li&gt;We will use the content editor webpart to add Javascript that will display the ID. However, most edit and display forms do not allow you to add a webpart. This can be easily rectified by adding "&amp;amp;ToolPaneView=2" to the URL in the browser address line.&lt;/li&gt;&lt;li&gt;Add a content editor webpart right above the form. Set the "Chome Type" to none in the "Appearance" section of the webpart.&lt;/li&gt;&lt;li&gt;Click on the "Source Editor" button of the webpart.&lt;/li&gt;&lt;li&gt;Add the following HTML/Javascript:&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;//&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;// Item ID in DispForm.aspx and EditForm.aspx&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;//&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;function DisplayItemID()&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; var regex = new RegExp("[\\?&amp;amp;]"+"ID"+"=([^&amp;amp;#]*)");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; var qs = regex.exec(window.location.href);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; var TD1 = document.createElement("TD");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; TD1.className = "ms-formlabel";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; TD1.innerHTML = "&amp;lt;h3 class='ms-standardheader'&amp;gt;ID&amp;lt;/h3&amp;gt;";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; var TD2 = document.createElement("TD");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; TD2.className = "ms-formbody";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; TD2.innerHTML = qs[1];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; var IdRow = document.createElement("TR");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; IdRow.appendChild(TD1);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; IdRow.appendChild(TD2);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; var ItemBody = GetSelectedElement(document.getElementById("idAttachmentsRow"),"TABLE").getElementsByTagName("TBODY")[0];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; ItemBody.insertBefore(IdRow,ItemBody.firstChild);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;_spBodyOnLoadFunctionNames.push("DisplayItemID");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-2291406924654305639?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/2291406924654305639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/08/we-will-use-content-editor-webpart-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2291406924654305639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2291406924654305639'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/08/we-will-use-content-editor-webpart-to.html' title='How to display the ID number on edit and display forms in SharePoint 2007?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-806161149805169486</id><published>2010-07-24T11:18:00.000-07:00</published><updated>2010-07-24T11:18:56.323-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VanSLUG'/><title type='text'></title><content type='html'>Are you:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;a developer in Greater Vancouver area?&lt;/li&gt;&lt;li&gt;curious about the evolving trend toward "Rich Interactive Applications" (RIA) on the web?&lt;/li&gt;&lt;li&gt;interested or involved in Silverlight development?&lt;/li&gt;&lt;li&gt;looking to take advantage of new opportunities offered by Microsoft's upcoming release of the Windows Phone 7 platform?&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;The newly formed Vancouver Silverlight User Group is putting out the call for new members and now is a great time to get involved with this powerful and creative technology&lt;br /&gt;&lt;br /&gt;DevTeach's Jean-Roy Rene has generously offered a free registration to their "Windows Phone 7 Bootcamp" being held in Vancouver on August 30-31, 2010 as an incentive for new members to join the VanSLUG community.&lt;br /&gt;&lt;br /&gt;As an additional incentive for all new members, we will be holding an exclusive presentation by Colin Melia, the Bootcamp trainer) to our registered membership around the time of DevTeach/Bootcamp being held in Vancouver (TBD, sometime near the end of August).&lt;br /&gt;&lt;br /&gt;Whether you are looking to improve your professional understanding, a way to express your creative curiosity or to find a place to network with your peers, we look forward to meeting you at our presentations and events.&lt;br /&gt;&lt;br /&gt;For more information on VanSLUG, the Vancouver Silverlight User Group, please check out: &lt;a href="http://www.vanslug.net/"&gt;http://www.vanslug.net/&lt;/a&gt;For more information on DevTeach please check out: &lt;a href="http://www.devteach.com/ "&gt;http://www.devteach.com/&lt;/a&gt;For more information on Windows Phone 7 Bootcamp, please check out: &lt;a href="http://www.devteach.com/SpecialEvent.aspx"&gt;http://www.devteach.com/SpecialEvent.aspx&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-806161149805169486?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/806161149805169486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/07/are-you-developer-in-greater-vancouver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/806161149805169486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/806161149805169486'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/07/are-you-developer-in-greater-vancouver.html' title=''/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3474109686678841501</id><published>2010-05-09T22:59:00.000-07:00</published><updated>2011-01-24T09:27:26.325-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DotNetNuke'/><title type='text'>Installing DotNetNuke (DNN) under Windows 7</title><content type='html'>Many of my students at BCIT have asked me for help with the installation of DotNetNuke (DNN) under IIS 7 on Windows 7. This is a little bit different from previous Windows operating systems because of the security model and the default application pool account that IIS 7 uses.&lt;br /&gt;&lt;br /&gt;The prerequisite is to have SQL Server Express and the IIS feature activated on your Windows 7 environment.&lt;br /&gt;&lt;br /&gt;Here are the steps that I recomended to my students:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download DNN from &lt;a href="http://dotnetnuke.codeplex.com/releases/view/44102"&gt;http://dotnetnuke.codeplex.com/releases/view/44102&lt;/a&gt; and install it in a directory like c:\DotNetNuke&lt;/li&gt;&lt;li&gt;Copy "release.config" to "web.config" in the root directory of DNN&lt;/li&gt;&lt;li&gt;In IIS 7 add a "New Application" under the "Default Web Site" pointing to the location where DNN was installed (like c:\DotNetNuke).&lt;/li&gt;&lt;li&gt;Create a new application pool named "dnn" in IIS 7. Changed "Load user profile" property to "False" by clicking on the "Advanced Settings" link of the "dnn" application pool.&lt;/li&gt;&lt;li&gt;Set the application pool for your "Default Web Site" to "dnn" by clicking on the "Basic Settings" link&lt;/li&gt;&lt;li&gt;Give the physical directory of your site (I.E. c:\DotNetNuke) full access permission to account "IIS AppPool\dnn"&lt;/li&gt;&lt;li&gt;Point your browser to &lt;a href="http://localhost/DotNetNuke"&gt;http://localhost/DotNetNuke&lt;/a&gt;. If all goes well you will enter the DNN&amp;nbsp;configuration wizard.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3474109686678841501?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3474109686678841501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/05/installing-dotnetnuke-dnn-under-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3474109686678841501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3474109686678841501'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/05/installing-dotnetnuke-dnn-under-windows.html' title='Installing DotNetNuke (DNN) under Windows 7'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5787975556990129936</id><published>2010-05-09T21:37:00.000-07:00</published><updated>2010-05-09T21:37:16.423-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><title type='text'>Vancouver Silverlight User Group (VanSLUG.NET) Launch</title><content type='html'>On May 5, 2010 I launched the Vancouver Silverlight User Group which I named VanSLUG. The group's web site is at &lt;a href="http://vanslug.net/"&gt;http://vanslug.net/&lt;/a&gt;. The first meeting was held at BCIT and was co-hosted by VanSPUG, .netBC, and VanSLUG. Habaneros sponsored the snacks. We had attendance of over 80 people.&lt;br /&gt;&lt;br /&gt;The speaker was Laurent Duveau, who is a Silverlight MVP from Quebec City. He gave a talk entitled "Silverlight 4 Business Applications". His presentation was very well received and he got many questions from the audience. He has blogged about the event at:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/lduveau/archive/2010/05/09/my-talk-at-the-launch-of-the-vancouver-silverlight-user-group.aspx"&gt;http://weblogs.asp.net/lduveau/archive/2010/05/09/my-talk-at-the-launch-of-the-vancouver-silverlight-user-group.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can download his presentation and examples from the above site.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5787975556990129936?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5787975556990129936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/05/vancouver-silverlight-user-group.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5787975556990129936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5787975556990129936'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/05/vancouver-silverlight-user-group.html' title='Vancouver Silverlight User Group (VanSLUG.NET) Launch'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3203375257957176097</id><published>2010-05-06T21:32:00.000-07:00</published><updated>2010-05-06T21:33:00.859-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Getting FTP to work on Windows 2008 server</title><content type='html'>I installed the FTP server feature on a Windows 2008 server. However, when I tried to connect from an FTP client, I consistantly got an error suggesting that the directory could not be listed, even though authentication went through. I checked the Windows Firewall setting and found that "FTP Server" was indeed&amp;nbsp;checked in the exceptions list. A quick google saved my day. You can configure the Windows Firewall to allow non-secure FTP traffic with these two command-line commands:&lt;br /&gt;&lt;br /&gt;1) Open port 21 on the firewall&lt;br /&gt;netsh advfirewall firewall add rule name="FTP (no SSL)" action=allow protocol=TCP dir=in localport=21&lt;br /&gt;2) Activate firewall application filter for FTP (aka Stateful FTP) that will dynamically open ports for data connections&lt;br /&gt;netsh advfirewall set global StatefulFtp enable&lt;br /&gt;&lt;br /&gt;Kudos to this site: &lt;a href="http://social.msdn.microsoft.com/Forums/en/winserver2008appcompatabilityandcertification/thread/72ea0c7d-1071-4637-a38f-e77195e8a738"&gt;http://social.msdn.microsoft.com/Forums/en/winserver2008appcompatabilityandcertification/thread/72ea0c7d-1071-4637-a38f-e77195e8a738&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3203375257957176097?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3203375257957176097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/05/getting-ftp-to-work-on-windows-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3203375257957176097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3203375257957176097'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/05/getting-ftp-to-work-on-windows-2008.html' title='Getting FTP to work on Windows 2008 server'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4801687280345279710</id><published>2010-04-18T12:11:00.000-07:00</published><updated>2010-04-18T12:11:51.058-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><title type='text'>Installing "RIA Services" on IIS 7</title><content type='html'>To install "RIA Services" in an IS 7.x environment:&lt;br /&gt;&lt;br /&gt;1) Download the "RiaServices.msi" file from the Microsoft download page for "WCF RIA Services Release Candidate 2 for Silverlight 4 and Visual Studio 2010".&lt;br /&gt;&lt;br /&gt;2) Since you are not expected to have Visual Studio .NET 2010 on the server, it suffices that you only install the assemblies into the GAC. This is done by installing the msi file with these command line swithches:&lt;br /&gt;&lt;br /&gt;msiexec /i RiaServices.msi SERVER=TRUE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4801687280345279710?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4801687280345279710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/04/installing-ria-services-on-iis-7.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4801687280345279710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4801687280345279710'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/04/installing-ria-services-on-iis-7.html' title='Installing &quot;RIA Services&quot; on IIS 7'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-427630040607032104</id><published>2010-04-17T19:01:00.000-07:00</published><updated>2010-04-17T19:01:36.834-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><title type='text'>Cannot uninstall "WCF RIA Services Beta"</title><content type='html'>There is a bug in "WCF RIA Services Beta" software that makes it almost impossible to uninstall it from add/remove programs in windows. The side effect is that you cannot install the "Silverlight tooks for Visual Studio 2010" without completely uninstalling "WCF RIA Services Beta".&lt;br /&gt;&lt;br /&gt;I found this article that proposes a brute force solution to this problem:&lt;br /&gt;&lt;br /&gt;http://forums.silverlight.net/forums/p/149912/334721.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-427630040607032104?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/427630040607032104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2010/04/cannot-uninstall-wcf-ria-services-beta.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/427630040607032104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/427630040607032104'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2010/04/cannot-uninstall-wcf-ria-services-beta.html' title='Cannot uninstall &quot;WCF RIA Services Beta&quot;'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7098614879122543003</id><published>2009-12-02T14:48:00.000-08:00</published><updated>2009-12-02T14:48:10.173-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How do you add a list ID to a form?</title><content type='html'>Add a calculated field column with formula "=ID".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7098614879122543003?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7098614879122543003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/12/how-do-you-add-list-id-to-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7098614879122543003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7098614879122543003'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/12/how-do-you-add-list-id-to-form.html' title='How do you add a list ID to a form?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7864096052606215567</id><published>2009-11-23T21:05:00.000-08:00</published><updated>2009-11-23T21:06:10.774-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><title type='text'>Building LOB Applications with Silverlight 3</title><content type='html'>I had a blast at the TechFest 2009 event held at BCIT in Burnaby, BC on Saturday November 21, 2009. We had about 250 attendees out of 500 registrations. The initial feedback I got from attendees was very positive. My only disappointment is that I lost the camera used to take pictures of the event. It is more to do with the value of the pictures rather than the camera itself. Oh well, shit happens.&lt;br /&gt;&lt;br /&gt;I gave a talk at TechFest 2009 on the topic of "Building LOB Applications with Silverlight 3". You can download the powerpoint and demo code from this link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://penguin.bcit.ca/medhat/techfest2009/SilverlightLobApps.zip"&gt;http://penguin.bcit.ca/medhat/techfest2009/SilverlightLobApps.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7864096052606215567?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7864096052606215567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/11/building-lob-applications-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7864096052606215567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7864096052606215567'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/11/building-lob-applications-with.html' title='Building LOB Applications with Silverlight 3'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-6739829681300923223</id><published>2009-10-16T11:19:00.000-07:00</published><updated>2009-10-16T11:19:15.180-07:00</updated><title type='text'>Vancouver TechFest 2009</title><content type='html'>All user group and technology community leaders in Vancouver are working closely together in organizing Techfest-2009. Mark November 21, 2009 on your calendar; it's a Saturday and as usual the sessions will appeal to both Developers and IT Professionals. More details are at &lt;a href="http://codecamp.ca/"&gt;http://codecamp.ca/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The event will be held at three lecture theatres at the BCIT campus in Burnaby, BC. We are oganizing a nerds dinner at the Professor Mugs pub, also at BCIT, a night before the event on Friday November 20, 2009 from 6:30 PM to 9:30 PM. Attendees to the dinner are expected to pay for their own food and drink. Come to the dinner and mingle with your community leaders, fellow nerds, John Bristowe of Microsoft, and speakers.&lt;br /&gt;&lt;br /&gt;Registration is now open! Register at: &lt;a href="http://vantechfest.eventbrite.com/"&gt;http://vantechfest.eventbrite.com/&lt;/a&gt;. This event is filling fast so don't wait.&lt;br /&gt;&lt;br /&gt;Get ready for an exciting line up of industry professionals providing you with free training; and be sure to bring your laptops, FREE WiFi will be available for all attendees.&lt;br /&gt;&lt;br /&gt;Don't bother to bring lunch, its FREE as well, courtesy of Microsoft!&lt;br /&gt;&lt;br /&gt;Although&amp;nbsp;Rob Chartier is spear-heading this event, I am very proud that all user groups leaders in Vancover are actively involved in&amp;nbsp;things like:&lt;br /&gt;&lt;br /&gt;- securing the BCIT venue&lt;br /&gt;- securing sponsorship&lt;br /&gt;- finding speakers&lt;br /&gt;- spreading the word&lt;br /&gt;- developing an event website&lt;br /&gt;&lt;br /&gt;I should also thanks John Bristowe of Microsoft for being actively involved in planning with us this event and offering valuable ideas. He also organizes a weekly conference call where we all update one another on the status of things pertaining to TechFest 2009.&amp;nbsp;It is shaping up to be a super festival of technology.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-6739829681300923223?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/6739829681300923223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/10/vancouver-techfest-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6739829681300923223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6739829681300923223'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/10/vancouver-techfest-2009.html' title='Vancouver TechFest 2009'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7631938039949030865</id><published>2009-09-23T12:55:00.000-07:00</published><updated>2009-09-23T12:57:21.542-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><title type='text'>Tweaking IIS &amp; web.config connection timeout setting</title><content type='html'>&lt;span style="font-size: large;"&gt;Microsoft Internet Information Services &lt;/span&gt;&lt;br /&gt;&lt;div&gt;If IIS is timing out when you upload large files, you can change "Connection Timeout" property to ensure that larger files can be uploaded successfully.&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to Start –&amp;gt; All Programs -&amp;gt; Administrative Tools –&amp;gt; Internet Information Services (IIS) Manager. &lt;/li&gt;&lt;li&gt;Right-click the virtual server you want to configure, and then choose &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Properties&lt;/span&gt;. &lt;/li&gt;&lt;li&gt;Click the Web Site tab. &lt;/li&gt;&lt;li&gt;In the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Connections&lt;/span&gt; section, in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Connection timeout&lt;/span&gt; box, type the number of seconds you want IIS to wait before timing out. &lt;/li&gt;&lt;li&gt;Click &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;OK&lt;/span&gt; to save settings.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size: large;"&gt;Web.config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are other settings that you can change in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;web.config&lt;/span&gt; file that also affect connection timeout. &lt;br /&gt;&lt;br /&gt;Update &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;maxRequestLength&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;executionTimeout&lt;/span&gt; attributes belonging to the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;httpRuntime&lt;/span&gt; tag.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;executionTimeout = &amp;lt;Time in Seconds&amp;gt;&lt;br /&gt;&lt;br /&gt;maxRequestLength = &amp;lt;File size in KB&amp;gt; (by default for ASP.NET applications, its set to 4096 (4MB), but because SharePoint supports 50MB so its set to 51200) &lt;br /&gt;&lt;br /&gt;Example: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;!-- 102400 = 100MB --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;httpRuntime executionTimeout="999999" maxRequestLength="102400" /&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7631938039949030865?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7631938039949030865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/09/tweaking-iis-connection-timeout-setting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7631938039949030865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7631938039949030865'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/09/tweaking-iis-connection-timeout-setting.html' title='Tweaking IIS &amp; web.config connection timeout setting'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-6000347951660902220</id><published>2009-09-23T12:36:00.000-07:00</published><updated>2009-09-23T12:41:21.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><title type='text'>Extending session timeout for SharePoint 2007 instance using forms-based autentication.</title><content type='html'>Change&amp;nbsp;the&amp;nbsp;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;timeout&lt;/span&gt; attribute belonging to the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;forms&lt;/span&gt; tag&amp;nbsp;in the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;web.config&lt;/span&gt; file:&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;forms loginUrl="Login.aspx" timeout="300"/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This will force a timeout in 5 minutes of inactivity.&lt;br /&gt;&lt;br /&gt;This setting equally applies to any ASP.NET application that uses forms-based authentication.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-6000347951660902220?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/6000347951660902220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/09/extending-session-timeout-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6000347951660902220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6000347951660902220'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/09/extending-session-timeout-for.html' title='Extending session timeout for SharePoint 2007 instance using forms-based autentication.'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5300287557582209127</id><published>2009-09-21T12:45:00.001-07:00</published><updated>2009-09-21T15:40:59.088-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Using blogger for my blog</title><content type='html'>On Sunday September 20, 2009 I moved all my blog postings from my own SharePoint 2007 server located at &lt;a href="http://cisa.ca/"&gt;http://cisa.ca/&lt;/a&gt; to blogger.com. I have nothing against SharePoint 2007&amp;nbsp;as it served me quite well. I decided to&amp;nbsp;move my blog because I started seriously falling behind on backups of the blog site and felt that sooner or later I may lose everything. I found blogger.com to be easy to use. More importantly, I do not need to worry about backups as I trust google will take care of that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5300287557582209127?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5300287557582209127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/09/using-blogger-for-my-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5300287557582209127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5300287557582209127'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/09/using-blogger-for-my-blog.html' title='Using blogger for my blog'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4086651442548847551</id><published>2009-07-22T12:44:00.000-07:00</published><updated>2009-09-21T12:45:03.850-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>How do I disable User Account Control (UAC) in Windows Server 2008?</title><content type='html'>Control Panel =&amp;gt; User Accounts&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click "Turn User Account Control on or off"&lt;br /&gt;&lt;br /&gt;Uncheck "Use User Account Control (UAC) to help protect your computer"&lt;br /&gt;&lt;br /&gt;Click on "OK" button&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4086651442548847551?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4086651442548847551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/07/how-do-i-disable-user-account-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4086651442548847551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4086651442548847551'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/07/how-do-i-disable-user-account-control.html' title='How do I disable User Account Control (UAC) in Windows Server 2008?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4418574827695403338</id><published>2009-06-24T12:42:00.000-07:00</published><updated>2009-09-21T12:43:51.980-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to unsubscribe (or remove) yourself from a SharePoint 2007 alert?</title><content type='html'>In SharePoint one can subscribe to any document libraray or list to be sent alerts when changes occur such us additions, deletions, and updates. This is done by choosing "Actions" =&amp;gt; "Alert Me". &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If one wishes not to receive alerts anymore, it is not that apparent how to do it. Well, you would need to go to "Site Actions" =&amp;gt; "Site Settings" =&amp;gt; "User Alerts". Choose the user in question and subsequently delete him/her from the appropriate list or document library alert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4418574827695403338?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4418574827695403338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/06/how-to-unsubscribe-or-remove-yourself.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4418574827695403338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4418574827695403338'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/06/how-to-unsubscribe-or-remove-yourself.html' title='How to unsubscribe (or remove) yourself from a SharePoint 2007 alert?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3402132348109837473</id><published>2009-05-13T12:26:00.000-07:00</published><updated>2009-09-21T12:42:32.214-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>Presentation to VanSPUG on Enhancing SharePoint with Silverlight 2.0</title><content type='html'>VanSPUG (Vancouver SharePoint User Group) is less than one year old. I can proudly say that I was a catalyst in the establishment of this young user group when I helped Peter McFarlane organize the launch event on September 17, 2008 at my BCIT workplace. Since then I have attended most of their meetings. Therefore, it was certainly an honor for me to be a speaker for the first time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I had a blast when I presented at VanSPUG yesterday evening on the topic of "Enhance SharePoint with Silverlight 2.0". The event started just after 6:30 PM and ended promptly at 8:15 PM becuase we had to vacate the meeting room. Sherman was my host who did a good job introducing me at the start. The event was attended by about 30 people and was held at the Microsoft offices at 1111 West Georgia Street in downtown Vancouver. I would have liked to have questions from those who attended. Actually, I cannot recall even a single question. Oh well ...&lt;br /&gt;&lt;br /&gt;For those who are interested in the resources clck here to download my powerpoint presentation + examples.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3402132348109837473?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3402132348109837473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/05/presentation-to-vanspug-on-enhancing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3402132348109837473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3402132348109837473'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/05/presentation-to-vanspug-on-enhancing.html' title='Presentation to VanSPUG on Enhancing SharePoint with Silverlight 2.0'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-201328007761184135</id><published>2009-03-06T12:23:00.000-08:00</published><updated>2009-09-21T12:24:24.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Enabling Entity Framework (ADO.NET Entity Data Model) in a SharePoint 2007 web.config file</title><content type='html'>The Entity Framework is considered to be the modern day successor to "LINQ to SQL". If you wish to use this technology in a SharePoint 2007 web part you will need to tweak your web.config file to accomodate the new assemblies that are associated with the Entity Framework. Here are the changes that you need to apply to your web.config file:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Add the following tags to the &amp;lt;compilation&amp;gt;&amp;lt;assemblies&amp;gt; section:&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Data.Entity.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /&amp;gt;&lt;br /&gt;&lt;br /&gt;2) Add the following tags to the &amp;lt;compilation&amp;gt; section just under the closing &amp;lt;/assemblies&amp;gt; tag:&lt;br /&gt;&lt;br /&gt;&amp;lt;buildProviders&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/buildProviders&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-201328007761184135?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/201328007761184135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/03/enabling-entity-framework-adonet-entity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/201328007761184135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/201328007761184135'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/03/enabling-entity-framework-adonet-entity.html' title='Enabling Entity Framework (ADO.NET Entity Data Model) in a SharePoint 2007 web.config file'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4321967476358089241</id><published>2009-03-03T12:21:00.000-08:00</published><updated>2009-09-21T12:22:55.736-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How can you get the thumbnail for an image in your SharePoint picture library?</title><content type='html'>This is much easier than I had imagined. At first I thought I need to do some programming with the SharePoint Object Model APIs. It turned out to be nothing of the sort.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let us assume that you have a photograph located in your picture library named "pictures" at this URL:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.spserver.com/spsite/pictures/joe_smith.jpg"&gt;http://www.spserver.com/spsite/pictures/joe_smith.jpg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The thumbnail for the above picture is located at:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.spserver.com/spsite/pictures/_t/joe_smith_jpg.jpg"&gt;http://www.spserver.com/spsite/pictures/_t/joe_smith_jpg.jpg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see, here's what I did:&lt;br /&gt;&lt;br /&gt;1) tag a directory "_t" to the the URL just before the filename.&lt;br /&gt;&lt;br /&gt;2) tag "_jpg" to the filename just before the extention. This would have been "_gif" if you are dealing with a GIF file.&lt;br /&gt;&lt;br /&gt;Voila, if you point your browser to this tweaked URL you will get your thumbnail.&lt;br /&gt;&lt;br /&gt;You will get a larger image if you use _w instead of _t.&lt;br /&gt;&lt;br /&gt;Painless eh. . .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4321967476358089241?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4321967476358089241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/03/how-can-you-get-thumbnail-for-image-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4321967476358089241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4321967476358089241'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/03/how-can-you-get-thumbnail-for-image-in.html' title='How can you get the thumbnail for an image in your SharePoint picture library?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-396208504673430269</id><published>2009-02-18T12:20:00.000-08:00</published><updated>2009-09-21T12:21:30.842-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><title type='text'>How to use JavaScript to close an IE7 browser window without seeing the confirmation dialog?</title><content type='html'>&amp;lt;a href="javascript: window.open('','_parent','');window.close();"&amp;gt;Close this window!&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-396208504673430269?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/396208504673430269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2009/02/how-to-use-javascript-to-close-ie7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/396208504673430269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/396208504673430269'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2009/02/how-to-use-javascript-to-close-ie7.html' title='How to use JavaScript to close an IE7 browser window without seeing the confirmation dialog?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-852169474599443599</id><published>2008-12-04T12:19:00.000-08:00</published><updated>2009-09-21T12:19:59.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>What is a quick way to get a .NET assembly's PublicKeyToken?</title><content type='html'>The quick and dirty way is to go into the .NET command prompt and type the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;sn -T MyDotNetAssembly.dll&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The above utilizes the strong name utility that comes with the .NET Framework.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-852169474599443599?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/852169474599443599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/12/what-is-quick-way-to-get-net-assemblys.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/852169474599443599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/852169474599443599'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/12/what-is-quick-way-to-get-net-assemblys.html' title='What is a quick way to get a .NET assembly&apos;s PublicKeyToken?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-2176825590660434657</id><published>2008-11-26T12:17:00.000-08:00</published><updated>2009-09-21T12:18:49.061-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Download tracking with WSS 3.0</title><content type='html'>WSS 3.0 does not have a mechanism for tracking who downloads which files with authenticated users. When I got confronted with this task, I decided to create a web user control that reads all the files in a document library and subsequently displays the file names using a series of "LinkButton" controls. I then attached this web user control to a SharePoint WSS 3.0 web page. I decided against using a Hyperlink object in favor of a LinkButton ASP.NET control for the following two reasons:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) With a HyperLink ASP.NET control, users can right-click on the anchor and choose "Save target as" to save the file. This is not desirable because no event is triggered when that happens. On the other hand, a LinkButton control does not produce a right-click popup in a browser leaving the user with no choice but to click on the link.&lt;br /&gt;&lt;br /&gt;2) I needed to put some business logic behind the click event of the LinkButton. The business logic essentially saves statistics along the lines of: timestamp, host address, user ID, and filename.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-2176825590660434657?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/2176825590660434657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/11/download-tracking-with-wss-30.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2176825590660434657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2176825590660434657'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/11/download-tracking-with-wss-30.html' title='Download tracking with WSS 3.0'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5059941207981995563</id><published>2008-10-22T12:16:00.000-07:00</published><updated>2009-09-21T12:17:26.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to programatically delete a SharePoint 2007 field belonging to a list or document library?</title><content type='html'>Here's the code for deleting a field named "phone" in list "myList" on a site with URL http://mysite/:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;&lt;br /&gt;using (SPSite sitecollection = new SPSite("http://mysite/")) {&lt;br /&gt;&lt;br /&gt;using (SPWeb web = sitecollection.OpenWeb()) {&lt;br /&gt;&lt;br /&gt;web.AllowUnsafeUpdates = true;&lt;br /&gt;&lt;br /&gt;// Delete Sharepoint SPField&lt;br /&gt;&lt;br /&gt;web.Lists["myList"].Fields.Delete("phone");&lt;br /&gt;&lt;br /&gt;web.Update();&lt;br /&gt;&lt;br /&gt;Console.WriteLine("Done deleting column");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;} catch (Exception ex) {&lt;br /&gt;&lt;br /&gt;Console.WriteLine(ex.ToString());&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/1773821877020177026-5059941207981995563?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5059941207981995563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/10/how-to-programatically-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5059941207981995563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5059941207981995563'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/10/how-to-programatically-delete.html' title='How to programatically delete a SharePoint 2007 field belonging to a list or document library?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-1504776276806718692</id><published>2008-10-21T12:14:00.000-07:00</published><updated>2009-09-21T12:15:51.939-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How do you break up a long SharePoint 2007 survey?</title><content type='html'>What do you do if you have a long SharePoint 2007 survey and you want to break it up into separate pages such that the user needs to click the "Next" button?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution: &lt;br /&gt;&lt;br /&gt;You must use branching on selected questions for this. All branching items would simply point to the next question. That produces a “Next” button.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-1504776276806718692?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/1504776276806718692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/10/how-do-you-break-up-long-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1504776276806718692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1504776276806718692'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/10/how-do-you-break-up-long-sharepoint.html' title='How do you break up a long SharePoint 2007 survey?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3561734248780838579</id><published>2008-07-24T23:34:00.000-07:00</published><updated>2009-09-20T23:37:27.294-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to use built-in SharePoint 2007 engine to send email?</title><content type='html'>A straightforward way of sending email from within a SharePoint 2007 application is to use the Object Model. Here is some C# code that will do it for you:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;bool isAppendHtmlTag = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;bool isHtmlEncode = false;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;string recipient = "whoever@whatever.com";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;string title = "This is the title";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;string body = "This is the email &amp;lt;strong&amp;gt;body&amp;lt;/strong&amp;gt;";&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Microsoft.SharePoint.Utilities.SPUtility.SendEmail(&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Microsoft.SharePoint.SPContext.Current.Web, &lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;isAppendHtmlTag, &lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;isHtmlEncode,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;recipient,title,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;body);&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3561734248780838579?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3561734248780838579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/how-to-use-built-in-sharepoint-2007.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3561734248780838579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3561734248780838579'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/how-to-use-built-in-sharepoint-2007.html' title='How to use built-in SharePoint 2007 engine to send email?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3751113608184914612</id><published>2008-07-20T23:30:00.000-07:00</published><updated>2009-09-20T23:32:43.469-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.</title><content type='html'>Recently I noticed that many of my ASP.NET applications that work with a SQL Server Express database that resides in the App_Data directory stopped working. The culprit error was &lt;span style="color: red;"&gt;"Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.".&lt;/span&gt; I suspect that a SQL Server update went out that disables user instances. I have not been able to substantiate this suspicion yet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;&lt;br /&gt;The solution is to enable user instances with the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;sp_configure 'user instances enabled','1';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Disable user instances with the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;sp_configure 'user instances enabled','0';&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3751113608184914612?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3751113608184914612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/generating-user-instances-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3751113608184914612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3751113608184914612'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/generating-user-instances-in-sql-server.html' title='Generating user instances in SQL Server is disabled. Use sp_configure &apos;user instances enabled&apos; to generate user instances.'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3627049312790168327</id><published>2008-07-18T23:28:00.000-07:00</published><updated>2009-09-20T23:29:51.653-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><title type='text'>How to change the connection string name in a .NET 3.5 LINQ to SQL class?</title><content type='html'>Here's the scenario: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You developed an application that uses "LINQ to SQL" with a connection string name (say aa-db). In production you want the name to be different (say bb-db). What do you need to do to change the connection string name?&lt;br /&gt;&lt;br /&gt;1) Open the *.dbml file in a text editor.&lt;br /&gt;&lt;br /&gt;2) Change the "SettingsPropertyName=" property to the new name&lt;br /&gt;&lt;br /&gt;3) Open the "*.designer.cs" file that is associated with the LINQ class and change the value of global::System.Configuration.ConfigurationManager.ConnectionStrings[...].&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3627049312790168327?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3627049312790168327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/how-to-change-connection-string-name-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3627049312790168327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3627049312790168327'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/how-to-change-connection-string-name-in.html' title='How to change the connection string name in a .NET 3.5 LINQ to SQL class?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-1915476807080627181</id><published>2008-07-18T23:23:00.000-07:00</published><updated>2009-09-20T23:27:21.953-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to edit group on the SharePoint quicklaunch in WSS 3.0 (and MOSS 2007)?</title><content type='html'>It is always a good idea to lock down SharePoint sites such that users do not see more information than they need to. At the organization where I work, we have a plethora of SharePoint groups. With any new website that gets created, a user with full rights gets to see a list of all the groups by going to "Site Actions / Site Settings / Advanced Permissions". There is always the danger that a user can inadvertently delete or add a user to the wrong group. One simple solution is to remove unneeded groups from the quicklaunch. Here's what you can do:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Click on Site Actions / Site Settings / Advanced Permissions&lt;/li&gt;&lt;li&gt;Click on any group on the quicklaunch under "Groups"&lt;/li&gt;&lt;li&gt;Click on Settings / Edit Group Quick Launch&lt;/li&gt;&lt;li&gt;On the "Edit Group Quick Launch" page, highlight any group and hit the delete key on your keyboard&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-1915476807080627181?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/1915476807080627181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/how-to-edit-group-on-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1915476807080627181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1915476807080627181'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/how-to-edit-group-on-sharepoint.html' title='How to edit group on the SharePoint quicklaunch in WSS 3.0 (and MOSS 2007)?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7950150861586447546</id><published>2008-07-02T23:20:00.000-07:00</published><updated>2009-09-20T23:22:20.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>What is an easy way to find out the internal name of a SharePoint 2007 list column?</title><content type='html'>The internal name of a SharePoint list column can be different from the display name. This could happen if a column name has been renamed to something else. For example, if you rename the "Title" column to, say, "Company Name", the internal name remains as "Title". Also, spaces in the display name are replaced with "_x0020_" in the internal name. The internal name of "Contract_x0020_Type" would be used for display name "Contract Type".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;An easy way to discover the internal name without any programming is:&lt;br /&gt;&lt;br /&gt;- add the column to a view&lt;br /&gt;- click on the column name to sort the view by that column&lt;br /&gt;- check the URL for the "SortField=" parameter value.&lt;br /&gt;&lt;br /&gt;I did this for a column name "Company Name" and got a URL similar to this:&lt;br /&gt;&lt;br /&gt;http://www.domain.com/records/Documents/Forms/AllItems.aspx?&lt;span style="color: red;"&gt;SortField=Company%5fx0020%5fName&amp;amp;&lt;/span&gt;SortDir=Asc&amp;amp;View=%7b0E0FDBDA%2d1BA5%2d4CE1%2dBEE4%2d191B285E1F8A%7d&lt;br /&gt;&lt;br /&gt;The above URL suggests that the internal field for "Compnay Name" is "Company_x0020_Name". &lt;br /&gt;&lt;br /&gt;Note that the URL encoding for the underscore is "%5f".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7950150861586447546?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7950150861586447546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/what-is-easy-way-to-find-out-internal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7950150861586447546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7950150861586447546'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/07/what-is-easy-way-to-find-out-internal.html' title='What is an easy way to find out the internal name of a SharePoint 2007 list column?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-1687599965248521877</id><published>2008-06-15T23:16:00.000-07:00</published><updated>2009-09-20T23:19:33.999-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.netBC User Group'/><title type='text'>.netBC celebrates 5'th birthday and 1500'th member</title><content type='html'>The .netBC user group celebrated it's 5'th birthday on March 3, 2008. Soon after the group had it's 1500'th member when Hai Wang joined on April 5, 2008. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Vice President of .netBC, Brian Pidcock, baked a pie for Hai Wang and presented it to him at our regular meeting on Tuesday May 6, 2008. Here is a picture of both Hai Wai and Brian Pidcock taken by a mobile phone:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_F6pu8wq8Y7Q/Srca4qMUOxI/AAAAAAAAABE/cYnsEgvAO_M/s1600-h/netbc_member_1500.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://4.bp.blogspot.com/_F6pu8wq8Y7Q/Srca4qMUOxI/AAAAAAAAABE/cYnsEgvAO_M/s320/netbc_member_1500.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Unfortunately, our speaker Dana Epp did not show up at that meeting held at BCIT in Burnaby, BC. When I contacted him the next day he said that he forgot about it. In the five years of the existance of our user group we never experienced a no-show by a speaker. I would like to apologize to those who attended for this unfortunate situation. John Bristowe of Microsoft Canada is sending me consolation gifts for those who came to this no-show meeting. These gifts will be delivered during our July 9, 2008 XNA event.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-1687599965248521877?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/1687599965248521877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/06/netbc-celebrates-5th-birthday-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1687599965248521877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1687599965248521877'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/06/netbc-celebrates-5th-birthday-and.html' title='.netBC celebrates 5&apos;th birthday and 1500&apos;th member'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_F6pu8wq8Y7Q/Srca4qMUOxI/AAAAAAAAABE/cYnsEgvAO_M/s72-c/netbc_member_1500.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-2924575623253067989</id><published>2008-05-20T23:13:00.000-07:00</published><updated>2009-09-20T23:16:23.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><title type='text'>How to upgrade SharePoint 2007 web.config file from .NET Framework 3.0 to .NET Framework 3.5 support?</title><content type='html'>In order to take advantage of some of the great features of .NET Framework 3.5 in your SharePoint 2007, you will need to upgrade the web.config file. Some new features are LINQ, AJAX, and new controls like ListView. Here's a step-by-step task list of what needs to be added. Before we go on, make sure that you have installed the .NET Framework version 3.5 on the server. Also, make a backup copy of your SharePoint 2007 web.config file.&lt;br /&gt;&lt;span style="color: orange;"&gt;1) Add the following inside of the &amp;lt;configSections&amp;gt; tag block:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/sectionGroup&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/sectionGroup&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/sectionGroup&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;2) Add the following inside of the &amp;lt;httpHandlers&amp;gt; tag block:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;remove verb="*" path="*.asmx" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;3) Add the following inside of the &amp;lt;httpModules&amp;gt; tag block:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;4) Add the following inside of the &amp;lt;assemblies&amp;gt; tag block:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;5) Add the following inside of the &amp;lt;pages&amp;gt; tag block:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;controls&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/controls&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;6) Add the following right before &amp;lt;/configuration&amp;gt;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;system.codedom&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;compilers&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;providerOption name="CompilerVersion" value="v3.5" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;providerOption name="WarnAsError" value="false" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/compiler&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;providerOption name="CompilerVersion" value="v3.5" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;providerOption name="OptionInfer" value="true" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;providerOption name="WarnAsError" value="false" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/compiler&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/compilers&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/system.codedom&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;system.webServer&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;validation validateIntegratedModeConfiguration="false" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;modules&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;remove name="ScriptModule" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/modules&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;handlers&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;remove name="WebServiceHandlerFactory-Integrated" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;remove name="ScriptHandlerFactory" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;remove name="ScriptHandlerFactoryAppServices" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;remove name="ScriptResource" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/handlers&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/system.webServer&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-2924575623253067989?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/2924575623253067989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/05/how-to-upgrade-sharepoint-2007.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2924575623253067989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2924575623253067989'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/05/how-to-upgrade-sharepoint-2007.html' title='How to upgrade SharePoint 2007 web.config file from .NET Framework 3.0 to .NET Framework 3.5 support?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-811212671720083238</id><published>2008-04-30T23:11:00.000-07:00</published><updated>2009-09-20T23:12:36.513-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to get the whole announcement to show up in SharePoint 2007?</title><content type='html'>&lt;ol&gt;&lt;li&gt; Go into the Announcements section by clicking on the title.&lt;/li&gt;&lt;li&gt;Create a new view based on the existing default. I called mine "All items with Body"&lt;/li&gt;&lt;li&gt;Make sure the 'body' column is checked, and select "Newsletter" under Style.&lt;/li&gt;&lt;li&gt;Go back to your main page, and select 'edit shared web part' for the announcements section you're working on.&lt;/li&gt;&lt;li&gt;Change the view to be the new view you just created and click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-811212671720083238?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/811212671720083238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/04/how-to-get-whole-announcement-to-show.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/811212671720083238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/811212671720083238'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/04/how-to-get-whole-announcement-to-show.html' title='How to get the whole announcement to show up in SharePoint 2007?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-410961660321139805</id><published>2008-04-29T23:07:00.000-07:00</published><updated>2009-09-20T23:10:47.821-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to exclude content in a SharePoint 2007 site from being indexed by the search engine?</title><content type='html'>There are circumstances whereby content in a specific site needs to be excluded from the SharePoint 2007 search engine indexing process. This can be done at a list level and/or a site level. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;List level:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Settings / List Settings&lt;/li&gt;&lt;li&gt;Click on "Advanced Settings"&lt;/li&gt;&lt;li&gt;At the very botton under "Search" set "Allow items from this list to appear in search results?" to "No"&lt;/li&gt;&lt;li&gt;Click "OK" button&lt;/li&gt;&lt;/ul&gt;Site level:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Site Actions / Site Settings&lt;/li&gt;&lt;li&gt;under "Site Administration" click on "Search visibility"&lt;/li&gt;&lt;li&gt;set "Allow this web to appear in search results?" to "No"&lt;/li&gt;&lt;li&gt;Also choose "Never index any ASPX pages on this site" radio button&lt;/li&gt;&lt;li&gt;Click "OK" button&lt;/li&gt;&lt;/ul&gt;Remember to reindex search results in central administration so that these new rules immediately take effect. One way to do this is as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;On the SharePoint server, get into the "Central Administration" web application&lt;/li&gt;&lt;li&gt;Click on the "Shared Services Administration" link on the left-hand-side&lt;/li&gt;&lt;li&gt;Select "Open Shared Services Admin Site" from the dropdownlist of the default SSP site&lt;/li&gt;&lt;li&gt;Click on "Search settings" link under "Search"&lt;/li&gt;&lt;li&gt;Click on the link beside "Content sources:"&lt;/li&gt;&lt;li&gt;Select "Start Full Crawl" from the dropdownlist of the content source&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-410961660321139805?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/410961660321139805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/04/how-to-exclude-content-in-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/410961660321139805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/410961660321139805'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/04/how-to-exclude-content-in-sharepoint.html' title='How to exclude content in a SharePoint 2007 site from being indexed by the search engine?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5660061439688994358</id><published>2008-04-26T23:03:00.000-07:00</published><updated>2009-09-20T23:07:08.135-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>DevTeach &amp; SQLTeach 2008 conference in Toronto</title><content type='html'>We are only two weeks away from this premier Canadaian technology conference which will be held in Toronto from May 12, 2008 to May 15, 2008. If you are a computer techie living on the eastern part of our North American continent, you must seriously consider attending this conferernce. It is well worth your time and money. There are some real well known heavy weight speakers who will be presenting. Check out the list at http://www.devteach.com. And if that is not enough to convince you, here are yet more reasons to be there:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Keynote by Scott Hanselman, Microsoft&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Scott Hanselman&lt;/strong&gt; is one of the most prolific, renowned and respected blogger (http://www.hanselman.com) and podcaster (http://www.hanselminutes.com) about technologies. Scott is a hands-on thinker, a renowned speaker and writer. He has written a few books, most recently with Bill Evjen and Devin Rader on Professional ASP.NET. In July 2007, he joined Microsoft as a Senior Program Manager in the Developer Division. In his new role he'll continue to explore and explain a broad portfolio of technologies, both inside and outside Microsoft. He aims to spread the good word about developing software, most often on the Microsoft stack. Before this he was the Chief Architect at Corillian Corporation, now a part of Checkfree, for 6+ years and before that he was a Principal Consultant at STEP Technology for nearly 7 years.&lt;br /&gt;&lt;br /&gt;http://www.devteach.com/keynote.aspx&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Silverlight 2.0 workshop&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For the first time an independent conference is having a workshop on Building Business Applications with Silverlight 2.0. Join Rod Paddock and Jim Duffy as they give you a head start down the road to developing business-oriented Rich Internet Applications (RIA) with Microsoft Silverlight 2.0. In case you just crawled out from under a rock, Microsoft Silverlight 2.0 is a cross-browser, cross-platform, and cross-device plug-in positioned to revolutionize the way next generation Rich Internet Applications are developed. Microsoft’s commitment to providing an extensive platform for developers and designers to collaborate on creating the next generation of RIAs is very clear and its name is Silverlight 2.0. In this intensive, full-day workshop, Rod and Jim will share their insight and experience building business applications with Silverlight 2.0 including a review of some of the Internet’s more visible Silverlight web applications. This workshop is happening on Friday May 16 at the Hilton Toronto.&lt;br /&gt;&lt;br /&gt;http://www.devteach.com/PostConference.aspx#PreSP&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Bonus session: .NET Rock host a panel May 14th at 18:00&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This year the bonus session (Wednesday May 14 at 18:00) will be a panel of speakers debating the Future of .NET. Where is .NET going? How will new development influence .NET and be influenced by .NET? Join Carl Franklin and Richard Campbell from .NET Rocks as they moderate a discussion on the future directions of .NET. The panellists include individuals who have strong visions of the future of software development and the role that .NET can play in that future. Attend this session and bring your questions to get some insight into the potential future of .NET! This bonus session is free for everyone. Panelists are: Ted Neward,Oren Eini ,Scott Bellware&lt;br /&gt;&lt;br /&gt;http://www.devteach.com/BonusSession.aspx&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Party with Palermo, DevTeach Toronto Edition&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Jeffrey Palermo&lt;/strong&gt; (MVP) is hosting Monday May 12th in Toronto is acclaimed "Party with Palermo". This is the official social event kicking off DevTeach Toronto. The event is not just for the attendees of Toronto it’s a free event for everyone. It’s a unique chance for the attendees, speakers and locals to meet and talk with a free beer. The event will be held at the Menage club location and you need to RSVP to attend. Get all the details at this link: &lt;br /&gt;&lt;br /&gt;http://www.partywithpalermo.com/&lt;br /&gt;&lt;br /&gt;My presentations at this conference are:&lt;br /&gt;&lt;br /&gt;Wed May 14, 2008 8:00 AM, SharePoint 101, Room:&amp;nbsp;Lismer &lt;br /&gt;&lt;br /&gt;Wed May 14, 2008 11:00 AM, Web parts for SharePoint 2007, Room:&amp;nbsp;Lismer &lt;br /&gt;&lt;br /&gt;Thu May 15, 2008 3:00 PM, SharePoint 2007 Advanced Development, Room:&amp;nbsp;Lismer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5660061439688994358?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5660061439688994358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/04/devteach-sqlteach-2008-conference-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5660061439688994358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5660061439688994358'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/04/devteach-sqlteach-2008-conference-in.html' title='DevTeach &amp; SQLTeach 2008 conference in Toronto'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7922931012437231115</id><published>2008-02-29T22:59:00.000-08:00</published><updated>2009-09-20T23:03:10.605-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to hide View: menu on the right-hand-side of the SharePoint 2007 toolbar?</title><content type='html'>&lt;ul&gt;&lt;li&gt;Display the view in a browser &lt;/li&gt;&lt;li&gt;Open the source in an editor. This is done by "right-click / view source" in IE &lt;/li&gt;&lt;li&gt;Search for "ms-listheaderlabel". It will land on a &amp;lt;td&amp;gt; tag. &lt;/li&gt;&lt;li&gt;Right under that &amp;lt;td&amp;gt; tag you will find another &amp;lt;td&amp;gt; tag with an ID like: ctl00_m_g_672c28cb_9a7b_4898_a26c_22eefe71074d_ctl00_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_onetViewSelector &lt;/li&gt;&lt;li&gt;Copy the ID into the clipboard. &lt;/li&gt;&lt;li&gt;Create a style in an editor as follows and use the ID that you copied into the clipboard:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;&amp;lt;style type="text/css"&amp;gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;#ctl00_m_g_672c28cb_9a7b_4898_a26c_22eefe71074d_ctl00_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_onetViewSelector{&lt;br /&gt;&lt;br /&gt;&lt;div&gt;visibility:hidden;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;.ms-listheaderlabel {&lt;/div&gt;&lt;br /&gt;&lt;div&gt;visibility:hidden;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&amp;lt;/style&amp;gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Click on "Site Actions / Edit Page" &lt;/li&gt;&lt;li&gt;Add "Content Editor Web Part" to the page. &lt;/li&gt;&lt;li&gt;Cick on "open the tool pane" &lt;/li&gt;&lt;li&gt;Click on the "Source Editor ..." button on the far right-hand-side of the page &lt;/li&gt;&lt;li&gt;Copy and paste the &amp;lt;script ...&amp;gt; code from your editor into the "Text Entry -- Webpage Dialog" &lt;/li&gt;&lt;li&gt;Click "Save" button &lt;/li&gt;&lt;li&gt;Click "OK" button &lt;/li&gt;&lt;li&gt;Click "Exit Edit Mode" link.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7922931012437231115?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7922931012437231115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/02/how-to-hide-view-menu-on-right-hand.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7922931012437231115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7922931012437231115'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/02/how-to-hide-view-menu-on-right-hand.html' title='How to hide View: menu on the right-hand-side of the SharePoint 2007 toolbar?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-6491798873851169862</id><published>2008-02-19T21:43:00.000-08:00</published><updated>2009-09-20T21:44:59.998-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>DevTeach 2008 Toronto</title><content type='html'>Yes. I will be delivering three talks on SharePoint at the DevTeach 2008 conference in Toronto May 12-16 2008. I am thrilled to be invited once again after DevTeach Vancouver in November 2007. Check out the conference at &lt;a href="http://www.devteach.com/"&gt;http://www.devteach.com/&lt;/a&gt;.&lt;br /&gt;My presentations are:&lt;br /&gt;&lt;br /&gt;SharePoint 101&lt;br /&gt;&lt;br /&gt;SharePoint 2007 Advanced Development&lt;br /&gt;&lt;br /&gt;WebParts for SharePoint 2007&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-6491798873851169862?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/6491798873851169862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/02/devteach-2008-toronto.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6491798873851169862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6491798873851169862'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/02/devteach-2008-toronto.html' title='DevTeach 2008 Toronto'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-8689451062056316135</id><published>2008-02-13T21:41:00.000-08:00</published><updated>2009-09-20T21:43:07.536-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to enable session state in SharePoint WSS 3.0?</title><content type='html'>Before you can use sessions you first have to enable the session state module in the web.config file in a WSS 3.0 sharepoint site. Just uncomment the following line:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #274e13;"&gt;&amp;lt;!—&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13;"&gt;&amp;lt;add name="Session" type="System.Web.SessionState.SessionStateModule"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13;"&gt;--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After that you can use the session object like you'll normally do with any ASP.NET web applications.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-8689451062056316135?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/8689451062056316135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/02/how-to-enable-session-state-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8689451062056316135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8689451062056316135'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/02/how-to-enable-session-state-in.html' title='How to enable session state in SharePoint WSS 3.0?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-1169674428575272162</id><published>2008-01-13T21:39:00.000-08:00</published><updated>2009-09-20T21:40:50.468-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><title type='text'>How can a web page go to the bottom end as soon as it is loaded?</title><content type='html'>I needed to get a loaded web page to scroll down to the bottom of a long page. I was able to make that happen using some basic JavaScript. Here's my solution:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Place the following HTML at the page loaction where you want to go to automatically:&lt;br /&gt;&lt;br /&gt;&amp;lt;a id="bottom" name="bottom"&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;2) Add the following ASP.NET code that triggers some very basic JavaScript:&lt;br /&gt;&lt;br /&gt;StringBuilder sb = new StringBuilder();&lt;br /&gt;&lt;br /&gt;sb.Append("&amp;lt;script language='javascript' &amp;gt;");&lt;br /&gt;&lt;br /&gt;sb.Append("window.location.href = '#bottom';");&lt;br /&gt;&lt;br /&gt;sb.Append("&amp;lt;/script&amp;gt;");&lt;br /&gt;&lt;br /&gt;ClientScript.RegisterStartupScript(typeof(Page), "Focus", sb.ToString());&lt;br /&gt;&lt;br /&gt;Although thic technique pertains to ASP.NET 2.0, it really can be implemented in any other server-side technology.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-1169674428575272162?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/1169674428575272162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/01/how-can-web-page-go-to-bottom-end-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1169674428575272162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/1169674428575272162'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/01/how-can-web-page-go-to-bottom-end-as.html' title='How can a web page go to the bottom end as soon as it is loaded?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7981925646535255635</id><published>2008-01-03T21:32:00.000-08:00</published><updated>2009-09-20T21:38:05.597-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Unable to delete or customize a choice field in WSS 3.0</title><content type='html'>I needed to customize the HelpDesk template that is freely downloadable from Microsoft. I discovered that it is not possible to add any choice items or even delete the column. Here's what I experienced when I clicked on:&lt;br /&gt;Service Requests ==&amp;gt; Site Settings ==&amp;gt; List Settings ==&amp;gt; Status&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_F6pu8wq8Y7Q/SrcC0waAAaI/AAAAAAAAAA0/S_4zqOMp9P4/s1600-h/service_requests_status_sealed.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://1.bp.blogspot.com/_F6pu8wq8Y7Q/SrcC0waAAaI/AAAAAAAAAA0/S_4zqOMp9P4/s320/service_requests_status_sealed.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;You will notice that the "Delete" button is missing and no choice items can be changed.&lt;br /&gt;I discovered that the choice field is sealed in the feature template itself.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;1) Open the schema.xml file located in the SharePoint 2007 12-hives directory at: &lt;br /&gt;&lt;br /&gt;%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\HelpDeskServiceRequestsList\servicerequest&lt;br /&gt;&lt;br /&gt;2) Search for the Status field.&lt;br /&gt;&lt;br /&gt;&amp;lt;Field ID="{75AF1E7D-39F1-45db-908A-B7AD3F26531A}"&lt;br /&gt;&lt;br /&gt;Type="Choice"&lt;br /&gt;&lt;br /&gt;Name="Status"&lt;br /&gt;&lt;br /&gt;DisplayName="$Resources:hlpdsk,SRStatus;"&lt;br /&gt;&lt;br /&gt;StaticName="Status"&lt;br /&gt;&lt;br /&gt;Required="TRUE"&lt;br /&gt;&lt;br /&gt;Sealed="TRUE"&lt;br /&gt;&lt;br /&gt;Format="Dropdown"&lt;br /&gt;&lt;br /&gt;FillInChoice="FALSE"&lt;br /&gt;&lt;br /&gt;SourceID="http://schemas.microsoft.com/sharepoint/v3"&lt;br /&gt;&lt;br /&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Default&amp;gt;$Resources:hlpdsk,SRStatus_Choice1;&amp;lt;/Default&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;CHOICES&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;CHOICE&amp;gt;$Resources:hlpdsk,SRStatus_Choice1;&amp;lt;/CHOICE&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;CHOICE&amp;gt;$Resources:hlpdsk,SRStatus_Choice2;&amp;lt;/CHOICE&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;CHOICE&amp;gt;$Resources:hlpdsk,SRStatus_Choice3;&amp;lt;/CHOICE&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;CHOICE&amp;gt;$Resources:hlpdsk,SRStatus_Choice4;&amp;lt;/CHOICE&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/CHOICES&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&lt;br /&gt;3) Change the Sealed attribute value from TRUE to FALSE&lt;br /&gt;&lt;br /&gt;4) Save the schema.xml file&lt;br /&gt;&lt;br /&gt;5) Restart IIS&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_F6pu8wq8Y7Q/SrcDArK2lqI/AAAAAAAAAA8/9fR_Ou4WbhY/s1600-h/service_requests_status_unsealed.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://2.bp.blogspot.com/_F6pu8wq8Y7Q/SrcDArK2lqI/AAAAAAAAAA8/9fR_Ou4WbhY/s320/service_requests_status_unsealed.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7981925646535255635?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7981925646535255635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2008/01/unable-to-delete-or-customize-choice.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7981925646535255635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7981925646535255635'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2008/01/unable-to-delete-or-customize-choice.html' title='Unable to delete or customize a choice field in WSS 3.0'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_F6pu8wq8Y7Q/SrcC0waAAaI/AAAAAAAAAA0/S_4zqOMp9P4/s72-c/service_requests_status_sealed.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7605594496663446827</id><published>2007-12-28T21:30:00.000-08:00</published><updated>2009-09-20T21:31:48.521-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>Presentation on SharePoint WebParts to Bellingham .NET Users Group</title><content type='html'>Andrew Robinson, the president of the Bellingham .NET Users Group, invited me to give a talk to his group. I will be giving them a talk on "WebParts for SharePoint 2007" on Wednesday January 8, 2007 starting at 6:00 PM. Bellingham is the most visited city accross the border for British Columbians and I look forward to forging closer ties between .netBC and the Bellingham .NET Users Groups.&lt;br /&gt;Here is the extract of my talk:&lt;br /&gt;WebParts for SharePoint 2007&lt;br /&gt;&lt;br /&gt;WebParts provide the fundamental building blocks for creating custom applications for SharePoint. This session will show you how to efficiently and quickly use your ASP.NET 2.0 and C# skills to develop WebParts for deployment into SharePoint 2007. Most of the development, testing and debugging will be done in Visual Studio .NET 2007. We shall then deploy the WebPart as a feature into Windows SharePoint Services 3.0 (WSS 3.0). We will also look at WebPart communication and modifying WebPart verb menus. &lt;br /&gt;&lt;br /&gt;Wednesday January 9, 2008&lt;br /&gt;&lt;br /&gt;The files that make up my presentation can be downloaded from here.&lt;br /&gt;&lt;br /&gt;Thursday January 10, 2008&lt;br /&gt;&lt;br /&gt;I had an enjoyable time at Bellingham. There were 13 people in attendance. Pizza was great and I was glad that they serve water instead of the dreaded pop.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7605594496663446827?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7605594496663446827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/12/presentation-on-sharepoint-webparts-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7605594496663446827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7605594496663446827'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/12/presentation-on-sharepoint-webparts-to.html' title='Presentation on SharePoint WebParts to Bellingham .NET Users Group'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4659516051162926050</id><published>2007-12-19T21:23:00.000-08:00</published><updated>2009-09-20T21:29:07.541-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Move SharePoint 2007 paging control from the right to the left of the action bar.</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_F6pu8wq8Y7Q/Srb_9cJ9L5I/AAAAAAAAAAk/pCRjEKnrDiA/s1600-h/paging_default.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://3.bp.blogspot.com/_F6pu8wq8Y7Q/Srb_9cJ9L5I/AAAAAAAAAAk/pCRjEKnrDiA/s320/paging_default.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;A user at my workplace has a view that is horizontally very wide. It drives him nuts to have to scroll all the way to the extreme right of the page in order to find the paging control. He pleaded with me to find a way to move this control to the left side of the action bar. After many hours of research, here's what I found:&lt;br /&gt;&lt;br /&gt;The default layout of the action bar is defined in a user control file named DefaultTemplates.ascx found in the TEMPLATE\CONTROL TEMPLATES directory of your 12-hives&lt;br /&gt;&lt;br /&gt;The default layout can be alterted for a particular type of list be over-riding the "ViewToolBar" for that list.&lt;br /&gt;&lt;br /&gt;This is best done by working on a copy of DefaultTemplates.ascx &lt;br /&gt;&lt;br /&gt;I moved the paging control for the DocumentLibraryViewToolBar to the left-hand-side by doing the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;copy DefaultTemplates.ascx to PagingLeftOnDocLibrary.ascx (or any other name you fancy).&lt;br /&gt;&lt;br /&gt;open PagingLeftOnDocLibrary.ascx in a text editor&lt;br /&gt;&lt;br /&gt;search for DocumentLibraryViewToolBar. Your editor should find this line: &amp;lt;SharePoint:RenderingTemplate ID="DocumentLibraryViewToolBar" runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;delete all &amp;lt;SharePoint:RenderingTemplate&amp;gt;.. &amp;lt;/SharePoint:RenderingTemplate&amp;gt; sections before and after the section that you have just found. In other words retain the section &amp;lt;SharePoint:RenderingTemplate ID="DocumentLibraryViewToolBar" runat="server"&amp;gt; .. &amp;lt;/SharePoint:RenderingTemplate&amp;gt; and delete all other sections&lt;br /&gt;&lt;br /&gt;You will be left with only the following:&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Control Language="C#" AutoEventWireup="false" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@Register TagPrefix="SharePoint" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.WebControls"%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@Register TagPrefix="SPHttpUtility" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.Utilities"%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="~/_controltemplates/ToolBarButton.ascx" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:RenderingTemplate ID="DocumentLibraryViewToolBar" runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Template&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;wssuc:ToolBar &lt;br /&gt;&lt;br /&gt;CssClass="ms-menutoolbar" &lt;br /&gt;&lt;br /&gt;EnableViewState="false" &lt;br /&gt;&lt;br /&gt;id="toolBarTbl" &lt;br /&gt;&lt;br /&gt;ButtonSeparator="&amp;lt;img src='/_layouts/images/blank.gif' &lt;br /&gt;&lt;br /&gt;alt=''&amp;gt;" RightButtonSeparator="&amp;nbsp;&amp;nbsp;" &lt;br /&gt;&lt;br /&gt;runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Template_Buttons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:NewMenu AccessKey="&amp;lt;%$Resources:wss,tb_NewMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:UploadMenu AccessKey="&amp;lt;%$Resources:wss,tb_UploadMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:ActionsMenu AccessKey="&amp;lt;%$Resources:wss,tb_ActionsMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:SettingsMenu AccessKey="&amp;lt;%$Resources:wss,tb_SettingsMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Template_Buttons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Template_RightButtons&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&amp;lt;SharePoint:PagingButton runat="server"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:ListViewSelector runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Template_RightButtons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/wssuc:ToolBar&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Template&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/SharePoint:RenderingTemplate&amp;gt;&lt;br /&gt;&lt;br /&gt;The PagingButton section (shown in &lt;span style="color: red;"&gt;red&lt;/span&gt; above) needs to be moved to the Template_Buttons section. I simply cut &amp;lt;SharePoint:PagingButton runat="server"/&amp;gt; and pasted it right before &amp;lt;/Template_Buttons&amp;gt;&lt;br /&gt;&lt;br /&gt;If you restart IIS (IISRESET from the command line) you should see the paging control on the left-hand-side of the document library action bar as shown below.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_F6pu8wq8Y7Q/SrcARLEb1AI/AAAAAAAAAAs/JBRtF-F92dY/s1600-h/paging_moved_to_the_left.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://1.bp.blogspot.com/_F6pu8wq8Y7Q/SrcARLEb1AI/AAAAAAAAAAs/JBRtF-F92dY/s320/paging_moved_to_the_left.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The final version of my PagingLeftOnDocLibrary.ascx is:&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Control Language="C#" AutoEventWireup="false" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@Register TagPrefix="SharePoint" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.WebControls"%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@Register TagPrefix="SPHttpUtility" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.Utilities"%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="~/_controltemplates/ToolBarButton.ascx" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:RenderingTemplate ID="DocumentLibraryViewToolBar" runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Template&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;wssuc:ToolBar &lt;br /&gt;&lt;br /&gt;CssClass="ms-menutoolbar" &lt;br /&gt;&lt;br /&gt;EnableViewState="false" &lt;br /&gt;&lt;br /&gt;id="toolBarTbl" &lt;br /&gt;&lt;br /&gt;ButtonSeparator="&amp;lt;img src='/_layouts/images/blank.gif' &lt;br /&gt;&lt;br /&gt;alt=''&amp;gt;" RightButtonSeparator="&amp;nbsp;&amp;nbsp;" &lt;br /&gt;&lt;br /&gt;runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Template_Buttons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:NewMenu AccessKey="&amp;lt;%$Resources:wss,tb_NewMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:UploadMenu AccessKey="&amp;lt;%$Resources:wss,tb_UploadMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:ActionsMenu AccessKey="&amp;lt;%$Resources:wss,tb_ActionsMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:SettingsMenu AccessKey="&amp;lt;%$Resources:wss,tb_SettingsMenu_AK%&amp;gt;" runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&amp;lt;SharePoint:PagingButton runat="server"/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Template_Buttons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Template_RightButtons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:ListViewSelector runat="server"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Template_RightButtons&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/wssuc:ToolBar&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/Template&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/SharePoint:RenderingTemplate&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4659516051162926050?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4659516051162926050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/12/move-sharepoint-2007-paging-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4659516051162926050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4659516051162926050'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/12/move-sharepoint-2007-paging-control.html' title='Move SharePoint 2007 paging control from the right to the left of the action bar.'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_F6pu8wq8Y7Q/Srb_9cJ9L5I/AAAAAAAAAAk/pCRjEKnrDiA/s72-c/paging_default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-8421492232500235295</id><published>2007-11-30T21:21:00.000-08:00</published><updated>2009-09-20T21:22:20.989-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>DevTeach &amp; SqlTeach conference held in Vancouver from 26nov07 to 30nov07</title><content type='html'>The highlight for me was the open ended bar night named "Party with Palermo" held on Monday night (26nov07) at the Steamworks brewery. It was a blast and happiness was being propelled by the alcohol level flowing through our veins. Unfortunately, I left early around 9:45 PM because I had to teach at BCIT very early the next morning. I know of a few who were there until midnight. Thanks Jeffrey Palermo.&lt;br /&gt;The other highlight was the Mad Mexican's second appearance at DevTeach. He barged into Beth Massi's presentation to emphasize how great she is. Check out this blog entry.&lt;br /&gt;I spoke on Wednesday 28nov07 on the topic of "SharePoint 2007 Advanced Development". Attendance was about 40 people. All went well except for the last part involving installation of the SharePoint workflow. After the simple workflow was deployed and activated it did not work. I did not bother trouble-shooting the problem because I was already about 15 minutes overtime. However, I later discovered that I had failed to set one of the dreaded GUIDs in the Manifest.XML. Oh well, as the saying goes "Shit Happens".&lt;br /&gt;All in all it was a lot of fun and I am very happy for Jean-Rene that his first-time conference in Vancouver was indeed a success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-8421492232500235295?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/8421492232500235295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/11/devteach-sqlteach-conference-held-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8421492232500235295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8421492232500235295'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/11/devteach-sqlteach-conference-held-in.html' title='DevTeach &amp; SqlTeach conference held in Vancouver from 26nov07 to 30nov07'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-3575953973959280596</id><published>2007-11-24T21:19:00.000-08:00</published><updated>2009-09-20T21:20:33.897-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How do I enable more detailed error messages in SharePoint 2007 for debugging purposes?</title><content type='html'>The error messages generated by SharePoint 2007 are not very useful. If you are doing some serious development work in SharePoint you will need to temporarily enable error messages. This is done by making the following changes to your web.config file:&lt;br /&gt;1) Change the "CallStack" attribute in the &amp;lt;SafeMode&amp;gt; element from "false" to "true".&lt;br /&gt;&amp;lt;SafeMode MaxControls="200" CallStack="true" &lt;br /&gt;&lt;br /&gt;DirectFileDependencies="10" &lt;br /&gt;&lt;br /&gt;TotalFileDependencies="50" &lt;br /&gt;&lt;br /&gt;AllowPageLevelTrace="false"&amp;gt;&lt;br /&gt;&lt;br /&gt;2) Change the "mode" attribute in the &amp;lt;customErrors&amp;gt; element from "On" to "Off".&lt;br /&gt;&amp;lt;customErrors mode="Off" /&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-3575953973959280596?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/3575953973959280596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/11/how-do-i-enable-more-detailed-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3575953973959280596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/3575953973959280596'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/11/how-do-i-enable-more-detailed-error.html' title='How do I enable more detailed error messages in SharePoint 2007 for debugging purposes?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-7403620752229868072</id><published>2007-10-30T21:06:00.000-07:00</published><updated>2009-09-20T21:17:49.109-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Simulate Parent / Child relationship in SharePoint 2007 with Folders &amp; Content Types</title><content type='html'>One can create Parent / Child (A.K.A. Master / Detail) relationships in SharePoint 2007 by using lookups to reference a parent list from a child list. I will discuss another way of creating a Parent / Child relationship by adding a content type inside a folder.&lt;br /&gt;We will create a parent / child relationship between company and employees. Here are our sample entities:&lt;br /&gt;&lt;br /&gt;Company Parent (CompanyId, CompanyName)&lt;br /&gt;&lt;br /&gt;Employee Child (Name, EmployeeId, Branch)&lt;br /&gt;The strategy will be to make the "Company Parent" entity a folder which contains "Employee Child" items. To accomplish this we will create two new content types for each entity.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The "Company Parent" content type:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1) Site Actions ==&amp;gt; Site Settings ==&amp;gt; Site Content Types&lt;br /&gt;2) Create&lt;br /&gt;&lt;br /&gt;• Name: Company Parent&lt;br /&gt;&lt;br /&gt;• Select parent content type from: Folder Content Types&lt;br /&gt;&lt;br /&gt;• Parent Content Type: Folder&lt;br /&gt;&lt;br /&gt;• Existing group: Custom Content Types&lt;br /&gt;&lt;br /&gt;• Click OK&lt;br /&gt;3) Click on "Add from new site column" on the "Site Content Type: …" page under column.&lt;br /&gt;• Column name: CompanyId of type Number&lt;br /&gt;&lt;br /&gt;• Click OK&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_F6pu8wq8Y7Q/Srb89IHV6sI/AAAAAAAAAAM/blPv3P2-8TM/s1600-h/ParentCompanyContentType.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://2.bp.blogspot.com/_F6pu8wq8Y7Q/Srb89IHV6sI/AAAAAAAAAAM/blPv3P2-8TM/s320/ParentCompanyContentType.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;NOTE: We will reuse the "Title" field to be the CompanyName.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The "Employee Child" content type:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;1) Site Actions ==&amp;gt; Site Settings ==&amp;gt; Site Content Types&lt;br /&gt;&lt;br /&gt;2) Create&lt;br /&gt;• Name: Employee Child&lt;br /&gt;&lt;br /&gt;• Select parent content type from: List Content Types&lt;br /&gt;&lt;br /&gt;• Parent Content Type: Item&lt;br /&gt;&lt;br /&gt;• Existing group: Custom Content Types&lt;br /&gt;&lt;br /&gt;• Click OK&lt;br /&gt;3) Click on "Add from new site column" on the "Site Content Type: …" page under column.&lt;br /&gt;• Column name: EmployeeId of type Number&lt;br /&gt;&lt;br /&gt;• Click OK&lt;br /&gt;4) Click on "Add from new site column" on the "Site Content Type: …" page under column.&lt;br /&gt;&lt;br /&gt;• Column name: Branch of type "Single line of text"&lt;br /&gt;&lt;br /&gt;• Click OK&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/_F6pu8wq8Y7Q/Srb9Z5IVlmI/AAAAAAAAAAU/OTZPAOkdJP0/s1600-h/EmployeeChildContentType.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://1.bp.blogspot.com/_F6pu8wq8Y7Q/Srb9Z5IVlmI/AAAAAAAAAAU/OTZPAOkdJP0/s320/EmployeeChildContentType.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;NOTE: We will reuse the "Title" field to be the EmployeeName.&lt;br /&gt;Now we can go about our normal business of creating a custom list and using our two newly created content types "Company Parent" and "Employee Child".&lt;br /&gt;1) Site Settings ==&amp;gt; Create&lt;br /&gt;&lt;br /&gt;2) Click on "Custom List" under the "Custom Lists" column.&lt;br /&gt;• Name: CompanyEmployees&lt;br /&gt;&lt;br /&gt;• Click OK&lt;br /&gt;3) Settings ==-&amp;gt; List Settings&lt;br /&gt;&lt;br /&gt;4) Click on "Advanced Settings" under the "General Settings" column&lt;br /&gt;&lt;br /&gt;5) At the very top, change Allow management of content types?" to Yes.&lt;br /&gt;&lt;br /&gt;6) Click on OK&lt;br /&gt;&lt;br /&gt;7) Under "Content Types" click on "Add from existing site content types".&lt;br /&gt;&lt;br /&gt;8) On the "Add Content Types:" page&lt;br /&gt;• Select site content types from: Custom Content Types&lt;br /&gt;&lt;br /&gt;• Add "Company Parent" and "Employee Child" content types.&lt;br /&gt;&lt;br /&gt;• Click on OK &lt;br /&gt;Let’s add some dummy data.&lt;br /&gt;&lt;br /&gt;1. Click on the "CompanyEmployees" list&lt;br /&gt;&lt;br /&gt;2. Click on the little arrow beside New. You should see this:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_F6pu8wq8Y7Q/Srb9zk0sbKI/AAAAAAAAAAc/qT41WVANf-Y/s1600-h/NewCompanyEmployees.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://3.bp.blogspot.com/_F6pu8wq8Y7Q/Srb9zk0sbKI/AAAAAAAAAAc/qT41WVANf-Y/s320/NewCompanyEmployees.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;3. Select "Company Parent"&lt;br /&gt;&lt;br /&gt;4. Add the following bogus company data:&lt;br /&gt;• Name: ACME Corporation; CompanyId: 123&lt;br /&gt;&lt;br /&gt;• Name: Bogus Enterprises: CompanyId: 456&lt;br /&gt;5. Add bogus company employees to "ACME Corporation"&lt;br /&gt;• Click on "ACME Corporation". This causes the folder to open. &lt;br /&gt;&lt;br /&gt;• Add the following employees to the ACME Corporation by clicking on New ==-&amp;gt; Employee Child: &lt;br /&gt;&lt;br /&gt;• Title: Jane Doe; EmployeeId: 111; Branch: Downtown&lt;br /&gt;&lt;br /&gt;• Title: James White; EmployeeId: 222; Branch: Airport&lt;br /&gt;&lt;br /&gt;• Click on "Bogus Enterprises". This causes the folder to open. &lt;br /&gt;&lt;br /&gt;• Add the following employees to Bogus Enterprises by clicking on New ==-&amp;gt; Employee Child: &lt;br /&gt;&lt;br /&gt;• Title: Judy Black; EmployeeId: 333; Branch: Main Street&lt;br /&gt;&lt;br /&gt;• Title: Brandon Wiley; EmployeeId: 333; Branch: Riverside&lt;br /&gt;&lt;br /&gt;• Add another employee to ACME: &lt;br /&gt;&lt;br /&gt;This concludes configuration and data entry. Let us now use the SharePoint 2007 Object Model to get at this data.&lt;br /&gt;using System;&lt;br /&gt;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;using Microsoft.SharePoint;&lt;br /&gt;&lt;br /&gt;public class CompanyEmployees {&lt;br /&gt;&lt;br /&gt;static void Main(string[] args) {&lt;br /&gt;&lt;br /&gt;SPSite site = new SPSite("http://srvr/");&lt;br /&gt;&lt;br /&gt;SPWeb web = site.AllWebs["/"];&lt;br /&gt;&lt;br /&gt;SPList list = web.Lists["CompanyEmployees"];&lt;br /&gt;&lt;br /&gt;foreach (SPListItem order in list.Folders) {&lt;br /&gt;&lt;br /&gt;Console.WriteLine("Company ID : {0}", order["CompanyId"]);&lt;br /&gt;&lt;br /&gt;Console.WriteLine("Company Name : {0}", order["Title"]);&lt;br /&gt;&lt;br /&gt;SPQuery empItemsQuery = new SPQuery();&lt;br /&gt;&lt;br /&gt;empItemsQuery.Folder = order.Folder;&lt;br /&gt;&lt;br /&gt;SPListItemCollection empItems = list.GetItems(empItemsQuery);&lt;br /&gt;&lt;br /&gt;foreach (SPListItem empItem in empItems) {&lt;br /&gt;&lt;br /&gt;Console.WriteLine("\tEmployee ID {0}: {1} {2}",&lt;br /&gt;&lt;br /&gt;empItem["EmployeeId"],&lt;br /&gt;&lt;br /&gt;empItem["Title"],&lt;br /&gt;&lt;br /&gt;empItem["Branch"]);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The above application will produce the following result:&lt;br /&gt;Company ID : 123&lt;br /&gt;&lt;br /&gt;Company Name : ACME Corporation&lt;br /&gt;&lt;br /&gt;Employee ID 111: Jane Doe Downtown&lt;br /&gt;&lt;br /&gt;Employee ID 222: James White Airport&lt;br /&gt;&lt;br /&gt;Company ID : 456&lt;br /&gt;&lt;br /&gt;Company Name : Bogus Enterprises&lt;br /&gt;&lt;br /&gt;Employee ID 333: Judy Black Main Street&lt;br /&gt;&lt;br /&gt;Employee ID 444: Brandon Wiley Riverside&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-7403620752229868072?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/7403620752229868072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/simulate-parent-child-relationship-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7403620752229868072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/7403620752229868072'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/simulate-parent-child-relationship-in.html' title='Simulate Parent / Child relationship in SharePoint 2007 with Folders &amp; Content Types'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_F6pu8wq8Y7Q/Srb89IHV6sI/AAAAAAAAAAM/blPv3P2-8TM/s72-c/ParentCompanyContentType.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-211851148730578616</id><published>2007-10-27T21:03:00.000-07:00</published><updated>2009-09-20T21:05:40.358-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BCIT'/><title type='text'>COMP-1536 &amp; ACIT-1620 Fall 2007 week 09</title><content type='html'>Medhat Elmasry will be away attending a training course in downtown Vancouver. Here are some important notes on week 09: &lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style="font-size: large;"&gt;Notes for COMP-1536 students&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Jason Harrison will be delivering the lectures on Tuesday October 30, 2007 at 10:30 AM and Friday November 2, 2007 at 12:30 PM. He will be introducing you to PHP.&lt;/li&gt;&lt;li&gt;Medhat will not be present at the SET 1A lab on Monday October 29, 2007 at 1:30 PM. Students are expected to come to the lab session and use the time to work on assignment 3.&lt;/li&gt;&lt;li&gt;Sets 1B, 1C, 1D, and 1E must attend labs with Jason Harrison as usual.&lt;/li&gt;&lt;li&gt;You can post any questions as comments on my blog.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style="font-size: large;"&gt;Notes for ACIT-1620 students&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;There will be no lecture on Monday October 29, 2007 at 10:30 AM. Instead, Medhat will makeup this lecture in the labs during the following week. &lt;/li&gt;&lt;li&gt;Brian Pidcock will be delivering the lecture on Friday November 2, 2007 at 1:30 PM on the topic of JavaScript functions. &lt;/li&gt;&lt;li&gt;Medhat will not be present at SET 1A and SET 1B labs on Monday October 29, 2007 at 3:30 PM and Tuesday October 30, 2007 at 8:30 AM respectively. Students are expected to come to the lab session and use the time to work on assignment 3. &lt;/li&gt;&lt;li&gt;You can post any questions as comments on my blog&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-211851148730578616?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/211851148730578616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/comp-1536-acit-1620-fall-2007-week-09.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/211851148730578616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/211851148730578616'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/comp-1536-acit-1620-fall-2007-week-09.html' title='COMP-1536 &amp; ACIT-1620 Fall 2007 week 09'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-8202901587911197111</id><published>2007-10-18T21:01:00.000-07:00</published><updated>2009-09-20T21:02:39.125-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Creating "Calculated Field" columns in SharePoint 2007</title><content type='html'>You can pretty much use the same VBA syntax for calculated fields as in Excel. Here is a site that provides many examples of common formulas that can be used in SharePoint when defining "Calculated Field" columns.&lt;br /&gt;Here is a formula that I created at work:&lt;br /&gt;=IF(YEAR([Due Date])=1899,"No Due Date",TEXT([Due Date],"MM/dd/yyyy"))&lt;br /&gt;Blank dates in SharePoint are assigned a date in year 1899. The above formula displays a message "No Due Date" for invalid dates or the valid date using format MM/dd/yyyy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-8202901587911197111?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/8202901587911197111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/creating-calculated-field-columns-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8202901587911197111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/8202901587911197111'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/creating-calculated-field-columns-in.html' title='Creating &quot;Calculated Field&quot; columns in SharePoint 2007'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5169642996403449990</id><published>2007-10-14T20:59:00.000-07:00</published><updated>2009-09-20T21:01:13.463-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>Speaking at DevTeach in late November 2007</title><content type='html'>I am scheduled to speak at the DevTeach conference in Vancouver on Wednesday, November 28, 2007 from 11:00 AM to 12:15 PM. The topic I will be presenting is the same topic I gave to the .netBC group on Wednesday September 12, 2007. That presention took 2 hours. Therefore, I must shave off about 45 minutes from that presentation.&lt;br /&gt;&lt;br /&gt;The DevTeach conference is moving outside of Montreal for the first time. I attended it twice in spring 2005 and spring 2007. It is definately a very worthwhile conference. If you want to be on top of current and up-coming technologies in our very fast moving profession, it is a good use of three days. &lt;br /&gt;Jean-Rene Roy, who is the owner of the DevTeach &amp;amp; SQLTeach shows, is organizing a very different type of conference in Vancouver. New to Vancouver will be an XNA track, a Halo-3 competition, and a free beer party with Palermo. It looks like it is going to be a lot of fun. Here is more on the various activities:&lt;br /&gt;XNA contest: &lt;a href="http://www.devteach.com/contest.aspx"&gt;http://www.devteach.com/contest.aspx&lt;/a&gt;&lt;br /&gt;Party with Palermo! Free beer: &lt;a href="http://www.partywithpalermo.com/"&gt;http://www.partywithpalermo.com/&lt;/a&gt;&lt;br /&gt;For the first time a XNA track at a independent conference: &lt;a href="http://www.devteach.com/Session.aspx#79"&gt;http://www.devteach.com/Session.aspx#79&lt;/a&gt;&lt;br /&gt;Three very good Pre-con Post-Con:&lt;br /&gt;&lt;br /&gt;http://www.devteach.com/PreConference.aspx&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.devteach.com/PostConference.aspx"&gt;http://www.devteach.com/PostConference.aspx&lt;/a&gt;&lt;br /&gt;Key note by Ken Levy on VSX: &lt;a href="http://www.devteach.com/Keynote.aspx"&gt;http://www.devteach.com/Keynote.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5169642996403449990?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5169642996403449990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/speaking-at-devteach-in-late-november.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5169642996403449990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5169642996403449990'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/speaking-at-devteach-in-late-november.html' title='Speaking at DevTeach in late November 2007'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-986893426160318072</id><published>2007-10-14T20:54:00.000-07:00</published><updated>2009-09-20T20:58:50.794-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to hide "View All Site Content" link for anonymous users in SharePoint WSS 3.0?</title><content type='html'>This solution requires you to install Microsoft Office SharePoint Designer.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Go to "Site Actions" ==&amp;gt; "Site Settings"&lt;/li&gt;&lt;li&gt;Under Galleries, click on "Master Pages"&lt;/li&gt;&lt;li&gt;Select default.master and select "Edit in Microsoft Office SharePoint Designer".&lt;/li&gt;&lt;li&gt;In "Design" view locate "View All Site Content" on the left-hand-site navigation bar and click on it.&lt;/li&gt;&lt;li&gt;Go to "Code" view. You will see the following code highlighted:&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&amp;lt;Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div class="ms-quicklaunchheader"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="&amp;lt;%$Resources:wss,quiklnch_allcontent%&amp;gt;" AccessKey="&amp;lt;%$Resources:wss,quiklnch_allcontent_AK%&amp;gt;"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&amp;lt;/SharePoint:SPSecurityTrimmedControl&amp;gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Change the PermissionString attribute value of the Sharepoint:SPSecurityTrimmedControl XML element from ViewFormPages to BrowseDirectories.&lt;/li&gt;&lt;li&gt;Save the default.master. If you login as an anonymous user you will not see the "View All Site Content" link. However when authenticated you will see this option.&lt;/li&gt;&lt;/ul&gt;NOTE: The "BrowseDirectories" permission is common to both the "Members" and "Owners" group permission levels, but is not set for the "Limited Access" (anonymous users) permission level. See a complete list of the SPBasePermissions Enumeration here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-986893426160318072?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/986893426160318072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/how-to-hide-view-all-site-content-link.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/986893426160318072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/986893426160318072'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/how-to-hide-view-all-site-content-link.html' title='How to hide &quot;View All Site Content&quot; link for anonymous users in SharePoint WSS 3.0?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5326566255492636281</id><published>2007-10-09T20:49:00.000-07:00</published><updated>2009-09-20T20:52:20.467-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Adding command prompt option to Windows Explorer in Windows 2003 server</title><content type='html'>1. Navigate in your Registry to &lt;br /&gt;HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell and create a key called "Command Prompt" without the quotes.&lt;br /&gt;2. Set the default string to whatever text you want to appear in the right-click menu&lt;br /&gt;3. Create a new key within your newly created command prompt named "command" and set the default string to:&lt;br /&gt;Cmd.exe /k pushd %L&lt;br /&gt;4. The changes should take place immediately. Right click a folder and your new menu item should appear.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5326566255492636281?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5326566255492636281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/adding-command-prompt-option-to-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5326566255492636281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5326566255492636281'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/adding-command-prompt-option-to-windows.html' title='Adding command prompt option to Windows Explorer in Windows 2003 server'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5283333865204280015</id><published>2007-10-05T20:43:00.000-07:00</published><updated>2009-09-20T20:44:46.636-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Making a SharePoint custom column visible in an edit list form</title><content type='html'>&lt;ol&gt;&lt;li&gt;Go to the list you are interested in&lt;/li&gt;&lt;li&gt;Click Settings --&gt; List Settings&lt;/li&gt;&lt;li&gt;Under General Settings --&gt; Click Advance Settings&lt;/li&gt;&lt;li&gt;Click "Yes" for "Allow management of content types?"&lt;/li&gt;&lt;li&gt;Click "OK"&lt;/li&gt;&lt;li&gt;Click the list you are interested in under "Content Types"&lt;/li&gt;&lt;li&gt;Now Click "Add from existing site or list columns"&lt;/li&gt;&lt;li&gt;Click "Add &gt;" to select the columns you want&lt;/li&gt;&lt;li&gt;Click "OK"&lt;/li&gt;&lt;li&gt;Go to the list you are interested in&lt;/li&gt;&lt;li&gt;Click Settings --&gt; List Settings&lt;/li&gt;&lt;li&gt;Under General Settings --&gt; Click Advance Settings&lt;/li&gt;&lt;li&gt;Click "No" for "Allow management of content types?"&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5283333865204280015?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5283333865204280015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/making-sharepoint-custom-column-visible.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5283333865204280015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5283333865204280015'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/making-sharepoint-custom-column-visible.html' title='Making a SharePoint custom column visible in an edit list form'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4947905804858137096</id><published>2007-10-04T20:39:00.000-07:00</published><updated>2009-09-20T20:42:46.331-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>How to get list and view GUIDs in WSS 3.0 or MOSS 2007?</title><content type='html'>&lt;p&gt;&lt;br /&gt;List GUID&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Access the list with your browser&lt;/li&gt;&lt;li&gt;Go to Settings-&gt;List Settings&lt;/li&gt;&lt;li&gt;Copy the URL from your browser address line into a text editor. It should look something like this: &lt;a href="http://something.com/_layouts/listedit.aspx?List=%7BB2FD569F%2D89B3%2D4150%2DA9BA%2D1D7F5F9437AA%7D"&gt;http://something.com/_layouts/listedit.aspx?List=%7BB2FD569F%2D89B3%2D4150%2DA9BA%2D1D7F5F9437AA%7D&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Delete everything upto (and including) List=&lt;/li&gt;&lt;li&gt;Replace %7B with {&lt;/li&gt;&lt;li&gt;Replace %7D with }&lt;/li&gt;&lt;li&gt;Replace %2D with -&lt;/li&gt;&lt;li&gt;In the above example, the GUID would be {B2FD569F-89B3-4150-A9BA-1D7F5F9437AA}&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;View GUID&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Access the list with your browser&lt;/li&gt;&lt;li&gt;Go to Settings-&gt;List Settings&lt;/li&gt;&lt;li&gt;Copy the URL from your browser address line into a text editor. It should look something like this: &lt;a href="http://something.com/_layouts/ViewEdit.aspx?List=%7BB2FD569F%2D89B3%2D4150%2DA9BA%2D1D7F5F9437AA%7D&amp;amp;View=%7B6E1DB03C%2D9083%2D45FD%2D9487%2DDCF420E4F245%7D&amp;amp;Source=%252Foperations%252Fskutracker%252F%255Flayouts%252Flistedit%252Easpx%253FList%253D%25257BB2FD569F%25252D89B3%25252D4150%25252DA9BA%25252D1D7F5F9437AA%25257D"&gt;http://something.com/_layouts/ViewEdit.aspx?List=%7BB2FD569F%2D89B3%2D4150%2DA9BA%2D1D7F5F9437AA%7D&amp;amp;View=%7B6E1DB03C%2D9083%2D45FD%2D9487%2DDCF420E4F245%7D&amp;amp;Source=%252Foperations%252Fskutracker%252F%255Flayouts%252Flistedit%252Easpx%253FList%253D%25257BB2FD569F%25252D89B3%25252D4150%25252DA9BA%25252D1D7F5F9437AA%25257D&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Copy the data between View= and &amp;amp;Source&lt;/li&gt;&lt;li&gt;Perform the same replacements as explained for List GUIDs above&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4947905804858137096?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4947905804858137096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/how-to-get-list-and-view-guids-in-wss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4947905804858137096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4947905804858137096'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/how-to-get-list-and-view-guids-in-wss.html' title='How to get list and view GUIDs in WSS 3.0 or MOSS 2007?'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-6231688127601088667</id><published>2007-10-03T20:28:00.000-07:00</published><updated>2009-09-20T20:54:28.402-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Finding out the SharePoint list ID (ListTemplateId)</title><content type='html'>SharePoint 2007 offers an enhanced ability to catch certain user events such as ItemDeleting (before the fact) and ItemDeleted (after the fact). The API targets specific lists identified by list IDs. Example:&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;List template type&lt;br /&gt;&lt;/td&gt;&lt;td&gt;Template ID&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Custom List&lt;br /&gt;&lt;/td&gt;&lt;td&gt;100&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Document Library&lt;br /&gt;&lt;/td&gt;&lt;td&gt;101&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Survey&lt;br /&gt;&lt;/td&gt;&lt;td&gt;102&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Links List&lt;br /&gt;&lt;/td&gt;&lt;td&gt;103&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Announcement List&lt;br /&gt;&lt;/td&gt;&lt;td&gt;104&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Contacts List&lt;br /&gt;&lt;/td&gt;&lt;td&gt;105&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Events List&lt;br /&gt;&lt;/td&gt;&lt;td&gt;106&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Task List&lt;br /&gt;&lt;/td&gt;&lt;td&gt;107&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Discussion Board&lt;br /&gt;&lt;/td&gt;&lt;td&gt;108&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Picture Library&lt;br /&gt;&lt;/td&gt;&lt;td&gt;109&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;You can find out the list ID of any other list as follows:&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Go to your 12 hives FEATURES folder C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES&lt;/li&gt;&lt;li&gt;Find the folder for the list you are interested in and open it.&lt;/li&gt;&lt;li&gt;Open the ListTemplates folder&lt;/li&gt;&lt;li&gt;Open the XML file and read the value of the Type attribute.&lt;/li&gt;&lt;li&gt;This information can also be found in the ONET.XML file in the appropriate site template directory under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-6231688127601088667?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/6231688127601088667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/finding-out-sharepoint-list-id.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6231688127601088667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/6231688127601088667'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/10/finding-out-sharepoint-list-id.html' title='Finding out the SharePoint list ID (ListTemplateId)'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-4566464977894480388</id><published>2007-09-29T20:27:00.000-07:00</published><updated>2009-09-20T20:28:13.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BCIT'/><title type='text'>ASP.NET 2.0 part-time courses at BCIT</title><content type='html'>I started teaching COMP-2870 (Basic ASP.NET with C#) in January 2003 at BCIT. I have averaged about four sections a year. In most cases the classes were full because it turned out to be quite a popular course. I estimate over 400 students have so far taken COMP-2870.&lt;br /&gt;&lt;br /&gt;I started the advanced version of this course (COMP-3870) in April 2005. Although not as popular as the basic course, it has been quite successful. Unfortunately I stopped teaching the advanced course in June 2006.&lt;br /&gt;&lt;br /&gt;Many students who did the basic course have asked me to give the advanced course. Therefore, I have decided to not do the basic course in January 2008 in favour of doing the advanced course instead. All you interested students out there sign up for COMP-3870 at BCIT during the Winter 2008 term. We will learn these topics:&lt;br /&gt;caching&lt;br /&gt;personalization&lt;br /&gt;web parts&lt;br /&gt;ajax&lt;br /&gt;setup &amp;amp; deployment&lt;br /&gt;programming SQL Server 2005&lt;br /&gt;testing &amp;amp; debugging&lt;br /&gt;programming for mobile applications&lt;br /&gt;globalization&lt;br /&gt;legacy &amp;amp; unmanaged code&lt;br /&gt;database transaction processing&lt;br /&gt;stored procedures&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-4566464977894480388?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/4566464977894480388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/aspnet-20-part-time-courses-at-bcit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4566464977894480388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/4566464977894480388'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/aspnet-20-part-time-courses-at-bcit.html' title='ASP.NET 2.0 part-time courses at BCIT'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-5541868315473499486</id><published>2007-09-28T20:25:00.000-07:00</published><updated>2009-09-20T20:27:07.156-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Speaking Engagements'/><title type='text'>Presentation to VanQ user group in Vancouver</title><content type='html'>Brian Pidcock, who is one of the VanQ leaders, asked me to be their September 2007 speaker on SharePoint 2007. My presentation to VanQ was on September 27, 2007 at 6:45 PM. Since my audience were not necessarily developers, I decided to give a non-technical presentation.&lt;br /&gt;&lt;br /&gt;For more details about this VanQ event, click &lt;a href="http://www.vanq.org/meeting-27SEPT2007.php?PHPSESSID=b5ccf15586ad9103e12b137379116cc3"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The event was very well attended. I saw a lot of friends, former students, and members of .netBC in the crowd. On the whole, I enjoyed presenting on the basics of SharePoint and would consider coming up with another more advanced talk with a possible title of "Sharepoint 201". I was told later that the attendance at this event was the largest that VanQ has seen. This was very encouraging news.&lt;br /&gt;&lt;br /&gt;Click &lt;a href="http://cisa.ca/blogs/medhat/AppDocs/SharePoint_101.zip"&gt;here&lt;/a&gt; to download my presentation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-5541868315473499486?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/5541868315473499486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/presentation-to-vanq-user-group-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5541868315473499486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/5541868315473499486'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/presentation-to-vanq-user-group-in.html' title='Presentation to VanQ user group in Vancouver'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-2851939816700025794</id><published>2007-09-24T20:22:00.000-07:00</published><updated>2009-09-20T20:24:31.631-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Blog Launch</title><content type='html'>I launched this blog on Monday September 24, 2007. This is my second crack at the can. I started a blog about two years ago but it died a natural death because I did not spend enough time updating it. I am determined to make this one last much longer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-2851939816700025794?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/2851939816700025794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/blog-launch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2851939816700025794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/2851939816700025794'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/blog-launch.html' title='Blog Launch'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1773821877020177026.post-9179047041109785569</id><published>2007-09-24T20:18:00.000-07:00</published><updated>2009-09-20T20:21:39.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.netBC User Group'/><title type='text'>Presentation to the .netBC user group in Vancouver</title><content type='html'>I was very happy with the attendance at the &lt;a href="http://netbc.ca/"&gt;.netBC&lt;/a&gt; event held on September 12, 2007. There were more than 70 people, which normally happens when there is a well known speaker. That kind of attendance for me was rather unexpected.&lt;br /&gt;&lt;br /&gt;I established this user group on March 3, 2003. I made the first presentation on "XML Processing in .NET". This is the first time I presented again to my group since its inception. We started with 100 members and we have now grown to almost 1400.&lt;br /&gt;&lt;br /&gt;The title of the presentation was: SharePoint 2007 Advanced Development. Click &lt;a href="http://cisa.ca/blogs/medhat/AppDocs/Advanced_SharePoint_2007_Development.zip"&gt;here&lt;/a&gt; to download the presentation.&lt;br /&gt;&lt;br /&gt;I plan to give the same presentation to &lt;a href="http://www.devteach.com/Session.aspx"&gt;DevTeach Vancouver 2007&lt;/a&gt; on Wednesday November 28, 2007.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1773821877020177026-9179047041109785569?l=medhatelmasry.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://medhatelmasry.blogspot.com/feeds/9179047041109785569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/presentation-to-netbc-user-group-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/9179047041109785569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1773821877020177026/posts/default/9179047041109785569'/><link rel='alternate' type='text/html' href='http://medhatelmasry.blogspot.com/2007/09/presentation-to-netbc-user-group-in.html' title='Presentation to the .netBC user group in Vancouver'/><author><name>Medhat Elmasry</name><uri>http://www.blogger.com/profile/12743954622889282997</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
