<?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-8556301325660294947</id><updated>2012-02-01T17:25:37.340+07:00</updated><category term='LINQ'/><category term='Vista'/><category term='Visual Studio'/><category term='Windows Mobile'/><category term='Social'/><category term='MySQL'/><category term='Sql Server'/><category term='Presentaion'/><category term='SharePoint'/><category term='CodeProject'/><category term='Misc'/><category term='Xpath'/><category term='Windows'/><category term='Infopath'/><category term='BlackBerry'/><category term='IIS'/><category term='Programming'/><category term='ASP.NET'/><category term='ADO.NET'/><category term='Crystal Report'/><category term='Pending'/><category term='Windows Xp'/><category term='PowerShell'/><category term='Linux'/><category term='Projects'/><category term='Generic'/><category term='HTML'/><category term='Software'/><category term='C#.Net'/><category term='JavaScript'/><category term='Exceptions'/><category term='Articles'/><category term='WorkFlow'/><title type='text'>Melick's Blog</title><subtitle type='html'>   Smile makes Smiles..
   MELICK RAJEE BARANASOORIYA</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default?start-index=101&amp;max-results=100'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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>196</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-729699736619245978</id><published>2012-02-01T14:48:00.001+07:00</published><updated>2012-02-01T14:48:47.164+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>Authentication Error in InfoPath Form services in SharePoint 2010</title><content type='html'>&lt;p&gt;Following errors occurred to me when InfoPath form services trying to access user profile service. my profile connections are stored in a udx file.&lt;/p&gt; &lt;p&gt;The following query failed: User Profile (User: domain\user, Form Name: Template, IP: , Connection Target: &lt;a href="http://server/sites/capex/DataConnectionsLibrary/userprofile.udcx"&gt;http://server/sites/capex/DataConnectionsLibrary/userprofile.udcx&lt;/a&gt;, Request: &lt;a href="http://server/sites/capex/SitePages/Home.aspx"&gt;http://server/sites/capex/SitePages/Home.aspx&lt;/a&gt;, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2011-02-21T05:15:34:497Z Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.&amp;nbsp; Server was unable to process request. ---&amp;gt; Attempted to perform an unauthorized operation. The remote server returned an error: (500) Internal Server Error.)&lt;/p&gt; &lt;p&gt;in here first i looked for cross site reference issue (&lt;a href="http://melick-rajee.blogspot.com/2011/06/dataadapterexception-exception-message.html" target="_blank"&gt;here&lt;/a&gt;). but it is not the problem. then i found running &lt;strong&gt;&lt;font color="#400000"&gt;Application Pool set to Anonymous Access&lt;/font&gt;&lt;/strong&gt; true. Then i disabled the anonymous access and it worked for me.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-G3wRhTnQ6Q0/TyjuVMhs6UI/AAAAAAAAAwc/ErgPNETzF9s/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-DUVZm6hHLWU/TyjuW0SHngI/AAAAAAAAAwk/8_4Dy8dS3n0/image_thumb%25255B1%25255D.png?imgmax=800" width="324" height="200"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-729699736619245978?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/729699736619245978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=729699736619245978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/729699736619245978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/729699736619245978'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2012/02/authentication-error-in-infopath-form.html' title='Authentication Error in InfoPath Form services in SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-DUVZm6hHLWU/TyjuW0SHngI/AAAAAAAAAwk/8_4Dy8dS3n0/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-1751794890142069773</id><published>2012-01-26T17:15:00.001+07:00</published><updated>2012-01-26T17:15:31.423+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><title type='text'>Set Default Zoom Level in Visio Web Access Web Part in SharePoint 2010</title><content type='html'>&lt;p&gt;Here i got a problem of Visio Web Part (actually problem for me) It is changing zoom level to view maxim as possible. so in my requirement i want it to be 100 in default.&lt;/p&gt; &lt;p&gt;So i opened the page (That is having the Visio Web Part ) in SharePoint Designer and&amp;nbsp; search the word “Zoom” and it returned Web part configuration line as follows. &lt;/p&gt; &lt;p&gt;&lt;font color="#0080ff"&gt;ViewSettings="{&amp;amp;quot;pageIndex&amp;amp;quot;:0,&amp;amp;quot;viewBounds&amp;amp;quot;:{&amp;amp;quot;x&amp;amp;quot;:-97,&amp;amp;quot;y&amp;amp;quot;:-44,&amp;amp;quot;width&amp;amp;quot;:938,&amp;amp;quot;height&amp;amp;quot;:775},&amp;amp;quot;&lt;strong&gt;&lt;font color="#804040"&gt;zoomValue&amp;amp;quot;:100&lt;/font&gt;&lt;/strong&gt;}"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;here you can see zoom level is specified. So i changed it to 100 and save it back.&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;hooray…. It worked for me.&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1751794890142069773?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1751794890142069773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1751794890142069773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1751794890142069773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1751794890142069773'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2012/01/set-default-zoom-level-in-visio-web.html' title='Set Default Zoom Level in Visio Web Access Web Part in SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6362881577928888995</id><published>2012-01-25T12:42:00.001+07:00</published><updated>2012-01-25T12:42:30.714+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><title type='text'>SharePoint 2010 Developer Power Tools</title><content type='html'>&lt;blockquote&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-oGxed8h6_hs/Tx-WPuOHGaI/AAAAAAAAAwE/CQSBEUrgVIQ/s1600-h/spalm_spsf%25255B6%25255D.jpg"&gt;&lt;img style="display: inline" title="spalm_spsf" alt="spalm_spsf" src="http://lh5.ggpht.com/-hEyjoCXmq40/Tx-WQyEWL9I/AAAAAAAAAwM/hX92XUkVh38/spalm_spsf_thumb%25255B4%25255D.jpg?imgmax=800" width="240" height="75"&gt;&lt;/a&gt;  &lt;p align="justify"&gt;The &lt;strong&gt;SharePoint Software Factory&lt;/strong&gt; is a Visual Studio Extension helping SharePoint newbies, as well as experienced developers to create, manage and deploy SharePoint solutions without having to know every tiny XML and C# secret. SPSF provides a huge collection of helpful utilities for development, debugging and deployment of SharePoint standard artifacts and is fully compatible with SharePoint 2007/2010 and Visual Studio 2008/2010 (in any combination) ..&lt;/p&gt;&lt;/blockquote&gt; &lt;p align="justify"&gt;This is very powerful developer extension for visual studio. This is worth to try ..  &lt;p align="justify"&gt;&lt;a href="http://spsf.codeplex.com/"&gt;http://spsf.codeplex.com/&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6362881577928888995?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6362881577928888995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6362881577928888995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6362881577928888995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6362881577928888995'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2012/01/sharepoint-2010-developer-power-tools.html' title='SharePoint 2010 Developer Power Tools'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-hEyjoCXmq40/Tx-WQyEWL9I/AAAAAAAAAwM/hX92XUkVh38/s72-c/spalm_spsf_thumb%25255B4%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-7916165560021473649</id><published>2012-01-23T13:41:00.001+07:00</published><updated>2012-01-23T13:41:30.648+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>The error "The specified DSN contains an architecture mismatch between the Driver and Application"</title><content type='html'>&lt;p&gt;This error happed when i tried to run MS access database application in windows 7. Then i found this is because of trying to run access drivers in 64 bit machine.&lt;/p&gt; &lt;p&gt;I downloaded following &lt;strong&gt;Microsoft Access Database Engine 2010 Redistributable&lt;/strong&gt; and it worked for me.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=13255"&gt;http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=13255&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7916165560021473649?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7916165560021473649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7916165560021473649' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7916165560021473649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7916165560021473649'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2012/01/error-specified-dsn-contains.html' title='The error &amp;quot;The specified DSN contains an architecture mismatch between the Driver and Application&amp;quot;'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4706768580752880774</id><published>2012-01-17T13:36:00.001+07:00</published><updated>2012-01-17T13:36:35.229+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>JavaScript setAttribute method does not work in the SharePoint 2010</title><content type='html'>&lt;p&gt;I used setAttribute method to changed the CSS class. (ex: item.setAttribute('”class”,”cssClass”)). but this method didn't worked for me. then i used className property&amp;nbsp; to set the css and it worked for me.&lt;/p&gt;&lt;pre class="code"&gt;item.className = &lt;span style="color: maroon"&gt;"active"&lt;/span&gt;; &lt;br /&gt;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4706768580752880774?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4706768580752880774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4706768580752880774' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4706768580752880774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4706768580752880774'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2012/01/javascript-setattribute-method-does-not.html' title='JavaScript setAttribute method does not work in the SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-1488835082378913952</id><published>2012-01-17T13:16:00.001+07:00</published><updated>2012-01-17T13:16:45.444+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>window.document.getElementById not working in the SharePoint 2010</title><content type='html'>&lt;p&gt;recently i came across a problem with getElementById. I used this function in the master page in side a JavaScript but it returned&amp;nbsp; an error. I don't know why it happened and still finding the cause. however i used a alternative&amp;nbsp; method to archive this task.&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;var &lt;/span&gt;item = window.document.getElementsByName(&lt;span style="color: maroon"&gt;"tagName"&lt;/span&gt;)[0];&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;This worked for me.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1488835082378913952?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1488835082378913952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1488835082378913952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1488835082378913952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1488835082378913952'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2012/01/windowdocumentgetelementbyid-not.html' title='window.document.getElementById not working in the SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-8596004873664373447</id><published>2011-12-20T16:54:00.001+07:00</published><updated>2011-12-20T16:54:13.331+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to Customize SharePoint List Content Display using Content Query Web Part</title><content type='html'>&lt;p&gt;Here I'm going to describe how we can use Content Query Web Part to Style SharePoint List. Thus Assume we are having a&amp;nbsp; SharePoint List Called &lt;strong&gt;Projects&lt;/strong&gt; with Following Fields.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-mEjZbpj__Z4/TvBat8vBKGI/AAAAAAAAAss/1fVnMa9X0Z4/s1600-h/image3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-yhRVy3WMEf8/TvBavazwTSI/AAAAAAAAAs0/gvVaF1lqHv0/image_thumb1.png?imgmax=800" width="378" height="158"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;As you already knew default look and feel would be like below.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-NQSqvCUxPqQ/TvBawt367mI/AAAAAAAAAs8/7IJtHJHEGKw/s1600-h/image8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-h2KRa8JKMxA/TvBax3NpyXI/AAAAAAAAAtE/UhdkLOyNOWM/image_thumb7.png?imgmax=800" width="612" height="158"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Now I'm going to render this list in to format something like below.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-pr2G0S9OGxQ/TvBayotcM_I/AAAAAAAAAtM/b4Tshz3AqMU/s1600-h/image11%25255B1%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-vrYdnidMZ4o/TvBa0aMs08I/AAAAAAAAAtU/mTA6D791nfc/image_thumb8.png?imgmax=800" width="233" height="133"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;Step One&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;First you need to define Some names for these place holders (&lt;font color="#0080ff"&gt;Yeh., I know this do not make any sense to you. But don’t worry just do the step&lt;/font&gt;). Thus I'm going to define these columns as follows. &lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Title –&amp;gt; MyTitle&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;Logo –&amp;gt; MyLogo&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;Project Summary –&amp;gt; MySummary&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;Project Description –&amp;gt; MyDesc&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align="justify"&gt;&lt;strong&gt;&lt;font color="#800080"&gt;Step Two&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;Now you want to define a XSL Style Sheet using these names. Therefore I'm going to use &amp;lt;table&amp;gt; to layout the list item as below. &lt;/p&gt; &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 94.44%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; height: 460px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt; &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:template&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="MyStyle"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;match&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Row[@Style='MyStyle']"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;mode&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="itemstyle"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt; &lt;span style="color: #ff0000"&gt;border&lt;/span&gt;&lt;span style="color: #0000ff"&gt;='1'&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt; &lt;span style="color: #ff0000"&gt;colspan&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="2"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;h3&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:value-of&lt;/span&gt; &lt;span style="color: #ff0000"&gt;select&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="@MyTitle"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;h3&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;img&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:attribute&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="src"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;                &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:value-of&lt;/span&gt; &lt;span style="color: #ff0000"&gt;select&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="@MyLogo"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:attribute&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;img&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:value-of&lt;/span&gt; &lt;span style="color: #ff0000"&gt;disable-output-escaping&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="yes"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;select&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="@MySummary"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt; &lt;span style="color: #ff0000"&gt;colspan&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="2"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:value-of&lt;/span&gt; &lt;span style="color: #ff0000"&gt;disable-output-escaping&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="yes"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;select&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="@MyDesc"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;td&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;tr&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;table&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;xsl:template&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p align="justify"&gt;here i used XSLT to position the content inside my html tags. There are few attributes which are mandatory in this section.&amp;nbsp; &lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Name and Match should have equal names. &lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;name =’&lt;strong&gt;X&lt;/strong&gt;’ match=Row[@style=’&lt;strong&gt;X&lt;/strong&gt;’]&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;li&gt;mode = ‘&lt;strong&gt;itemstyle&lt;/strong&gt;’&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;now you have created XSLT which can given as a list style in the SharePoint.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;Step Three&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;here we are going to put XSLT to the SharePoint.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;First you need to open the SharePoint designer with the particular site. Then navigate to &lt;font color="#004080"&gt;&lt;strong&gt;All Files&lt;/strong&gt;&lt;/font&gt; and &lt;font color="#ff8040"&gt;&lt;strong&gt;Style Library&lt;/strong&gt;&lt;/font&gt;. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/-wJ9dvixQw9I/TvBa1UALh4I/AAAAAAAAAtc/rr4-y9JpaUw/s1600-h/image4%25255B1%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-DN5Sb6ifT6s/TvBa2bF8qCI/AAAAAAAAAtk/1NLzKrGGfuw/image_thumb1%25255B1%25255D.png?imgmax=800" width="179" height="70"&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here you can see many Folders inside. Now you have to go to XSL Style Sheet Folder.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/-kBDsDqamAqo/TvBa3-3QxZI/AAAAAAAAAts/pACQg8S_X1I/s1600-h/image7.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-gN60ixoORF8/TvBa5_ZfdmI/AAAAAAAAAt0/9acUUd2pk30/image_thumb2.png?imgmax=800" width="153" height="119"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now you can see XSL files which are used by SharePoint to render it’s content. Here we are using &lt;font color="#0000ff"&gt;&lt;strong&gt;ItemStyle.xsl&lt;/strong&gt;&lt;/font&gt; for enable custom rendering.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/-lyYnFYQd9rs/TvBa61ZBesI/AAAAAAAAAt8/WDMzTHsCCAw/s1600-h/image10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-g5aJc960nj0/TvBa7_2k2SI/AAAAAAAAAuE/6H2khAzLZGA/image_thumb3.png?imgmax=800" width="172" height="155"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p align="justify"&gt;Thus open this xsl file and put your xsl (when we created in step two) in the bottom of the xsl as follows.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://lh5.ggpht.com/-iQAJ87uC4bg/TvBa874NbRI/AAAAAAAAAuM/838G77V2aCY/s1600-h/image14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-NWPAVHgO0rg/TvBa9529BWI/AAAAAAAAAuU/SmxTvwMO1r8/image_thumb5.png?imgmax=800" width="455" height="143"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now difficult things are over. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;font color="#800080"&gt;Step Four&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Add a Content Query Web Part&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/-sASwTRJ8nQo/TvBa_slh7KI/AAAAAAAAAuc/fg3FDR7mY8k/s1600-h/image18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-2r-Rb0y79CI/TvBbB9NFDKI/AAAAAAAAAuk/ew91elOUYFQ/image_thumb7%25255B1%25255D.png?imgmax=800" width="414" height="125"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;then go to edit web part and&amp;nbsp; and browse your list. ( here our list is &lt;strong&gt;Our Projects&lt;/strong&gt; )&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/-H4Sip9BcsXE/TvBbDK5UU_I/AAAAAAAAAus/lLfQe6kWDkk/s1600-h/image22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-VJVjzsQe090/TvBbEElEZjI/AAAAAAAAAu0/iCqmt0TLzHs/image_thumb9.png?imgmax=800" width="343" height="229"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Then go to presentation section. and go little bit down. You can see style drop down. &lt;br /&gt;&lt;li&gt;Wow ..&amp;nbsp; Now you can see your style.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/-WZA5WBqIORU/TvBbFGbkjjI/AAAAAAAAAu8/Vw3EUpzq3cQ/s1600-h/image30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-xhsGU4vDOm0/TvBbGv53SII/AAAAAAAAAvE/ttmLeA6s5Mk/image_thumb13.png?imgmax=800" width="385" height="318"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Ok the then select your custom xsl ( here MySample). &lt;br /&gt;&lt;li&gt;When you select you can see something like below.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/-H3rM_OYswxc/TvBbHmUL0qI/AAAAAAAAAvM/FPygMWiAV8o/s1600-h/image34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-jJBhzucfyLU/TvBbJKaCQ-I/AAAAAAAAAvU/tUDigmXGZhs/image_thumb15.png?imgmax=800" width="381" height="322"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Now you need to put actual list column names to these text boxes as follows.(Title column should use with the scope)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/-wrRxlXPRHrA/TvBbKty0C-I/AAAAAAAAAvc/C1YhS7hVxZY/s1600-h/image38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-sOPB1Lbfbgo/TvBbNiwJbuI/AAAAAAAAAvk/89ZcOLrnseI/image_thumb17.png?imgmax=800" width="297" height="242"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Then Click ok to Save. Now Every thing ok. You can see your new list rendering now.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/-_BxfG75-DDQ/TvBbOqtgYNI/AAAAAAAAAvs/o1QUk-Lvu8A/s1600-h/image42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-ctwP9GSgyAI/TvBbQuqUi0I/AAAAAAAAAv0/lYmjqkZxgaw/image_thumb19.png?imgmax=800" width="396" height="256"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Happy SharePoint :) &lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8596004873664373447?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8596004873664373447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8596004873664373447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8596004873664373447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8596004873664373447'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/12/how-to-customize-sharepoint-list.html' title='How to Customize SharePoint List Content Display using Content Query Web Part'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/-yhRVy3WMEf8/TvBavazwTSI/AAAAAAAAAs0/gvVaF1lqHv0/s72-c/image_thumb1.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-1050278904560498164</id><published>2011-12-14T12:44:00.001+07:00</published><updated>2011-12-14T12:44:02.494+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>How to use SharePoint Feature to Activate and Deactivate Custom SharePoint Master page</title><content type='html'>&lt;p align="justify"&gt;Below example only set the Master page Url but not the custom master page URL. thus Layout pages will be same after you deploy the master page.&amp;nbsp; You can also change the Custom master page URL also.&lt;/p&gt; &lt;p align="justify"&gt;&lt;strong&gt;Feature Activation&lt;/strong&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;public override void &lt;/span&gt;FeatureActivated(&lt;span style="color: #2b91af"&gt;SPFeatureReceiverProperties &lt;/span&gt;properties)&lt;br /&gt;{&lt;br /&gt;    &lt;span style="color: #2b91af"&gt;SPWeb &lt;/span&gt;web = properties.Feature.Parent &lt;span style="color: blue"&gt;as &lt;/span&gt;&lt;span style="color: #2b91af"&gt;SPWeb&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: blue"&gt;string &lt;/span&gt;urlMaster;&lt;br /&gt;    &lt;span style="color: blue"&gt;string &lt;/span&gt;urlCustom;&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: blue"&gt;if &lt;/span&gt;(&lt;span style="color: #a31515"&gt;@"/"&lt;/span&gt;.Equals(web.ServerRelativeUrl))&lt;br /&gt;    {&lt;br /&gt;        urlMaster = &lt;span style="color: #a31515"&gt;@"/_catalogs/masterpage/BLLICT.master"&lt;/span&gt;;&lt;br /&gt;        urlCustom = &lt;span style="color: #a31515"&gt;@"/_catalogs/masterpage/v4.master"&lt;/span&gt;;&lt;br /&gt;    }&lt;br /&gt;    &lt;span style="color: blue"&gt;else &lt;/span&gt;{&lt;br /&gt;        urlMaster = &lt;span style="color: blue"&gt;string&lt;/span&gt;.Concat(web.ServerRelativeUrl , &lt;span style="color: #a31515"&gt;@"/_catalogs/masterpage/BLLICT.master"&lt;/span&gt;);&lt;br /&gt;        urlCustom = &lt;span style="color: blue"&gt;string&lt;/span&gt;.Concat(web.ServerRelativeUrl , &lt;span style="color: #a31515"&gt;@"/_catalogs/masterpage/v4.master"&lt;/span&gt;);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    web.MasterUrl = urlMaster;&lt;br /&gt;    web.CustomMasterUrl = urlCustom;&lt;br /&gt;&lt;br /&gt;    web.Update();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Feature Deactivation (Reverse to Original Master)&lt;/strong&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;public override void &lt;/span&gt;FeatureDeactivating(&lt;span style="color: #2b91af"&gt;SPFeatureReceiverProperties &lt;/span&gt;properties)&lt;br /&gt;{&lt;br /&gt;    &lt;span style="color: #2b91af"&gt;SPWeb &lt;/span&gt;web = properties.Feature.Parent &lt;span style="color: blue"&gt;as &lt;/span&gt;&lt;span style="color: #2b91af"&gt;SPWeb&lt;/span&gt;;&lt;br /&gt;    &lt;span style="color: blue"&gt;string &lt;/span&gt;urlCustom;&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: blue"&gt;if &lt;/span&gt;(&lt;span style="color: #a31515"&gt;@"/"&lt;/span&gt;.Equals(web.ServerRelativeUrl))&lt;br /&gt;    {&lt;br /&gt;        urlCustom = &lt;span style="color: #a31515"&gt;@"/_catalogs/masterpage/v4.master"&lt;/span&gt;;&lt;br /&gt;    }&lt;br /&gt;    &lt;span style="color: blue"&gt;else&lt;br /&gt;    &lt;/span&gt;{&lt;br /&gt;        urlCustom = &lt;span style="color: blue"&gt;string&lt;/span&gt;.Concat(web.ServerRelativeUrl, &lt;span style="color: #a31515"&gt; @"/_catalogs/masterpage/v4.master"&lt;/span&gt;);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    web.MasterUrl = urlCustom;&lt;br /&gt;    web.CustomMasterUrl = urlCustom;&lt;br /&gt;&lt;br /&gt;    web.Update();&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1050278904560498164?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1050278904560498164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1050278904560498164' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1050278904560498164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1050278904560498164'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/12/how-to-use-sharepoint-feature-to.html' title='How to use SharePoint Feature to Activate and Deactivate Custom SharePoint Master page'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-513102170595605084</id><published>2011-12-07T18:47:00.001+07:00</published><updated>2011-12-07T18:47:22.925+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>How to impersonate SharePoint Programmatically</title><content type='html'>&lt;p align="justify"&gt;There are many occurrences that we need to impersonate our SharePoint requests to server. Otherwise SharePoint will use system account or context credentials to perform the task.&lt;/p&gt; &lt;p align="justify"&gt;In my case i want to programmatically approve a workflow task. but then i noticed it is showing modifiedby as&amp;nbsp;&amp;nbsp; system account so i used following code to change the user credentials to intended user.&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: #2b91af"&gt;SPUserToken &lt;/span&gt;ApprovingUser = web.GetUserToken(“domain\username”);&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue"&gt;using &lt;/span&gt;(&lt;span style="color: #2b91af"&gt;SPSite &lt;/span&gt;site = &lt;span style="color: blue"&gt;new &lt;/span&gt;&lt;span style="color: #2b91af"&gt;SPSite&lt;/span&gt;(“Site Url”, ApprovingUser))&lt;br /&gt;{&lt;br /&gt;    &lt;span style="color: blue"&gt;using &lt;/span&gt;(&lt;span style="color: #2b91af"&gt;SPWeb &lt;/span&gt;wb = site.OpenWeb())&lt;br /&gt;    {&lt;br /&gt;        &lt;span style="color: green"&gt;/* Do Anything You want &lt;/span&gt;&lt;span style="color: green"&gt;*/&lt;br /&gt;&lt;/span&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-513102170595605084?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/513102170595605084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=513102170595605084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/513102170595605084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/513102170595605084'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/12/how-to-impersonate-sharepoint.html' title='How to impersonate SharePoint Programmatically'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-1027615781637504684</id><published>2011-12-07T12:00:00.001+07:00</published><updated>2011-12-07T12:00:00.496+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>SPWorkflowTask.AlterTask throws “Specified method is not supported”</title><content type='html'>&lt;p&gt;This error occurred to me when i was trying to programmatically approve a task in the SharePoint 2010.&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;Later on I found that the problem is the &lt;strong&gt;&lt;font color="#0000ff"&gt;Task List do not have the content Type WorkFlow Task inherited&lt;/font&gt;&lt;/strong&gt;. After i add that content type it worked for me.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1027615781637504684?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1027615781637504684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1027615781637504684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1027615781637504684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1027615781637504684'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/12/spworkflowtaskaltertask-throws.html' title='SPWorkflowTask.AlterTask throws “Specified method is not supported”'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-387840132115114111</id><published>2011-12-01T11:13:00.001+07:00</published><updated>2011-12-01T11:13:47.946+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><title type='text'>How to Use &amp; Character in SharePoint List Instance’s Field value</title><content type='html'>&lt;p align="justify"&gt;There are some special characters which we can use in the XML. thus XML parser will return something like &lt;strong&gt;Entity X not defined&lt;/strong&gt; like errors. this problem comes using ok special characters such as &amp;amp;, &amp;gt; and etc. &lt;/p&gt; &lt;p align="justify"&gt;Following shoes hoe you can use XML special characters inside the Field values in XML or SharePoint list instance creation.&lt;/p&gt; &lt;blockquote&gt;&lt;pre class="code"&gt;   &lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Data&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;      &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Rows&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;    &lt;/span&gt;&lt;span style="color: blue"&gt;     &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Row&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;         &lt;/span&gt;&lt;span style="color: blue"&gt;    &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Field &lt;/span&gt;&lt;span style="color: red"&gt;Name&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;Value&lt;/span&gt;" &lt;span style="color: blue"&gt;&amp;gt;&amp;lt;![CDATA[&lt;/span&gt;&lt;span style="color: gray"&gt; &amp;amp; &lt;/span&gt;&lt;span style="color: blue"&gt;]]&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Field&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;         &lt;/span&gt;&lt;span style="color: blue"&gt; &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Row&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;      &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Rows&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;    &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Data&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&lt;font color="#222222" face="Arial"&gt;you can use any special character inside the  &lt;strong&gt;CDATA&lt;/strong&gt; tag.&lt;/font&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-387840132115114111?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/387840132115114111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=387840132115114111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/387840132115114111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/387840132115114111'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/12/how-to-use-character-in-sharepoint-list.html' title='How to Use &amp;amp; Character in SharePoint List Instance’s Field value'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6582291256864969683</id><published>2011-11-28T10:52:00.001+07:00</published><updated>2011-11-28T10:52:25.707+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><title type='text'>This document resides in a document library that is not trusted.</title><content type='html'>&lt;p align="justify"&gt;This error i got when I'm opening a SharePoint Task from&lt;strong&gt; MS Outlook&lt;/strong&gt;. So it is pretty forward. You need to add the source site to the &lt;font color="#ff0000"&gt;&lt;strong&gt;Trusted Sites&lt;/strong&gt;&lt;/font&gt; in the IE (Internet Explorer) or ask network security admin to trust it from the proxy policies. &lt;/p&gt; &lt;p align="center"&gt;&lt;a href="http://lh6.ggpht.com/-UbEjFrermyc/TtMFchLoXfI/AAAAAAAAAsY/pt4Ur8CFDBQ/s1600-h/Add%252520To%252520Trusted%252520Sites%25255B3%25255D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Add To Trusted Sites" border="0" alt="Add To Trusted Sites" src="http://lh5.ggpht.com/-E56oZ8FBqHs/TtMFd832t1I/AAAAAAAAAsg/9cl-fQYCBls/Add%252520To%252520Trusted%252520Sites_thumb%25255B1%25255D.jpg?imgmax=800" width="371" height="350"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6582291256864969683?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6582291256864969683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6582291256864969683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6582291256864969683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6582291256864969683'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/11/this-document-resides-in-document.html' title='This document resides in a document library that is not trusted.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-E56oZ8FBqHs/TtMFd832t1I/AAAAAAAAAsg/9cl-fQYCBls/s72-c/Add%252520To%252520Trusted%252520Sites_thumb%25255B1%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-9007437117209254952</id><published>2011-11-04T20:17:00.001+07:00</published><updated>2011-11-04T20:17:25.551+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Social'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentaion'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>5 Days SharePoint Session for my office Colleagues</title><content type='html'>&lt;div style="width: 100%" id="__ss_10024693"&gt;&lt;strong style="margin: 12px 0px 4px; display: block"&gt;&lt;a title="Beginners SharePoint introduction" href="http://www.slideshare.net/MelickBaranasooriya/beginers-sharepoint-introduction" target="_blank"&gt;Beginners SharePoint introduction&lt;/a&gt;&lt;/strong&gt; &lt;iframe style="width: 593px; height: 431px" height="355" marginheight="0" src="http://www.slideshare.net/slideshow/embed_code/10024693" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;div style="padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px"&gt;View more &lt;a href="http://www.slideshare.net/" target="_blank"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/MelickBaranasooriya" target="_blank"&gt;Melick Baranasooriya&lt;/a&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/8556301325660294947-9007437117209254952?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/9007437117209254952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=9007437117209254952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/9007437117209254952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/9007437117209254952'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/11/5-days-sharepoint-session-for-my-office.html' title='5 Days SharePoint Session for my office Colleagues'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-7789467425975973188</id><published>2011-11-04T19:30:00.001+07:00</published><updated>2011-11-04T19:30:01.279+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service.</title><content type='html'>&lt;p align="justify"&gt;There can be many reasons for this. but before checking any of those web configuration things check the Authentication section in the virtual directory in IIS.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a href="http://lh3.ggpht.com/-lTci7AKOIIc/TrPauC0DIrI/AAAAAAAAArI/48UT4Mj-dP0/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-iJ_qAn5DMbQ/TrPavY4mXZI/AAAAAAAAArQ/5qIxwQvWadc/image_thumb%25255B1%25255D.png?imgmax=800" width="320" height="201"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-8bmBH0BPf18/TrPawdZSO9I/AAAAAAAAArY/IXrmOKiCtkU/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-on0WQ2jA8Cs/TrPax62xMzI/AAAAAAAAArg/E5ATk6CxREk/image_thumb%25255B3%25255D.png?imgmax=800" width="335" height="265"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7789467425975973188?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7789467425975973188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7789467425975973188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7789467425975973188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7789467425975973188'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/11/security-settings-for-this-service.html' title='Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-iJ_qAn5DMbQ/TrPavY4mXZI/AAAAAAAAArQ/5qIxwQvWadc/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-4181324004596782525</id><published>2011-10-24T13:41:00.001+07:00</published><updated>2011-10-24T13:41:11.754+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to do SharePoint 2010 Content Deployment</title><content type='html'>&lt;p align="justify"&gt;There are many articles in the web by describing Content Deployment in SharePoint 2010. But most of the time (&lt;strong&gt;&lt;font color="#004040"&gt;In my case it do not work fine always in first time :-(&lt;/font&gt;&lt;/strong&gt; )&amp;nbsp; it is not working property and giving plenty of errors which direct us to restoring the backup rather than trying Content Deployment in the SharePoint Server.&lt;/p&gt; &lt;p align="justify"&gt;Here I'm going to my experiences and how I'm resolving those errors and little bit of background about the&amp;nbsp; SharePoint Content Deployment. Luckily i have manage to successfully proceed with the SharePoint Content Deployment most of the time.&lt;/p&gt; &lt;h4&gt;&lt;font color="#800040"&gt;What is SharePoint Content Deployment&lt;/font&gt;&amp;nbsp;&lt;/h4&gt; &lt;p align="justify"&gt;Content deploy can be use to export (deploy) content from one site collection to another site collection. content deployment is taking care of following contents in the source site collection.&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Web pages – Deploy corresponding images styles , master pages and etc.&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;libraries&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;lists&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;resources&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align="justify"&gt;Content Deployment do not deploy&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;programs&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;assemblies&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;features&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;configuration information(Web.config)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align="justify"&gt;Most of the time Content Deployment fails due to features. in the later i will explain how to over come these issues.&lt;/p&gt; &lt;h4&gt;&lt;font color="#0080ff"&gt;How to Configure SharePoint 2010 Content Deployment &lt;/font&gt;&lt;/h4&gt; &lt;p&gt;We will use following scenario for the deployment &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-nPP8tasAjhU/TqUIGZBelpI/AAAAAAAAAns/EmsS8jVh6-E/s1600-h/image3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-lrdN_I1GCIA/TqUIIIrDj5I/AAAAAAAAAn0/E9DnB9FEDeA/image_thumb1.png?imgmax=800" width="603" height="157"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;&lt;strong&gt;First&lt;/strong&gt; you need to &lt;font color="#000080"&gt;&lt;strong&gt;create a site collection in the production server &lt;/strong&gt;(Our One is production/sites/ALR)&lt;/font&gt; which you are going to use in the content deployment.&lt;/p&gt; &lt;p align="justify"&gt;When you are creating I'm always using site template as &lt;font color="#800040"&gt;&lt;strong&gt;Select Template Later&lt;/strong&gt;&lt;/font&gt; in the &lt;strong&gt;Custom Tab&lt;/strong&gt;.You can use the blank template also but I'm recommending this one&amp;nbsp; because this one worked for me&amp;nbsp; all the times.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-7wzPnlxwqHU/TqUIJMjWq0I/AAAAAAAAAn8/9NWKqGDPNmM/s1600-h/image12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-f_NJOZrpngA/TqUIKZYdRUI/AAAAAAAAAoE/QKv4ZczS370/image_thumb5%25255B1%25255D.png?imgmax=800" width="345" height="109"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;After that you need to configure content deployment&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;For than go to &lt;font color="#008000"&gt;&lt;strong&gt;Central Administrator –&amp;gt; General Application Settings–&amp;gt; Configure Content Deployment in the &lt;font color="#ff8000"&gt;Production Server&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-L1ZhFnhNl0M/TqUILQpFq9I/AAAAAAAAAoM/UTurC-ahvzE/s1600-h/image7.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-jQrEq3K6DLI/TqUIMwm3edI/AAAAAAAAAoU/fEqvVobo0tg/image_thumb3.png?imgmax=800" width="422" height="69"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;go to this and&amp;nbsp; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;allow &lt;font color="#004080"&gt;&lt;strong&gt;Accept incoming content deployment jobs&lt;/strong&gt;&lt;/font&gt; in &lt;font color="#004080"&gt;&lt;strong&gt;Accept Content Deployment Jobs&lt;/strong&gt;&lt;/font&gt; section.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;a href="http://lh4.ggpht.com/-zfl4V_uWWlU/TqUINzTLp_I/AAAAAAAAAoc/_iZij82uKZw/s1600-h/image11.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-LuPKvDeqg3U/TqUIPqbgNdI/AAAAAAAAAok/XEUbilW8KlA/image_thumb5.png?imgmax=800" width="332" height="87"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;select &lt;font color="#008080"&gt;&lt;strong&gt;Do not require encryption&lt;/strong&gt;&lt;/font&gt;&amp;nbsp; in &lt;font color="#004080"&gt;&lt;strong&gt;connection security&lt;/strong&gt;&lt;/font&gt;.(If you want you can use https also. but for the moment select the other one. )&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-FcA7HD_j_J4/TqUIQsYHCnI/AAAAAAAAAos/jXe1jHSYixg/s1600-h/image16%25255B1%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-_U4AV8Vh2r0/TqUIR7P1PPI/AAAAAAAAAo0/iAc8Ajxc4HE/image_thumb8.png?imgmax=800" width="316" height="76"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then Go to &lt;strong&gt;&lt;font color="#ff0000"&gt;Development Server&lt;/font&gt;&lt;/strong&gt; and proceed following steps to configure deployment path and job.&lt;/p&gt; &lt;p align="justify"&gt;First we need to Configure Deployment Job. For that Go to &lt;strong&gt;&lt;font color="#004000"&gt;Central Administrator&lt;/font&gt;&lt;/strong&gt; of the &lt;strong&gt;development&lt;/strong&gt; machine and then &lt;font color="#004000"&gt;&lt;strong&gt;General Application Settings&lt;/strong&gt;&lt;/font&gt; and&amp;nbsp; then &lt;font color="#004040"&gt;&lt;strong&gt;Configure content deployment paths and jobs&lt;/strong&gt;&lt;/font&gt;.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-6mNc5tDcfQY/TqUIS5uwyQI/AAAAAAAAAo8/EsggfcL-xCI/s1600-h/image20%25255B1%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-c0uSJHag8C0/TqUIU9_RziI/AAAAAAAAApE/m4RxAi3IPjk/image_thumb10%25255B1%25255D.png?imgmax=800" width="329" height="70"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;then select &lt;strong&gt;New Job&lt;/strong&gt; to create new content deployment job. &lt;/p&gt; &lt;p align="justify"&gt;Then Specify &lt;strong&gt;Title&lt;/strong&gt; and Description (Optional) and for the source application select &lt;font color="#0000a0"&gt;&lt;strong&gt;Source Web Application&lt;/strong&gt;&lt;/font&gt; as &lt;strong&gt;Development&lt;/strong&gt; and &lt;font color="#004080"&gt;&lt;strong&gt;Source Site site collection&lt;/strong&gt;&lt;/font&gt;&amp;nbsp; as&amp;nbsp; &lt;strong&gt;/sites/ALR &lt;/strong&gt;( this is as per scenario you can choose your one)&lt;/p&gt; &lt;p align="justify"&gt;then you need to give production server Central Admin URL with the Port to &lt;font color="#004040"&gt;&lt;strong&gt;Destination Central Administration Web Application&lt;/strong&gt;&lt;/font&gt;. here i found that some times we need to give the with IP addresses. but most of the time URL will work.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-qiBSTcRDsT0/TqUIVomEtLI/AAAAAAAAApM/pyXiJybHpjg/s1600-h/image4%25255B1%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-o7-wqaqCLw0/TqUIW30BtwI/AAAAAAAAApU/ijE1h5nBNC0/image_thumb1%25255B1%25255D.png?imgmax=800" width="344" height="109"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;Then we need to provide authentication information. here most users are failing in this point (I were also). because what ever the selection we made we have to provide user name and password. Earlier i thought if we select &lt;strong&gt;windows authentication&lt;/strong&gt; it does not need but it is not. Following shows sample values for&amp;nbsp; &lt;font color="#804000"&gt;&lt;strong&gt;Authentication Information&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-ifeNYaFn9eU/TqUIX9mO69I/AAAAAAAAApc/aOOM9D5xvv4/s1600-h/image8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-qEUzVd0iZF4/TqUIZfPuXpI/AAAAAAAAApk/RADxsfqO-h0/image_thumb3%25255B1%25255D.png?imgmax=800" width="323" height="243"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;after that select the destination Web Application and Site collection in &lt;font color="#800080"&gt;&lt;strong&gt;Destination web application and site collection&lt;/strong&gt;&lt;/font&gt; section.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-i27HMI-mzPM/TqUIaLqhRdI/AAAAAAAAAps/KBV4jFooihY/s1600-h/image15.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-1GjerotpVTY/TqUIb9H4Y_I/AAAAAAAAAp0/-jOrX5591Fc/image_thumb6.png?imgmax=800" width="244" height="108"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;For the moment leave Deploy User Names &lt;strong&gt;selected&lt;/strong&gt; and Security Information &lt;strong&gt;All&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;The SharePoint Automatically Create a Quick Deployment Job for you.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-w2cgQnO5ZU0/TqUIcx-iN8I/AAAAAAAAAp8/OSAyfOgICBE/s1600-h/image19.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-RNYJltpD-Ww/TqUId0GyTjI/AAAAAAAAAqE/wDUuNlf08Hs/image_thumb8%25255B1%25255D.png?imgmax=800" width="290" height="66"&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;For the moment leave this and create a Deployment Job by right clicking the Deployment Configuration.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-boEv3wh4rVY/TqUIe6GiuzI/AAAAAAAAAqM/ioM6VShY4fY/s1600-h/image23.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-_1ZzFi800BY/TqUIf3kSnvI/AAAAAAAAAqU/UYZnp-O2SHM/image_thumb10.png?imgmax=800" width="372" height="85"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;Here you can schedule the content deployment but for the movement select following options but of cause you can change them as you want later.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;SQL Snapshots --&amp;gt; Do not use SQL Snapshot&lt;br&gt;Scope --&amp;gt; Entire Site Collection&lt;/strong&gt;  &lt;p&gt;the clink and finish the job creation. then you will see following kind of a menu.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-QXN6vNN494E/TqUIgvKoQQI/AAAAAAAAAqc/Ybje3NN209M/s1600-h/image27.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-WXDkOQFqOJ4/TqUIhWwnLBI/AAAAAAAAAqg/2E3bhoG7c3Q/image_thumb12.png?imgmax=800" width="385" height="94"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;Now the hard part comes. In the Menu Click &lt;strong&gt;&lt;font color="#ff0000"&gt;Run Now&lt;/font&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;font color="#0000ff"&gt;Test Job&lt;/font&gt;&lt;/strong&gt;. (I’m Recommending Test Job before actually run the Job. Because some times Run Now deploy content partially and failed thus better to Test the Job before it is actually run. ) Then Most of the Time you will get &lt;font color="#ff0000"&gt;&lt;strong&gt;Test Failed&lt;/strong&gt;&lt;/font&gt;. If Not you are very lucky, thus you can proceed with the &lt;strong&gt;Run Now&lt;/strong&gt;. But if you get &lt;font color="#800040"&gt;&lt;strong&gt;Test Failed (sure you are :-) )&lt;/strong&gt;&lt;/font&gt; Following are the workaround you can fixed those errors.&lt;/p&gt; &lt;h3&gt;Following are the most common errors you are getting..&lt;/h3&gt; &lt;p align="justify"&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Could not find Feature someFeature.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;This error coming because this feature is not in the Production Server. Thus Install the Feature to the production server and run the &lt;strong&gt;Test Job &lt;/strong&gt;again, then it will say another feature is missing thus keep on adding or removing unnecessary features in the development machine until it get succeed. You can find more feature details by using&amp;nbsp; power shell commands (&lt;a href="http://melick-rajee.blogspot.com/2011/10/power-shell-command-for-get-sharepoint.html"&gt;click here&lt;/a&gt;).&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Could not find Feature FT-01-bbb35132-7695-139b-2e18-27444285e766.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;These features are InfoPath Form Template Features. Thus get the relevant Form template and upload it to the production server.&amp;nbsp; The run the &lt;strong&gt;Test Job&lt;/strong&gt; and see the progress.&lt;/p&gt; &lt;p&gt;If every thing finds most of the time you are getting these kind of errors.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;An unexpected error has occurred &lt;/strong&gt;&lt;/font&gt; &lt;li&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title. &lt;/strong&gt;&lt;/font&gt; &lt;li&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Unable to import the folder _catalogs/fpdatasources. There is already an object with the Id d029169b-1f86-4275-bb99-dd78a48f7952 in the database from another site collection.&lt;/strong&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align="justify"&gt;These errors are coming because content database is having these objects and those are orphan in the site collection. thus you can repair the content database to delete these orphan objects in the particular site collection.&amp;nbsp; &lt;/p&gt; &lt;p&gt;thus you can use following power shell command to get rid of these errors (&lt;a href="http://melick-rajee.blogspot.com/2011/10/repair-sharepoint-database.html"&gt;click here&lt;/a&gt;). &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4181324004596782525?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4181324004596782525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4181324004596782525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4181324004596782525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4181324004596782525'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/how-to-do-sharepoint-2010-content.html' title='How to do SharePoint 2010 Content Deployment'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-lrdN_I1GCIA/TqUIIIrDj5I/AAAAAAAAAn0/E9DnB9FEDeA/s72-c/image_thumb1.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-9032344722047348088</id><published>2011-10-24T13:36:00.001+07:00</published><updated>2011-10-24T13:36:12.474+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><title type='text'>Repair SharePoint Database</title><content type='html'>&lt;p align="justify"&gt;sometimes you may encountered with problems such as restoring failures and&amp;nbsp; content deployment failures thus it is better to repair the database and see where is there any orphan objects in the site collection.&lt;/p&gt; &lt;p align="justify"&gt;For that go to &lt;font color="#804040"&gt;&lt;strong&gt;SharePoint Management Shell as an administrator&lt;/strong&gt;&lt;/font&gt;,&lt;/p&gt; &lt;p align="justify"&gt;use following command&lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#0000ff"&gt;&lt;strong&gt;stsadm -o databaserepair -url &amp;lt;url name&amp;gt; -databasename &amp;lt;database name&amp;gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;Example,&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-fHr2FJxl24U/TqUHUzOQ_WI/AAAAAAAAAnM/y5u9P6eQyDY/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/--9HXSI4ND8w/TqUHVgngr7I/AAAAAAAAAnU/f4m_G-Y8zUg/image_thumb%25255B1%25255D.png?imgmax=800" width="536" height="113"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;here no Orphaned Objects found if they are listed run the command with &lt;font color="#004080"&gt;&lt;strong&gt;deletecorruption&lt;/strong&gt;&lt;/font&gt; option.&lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#0000ff"&gt;&lt;strong&gt;stsadm -o databaserepair -url &amp;lt;url name&amp;gt; -databasename &amp;lt;database name&amp;gt;&lt;/strong&gt;&lt;/font&gt; &lt;font color="#ff0000"&gt;&lt;strong&gt;-deletecorruption&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-8rH5XCxx9rw/TqUHWMKDjuI/AAAAAAAAAnc/lsT87jWD6qI/s1600-h/image%25255B12%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-gDGieqKC0MI/TqUHWwdf8hI/AAAAAAAAAnk/DVtQi670avI/image_thumb%25255B13%25255D.png?imgmax=800" width="549" height="91"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-9032344722047348088?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/9032344722047348088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=9032344722047348088' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/9032344722047348088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/9032344722047348088'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/repair-sharepoint-database.html' title='Repair SharePoint Database'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh4.ggpht.com/--9HXSI4ND8w/TqUHVgngr7I/AAAAAAAAAnU/f4m_G-Y8zUg/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-5764050299199782415</id><published>2011-10-18T17:28:00.001+07:00</published><updated>2011-10-18T17:28:30.466+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><title type='text'>Power Shell Command for get SharePoint Feature (SP Feature) By ID</title><content type='html'>&lt;p&gt;Use following power shell command to&amp;nbsp; search and get the SharePoint Feature.&lt;/p&gt; &lt;p&gt;&lt;font color="#800040"&gt;&lt;strong&gt;Get-SPFeature -Identity ID&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-_B1Xo51vnHU/Tp1UyH_lmcI/AAAAAAAAAm8/moHQts8ePBs/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-xSUhmUlL5KA/Tp1UzK9nW3I/AAAAAAAAAnE/dJbN_AkIr8Q/image_thumb%25255B1%25255D.png?imgmax=800" width="615" height="92"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-5764050299199782415?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/5764050299199782415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=5764050299199782415' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5764050299199782415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5764050299199782415'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/power-shell-command-for-get-sharepoint.html' title='Power Shell Command for get SharePoint Feature (SP Feature) By ID'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-xSUhmUlL5KA/Tp1UzK9nW3I/AAAAAAAAAnE/dJbN_AkIr8Q/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2508072710529335180</id><published>2011-10-18T16:37:00.001+07:00</published><updated>2011-10-18T16:37:41.259+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>SharePoint Solution deployment not working and Falling in the front end after installing the SP1 (SharePoint Service Pack 1)</title><content type='html'>&lt;p&gt;This issue is also generate the following event log.&lt;/p&gt; &lt;p align="justify"&gt;Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance  &lt;p align="justify"&gt;Reason: Requested registry access is not allowed.  &lt;p align="justify"&gt;Technical Support Details:&lt;br&gt;System.Security.SecurityException: Requested registry access is not allowed.&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)&lt;br&gt;&lt;/p&gt; &lt;p align="justify"&gt;these might be other reason also like not having correct permission to the application pool running user. But in my case i solved it by running the &lt;strong&gt;&lt;font color="#800040"&gt;SharePoint Product Configuration Wizard&lt;/font&gt;&lt;/strong&gt;. &lt;p&gt;&amp;nbsp;&lt;a href="http://lh6.ggpht.com/-1RrM24-ooAY/Tp1I37EZboI/AAAAAAAAAms/aUH2ZwWNKM0/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-VejL4IQpdvo/Tp1I4ytnmQI/AAAAAAAAAm0/o-NQE-kgk9o/image_thumb%25255B2%25255D.png?imgmax=800" width="351" height="113"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2508072710529335180?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2508072710529335180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2508072710529335180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2508072710529335180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2508072710529335180'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/sharepoint-solution-deployment-not.html' title='SharePoint Solution deployment not working and Falling in the front end after installing the SP1 (SharePoint Service Pack 1)'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh4.ggpht.com/-VejL4IQpdvo/Tp1I4ytnmQI/AAAAAAAAAm0/o-NQE-kgk9o/s72-c/image_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-8920853633100722434</id><published>2011-10-13T20:03:00.000+07:00</published><updated>2011-11-04T20:03:35.465+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentaion'/><title type='text'>Presentation - MVC 3 @ University of Moratuwa</title><content type='html'>&lt;div style="width: 100%" id="__ss_10018350"&gt;&lt;strong style="margin: 12px 0px 4px; display: block"&gt;&lt;a title="Mvc3 crash" href="http://www.slideshare.net/MelickBaranasooriya/mvc3-crash" target="_blank"&gt;Mvc3 crash&lt;/a&gt;&lt;/strong&gt; &lt;iframe height="500" marginheight="0" src="http://www.slideshare.net/slideshow/embed_code/10018350" frameborder="0" width="600" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;div style="padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px"&gt;View more &lt;a href="http://www.slideshare.net/" target="_blank"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/MelickBaranasooriya" target="_blank"&gt;Melick Rajee&lt;/a&gt; &lt;/div&gt;&lt;/div&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#004040"&gt;@ University Of Moratuwa 20 Oct 2011 10.30AM – 11.30AM&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I have conducted this presentation&amp;nbsp; for IT students in &lt;strong&gt;Moratuwa&lt;/strong&gt; University. The entire workshop is organized by &lt;a href="http://www.champs.lk/"&gt;Student Champs&lt;/a&gt; with great guidance of &lt;a href="http://www.welasharp.net/"&gt;Wela&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;I hope presentation went well and few questions are asked from student also. The presentation gave an introduction and guidance to Microsoft MVC 3 application development.&amp;nbsp;&amp;nbsp; &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8920853633100722434?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8920853633100722434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8920853633100722434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8920853633100722434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8920853633100722434'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/11/presentation-mvc-3-university-of.html' title='Presentation - MVC 3 @ University of Moratuwa'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4563598663519341722</id><published>2011-10-12T14:13:00.001+07:00</published><updated>2011-10-12T14:13:45.385+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><title type='text'>Switch SharePoint  Pages to Edit Mode</title><content type='html'>&lt;pre&gt;Type following JavaScript in the Address bar in the browser.&lt;/pre&gt;&lt;pre&gt;javascript:MSOLayout_ToggleLayoutMode();&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4563598663519341722?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4563598663519341722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4563598663519341722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4563598663519341722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4563598663519341722'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/switch-sharepoint-pages-to-edit-mode.html' title='Switch SharePoint  Pages to Edit Mode'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-2725263471863237021</id><published>2011-10-06T19:29:00.001+07:00</published><updated>2011-10-06T19:29:37.422+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Generic'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>Generic Type Convert in C#</title><content type='html'>&lt;p&gt;&lt;font color="#004080"&gt;&lt;strong&gt;Cannot implicitly convert type 'object' to 'T'. An explicit conversion exists (are you missing a cast?)&lt;/strong&gt;&lt;/font&gt;&amp;nbsp; &lt;pre class="code"&gt;Following code can be use to convert your object to generic value.&lt;/pre&gt;&lt;pre class="code"&gt;T ret = (T)&lt;span style="color: #2b91af"&gt;Convert&lt;/span&gt;.ChangeType(&lt;strong&gt;yourobject&lt;/strong&gt;,&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(T));&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2725263471863237021?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2725263471863237021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2725263471863237021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2725263471863237021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2725263471863237021'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/generic-type-convert-in-c.html' title='Generic Type Convert in C#'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4346919607386126545</id><published>2011-10-06T13:27:00.001+07:00</published><updated>2011-10-06T13:27:22.072+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>SharePoint 2010 List Template Ids</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;table border="0" cellspacing="0" cellpadding="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width="64"&gt; &lt;p align="center"&gt;&lt;strong&gt;ID&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="192"&gt; &lt;p align="center"&gt;&lt;strong&gt;List&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="64"&gt; &lt;p align="center"&gt;&lt;strong&gt;ID&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="243"&gt; &lt;p align="center"&gt;&lt;strong&gt;List&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;1200&lt;/td&gt; &lt;td width="192"&gt;Administrator tasks list&lt;/td&gt; &lt;td&gt;202&lt;/td&gt; &lt;td&gt;Meeting Attendees list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;104&lt;/td&gt; &lt;td width="192"&gt;Announcements list&lt;/td&gt; &lt;td&gt;204&lt;/td&gt; &lt;td&gt;Meeting Decisions list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;303&lt;/td&gt; &lt;td width="192"&gt;Blog Categories list&lt;/td&gt; &lt;td&gt;207&lt;/td&gt; &lt;td&gt;Meeting Objectives list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;302&lt;/td&gt; &lt;td width="192"&gt;Blog Comments list&lt;/td&gt; &lt;td&gt;200&lt;/td&gt; &lt;td&gt;Meeting Series list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;301&lt;/td&gt; &lt;td width="192"&gt;Blog Posts list&lt;/td&gt; &lt;td&gt;210&lt;/td&gt; &lt;td&gt;Meeting text box&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;105&lt;/td&gt; &lt;td width="192"&gt;Contacts list&lt;/td&gt; &lt;td&gt;211&lt;/td&gt; &lt;td&gt;Meeting Things To Bring list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;120&lt;/td&gt; &lt;td width="192"&gt;Custom grid for a list&lt;/td&gt; &lt;td&gt;212&lt;/td&gt; &lt;td&gt;Meeting Workspace Pages list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;118&lt;/td&gt; &lt;td width="192"&gt;Custom Workflow Process&lt;/td&gt; &lt;td&gt;117&lt;/td&gt; &lt;td&gt;No-Code Workflows&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;130&lt;/td&gt; &lt;td width="192"&gt;Data Connection library&lt;/td&gt; &lt;td&gt;2002&lt;/td&gt; &lt;td&gt;Personal document library&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;110&lt;/td&gt; &lt;td width="192"&gt;Data sources&lt;/td&gt; &lt;td&gt;109&lt;/td&gt; &lt;td&gt;Picture library&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;108&lt;/td&gt; &lt;td width="192"&gt;Discussion board&lt;/td&gt; &lt;td&gt;300&lt;/td&gt; &lt;td&gt;Portal Sites list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;101&lt;/td&gt; &lt;td width="192"&gt;Document library&lt;/td&gt; &lt;td&gt;2003&lt;/td&gt; &lt;td&gt;Private document library&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;106&lt;/td&gt; &lt;td width="192"&gt;Events list&lt;/td&gt; &lt;td&gt;111&lt;/td&gt; &lt;td&gt;Site template gallery&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;150&lt;/td&gt; &lt;td width="192"&gt;Gantt Tasks list&lt;/td&gt; &lt;td&gt;102&lt;/td&gt; &lt;td&gt;Survey&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;100&lt;/td&gt; &lt;td width="192"&gt;Generic list / Custom List&lt;/td&gt; &lt;td&gt;107&lt;/td&gt; &lt;td&gt;Tasks list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;1100&lt;/td&gt; &lt;td width="192"&gt;Issue tracking&lt;/td&gt; &lt;td&gt;112&lt;/td&gt; &lt;td&gt;User Information list&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;103&lt;/td&gt; &lt;td width="192"&gt;Links list&lt;/td&gt; &lt;td&gt;113&lt;/td&gt; &lt;td&gt;Web Part gallery&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;114&lt;/td&gt; &lt;td width="192"&gt;List template gallery&lt;/td&gt; &lt;td&gt;119&lt;/td&gt; &lt;td&gt;Wiki Page library&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;116&lt;/td&gt; &lt;td width="192"&gt;Master pages gallery&lt;/td&gt; &lt;td&gt;140&lt;/td&gt; &lt;td&gt;Workflow History&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="64"&gt;201&lt;/td&gt; &lt;td width="192"&gt;Meeting Agenda list&lt;/td&gt; &lt;td&gt;115&lt;/td&gt; &lt;td&gt;XML Form library&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4346919607386126545?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4346919607386126545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4346919607386126545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4346919607386126545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4346919607386126545'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/sharepoint-2010-list-template-ids.html' title='SharePoint 2010 List Template Ids'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-1542392602875612863</id><published>2011-10-05T18:54:00.001+07:00</published><updated>2011-10-05T18:54:45.119+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><title type='text'>My SQL LIMIT Clause gives problems with Stored Procedure</title><content type='html'>&lt;p&gt;I found the following workout.&lt;/p&gt; &lt;p&gt;CREATE PROCEDURE GET_SOMETHING ( IN paraFrom INT , IN paraPage INT )&lt;/p&gt; &lt;p&gt;BEGIN&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET @SQL = CONCAT("SELECT * FROM customers LIMIT ",paraFrom" , ",paraPage ) ;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PREPARE stmt FROM @sql; execute stmt;&lt;br&gt;END&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1542392602875612863?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1542392602875612863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1542392602875612863' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1542392602875612863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1542392602875612863'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/my-sql-limit-clause-gives-problems-with.html' title='My SQL LIMIT Clause gives problems with Stored Procedure'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6737745769181664860</id><published>2011-10-05T16:00:00.001+07:00</published><updated>2011-10-05T16:00:46.175+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Could not load file or assembly 'Microsoft.SharePoint.Sandbox' or one of its dependencies ..</title><content type='html'>&lt;p&gt;Go to the bin folder and remove the DLL and debug. It should work. It worked for me. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6737745769181664860?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6737745769181664860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6737745769181664860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6737745769181664860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6737745769181664860'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/could-not-load-file-or-assembly-or-one.html' title='Could not load file or assembly &amp;#39;Microsoft.SharePoint.Sandbox&amp;#39; or one of its dependencies ..'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6818257372792209333</id><published>2011-10-04T18:34:00.001+07:00</published><updated>2011-10-04T18:34:52.902+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Form resubmit on Refresh</title><content type='html'>&lt;p align="justify"&gt;I had issue with resubmitting the form&amp;nbsp; when user refresh the form. i had to disable this accidental behavior in the MVC3. Yes of cause we can redirect to another action to prevent this behavior. but in my case i do not want to do that. there fore i used following JavaScript to &lt;strong&gt;disable browser refresh and back button&lt;/strong&gt;.&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;script&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;    &lt;/span&gt;window.history.forward(1);&lt;br /&gt;    document.attachEvent(&lt;span style="color: maroon"&gt;"onkeydown"&lt;/span&gt;, my_onkeydown_handler);&lt;br /&gt;    &lt;span style="color: blue"&gt;function &lt;/span&gt;my_onkeydown_handler() {&lt;br /&gt;        &lt;span style="color: blue"&gt;switch &lt;/span&gt;(event.keyCode) {&lt;br /&gt;&lt;br /&gt;            &lt;span style="color: blue"&gt;case &lt;/span&gt;116: &lt;span style="color: #006400"&gt;// 'F5' &lt;br /&gt;                &lt;/span&gt;event.returnValue = &lt;span style="color: blue"&gt;false&lt;/span&gt;;&lt;br /&gt;                event.keyCode = 0;&lt;br /&gt;                window.status = &lt;span style="color: maroon"&gt;"F5 disabled"&lt;/span&gt;;&lt;br /&gt;                &lt;span style="color: blue"&gt;break&lt;/span&gt;;&lt;br /&gt;        }&lt;br /&gt;    } &lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;script&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6818257372792209333?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6818257372792209333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6818257372792209333' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6818257372792209333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6818257372792209333'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/form-resubmit-on-refresh.html' title='Form resubmit on Refresh'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-548090431005671794</id><published>2011-10-03T14:02:00.001+07:00</published><updated>2011-10-03T14:02:07.735+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Xpath'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>InfoPath Repeating Rows Selection Issue/Problem</title><content type='html'>&lt;p align="justify"&gt;I had a problem with selecting InfoPath repeating rows for applying a condition. Therefore for i used following mechanism to correctly select the current row.&amp;nbsp; Here is my scenario,&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-gjOJOYomQwo/Told5x9xmZI/AAAAAAAAAmk/vvJAlkLhSBQ/s1600-h/image%25255B2%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-JIH5GhISBTg/Told7SUEEXI/AAAAAAAAAmo/TGo_lOJnjEI/image_thumb.png?imgmax=800" width="229" height="120"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;I’m writing a formula for &lt;font color="#0000ff"&gt;&lt;strong&gt;fld_CorpStatus&lt;/strong&gt;&lt;/font&gt; by accessing field &lt;font color="#008040"&gt;&lt;strong&gt;fld_corpOff&lt;/strong&gt;&lt;/font&gt;. but i should access the same row data in the run time. there for i used following xpath expression to access the fld_corpOff.&lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#800080"&gt;&lt;strong&gt;current()/../fld_corpOff&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Explanation :-&lt;/strong&gt; we are getting the current (fld_CorpStatus)&amp;nbsp; and then go to it’s parent (CorpOfficeGroup) the access the fld_corpOff &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-548090431005671794?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/548090431005671794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=548090431005671794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/548090431005671794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/548090431005671794'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/10/infopath-repeating-rows-selection.html' title='InfoPath Repeating Rows Selection Issue/Problem'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-JIH5GhISBTg/Told7SUEEXI/AAAAAAAAAmo/TGo_lOJnjEI/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-5582947328576756197</id><published>2011-09-28T12:53:00.001+07:00</published><updated>2011-09-28T12:53:39.698+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>SharePoint  2010 CSS classes</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;table border="1" cellspacing="0" cellpadding="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Element&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;&lt;b&gt;CSS Class(es)&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;&lt;b&gt;Notes&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;&amp;lt;body&amp;gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;v4master&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Applies CSS styles in corev4.css to the page.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Ribbon container&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-pr&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Makes the Ribbon container the full width of the page row.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-ribbonrowhidetitle&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Used to show or hide the ribbon title area when the ribbon is opened or closed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-ribbon&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Defines the main ribbon CSS class.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-ribbonTopBars&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Defines the elements above the ribbon body, from the top of the page up to and including the ribbon tab titles.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Site Actions menu&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-siteactionsmenu&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the Site Actions menu as a whole.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-siteactionsmenuinner&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the inner Site Actions menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-menu-a&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets the margin-right property on the top menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Breadcrumb menu&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumb-menu&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the Breadcrumb menu as a whole.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumb-anchor&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on hover over the Breadcrumb menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Breadcrumb menu header&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumb-top&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Breadcrumb menu top area when the drop-down tree is open.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumb-header&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the breadcrumb folder icon when the breadcrumb tree drop-down menu is selected.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Breadcrumb menu items&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumb&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets breadcrumb item styles.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumbRootNode&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the breadcrumb Team Site root tree element.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-breadcrumbCurrentNode&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the breadcrumb Home tree element.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Edit tab&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-qatbutton&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Edit tab.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Browse tab&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tts&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the container for the tab title.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the tab title.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-browseTab&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles specific to the Browse tab&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt-s&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for a selected tab title.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt-a&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the Ribbon tab title anchor (the link element that makes the table title clickable).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt-span&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for tab title span.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Page Tab&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the tab title.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt-a&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the Ribbon tab title anchor (the link element that makes the table title clickable).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-cui-tt-span&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for tab title span.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;User menu&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-trc-container-menu&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the top right corner container menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-SPLink&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles applied to a menu item.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-welcomeMenu&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets the margin-right property on a drop-down menu item.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-menu-a&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets the margin-right property on the top menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Title row&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-pr&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Makes the Title row the full width of the page row.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-title&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on page title elements.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-lp&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for elements on the left part of the page.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-titlelogo&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets margin and alignment on the title logo image.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-titletext&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on all text to the right of the page logo graphic.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Search area&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-search&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets padding values on the Search control in the secondary menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-rp&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for elements on the right part of the page.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;QuickLaunch menu items&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;menu-item&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles for the Home button located under the Site logo.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;menu-item-text&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the text of the Home button.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Recycle Bin link&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-rcycl&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles specific to the Recycle Bin link element.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-splinkbutton-text&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the link element.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;All Site Content link&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-specialNavIcon&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles specific to the All Site Content link element.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-splinkbutton-text&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the link element.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Shared Documents link&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-WPHeaderTd&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the header section in the Web Part.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-standardheader&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets standard header styles.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-WPTitle&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Web Part title.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Web part menu&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-WPHeaderTdMenu&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Web Part menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-WPHeaderMenuImg&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Web Part menu image.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Selection checkbox&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-WPHeaderTdSelection&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Web Part selection check box.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-WPHeaderTdSelSpan&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets span styles on the Web Part selection check box.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Item selection checkbox&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-vh-icon&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the item selection check-box icon.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-vh2&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets the height property.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Type option, Name option, Modified option, Modified By option&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-vh-div&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets padding-top property.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;s4-ctx&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets padding, position, and display properties on the drop-down menu.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-vh2&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets the height property.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Shared Documents text&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-vb&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles on the Shared Documents control group text area (bottom of group).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Add document link&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-addnew&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Sets styles specified to the Add document link.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Photo image&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rte-layoutszone-outer&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor class that sets the float property on controls of the Team Site Home Web part.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rte-layoutszone-inner&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor class that sets styles on content areas of the Team Site Home Web part.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rteThemeForeColor-5-5&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor class that sets the theme fore-color (to dark blue) on the Getting Started Wiki area.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Getting Started area&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rte-layoutszone-outer&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor class that sets the float property on controls of the Team Site Home Web part.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rte-layoutszone-inner&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor class that sets styles on content areas of the Team Site Home Web part.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rteThemeForeColor-5-5&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor class that sets the theme fore-color (to dark blue) on the Getting Started Wiki area.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="26%"&gt; &lt;p&gt;&lt;b&gt;Share this site, Change site theme, Set site icon, Customize QuickLaunch links&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="39%"&gt; &lt;p&gt;ms-rteTable-0, ms-rteTableEvenRow-0, ms-rteTableEvenCol-0, ms-rteTableOddCol-0, ms-rteTableOddRow-0&lt;/p&gt;&lt;/td&gt; &lt;td valign="top" width="34%"&gt; &lt;p&gt;Rich text editor classes that set styles on the controls under the Getting Started Wiki area.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt; &lt;a href="http://msdn.microsoft.com/en-us/library/ms438349.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms438349.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-5582947328576756197?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/5582947328576756197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=5582947328576756197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5582947328576756197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5582947328576756197'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/09/sharepoint-2010-css-classes.html' title='SharePoint  2010 CSS classes'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6018488799781752902</id><published>2011-09-22T11:11:00.001+07:00</published><updated>2011-09-22T11:11:36.628+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Save site as template not visible in SharePoint Site Actions</title><content type='html'>&lt;p align="justify"&gt;This can make visible by turning off the &lt;strong&gt;&lt;font color="#800000"&gt;SharePoint Server Publishing&lt;/font&gt;&lt;/strong&gt; in the manage site features. If you enable the publishing features Save as Template is not visible.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6018488799781752902?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6018488799781752902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6018488799781752902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6018488799781752902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6018488799781752902'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/09/save-site-as-template-not-visible-in.html' title='Save site as template not visible in SharePoint Site Actions'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-7867864827932931812</id><published>2011-09-17T15:20:00.001+07:00</published><updated>2011-09-17T15:20:04.081+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Please locate this file or insert Microsoft Visual Studio Team System 2010 Team Suite Beta 1 – ENU disk 1 now</title><content type='html'>&lt;p&gt;this massage came when i tried to install&amp;nbsp; Visual Studio 2010 Service Pack 1. I do not have the Team foundation installed in my machine either. &lt;/p&gt; &lt;p&gt;Ultimately i found that there is a program installed in &lt;strong&gt;Microsoft Team Foundation Server 2010 Beta 1 Object Model – ENU&lt;/strong&gt; in the program files. &lt;font color="#800000"&gt;&lt;strong&gt;i uninstalled it&lt;/strong&gt;&lt;/font&gt;, &lt;/p&gt; &lt;p&gt;Wow.. I manage to install the service pack without any errors.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7867864827932931812?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7867864827932931812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7867864827932931812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7867864827932931812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7867864827932931812'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/09/please-locate-this-file-or-insert.html' title='Please locate this file or insert Microsoft Visual Studio Team System 2010 Team Suite Beta 1 – ENU disk 1 now'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6308336132061439510</id><published>2011-09-08T18:00:00.001+07:00</published><updated>2011-09-23T10:19:49.627+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkFlow'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to Improve Workflow Performance in SharePoint Server 2010</title><content type='html'>&lt;p&gt;SharePoint workflows are getting&amp;nbsp; slow for several reasons. in my environment I'm having a problem with following performance issues, therefore in my environment i got following problems.&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div&gt;&lt;font color="#004080"&gt;When a item added to the library it takes some times to initiate the workflow.&lt;/font&gt;&lt;/div&gt; &lt;li&gt; &lt;div&gt;&lt;font color="#004080"&gt;Workflow mail generating is not very fast sometimes.&lt;/font&gt;&lt;/div&gt; &lt;li&gt; &lt;div&gt;&lt;font color="#004080"&gt;Workflows takes more time to process&lt;/font&gt;&lt;/div&gt; &lt;li&gt; &lt;div&gt;&lt;font color="#004080"&gt;“Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time” is coming sometimes. &lt;/font&gt;&lt;/div&gt; &lt;li&gt; &lt;div&gt;&lt;font color="#8080ff"&gt;I had a custom workflow approval web part and it is taking more than 30 seconds to proceed.&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align="justify"&gt;&lt;strong&gt;Work Done&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#8080ff"&gt;&lt;strong&gt;I had a custom workflow approval web part and it is taking more than 30 seconds to proceed.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;here in my custom web part there is the function which is programmatically updating the workflow.&lt;/p&gt; &lt;p align="justify"&gt;&lt;strong&gt;SPWorkflowTask.AlterTask(item, data, false)&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;the last parameter mentioning whether it is synchronous asynchronous. if&amp;nbsp; is it true it it will wait until workflow schedule accept the workflow task. this is taking 30 seconds most of&amp;nbsp; the time. if it is false the method will return true immediately and not waiting for schedule approval.&lt;/p&gt; &lt;p align="justify"&gt;Reference:&lt;br&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkflowtask.altertask.aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkflowtask.altertask.aspx&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p align="justify"&gt;&lt;strong&gt;Farm Level Workflow Improvements&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;There are few ways that we can improve SharePoint workflow&amp;nbsp; services.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Increase Throttle Size  &lt;li&gt;Increase Batch Size  &lt;li&gt;Time Out  &lt;li&gt;Workflow Timer Interval&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#008080"&gt;Increase Throttle Size&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;“The workflow throttle setting controls how many workflows can be processing at any one time on the entire server farm”. (Ref &lt;a href="http://msdn.microsoft.com/en-us/library/dd441390(v=office.12).aspx#WorkflowScalabilityPerformance_AdditionalResources" target="_blank"&gt;MSDN&lt;/a&gt;) since if we&amp;nbsp; can increase the throttle it will help to increase the number of workflows running at a time.&lt;/p&gt; &lt;p align="justify"&gt;Following command shows how to get the existing value. the default is set to &lt;font color="#0000ff"&gt;&lt;strong&gt;15&lt;/strong&gt;&lt;/font&gt;. use SharePoint shell to execute this command. &lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#004000"&gt;&lt;strong&gt;stsadm -o getproperty -pn workflow-eventdelivery-throttle&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-heV2LwDyCwY/TmigEtyDW-I/AAAAAAAAAk8/VgqEwODFIAc/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-aQ-b0aNa-2c/TmigF07VDuI/AAAAAAAAAlA/eKkTbYgvRU4/image_thumb%25255B1%25255D.png?imgmax=800" width="507" height="82"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;You can change the value by using following command. Below example change the current value to 25.&lt;/p&gt; &lt;p&gt;&lt;font color="#004040"&gt;&lt;strong&gt;stsadm -o setproperty -pn workflow-eventdelivery-throttle -pv "25"&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-rc_neDiOcpo/TmigGR_YcvI/AAAAAAAAAlE/ZEhioLq6b0I/s1600-h/image%25255B10%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-P8ykzEg20xU/TmigHaKAk-I/AAAAAAAAAlI/C3JMXu6qElM/image_thumb%25255B6%25255D.png?imgmax=800" width="512" height="104"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font color="#004040"&gt;&lt;strong&gt;Increase Batch Size&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;“batch size property controls how many work items waiting to be processed by the timer service will be executed in each run” (Ref &lt;a href="http://msdn.microsoft.com/en-us/library/dd441390(v=office.12).aspx#WorkflowScalabilityPerformance_AdditionalResources" target="_blank"&gt;MSDN&lt;/a&gt;). Therefore if we increase the Batch Size there will be more workflow items ready to execute in the next time. Batch size is improving performance in &lt;strong&gt;Immediate Execution&lt;/strong&gt; and &lt;strong&gt;Timer Job&lt;/strong&gt;.&lt;/p&gt; &lt;p align="justify"&gt;Following command shows the current batch size in the farm.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#800040"&gt;stsadm -o getproperty -pn workitem-eventdelivery-batchsize&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-KAUm_0HwOp4/TmigILHDNEI/AAAAAAAAAlM/dFjWQV1tKEA/s1600-h/image%25255B14%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-xNp7P99YvHM/TmigJGaiVhI/AAAAAAAAAlQ/hI7YQaPuFkQ/image_thumb%25255B8%25255D.png?imgmax=800" width="528" height="88"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;as you can see default value is set to &lt;strong&gt;100&lt;/strong&gt;. following command will increate the size to 125. &lt;/p&gt; &lt;p&gt;&lt;font color="#0080c0"&gt;&lt;strong&gt;stsadm -o setproperty -pn workitem-eventdelivery-batchsize -pv "125"&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-Tqmoc2bbNbA/TmigJ1JO1LI/AAAAAAAAAlU/apOg9WkB1-A/s1600-h/image%25255B23%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-ObxXFJYDJwQ/TmigKw22DUI/AAAAAAAAAlY/zmX4vqYLP50/image_thumb%25255B13%25255D.png?imgmax=800" width="543" height="105"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font color="#004040"&gt;&lt;strong&gt;Time Out&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Timeout specify the time which can be take maximum to complete the workflow timer job. of cause not finished timers jobs can&amp;nbsp; proceed in next cycle. this value is specify in &lt;strong&gt;minutes&lt;/strong&gt;. default value is 5.&lt;/p&gt; &lt;p&gt;Following command shows how you can view the current configuration.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#804000"&gt;stsadm -o getproperty -pn workflow-eventdelivery-timeout&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-U2-SNFvtbTY/TmigLnnfUJI/AAAAAAAAAlc/txcEwQc3FLs/s1600-h/image%25255B27%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-SlN4lM6__2w/TmigMku9UNI/AAAAAAAAAlg/98Jik1ktuqs/image_thumb%25255B15%25255D.png?imgmax=800" width="451" height="84"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Following command will change the existing value to 10.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv "10"&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-4KNC3xVHon8/TmigNGh7mVI/AAAAAAAAAlk/BtI0CfGq6Lk/s1600-h/image%25255B31%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-LzrSd0KPE0c/TmigPV1GWeI/AAAAAAAAAlo/o54tgppjsTQ/image_thumb%25255B17%25255D.png?imgmax=800" width="461" height="72"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Workflow Timer Interval&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Workflow timer Interval how often SPtimer job should run to process workflow items. this is specify in the application level not in the farm level like others.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;following command shows the current setting of the web application.&lt;/p&gt; &lt;p&gt;&lt;font color="#800080"&gt;&lt;strong&gt;stsadm -o getproperty -pn job-workflow -url &lt;/strong&gt;&lt;/font&gt;&lt;a href="http://Webapplication"&gt;&lt;font color="#800080"&gt;&lt;strong&gt;http://Webapplication&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If you type wrong URL following error will come.&lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#ff8040"&gt;&lt;strong&gt;The server administration programs and the Microsoft SharePoint Foundation Web applications on this Web server are not compatible.&amp;nbsp; Ensure that the administration program is the same version as the Web application.&lt;/strong&gt;&lt;/font&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-8kz2q9oKx54/TmigQvrempI/AAAAAAAAAls/zuFpsNJKiag/s1600-h/image%25255B35%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-d3UJiM0UIDg/TmigR1ZxmyI/AAAAAAAAAlw/a4fEVMSkam8/image_thumb%25255B19%25255D.png?imgmax=800" width="585" height="97"&gt;&lt;/a&gt;  &lt;p&gt;Following table shows the values you can set for the property. &lt;/p&gt; &lt;table border="1" cellspacing="0" cellpadding="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top"&gt; &lt;p&gt;&lt;strong&gt;SPTimer schedule string format&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt; &lt;td valign="top"&gt; &lt;p&gt;&lt;strong&gt;Meaning&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top"&gt; &lt;p&gt;"Every 10 minutes between 0 and 30"&lt;/p&gt;&lt;/td&gt; &lt;td valign="top"&gt; &lt;p&gt;Timer fires every 10 minutes from the top of the hour to half past the hour&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top"&gt; &lt;p&gt;"Hourly between 9 and 17"&lt;/p&gt;&lt;/td&gt; &lt;td valign="top"&gt; &lt;p&gt;Every hour from 9 A.M. to 5 P.M.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top"&gt; &lt;p&gt;"Daily at 15:00:00"&lt;/p&gt;&lt;/td&gt; &lt;td valign="top"&gt; &lt;p&gt;Timer fires every day at 3 P.M.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top"&gt; &lt;p&gt;"Monthly at 15 15:00:00"&lt;/p&gt;&lt;/td&gt; &lt;td valign="top"&gt; &lt;p&gt;Timer fires on the 15th of every month at 3 P.M.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Following command set the workflow timer interval.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#804040"&gt;stsadm -o setproperty -pn job-workflow -pv "Every 10 minutes between 0 and 30" -url http://webapplication:port&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-q2kBj10Ub4w/TmigStA_SgI/AAAAAAAAAl0/3WRwlfLG47c/s1600-h/image%25255B39%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-xm0gosqptAo/TmigTuDaFGI/AAAAAAAAAl4/7EuTu-GxM5M/image_thumb%25255B21%25255D.png?imgmax=800" width="558" height="86"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6308336132061439510?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6308336132061439510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6308336132061439510' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6308336132061439510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6308336132061439510'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/09/how-to-improve-workflow-performance-in.html' title='How to Improve Workflow Performance in SharePoint Server 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-aQ-b0aNa-2c/TmigF07VDuI/AAAAAAAAAlA/eKkTbYgvRU4/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-487611079028413332</id><published>2011-09-02T22:15:00.000+07:00</published><updated>2011-11-07T12:16:41.404+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Social'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentaion'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>Introduction to InfoPath and SharePoint 2010 Integration</title><content type='html'>&lt;p&gt;&lt;a href="http://lh3.ggpht.com/-TAq_7bdWGF4/TrdpsHKPBtI/AAAAAAAAAro/I8j9X9H8oFs/s1600-h/sharepoint%252520forum%252520-%2525209th%252520february%25255B6%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="sharepoint forum - 9th february" border="0" alt="sharepoint forum - 9th february" src="http://lh5.ggpht.com/-SP0xJDU7-5Q/Trdpt6wyrQI/AAAAAAAAArw/g6Rk0TTikBU/sharepoint%252520forum%252520-%2525209th%252520february_thumb%25255B4%25255D.png?imgmax=800" width="532" height="413"&gt;&lt;/a&gt;&lt;/p&gt; &lt;div style="width: 425px" id="__ss_10052956"&gt;&lt;strong style="margin: 12px 0px 4px; display: block"&gt;&lt;a title="Infopath controls" href="http://www.slideshare.net/MelickBaranasooriya/infopath-controls" target="_blank"&gt;InfoPath controls&lt;/a&gt;&lt;/strong&gt; &lt;iframe style="width: 520px; height: 425px" height="355" marginheight="0" src="http://www.slideshare.net/slideshow/embed_code/10052956" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;div style="padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px"&gt;View more &lt;a href="http://www.slideshare.net/" target="_blank"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/MelickBaranasooriya" target="_blank"&gt;Melick Baranasooriya&lt;/a&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/8556301325660294947-487611079028413332?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/487611079028413332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=487611079028413332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/487611079028413332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/487611079028413332'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/09/introduction-to-infopath-and-sharepoint.html' title='Introduction to InfoPath and SharePoint 2010 Integration'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-SP0xJDU7-5Q/Trdpt6wyrQI/AAAAAAAAArw/g6Rk0TTikBU/s72-c/sharepoint%252520forum%252520-%2525209th%252520february_thumb%25255B4%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-3530974633652622648</id><published>2011-08-15T13:16:00.001+07:00</published><updated>2011-08-15T13:16:43.275+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Load SharePoint List Items Using Server Object Model</title><content type='html'>&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt; &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;using&lt;/span&gt; (SPSite site = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SPSite(ServerUrl))&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;{&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; (SPWeb web = site.OpenWeb())&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        SPList Tasks = web.Lists[TaskListName];&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #008000"&gt;// What ever u want&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;&lt;!--CRLF--&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/8556301325660294947-3530974633652622648?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/3530974633652622648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=3530974633652622648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/3530974633652622648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/3530974633652622648'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/08/load-sharepoint-list-items-using-server.html' title='Load SharePoint List Items Using Server Object Model'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6497344393528618105</id><published>2011-08-15T13:11:00.001+07:00</published><updated>2011-08-15T13:11:08.262+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to use SharePoint Client Object Model to get User Information by User Lookup ID</title><content type='html'>&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 90.14%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; height: 375px; max-height: 400px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt; &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; getUserEmail(&lt;span style="color: #0000ff"&gt;int&lt;/span&gt; lookupid)&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;{&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    String Useremail = &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Empty; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; (ClientContext clientContext = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ClientContext(siteUrl))&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            Microsoft.SharePoint.Client.ListItem userInfo = clientContext.Web.SiteUserInfoList.GetItemById(lookupid);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            clientContext.Load(userInfo);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            clientContext.ExecuteQuery();&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            Useremail = userInfo[&lt;span style="color: #006080"&gt;"EMail"&lt;/span&gt;].ToString();&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        } &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;catch&lt;/span&gt; (Exception ex)&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #008000"&gt;// TODO: // handle the error             &lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    } &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; Useremail;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;&lt;!--CRLF--&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/8556301325660294947-6497344393528618105?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6497344393528618105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6497344393528618105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6497344393528618105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6497344393528618105'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/08/how-to-use-sharepoint-client-object.html' title='How to use SharePoint Client Object Model to get User Information by User Lookup ID'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-1096605574052640639</id><published>2011-08-15T12:54:00.001+07:00</published><updated>2011-08-15T12:54:18.845+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Load/Retrieve SharePoint List Items Using CAML in Client Object Model</title><content type='html'>&lt;p&gt;&amp;nbsp; &lt;p&gt;you can use following code segment to load data from SharePoint list using client object model. &lt;strong&gt;Microsoft.SharePoint.Client&lt;/strong&gt; DLL should get from the 14/BIN folder. &lt;p&gt;ClientContext clientContext = new ClientContext(&lt;font color="#0000ff"&gt;&lt;strong&gt;&lt;em&gt;siteUrl&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;);&lt;br&gt;clientContext.Load(clientContext.Web);  &lt;p&gt;Microsoft.SharePoint.Client.List oList = clientContext.Web.Lists.GetByTitle(&lt;font color="#0000ff"&gt;&lt;strong&gt;&lt;em&gt;tasklistName&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;);&lt;br&gt;clientContext.Load(oList);  &lt;p&gt;Microsoft.SharePoint.Client.CamlQuery cm = new CamlQuery();&lt;br&gt;cm.ViewXml = &lt;font color="#0000ff"&gt;&lt;strong&gt;&lt;em&gt;“&amp;lt;View&amp;gt;Some Query&amp;lt;/View&amp;gt;”&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;;&lt;br&gt;Microsoft.SharePoint.Client.ListItemCollection items = oList.GetItems(cm);  &lt;p&gt;clientContext.Load(items);&lt;br&gt;clientContext.ExecuteQuery();&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1096605574052640639?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1096605574052640639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1096605574052640639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1096605574052640639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1096605574052640639'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/08/loadretrieve-sharepoint-list-items.html' title='Load/Retrieve SharePoint List Items Using CAML in Client Object Model'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-8463463801852480135</id><published>2011-08-13T12:46:00.001+07:00</published><updated>2011-08-13T12:46:11.057+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><title type='text'>One or more activex controls could not be displayed because either</title><content type='html'>&lt;p&gt;This Error comes to me when i try to open Services.mcs&lt;/p&gt; &lt;p&gt;Following fix worked for me.&lt;/p&gt; &lt;p&gt;&lt;a href="http://go.microsoft.com/?linkid=9763081" target="_blank"&gt;Fix Me&lt;/a&gt; (Download and Run this)&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8463463801852480135?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8463463801852480135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8463463801852480135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8463463801852480135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8463463801852480135'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/08/one-or-more-activex-controls-could-not.html' title='One or more activex controls could not be displayed because either'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-3533814811775138058</id><published>2011-08-12T19:23:00.001+07:00</published><updated>2011-08-12T19:23:40.000+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>An entry has been added to the Windows event log of the server. Log ID:7893</title><content type='html'>&lt;p&gt;This error cause to have &lt;strong&gt;an error occurred querying a data source&lt;/strong&gt; in InfoPath when trying to query User profile service.&lt;/p&gt; &lt;p&gt; This error is very strange because it is &lt;strong&gt;happening only some times&lt;/strong&gt;. most of the time in &lt;strong&gt;the first time.&lt;/strong&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I found that following workout resolve the problem. in here i change the User profile service running application pool identity to someone who had access in the user profile service sharing.&lt;/p&gt; &lt;p&gt;Following are the steps..&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-dfyBmFOHblU/TkUbKTTXHII/AAAAAAAAAkc/xujZyKPGyBw/s1600-h/image%25255B2%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-4gttm8H0dpo/TkUbOduI4fI/AAAAAAAAAkg/Yhi-o0AFTSE/image_thumb.png?imgmax=800" width="244" height="86"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then go to advanced settings and change the identity.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-KInP8Zw7EmQ/TkUbOxwwgtI/AAAAAAAAAkk/LdK4tA7ugzY/s1600-h/image%25255B6%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-7WUun7ycvGc/TkUbPwJMFWI/AAAAAAAAAko/0P6YXKYAfZc/image_thumb%25255B2%25255D.png?imgmax=800" width="287" height="64"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt; Make sure the account has accessed in user profile service sharing.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-2eVWGyNCTbM/TkUbQTh5KvI/AAAAAAAAAks/ijh4ZT4m9ss/s1600-h/image%25255B17%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-x9cHfGp56Yg/TkUbRKvXcOI/AAAAAAAAAkw/Cbbzn0wv1X8/image_thumb%25255B7%25255D.png?imgmax=800" width="352" height="78"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-OAxV85qFgFE/TkUbR-_lRfI/AAAAAAAAAk0/2lULKgGqB14/s1600-h/image%25255B21%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-BfUTFdNaZoI/TkUbSqbl0tI/AAAAAAAAAk4/JhouBBpa5X8/image_thumb%25255B9%25255D.png?imgmax=800" width="369" height="257"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-3533814811775138058?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/3533814811775138058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=3533814811775138058' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/3533814811775138058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/3533814811775138058'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/08/entry-has-been-added-to-windows-event.html' title='An entry has been added to the Windows event log of the server. Log ID:7893'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-4gttm8H0dpo/TkUbOduI4fI/AAAAAAAAAkg/Yhi-o0AFTSE/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-8817499308081869069</id><published>2011-08-03T12:13:00.001+07:00</published><updated>2011-08-03T12:13:06.845+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>The error description is 'An invalid character was found in text content.'. sp_xml_removedocument: The value supplied</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This error happened to me when i try to add xml to the SQL server. this is because of i didn't mentioned the proper character set in the XML.&lt;/p&gt; &lt;p&gt;Thus is used following character set definition in the top of the XML.&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#004040"&gt;&amp;lt;?xml version="1.0" encoding="windows-1252" ?&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8817499308081869069?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8817499308081869069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8817499308081869069' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8817499308081869069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8817499308081869069'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/08/error-description-is-invalid-character.html' title='The error description is &amp;#39;An invalid character was found in text content.&amp;#39;. sp_xml_removedocument: The value supplied'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4535222614781525586</id><published>2011-07-29T13:44:00.001+07:00</published><updated>2011-07-29T13:44:14.120+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>User profile synchronization service starting issues</title><content type='html'>&lt;p&gt;There can be many problems which can cause to this issue, I will explain few which i found and how i address.&lt;/p&gt; &lt;h2&gt;user profile synchronization service stuck on starting&lt;/h2&gt; &lt;p&gt;here though i delete and recreate the user profile service application the synchronization still stuck in the middle.&lt;/p&gt; &lt;p&gt;let briefly see how user profile working ..&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-ShCVT9JbZr4/TjJWimZrjzI/AAAAAAAAAjc/hHj0CxbT6O4/s1600-h/clip_image002%25255B5%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://lh5.ggpht.com/-T45cy2YFVSE/TjJWkCJiIDI/AAAAAAAAAjg/Q_vVBBnZ-7w/clip_image002_thumb%25255B2%25255D.png?imgmax=800" width="541" height="332"&gt;&lt;/a&gt; &lt;p align="justify"&gt;User Profile Service Application and User profile Synchronization share same Sync BD and Profile DB. But User profile synchronization service&amp;nbsp; access AD through Forefront Identity Manager Synchronization service. &lt;/p&gt; &lt;h3&gt;&lt;font color="#408080"&gt;Workouts&lt;/font&gt;&lt;/h3&gt; &lt;p align="justify"&gt;First Check Forefront Identity Manager is Working (&lt;strong&gt;miisclient.exe&lt;/strong&gt;).&amp;nbsp; If this is starting most of the time their are no issues in Forefront Identity manager service and Sync Service. If so we have to check the databases for permission.&amp;nbsp; &lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#0000ff"&gt;&lt;strong&gt;C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-kOeNv5QBfxE/TjJWl5-Ok0I/AAAAAAAAAjk/gqJONF-LBoc/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-PG8DVdwuZug/TjJWnRwI6oI/AAAAAAAAAjo/ivmclCUcR6I/image_thumb%25255B1%25255D.png?imgmax=800" width="386" height="265"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;If this not working (Most of the time this is the issue).&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;we need to check following windows services. &lt;strong&gt;(Services.msc)&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-5dICE1Qjz1E/TjJWoS0SrbI/AAAAAAAAAjs/HAhbvMvVtAM/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-tdePRbfKmeU/TjJWpfjYzYI/AAAAAAAAAjw/L-u4fCEwDM8/image_thumb%25255B3%25255D.png?imgmax=800" width="431" height="95"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;if miisclient.exe is not working either above service may not work. so try to start the service. if it is a login problem it will say that can not strat due to login problem.&lt;/p&gt; &lt;p&gt;then go to &lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-oV7GDC6g-fA/TjJWqEiaUlI/AAAAAAAAAj0/H2UaMVIcYDQ/s1600-h/image%25255B11%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-5M0VPH8IUyg/TjJWrhkW0II/AAAAAAAAAj4/wlIhlUi5yKQ/image_thumb%25255B5%25255D.png?imgmax=800" width="298" height="246"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;and check logOn username,password&amp;nbsp; and Account.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-iHuyorO5_78/TjJWsgmHbUI/AAAAAAAAAj8/7QyH86hLDuY/s1600-h/image%25255B15%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-OL76K-QW7JU/TjJWtpDzBcI/AAAAAAAAAkA/RUooxyLTQnM/image_thumb%25255B7%25255D.png?imgmax=800" width="331" height="211"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;After correcting this try to restart the&amp;nbsp; profile service and synchronization in the SharePoint after restarting the IIS.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-iYk5_ajBTgg/TjJWuT90KVI/AAAAAAAAAkE/GRqY6e7tU6M/s1600-h/image%25255B20%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-mlGC10z7cFw/TjJWvPGl6QI/AAAAAAAAAkI/4KkfUqphkug/image_thumb%25255B10%25255D.png?imgmax=800" width="350" height="74"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4535222614781525586?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4535222614781525586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4535222614781525586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4535222614781525586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4535222614781525586'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/07/user-profile-synchronization-service.html' title='User profile synchronization service starting issues'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-T45cy2YFVSE/TjJWkCJiIDI/AAAAAAAAAjg/Q_vVBBnZ-7w/s72-c/clip_image002_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-3125631656140104089</id><published>2011-07-14T00:57:00.000+07:00</published><updated>2011-11-07T12:58:27.143+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkFlow'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentaion'/><title type='text'>SharePoint Custom Workflow activates development</title><content type='html'>&lt;p&gt;&lt;a href="http://lh6.ggpht.com/-aglBn9os578/Trdzeo-EGLI/AAAAAAAAAr4/Xk1u8ZAGZtc/s1600-h/SharePoint%252520Forum%252520-%25252013th%252520July%25255B4%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="SharePoint Forum - 13th July" border="0" alt="SharePoint Forum - 13th July" src="http://lh3.ggpht.com/-nT2RIv8BeB0/TrdzgtBxTKI/AAAAAAAAAsA/led1lbEz65g/SharePoint%252520Forum%252520-%25252013th%252520July_thumb%25255B2%25255D.png?imgmax=800" width="507" height="389"&gt;&lt;/a&gt;&lt;/p&gt; &lt;div style="width: 425px" id="__ss_10053096"&gt;&lt;strong style="margin: 12px 0px 4px; display: block"&gt;&lt;a title="Custom workflow in sharepoint" href="http://www.slideshare.net/MelickBaranasooriya/custom-workflow-in-sharepoint" target="_blank"&gt;Custom workflow in SharePoint&lt;/a&gt;&lt;/strong&gt; &lt;iframe style="width: 510px; height: 422px" height="355" marginheight="0" src="http://www.slideshare.net/slideshow/embed_code/10053096" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;div style="padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px"&gt;View more &lt;a href="http://www.slideshare.net/" target="_blank"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/MelickBaranasooriya" target="_blank"&gt;Melick Baranasooriya&lt;/a&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/8556301325660294947-3125631656140104089?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/3125631656140104089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=3125631656140104089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/3125631656140104089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/3125631656140104089'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/07/sharepoint-custom-workflow-activates.html' title='SharePoint Custom Workflow activates development'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-nT2RIv8BeB0/TrdzgtBxTKI/AAAAAAAAAsA/led1lbEz65g/s72-c/SharePoint%252520Forum%252520-%25252013th%252520July_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-8822842713479358161</id><published>2011-07-12T18:56:00.001+07:00</published><updated>2011-07-12T19:00:46.795+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><category scheme='http://www.blogger.com/atom/ns#' term='Social'/><title type='text'>SharePoint Forum Session</title><content type='html'>&lt;p&gt;&lt;a href="http://lh6.ggpht.com/-8_eG7BlDS1w/Thw3YGfBWVI/AAAAAAAAAjQ/pcYrq93xc2E/s1600-h/SharePoint%252520Forum%252520-%25252013th%252520July%25255B1%25255D%25255B2%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="SharePoint Forum - 13th July[1]" border="0" alt="SharePoint Forum - 13th July[1]" src="http://lh6.ggpht.com/-v-T7qg69VRk/Thw2hH6lNwI/AAAAAAAAAjU/UPxZYw2jeBo/SharePoint%252520Forum%252520-%25252013th%252520July%25255B1%25255D_thumb%25255B2%25255D.png?imgmax=800" width="610" height="473"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8822842713479358161?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8822842713479358161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8822842713479358161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8822842713479358161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8822842713479358161'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/07/sharepoint-forum-session.html' title='SharePoint Forum Session'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/-v-T7qg69VRk/Thw2hH6lNwI/AAAAAAAAAjU/UPxZYw2jeBo/s72-c/SharePoint%252520Forum%252520-%25252013th%252520July%25255B1%25255D_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-857672808256900365</id><published>2011-07-07T13:22:00.001+07:00</published><updated>2011-07-07T13:22:42.363+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to get Username , UserID in CAML Query</title><content type='html'>&lt;p&gt;If you are want to get the userID you can simple use following code.&lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;&amp;lt;Where&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Eq&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FieldRef Name='userfieldname' /&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Value Type='Integer'&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;UserID Type='Integer' /&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Value&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Eq&amp;gt;&lt;br&gt;&amp;lt;/Where&amp;gt; &lt;/font&gt; &lt;p align="justify"&gt;in here you should declare the UserID variable before it uses. normally If you make a user filter in the SharePoint designer it will automatically create the parameter in parameter binding section in the web part. &lt;p&gt;&lt;font color="#408080"&gt;&amp;lt;ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/&amp;gt; &lt;/font&gt; &lt;p&gt;But assume you want to filter using a user name and the field is not a persongroup feild and it is just a text field. then you can use following query to archive it.&lt;/p&gt;&lt;font color="#0000ff"&gt;&amp;lt;Where&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Eq&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FieldRef Name='userfieldname' /&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Value Type=’Text’&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;UserID Type=’Text’/&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Value&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Eq&amp;gt;&lt;br&gt;&amp;lt;/Where&amp;gt; &lt;/font&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-857672808256900365?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/857672808256900365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=857672808256900365' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/857672808256900365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/857672808256900365'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/07/how-to-get-username-userid-in-caml.html' title='How to get Username , UserID in CAML Query'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4186815572340326553</id><published>2011-07-05T15:19:00.001+07:00</published><updated>2011-07-05T15:19:19.934+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>Cannot connect to the LobSystem (External System). Timeout expired. the timeout period elapsed prior to completion of the operation or the system is not responding.</title><content type='html'>&lt;h3&gt;&amp;nbsp;&lt;/h3&gt; &lt;p&gt;&lt;/p&gt;&lt;a href="http://lh4.ggpht.com/-pDxTKwRraUk/ThLI98synpI/AAAAAAAAAiQ/MQa7ZDEdCAA/s1600-h/image%25255B6%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-83_VWxMfvtU/ThLJAFHtqdI/AAAAAAAAAiU/OCcMe7wPBIE/image_thumb%25255B8%25255D.png?imgmax=800" width="568" height="211"&gt;&lt;/a&gt;  &lt;p&gt;This error might come for different scenarios. In my case this error occurred when i going to connect to the SQL server using&amp;nbsp; BCS (Business connectivity services in SharePoint). though i provide correct user name and password the error is coming.&lt;/p&gt; &lt;p&gt;when i look in to the problem i found that SharePoint SQL database server is running on different port to protect unauthorized access.&lt;/p&gt; &lt;h2&gt;But then how we going to connect ?&lt;/h2&gt; &lt;p&gt;It is pretty simple but i wasted whole 3/4 hours to figure out that. normally we are giving port like &lt;strong&gt;&lt;font color="#ff8000"&gt;Servername:port&lt;/font&gt;&lt;/strong&gt; but unfortunately this is not working but if we give ‘comma’ rather than semicolon it is working fine.&lt;/p&gt; &lt;h1&gt;&lt;font color="#800040"&gt;servername,port&lt;/font&gt;&lt;/h1&gt; &lt;p&gt;&amp;nbsp; &lt;a href="http://lh3.ggpht.com/-8vsTvRxH6A0/ThLJA8oZhPI/AAAAAAAAAiY/VBPy6TE8QXg/s1600-h/image%25255B10%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-fpij0PHp5KY/ThLJBihXSnI/AAAAAAAAAic/hQZnXdPWGog/image_thumb%25255B13%25255D.png?imgmax=800" width="244" height="148"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4186815572340326553?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4186815572340326553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4186815572340326553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4186815572340326553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4186815572340326553'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/07/cannot-connect-to-lobsystem-external.html' title='Cannot connect to the LobSystem (External System). Timeout expired. the timeout period elapsed prior to completion of the operation or the system is not responding.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh4.ggpht.com/-83_VWxMfvtU/ThLJAFHtqdI/AAAAAAAAAiU/OCcMe7wPBIE/s72-c/image_thumb%25255B8%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-6525932222414670258</id><published>2011-07-04T18:16:00.001+07:00</published><updated>2011-07-04T18:16:39.912+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Misc'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>InfoPath adjust connection do not work properly.</title><content type='html'>&lt;p align="justify"&gt;Normally in the we are developing InfoPath in a test server and published it in to the production server. when we are going to publish in to the different server InfoPath asked to change the connection files accordingly.&amp;nbsp; But sometimes when we are changing the publish location it is giving wrong URL’s for the connections.&lt;/p&gt; &lt;p align="justify"&gt;thus you can manually change the connection URL properties in the InfoPath manifest files. but please be careful of what you are doing.&lt;/p&gt; &lt;h2&gt;Howe to Change InfoPath Manifest manually&amp;nbsp;&amp;nbsp; &lt;/h2&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Export Info path as source files.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-z3gRT6lY9cc/ThGhE1eLB6I/AAAAAAAAAiI/5YE9PT1OoPM/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-9PU7RWPgupM/ThGhFnzmyVI/AAAAAAAAAiM/P8BTZeERBDQ/image_thumb%25255B5%25255D.png?imgmax=800" width="191" height="291"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;change the manifest and save it.&lt;/div&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Tips: InfoPath data connections are stored in the section &lt;strong&gt;&lt;font color="#800080"&gt;&amp;lt;xsf:dataObjects&amp;gt;&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align="justify"&gt;You can change the urls by using site collection, baseurl&amp;nbsp; , relaliveurl attributes.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Open manifest as design.&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align="justify"&gt;save it again as xsn.&lt;/div&gt;&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/8556301325660294947-6525932222414670258?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6525932222414670258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6525932222414670258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6525932222414670258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6525932222414670258'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/07/infopath-adjust-connection-do-not-work.html' title='InfoPath adjust connection do not work properly.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/-9PU7RWPgupM/ThGhFnzmyVI/AAAAAAAAAiM/P8BTZeERBDQ/s72-c/image_thumb%25255B5%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-7945777558526034769</id><published>2011-06-24T18:47:00.001+07:00</published><updated>2011-06-24T18:47:51.133+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>How to Impersonate SharePoint Client Object Model</title><content type='html'>&lt;p&gt;Using this you can pass dedicated credentials to SharePoint client object.&lt;/p&gt; &lt;p&gt;using System.Net;&lt;br&gt;using Microsoft.SharePoint.Client;  &lt;p&gt;ClientContext context = new ClientContext("&lt;a href="http://server/&amp;quot;);"&gt;http://server/");&lt;/a&gt;&lt;br&gt;context.Credentials = new NetworkCredential("user", "password", "domain");&lt;br&gt;// Some Cording&lt;br&gt;context.ExecuteQuery();&amp;nbsp;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7945777558526034769?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7945777558526034769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7945777558526034769' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7945777558526034769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7945777558526034769'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/06/how-to-impersonate-sharepoint-client.html' title='How to Impersonate SharePoint Client Object Model'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-280551415244196015</id><published>2011-06-23T15:02:00.001+07:00</published><updated>2011-06-23T15:02:16.833+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. ---&gt; Attempted to perform an unauthorized operation. The remote server returned an error: (500) Internal Server Error.)</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p align="justify"&gt;I got this error when i open the InfoPath Form using Form server. This form location is different to the original location (actual scenario is earlier this form was in the root site collection and now in the sub site collection) .&lt;/p&gt; &lt;p align="justify"&gt;This form access the user profile web service (&lt;strong&gt;Userprofileservice.asmx&lt;/strong&gt;) using&amp;nbsp;&amp;nbsp; UDC file. When i check the UDC connection i figured out it is still pointing to root site. so you have to change this file to match with the sub site collection. otherwise there may be a cross domain access issue.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-UFPQ93d7a1Y/TgLzA0P35TI/AAAAAAAAAhg/Xx6lVy3xp1k/s1600-h/Untitled%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Untitled" border="0" alt="Untitled" src="http://lh5.ggpht.com/-4kx11ieO_6Y/TgLzBxbDQwI/AAAAAAAAAhk/AGr1LntiyPw/Untitled_thumb%25255B1%25255D.png?imgmax=800" width="596" height="309"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-280551415244196015?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/280551415244196015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=280551415244196015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/280551415244196015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/280551415244196015'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/06/dataadapterexception-exception-message.html' title='DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. ---&amp;gt; Attempted to perform an unauthorized operation. The remote server returned an error: (500) Internal Server Error.)'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/-4kx11ieO_6Y/TgLzBxbDQwI/AAAAAAAAAhk/AGr1LntiyPw/s72-c/Untitled_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-467486499923428031</id><published>2011-06-22T14:01:00.001+07:00</published><updated>2011-06-22T14:01:22.845+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>MetaInformationByUrl:CrossSite check failed for site URL= ….   and file URL=:  … .xsn</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This error you can find in the SharePoint LOG with relevant to Correlation ID.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-8tqri8pTLKU/TgGTJ69b7GI/AAAAAAAAAhA/gUYSnoNQcHg/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-aV4b74KdwCk/TgGTLH2BsRI/AAAAAAAAAhE/j74t-aVnY3M/image_thumb%25255B1%25255D.png?imgmax=800" width="402" height="397"&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;.This error is happened to me when i tried to content deployment to a Production server.&lt;/p&gt; &lt;p&gt;In the SharePoint Server side following errors may come due to this error.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font color="#ff0000"&gt;The form you are attempting to open may be located on a different server. This form can only be opened using Microsoft InfoPath.&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font color="#ff0000"&gt;The form has been closed. &lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font color="#ff0000"&gt;The InfoPath form template for the selected content type cannot be loaded.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;These errors can be solved using changing the following settings. this error generates because Form Server XSN refers separate form server template in a&amp;nbsp; separate server.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-i5hGtC1SlIs/TgGTL5sUZFI/AAAAAAAAAhI/GwxiQ6NGHtw/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-3ag_1Dy_Bew/TgGTNAjCoNI/AAAAAAAAAhM/6tJ3xb0_Ec8/image_thumb%25255B3%25255D.png?imgmax=800" width="362" height="60"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;To change this Go to SharePoint designer and navigate to content types and click administration page.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-quipzdOgALU/TgGTNmMJFHI/AAAAAAAAAhQ/hYczVMI4LzE/s1600-h/image%25255B10%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-8uWqlJHMN2A/TgGTOfO6B7I/AAAAAAAAAhU/CcAb2SlVM4A/image_thumb%25255B4%25255D.png?imgmax=800" width="236" height="119"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;then go to advanced settings. In here it will show the Form Template URL. Check It is relevant URL if not change it.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-hO2q5ISPbE0/TgGTPZUwHSI/AAAAAAAAAhY/nou1wEMyOO8/s1600-h/image%25255B15%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-nP-oz4itf-Q/TgGTQeTOkKI/AAAAAAAAAhc/pIgEYCGA9No/image_thumb%25255B7%25255D.png?imgmax=800" width="456" height="150"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-467486499923428031?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/467486499923428031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=467486499923428031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/467486499923428031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/467486499923428031'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/06/metainformationbyurlcrosssite-check.html' title='MetaInformationByUrl:CrossSite check failed for site URL= ….   and file URL=:  … .xsn'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-aV4b74KdwCk/TgGTLH2BsRI/AAAAAAAAAhE/j74t-aVnY3M/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-7989327259748168144</id><published>2011-06-20T17:51:00.001+07:00</published><updated>2011-06-20T17:51:53.798+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><title type='text'>Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'</title><content type='html'>&lt;p&gt;in External Data Types Creating Using&amp;nbsp; Business Data Connectivity Services &lt;/p&gt; &lt;p&gt;this error coming because of , External System not getting proper identity to connect. thus if you change the Business Data Connection Authentication mechanism to &lt;strong&gt;BDC Identity&lt;/strong&gt; it will work.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-J6Jg_UR_EUo/Tf8mLhdWtDI/AAAAAAAAAgo/4TTxmAMgbhM/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-4lnFL-i2CgY/Tf8mNNsvxpI/AAAAAAAAAgs/Oepwqo5o0d0/image_thumb%25255B2%25255D.png?imgmax=800" width="433" height="550"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;But sometimes&amp;nbsp; you might get following error message when you going to change the Authentication method to &lt;strong&gt;BDC Identity&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a href="http://lh4.ggpht.com/-ZvsFMjnvQkc/Tf8mOTZPVaI/AAAAAAAAAgw/FgeJG5fz1pU/s1600-h/image%25255B8%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-KUxNwl-g_90/Tf8mQfEKYTI/AAAAAAAAAg0/K1uRTkJRokY/image_thumb%25255B4%25255D.png?imgmax=800" width="385" height="184"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;To Overcome this message you need to run following Power Shell Scripts in Administrator Mode.&lt;/p&gt; &lt;p&gt;First you need to get the list of running services. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;PS &amp;gt; $apps = Get-SPServiceApplication&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Then you need to get the correct item from this collection. In here you can use pipe ( | ) operation or you can simply increase the element Id and look what is the element&amp;nbsp; is. $apps[0] , $apps[1] … In my case it is 15. but this may differ.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-ubf_Wc0PsJM/Tf8mRP8MafI/AAAAAAAAAg4/Gqux_pdHqpM/s1600-h/image%25255B14%25255D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-_rgvOUl5bM0/Tf8mSPVzOmI/AAAAAAAAAg8/ZkSnWaBmvdo/image_thumb%25255B14%25255D.png?imgmax=800" width="590" height="74"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;then you need to update the &lt;strong&gt;RevertToSelfAllowed&lt;/strong&gt; to true. Following commands will do it.&lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;&lt;strong&gt;PS C:\Users\shpdevadmn&amp;gt; $apps[15].RevertToSelfAllowed = $true&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;&lt;strong&gt;PS C:\Users\shpdevadmn&amp;gt; $apps[15].Update()&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7989327259748168144?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7989327259748168144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7989327259748168144' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7989327259748168144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7989327259748168144'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/06/login-failed-for-user.html' title='Login failed for user &amp;#39;NT AUTHORITY\ANONYMOUS LOGON&amp;#39;'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/-4lnFL-i2CgY/Tf8mNNsvxpI/AAAAAAAAAgs/Oepwqo5o0d0/s72-c/image_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2547633562975003991</id><published>2011-06-17T16:27:00.001+07:00</published><updated>2011-06-17T16:27:51.097+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>_catalogs/masterpage/Forms/Page Layout. There is already an object with the Id 853c8232-ae6d-4626-9cae-682xxxxxx</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#000080"&gt;Error in SharePoint 2010 content deployment &lt;/font&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;If you deployed to a new web application this error will not come. &lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;if we we delete existing site collection in the web application till these files are&amp;nbsp; existing in the content database. thus if you remove and re create the web application this error will not come in the SharePoint content deployment.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2547633562975003991?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2547633562975003991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2547633562975003991' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2547633562975003991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2547633562975003991'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/06/catalogsmasterpageformspage-layout.html' title='_catalogs/masterpage/Forms/Page Layout. There is already an object with the Id 853c8232-ae6d-4626-9cae-682xxxxxx'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-7929831138453022165</id><published>2011-05-30T13:43:00.001+07:00</published><updated>2011-05-30T13:43:39.480+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>The IIS Admin Service or the World Wide Web Publishing Service, or a service dependent on them failed to start.  The service, or dependent services, may had an error during its startup or may be disabled.</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p align="justify"&gt;I found this error while restarting the IIS in 64 bit environment.&amp;nbsp; Due to this error either &lt;strong&gt;IIS Admin Service&lt;/strong&gt; or &lt;strong&gt;World Wide Web Publishing Service&lt;/strong&gt;&amp;nbsp; not getting started. thus you can go manually (type Services.msc in run window)&amp;nbsp; and start them.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-UoLnCrWck2g/TeM8jZQPmhI/AAAAAAAAAgY/rUJEu6Zc9IA/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-qR6BQ6DNZAE/TeM8keJBHPI/AAAAAAAAAgc/O8upfxnrRas/image_thumb%25255B6%25255D.png?imgmax=800" width="533" height="125"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-ZLhRbCWY2hg/TeM8lBDtsII/AAAAAAAAAgg/w3rtsS-IRJI/s1600-h/image%25255B11%25255D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-IR-APUy4r68/TeM8mICGvpI/AAAAAAAAAgk/Di6kTasB11k/image_thumb%25255B14%25255D.png?imgmax=800" width="534" height="85"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7929831138453022165?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7929831138453022165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7929831138453022165' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7929831138453022165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7929831138453022165'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/05/iis-admin-service-or-world-wide-web.html' title='The IIS Admin Service or the World Wide Web Publishing Service, or a service dependent on them failed to start.  The service, or dependent services, may had an error during its startup or may be disabled.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/-qR6BQ6DNZAE/TeM8keJBHPI/AAAAAAAAAgc/O8upfxnrRas/s72-c/image_thumb%25255B6%25255D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2159789346635986664</id><published>2011-05-12T17:25:00.000+07:00</published><updated>2011-05-14T03:45:11.466+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>The URL ‘FileName’ is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This error occurred because i copy some web part from another page and paste is to some other page. therefore this error occurs to me.&lt;/p&gt; &lt;p&gt;But when i change the WEB Part Id and other related unique Id’s It worked for me.&amp;nbsp; &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2159789346635986664?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2159789346635986664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2159789346635986664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2159789346635986664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2159789346635986664'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/05/url-filename-is-invalid-it-may-refer-to.html' title='The URL ‘FileName’ is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4061131368546170135</id><published>2011-05-06T12:27:00.000+07:00</published><updated>2011-11-07T12:29:06.034+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Social'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentaion'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>InfoPath Makes Life Easier – SharePoint and InfoPath</title><content type='html'>&lt;div style="width: 425px" id="__ss_10053005"&gt;&lt;strong style="margin: 12px 0px 4px; display: block"&gt;&lt;a title="Make life easier" href="http://www.slideshare.net/MelickBaranasooriya/make-life-easier" target="_blank"&gt;Make life easier&lt;/a&gt;&lt;/strong&gt; &lt;iframe style="width: 516px; height: 423px" height="355" marginheight="0" src="http://www.slideshare.net/slideshow/embed_code/10053005" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;div style="padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px"&gt;View more &lt;a href="http://www.slideshare.net/" target="_blank"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/MelickBaranasooriya" target="_blank"&gt;Melick Baranasooriya&lt;/a&gt; &lt;/div&gt;&lt;/div&gt; &lt;p&gt;Presented in SharePoint Forum @ Microsoft Training Room (Sithuvil) 05/06/2011. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4061131368546170135?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4061131368546170135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4061131368546170135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4061131368546170135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4061131368546170135'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/05/infopath-makes-life-easier-sharepoint.html' title='InfoPath Makes Life Easier – SharePoint and InfoPath'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-5764912539022879233</id><published>2011-04-10T13:05:00.001+07:00</published><updated>2011-04-10T13:05:52.147+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This is happening accessing the 2007 providers . In here my scenario I'm accessing&amp;nbsp; 2007 access database from visual studio 2010.&lt;/p&gt; &lt;p&gt;Installing the driver sort out my issue.&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=7554f536-8c28-4598-9b72-ef94e038c891&amp;amp;displayLang=en" href="http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=7554f536-8c28-4598-9b72-ef94e038c891&amp;amp;displayLang=en"&gt;http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=7554f536-8c28-4598-9b72-ef94e038c891&amp;amp;displayLang=en&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-5764912539022879233?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/5764912539022879233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=5764912539022879233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5764912539022879233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5764912539022879233'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/04/provider-is-not-registered-on-local.html' title='The &amp;#39;Microsoft.ACE.OLEDB.12.0&amp;#39; provider is not registered on the local machine.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-6447324162883037456</id><published>2011-03-03T17:48:00.001+06:00</published><updated>2011-03-03T17:48:58.474+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>object doesnt support this property or method when calling showModalDialog in SharePoint 2010</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;You can solve this problem by putting &lt;/p&gt;&lt;pre class="code"&gt;&amp;lt;Sharepoint:ScriptLink ID=&lt;span style="color: #a31515"&gt;"ScriptLink1" &lt;/span&gt;Name=&lt;span style="color: #a31515"&gt;"sp.ui.dialog.js" &lt;/span&gt;LoadAfterUI=&lt;span style="color: #a31515"&gt;"true" &lt;/span&gt;Localizable=&lt;span style="color: #a31515"&gt;"false" &lt;/span&gt;runat=&lt;span style="color: #a31515"&gt;"server"&lt;/span&gt;&amp;gt;&amp;lt;/Sharepoint:ScriptLink&amp;gt;&lt;/pre&gt;&lt;pre class="code"&gt;&amp;lt;SharePoint:FormDigest runat=&lt;span style="color: #a31515"&gt;"server" &lt;/span&gt;/&amp;gt; &lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-6447324162883037456?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/6447324162883037456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=6447324162883037456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6447324162883037456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/6447324162883037456'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/03/object-doesnt-support-this-property-or.html' title='object doesnt support this property or method when calling showModalDialog in SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4301182947940873797</id><published>2011-03-02T10:23:00.001+06:00</published><updated>2011-03-02T10:23:33.909+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to Automatically Refresh SharePoint WEB Parts.</title><content type='html'>&lt;p&gt;(How to asynchronously update SharePoint web parts )&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TW3GMqNBv-I/AAAAAAAAAfk/cQFpPcKYMDc/s1600-h/image%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TW3GNLNJBvI/AAAAAAAAAfo/IhjLWV37qyo/image_thumb.png?imgmax=800" width="223" height="236"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;In SharePoint 2010 there is a option called &lt;strong&gt;&lt;font color="#0000ff"&gt;Enable Asynchronous Load&lt;/font&gt;&lt;/strong&gt; in the&lt;strong&gt; AJAX Option&lt;/strong&gt; section. thus we can set a Automatic Refreshing Interval as a refresh time.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;But this option is not available for all web parts. thus i did a little trick. &lt;/p&gt; &lt;ul&gt; &lt;li&gt;First I created a blank ASPX File.&amp;nbsp; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TW3GN49FHiI/AAAAAAAAAfs/rbC9kNXwO98/s1600-h/image%5B6%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TW3GOmD-CPI/AAAAAAAAAfw/3xDKPKpmKYk/image_thumb%5B2%5D.png?imgmax=800" width="481" height="195"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Then put the what ever web part that you need to show. this can be a custom SharePoint list also.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TW3GQMQyWsI/AAAAAAAAAf0/V6xwZ1EmVyw/s1600-h/image%5B10%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TW3GQ8fe4GI/AAAAAAAAAf4/CAML6Ea3pY4/image_thumb%5B4%5D.png?imgmax=800" width="426" height="369"&gt;&lt;/a&gt;&lt;/p&gt;&lt;pre class="code"&gt;&amp;lt;script type=&lt;span style="color: #a31515"&gt;"text/javascript"&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&lt;span style="color: blue"&gt;function &lt;/span&gt;timedRefresh(timeoutPeriod) {&lt;br /&gt;    setTimeout(&lt;span style="color: #a31515"&gt;"location.reload(true);"&lt;/span&gt;,timeoutPeriod);&lt;br /&gt;}&lt;br /&gt;&lt;span style="color: green"&gt;//   --&amp;gt;&lt;br /&gt;&lt;/span&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;then put above JavaScript to refresh the page. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Finally but a &lt;font color="#004040"&gt;&lt;strong&gt;page viewer web part&lt;/strong&gt;&lt;/font&gt; to your page and browse and give the page created earlier. now you have automatically refreshing section.&amp;nbsp; &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/8556301325660294947-4301182947940873797?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4301182947940873797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4301182947940873797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4301182947940873797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4301182947940873797'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/03/how-to-automatically-refresh-sharepoint.html' title='How to Automatically Refresh SharePoint WEB Parts.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/_TufE6r6woBg/TW3GNLNJBvI/AAAAAAAAAfo/IhjLWV37qyo/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2110966785155200214</id><published>2011-02-24T10:31:00.001+06:00</published><updated>2011-02-24T10:31:21.523+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to get SharePoint User by User Id in C#</title><content type='html'>&lt;p&gt;This is simple.&lt;/p&gt; &lt;p&gt;&lt;font color="#0080c0"&gt;SPSite&lt;/font&gt; site = new SPSite(&lt;a href="http://server);"&gt;http://server);&lt;/a&gt;&lt;br&gt;&lt;font color="#0080c0"&gt;SPWeb&lt;/font&gt; myweb = site.OpenWeb();&lt;br&gt;&lt;font color="#0080c0"&gt;SPUser&lt;/font&gt; found = myweb.AllUsers.GetByID(1);&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2110966785155200214?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2110966785155200214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2110966785155200214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2110966785155200214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2110966785155200214'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/02/how-to-get-sharepoint-user-by-user-id.html' title='How to get SharePoint User by User Id in C#'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-1526822776113741855</id><published>2011-02-21T09:53:00.001+06:00</published><updated>2011-02-21T09:53:22.715+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>Updates are currently disallowed on GET requests.</title><content type='html'>&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TWHhpYH-riI/AAAAAAAAAfU/6GPgMemBoI8/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TWHhrj1UeoI/AAAAAAAAAfY/wXzdMbuDT7M/image_thumb%5B6%5D.png?imgmax=800" width="524" height="386"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;This error came when i tried to access &lt;strong&gt;General Settings and other settings&lt;/strong&gt; in the central administration. I used following code in the &lt;strong&gt;Power shell&lt;/strong&gt; and get it worked. &lt;/p&gt; &lt;p&gt;&lt;font color="#008040"&gt;&lt;strong&gt;$w = get-spwebapplication http://webapplication&lt;br&gt;$w.HttpThrottleSettings&lt;br&gt;$w.Update() &lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1526822776113741855?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1526822776113741855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1526822776113741855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1526822776113741855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1526822776113741855'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/02/updates-are-currently-disallowed-on-get.html' title='Updates are currently disallowed on GET requests.'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh4.ggpht.com/_TufE6r6woBg/TWHhrj1UeoI/AAAAAAAAAfY/wXzdMbuDT7M/s72-c/image_thumb%5B6%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-441921937509796255</id><published>2011-02-15T16:00:00.001+06:00</published><updated>2011-02-15T16:00:26.507+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>Access denied by business data connectivity SharePoint 2010</title><content type='html'>&lt;p&gt;&lt;font color="#004080"&gt;(How to give permission to the BDC (Business Data Connectivity) Services)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This message occurs when the user doesn't have the sufficient permission for the&amp;nbsp;&amp;nbsp; BDC services. &lt;/p&gt; &lt;ul&gt; &lt;li&gt; First Check the BDC services are running.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TVpOnVcC8NI/AAAAAAAAAe8/yfLxEHyn5z8/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TVpOpAsymnI/AAAAAAAAAfA/iT435TRmz9Y/image_thumb%5B1%5D.png?imgmax=800" width="636" height="70"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Then go to Manage in the ribbon. and select the relevant data source and click the “&lt;strong&gt;Set Permission&lt;/strong&gt;”&amp;nbsp; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TVpOp9soiUI/AAAAAAAAAfE/ElYRzxjhxkQ/s1600-h/image%5B10%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TVpOrwbR6AI/AAAAAAAAAfI/Ctd1rXWKCy4/image_thumb%5B4%5D.png?imgmax=800" width="408" height="232"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Add the user and give the relevant permission you want.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TVpOsqa681I/AAAAAAAAAfM/Vq79JbdB1jE/s1600-h/image%5B14%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TVpOuTgRpJI/AAAAAAAAAfQ/b6RjE04emrA/image_thumb%5B6%5D.png?imgmax=800" width="397" height="355"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-441921937509796255?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/441921937509796255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=441921937509796255' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/441921937509796255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/441921937509796255'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/02/access-denied-by-business-data.html' title='Access denied by business data connectivity SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/TVpOpAsymnI/AAAAAAAAAfA/iT435TRmz9Y/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-339885372877216758</id><published>2011-02-14T16:53:00.001+06:00</published><updated>2011-02-14T16:53:02.597+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>Programmatically Query Data Source in the InfoPath 2010 (C#)</title><content type='html'>&lt;p&gt;It is so simple.&lt;/p&gt; &lt;p&gt;DataSources[&lt;strong&gt;"DataSourceName"&lt;/strong&gt;].QueryConnection.Execute();&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-339885372877216758?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/339885372877216758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=339885372877216758' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/339885372877216758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/339885372877216758'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/02/programmatically-query-data-source-in.html' title='Programmatically Query Data Source in the InfoPath 2010 (C#)'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-8483321746620742511</id><published>2011-01-27T17:02:00.001+06:00</published><updated>2011-01-27T17:02:27.558+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>How to Hide InfoPath  Control Programmatically c#</title><content type='html'>&lt;p&gt;To hide the InfoPath control we can simply create a variable and format the control accordingly.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TUFQsoRq03I/AAAAAAAAAeo/jNKeFNwS3rk/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TUFQuczLGmI/AAAAAAAAAes/D6DiG3qMHvQ/image_thumb%5B5%5D.png?imgmax=800" width="244" height="84"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TUFQvR0hITI/AAAAAAAAAew/OvpDv7kNlrk/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TUFQwU-aMvI/AAAAAAAAAe0/TyPuqzsvtsM/image_thumb%5B12%5D.png?imgmax=800" width="364" height="363"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;If you want to hide the control programmatically, set the variable value. then InfoPath will render the control accordingly.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;XPathNodeIterator NodeIterator = nav.Select("/my:myFields/my:MainSection/my:BidDocument", NamespaceManager);&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;nav.SelectSingleNode("/my:myFields/my:isPicVisible",NamespaceManager).SetValue("True");&lt;/strong&gt; &lt;p&gt;Above code will display the control. &lt;p&gt;Following code will hide the control &lt;p&gt;&lt;strong&gt;nav.SelectSingleNode("/my:myFields/my:isPicVisible", NamespaceManager).SetValue("False");&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8483321746620742511?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8483321746620742511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8483321746620742511' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8483321746620742511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8483321746620742511'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/01/how-to-hide-infopath-control.html' title='How to Hide InfoPath  Control Programmatically c#'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/_TufE6r6woBg/TUFQuczLGmI/AAAAAAAAAes/D6DiG3qMHvQ/s72-c/image_thumb%5B5%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2414294672252257894</id><published>2011-01-02T23:59:00.001+06:00</published><updated>2011-09-28T12:32:39.885+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Download starter.master for SharePoint 2010</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This is having all most all the controls hidden.&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;a title="http://archive.msdn.microsoft.com/odcSP14StarterMaster/Release/ProjectReleases.aspx?ReleaseId=3861" href="http://archive.msdn.microsoft.com/odcSP14StarterMaster/Release/ProjectReleases.aspx?ReleaseId=3861"&gt;http://archive.msdn.microsoft.com/odcSP14StarterMaster/Release/ProjectReleases.aspx?ReleaseId=3861&lt;/a&gt;&lt;/p&gt; &lt;p&gt;This is having some important controllers. Not all hidden.&lt;/p&gt; &lt;p&gt;&lt;a title="http://startermasterpages.codeplex.com" href="http://startermasterpages.codeplex.com"&gt;http://startermasterpages.codeplex.com&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;img alt="StarterMasterPage.png" src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=StarterMasterPages&amp;amp;DownloadId=93570" width="572" height="355"&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2414294672252257894?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2414294672252257894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2414294672252257894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2414294672252257894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2414294672252257894'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/01/download-startermaster-for-sharepoint.html' title='Download starter.master for SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-5934664546999205186</id><published>2011-01-02T23:50:00.001+06:00</published><updated>2011-03-04T14:05:32.152+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Enable Full Errors in SharePoint 2010</title><content type='html'>&lt;p&gt;Normally SharePoint shows the custom errors to the users. which is not very relevant in the development environment. thus you can enable the full errors by&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Go the SharePoint web application using IIS&amp;nbsp;&amp;nbsp; &lt;li&gt;Open the &lt;strong&gt;Web.config&lt;/strong&gt;  &lt;li&gt;Find&lt;strong&gt; CallStack&lt;/strong&gt; word.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font color="#8080ff"&gt;&lt;strong&gt;&amp;lt;SafeMode MaxControls=”200” CallStack=”false” DirectFileDependencies=”10”&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalFileDependencies=”50” AllowPageLevelTrace=”false”&amp;gt;&lt;/strong&gt;&lt;/font&gt;  &lt;p&gt;Change both the &lt;strong&gt;CallStack&lt;/strong&gt; and &lt;strong&gt;AllowPageLevelTrace&lt;/strong&gt; attributes from false to &lt;strong&gt;true&lt;/strong&gt;.  &lt;ul&gt; &lt;li&gt;then find customErrors and make it to false.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#8080ff"&gt;&amp;lt;customErrors mode=”On” /&amp;gt; –&amp;gt; Make this to “RemoteOnly”.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-5934664546999205186?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/5934664546999205186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=5934664546999205186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5934664546999205186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5934664546999205186'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2011/01/enable-full-errors-in-sharepoint-2010.html' title='Enable Full Errors in SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-1703089559530858462</id><published>2010-12-30T17:12:00.001+06:00</published><updated>2010-12-30T17:12:07.786+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to enable Flash Content in the SharePoint 2010</title><content type='html'>&lt;ul&gt; &lt;li&gt;Go to Central Administration  &lt;li&gt;Go to manage web application&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TRxo-LTXEXI/AAAAAAAAAeQ/BUFDkG6kkbo/s1600-h/image2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TRxo-5_yElI/AAAAAAAAAeU/9eN_boXb0QA/image_thumb.png?imgmax=800" width="244" height="56"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Then select the web application and&amp;nbsp; go to &lt;strong&gt;General Settings&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TRxo_YwDC4I/AAAAAAAAAeY/Fg58iIC5C3Y/s1600-h/image5.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TRxpAlxpgBI/AAAAAAAAAec/nq7T2VvchFo/image_thumb1.png?imgmax=800" width="244" height="176"&gt;&lt;/a&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;h5&gt;Then &lt;font color="#0000ff"&gt;Browser File Handling &lt;/font&gt;to permissive&lt;/h5&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TRxpBBlNOsI/AAAAAAAAAeg/hp6ahBMV8jI/s1600-h/image8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TRxpBghVm0I/AAAAAAAAAek/fwoWWxX6AV0/image_thumb2.png?imgmax=800" width="244" height="139"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1703089559530858462?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1703089559530858462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1703089559530858462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1703089559530858462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1703089559530858462'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/12/how-to-enable-flash-content-in.html' title='How to enable Flash Content in the SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/_TufE6r6woBg/TRxo-5_yElI/AAAAAAAAAeU/9eN_boXb0QA/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-4288003420425246506</id><published>2010-12-13T17:04:00.001+06:00</published><updated>2011-05-19T01:37:27.384+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>How to cancel SharePoint server deployment</title><content type='html'>&lt;h2&gt;This can be also used to cancel InfoPath Form template deployment &lt;/h2&gt; &lt;p&gt;using this command you can stop the deployment of InfoPath form template to a server. not only that basically you can stop any deployment to the SharePoint server using this command set.&lt;/p&gt; &lt;p&gt;In here i count find the power shell command to do this. but you can still do it by using stsadm in the SharePoint 2010.&lt;/p&gt; &lt;p&gt;First step is to find the current running deployments. for that&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#ff8080"&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN&amp;gt;stsa&lt;br&gt;dm -o enumdeploymets&lt;/font&gt;&lt;/strong&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TQX9oaYVRKI/AAAAAAAAAd4/RtvxYET4DcQ/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TQX9snTI9LI/AAAAAAAAAd8/FMUz4iWOyy8/image_thumb%5B4%5D.png?imgmax=800" width="573" height="303"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then it will show running deployments. After that finding relevant template and get it is ID and run following command. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#ff8080"&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN&amp;gt;stsa&lt;br&gt;dm -o canceldeployment -id 3478e091-aeed-48db-8366-e2d2fe267e87&lt;/font&gt;&lt;/strong&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TQX9vwEl3AI/AAAAAAAAAeA/X0du3gGjTfk/s1600-h/image%5B7%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TQX9zKtnvgI/AAAAAAAAAeI/loYUDXGbPnY/image_thumb%5B3%5D.png?imgmax=800" width="565" height="293"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Still it is not working may be the admin services are not running then type the following code.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN&amp;gt;stsa&lt;br&gt;dm.exe -o execadmsvcjobs&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4288003420425246506?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4288003420425246506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4288003420425246506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4288003420425246506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4288003420425246506'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/12/how-to-cancel-on-sharepoint-server.html' title='How to cancel SharePoint server deployment'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh4.ggpht.com/_TufE6r6woBg/TQX9snTI9LI/AAAAAAAAAd8/FMUz4iWOyy8/s72-c/image_thumb%5B4%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2974032267737726320</id><published>2010-11-30T17:25:00.001+06:00</published><updated>2011-03-03T11:22:33.251+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to make a Modal Page (Dialog Page) in the SharePoint 2010</title><content type='html'>&lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;(SharePoint JavaScript Modal Framework&amp;nbsp; )&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;Place a Content Editor Web Part in the page and Switch to the Source Edit Mode in the editor and place the following code by putting your page URL. You can put either relative or absolute URLs.&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;If you are not going to use content editor you can edit the row HTML as well.&lt;/div&gt; &lt;li&gt; &lt;div align="justify"&gt;Put the following script to the page. you can put the code to &lt;/div&gt; &lt;li&gt;&lt;pre class="code"&gt;&amp;lt;script type=&lt;span style="color: #a31515"&gt;"text/javascript"&lt;/span&gt;&amp;gt;&lt;br /&gt;   &lt;span style="color: blue"&gt;function &lt;/span&gt;OpenDialog(myurl) { &lt;br /&gt;        &lt;span style="color: blue"&gt;var &lt;/span&gt;options = SP.UI.$create_DialogOptions(); &lt;br /&gt;        options.url = myurl; &lt;br /&gt;       &lt;span style="color: green"&gt;// options.width = 500; &lt;br /&gt;       // options.height = 400; &lt;br /&gt;       //options.dialogReturnValueCallback = Function.createDelegate(null, CloseCallback); &lt;br /&gt;        &lt;/span&gt;SP.UI.ModalDialog.showModalDialog(options); &lt;br /&gt;    } &lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;&lt;pre class="code"&gt; You can put this code to Additional page header section in yout page.SharePoint will allow to put in that section.&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class="code"&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TW8eDtgAhJI/AAAAAAAAAgA/YW0e6zAiiro/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TW8eEyPfevI/AAAAAAAAAgE/uyAHwi9cCcE/image_thumb%5B1%5D.png?imgmax=800" width="551" height="48"&gt;&lt;/a&gt;   &lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Then you can call as follows.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;font color="#008040"&gt;&lt;strong&gt;&amp;lt;a onlick=”javascript:OpenDialog(‘/sites/alr/SitePages/Reservation.aspx’)” &amp;gt;Show&amp;lt;/a&amp;gt; &lt;/strong&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;This is sample URL I have Put.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTfCsXOP6I/AAAAAAAAAdo/UHcNLjniRsQ/s1600-h/image%5B10%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TPTfDrwdmCI/AAAAAAAAAds/9yLzT0r0L_U/image_thumb%5B14%5D.png?imgmax=800" width="369" height="273"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;You can even use for trigger a call back event using the modal frame work. in a later post i will show you how to it.&amp;nbsp; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;this is also sample dialog i have created to display workflow visualization.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TW8eF3SoibI/AAAAAAAAAgI/NvKkko7larY/s1600-h/image%5B7%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TW8eICpfGsI/AAAAAAAAAgM/LIWPhJenmt4/image_thumb%5B3%5D.png?imgmax=800" width="377" height="377"&gt;&lt;/a&gt; Following are the list of options you can put as dialog options.&lt;/p&gt;&lt;br /&gt;&lt;table border="1" cellspacing="0" cellpadding="0" style="vertical-align:top;margin-top:-1250px"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Property&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Data type&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Default value&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;allowMaximise&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;boolean &lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;true&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Determines whether the maximise button is present on the rendered dialog. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;args&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;object&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;We’ll examine this property in more detail later. The args property allows us to pass arbitrary properties into our dialog. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;autoSize&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;boolean (true/false)&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;true&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Determines whether the dialog should be automatically sized to fit within the parent browser window. Where a value has been set for width or height, this value is deemed to be false regardless of the actual setting. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;dialogReturnValueCallback&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;function&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;We’ll examine this property in more detail. By passing a function, we can specify a section of script to be executed when the dialog is closed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;height&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;numeric&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;The height of the dialog to be displayed. If this value is not set the dialog is automatically sized to fit the window.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;html&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;string&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Where a Url is passed, an IFRAME tag is rendered pointing to the appropriate Url. AS an alternative to this, it is possible to pass arbitrary HTML instead, in which case, rather than an IFRAME tag, the arbitrary HTML is rendered instead.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;showClose&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;boolean (true/false)&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;true&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Determines whether the close button is visible in the titlebar of the dialog.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;showMaximized&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;boolean &lt;br&gt;(true/false)&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;false&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Dictates whether the rendered dialog should fill the available space in the parent window.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;title&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;string&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Specifies the title of the dialog. Where no title is specified, the title of the document referred to by the Url property is used instead.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;url&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;string&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;null&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;The url of the page to be shown in the dialog. Where a url is set and IFRAME tag will be rendered by the Dialog framework and the src of the IFRAME will be set to this url.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;width&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;numeric&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;The width of the dialog to be displayed. If this value is not set the dialog is automatically sized to fit the window.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;x&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;numeric&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Specifies the starting position of the rendered dialog. If this value is not set the dialog is shown in the middle of the viewing area. This value represents the offset from the left edge of the parent browser window. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;y&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&lt;br /&gt;&lt;p&gt;numeric&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="100"&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top" width="329"&gt;&lt;br /&gt;&lt;p&gt;Specifies the starting position of the rendered dialog. If this value is not set the dialog is shown in the middle of the viewing area. This value represents the offset from the bottom of the parent browser window.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2974032267737726320?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2974032267737726320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2974032267737726320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2974032267737726320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2974032267737726320'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/11/how-to-make-custom-page-modal-dialog-in.html' title='How to make a Modal Page (Dialog Page) in the SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/_TufE6r6woBg/TW8eEyPfevI/AAAAAAAAAgE/uyAHwi9cCcE/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-1450886365748203089</id><published>2010-11-30T15:42:00.001+06:00</published><updated>2011-05-11T01:45:53.454+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to Link Two List and Create a combine view in the SharePoint 2010</title><content type='html'>&lt;p align="justify"&gt;In this way you can join multiple list together and can create a combine view. for an example assume that you are managing a list for some events. And also you are having a participants in separate list. Thus you want to join the two list and create a composite view.&lt;/p&gt; &lt;p&gt;SharePoint 2010 allows you to create this kind of view using&amp;nbsp; Linked Data Source. in this approach you can create your own custom list in the SharePoint.&lt;/p&gt; &lt;h3&gt;How to Create a Linked Data source&lt;/h3&gt; &lt;p&gt;Go to SharePoint designer and&amp;nbsp; go to the link called &lt;strong&gt;data sources.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTGWnPW7LI/AAAAAAAAAb4/s4ys8BcrDzg/s1600-h/image%5B4%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TPTGYPBEHqI/AAAAAAAAAb8/DVAU9VUFsd8/image_thumb%5B5%5D.png?imgmax=800" width="230" height="278"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;And Click the &lt;strong&gt;&lt;font color="#800040"&gt;Linked Data Source button&lt;/font&gt; &lt;/strong&gt;in the ribbon. Then SharePoint designer will prompt following kind of a dialog.&lt;/p&gt; &lt;p&gt;In there add two list, that you wan to linked together. &lt;/p&gt; &lt;p align="left"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TPTGYzWPREI/AAAAAAAAAcA/MAMz5WO_LUM/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TPTGaV_X3nI/AAAAAAAAAcE/ik5UUg0FjmU/image_thumb%5B7%5D.png?imgmax=800" width="312" height="279"&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TPTGbbt83yI/AAAAAAAAAcI/aRZ9mXn9rJo/s1600-h/image%5B12%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TPTGcQ_3MNI/AAAAAAAAAcM/Q1N03WF15WI/image_thumb%5B9%5D.png?imgmax=800" width="327" height="265"&gt;&lt;/a&gt;I'm adding airline schedule and booking list. those are the two list that i wan to merge. then click next. And it will guide you another screen. it will ask you to select either&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="left"&gt;Merge&lt;/div&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Merge use to combine list which are having same columns definition. for and example we can say this is like a &lt;strong&gt;&lt;font color="#408080"&gt;Union operation&lt;/font&gt;&lt;/strong&gt; in the database.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt; &lt;div align="left"&gt;Join&lt;/div&gt; &lt;ul&gt; &lt;li&gt; &lt;div align="justify"&gt;Join operation use to link two or more lists. this do not need to having a same column definition in the lists. this is equal to join operation in the database.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;I need to join the two list to get the passengers for particular schedule. thus&amp;nbsp; I'm using join option and click finish.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTGdd8zxTI/AAAAAAAAAcQ/A6UErEN6kQo/s1600-h/image%5B16%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TPTGep_bEBI/AAAAAAAAAcU/ibBjkBNRa3M/image_thumb%5B11%5D.png?imgmax=800" width="381" height="309"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;Then switch to the general tab and give some name to identify the data source.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TPTGfex6wZI/AAAAAAAAAcY/D3ruVCKjgUg/s1600-h/image%5B21%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TPTGhFykfsI/AAAAAAAAAcc/sYsVVBb8U3M/image_thumb%5B14%5D.png?imgmax=800" width="374" height="335"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Now you are done with the linked data source. &lt;/p&gt; &lt;h3&gt;How to create a custom view using linked data source in the SharePoint designer&lt;/h3&gt; &lt;p&gt;In here I'm going to create a custom aspx in the SharePoint designer and create a view on it. For that go to &lt;strong&gt;SitePages&lt;/strong&gt; and create new aspx file.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TPTGiLmzAlI/AAAAAAAAAcg/1GKlSD29DNM/s1600-h/image%5B26%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TPTGkNlKr3I/AAAAAAAAAck/aY51oOXePw4/image_thumb%5B20%5D.png?imgmax=800" width="266" height="270"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;In the designer now you can see a empty aspc file as follows.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TPTGl16gcoI/AAAAAAAAAco/1Vwoa-RckSs/s1600-h/image%5B31%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TPTGnAz-vgI/AAAAAAAAAcs/5PTWnkD8FU4/image_thumb%5B26%5D.png?imgmax=800" width="346" height="253"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p align="justify"&gt;Now you want to add the data source into the page. There are many ways. Best thing is go to Insert and then select you data source to add data source to the page, But in this way i found that it is not always visible in the data source task pane, Thus you can go to Data View and add your data source.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTGoMkIbwI/AAAAAAAAAcw/AXMl89RPV-g/s1600-h/image%5B37%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TPTGpgV2B2I/AAAAAAAAAc0/hc-ejDPVpgM/image_thumb%5B32%5D.png?imgmax=800" width="429" height="330"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;This action will generate a table in the page. But we don't need it. therefore delete it . we will want the data source in the data source task pane. (Select all and press delete in the key board.)&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TPTGtJc7EAI/AAAAAAAAAc4/88W_cnoXL-8/s1600-h/image%5B43%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TPTGvYXtTJI/AAAAAAAAAc8/_nJ9J0-h634/image_thumb%5B39%5D.png?imgmax=800" width="682" height="352"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;now Go to the task data source pane and select the columns you want to add to the page. and click add as a multiple view item.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTGwPb03uI/AAAAAAAAAdA/MIagLMYIGcU/s1600-h/image%5B48%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TPTGxPNRFyI/AAAAAAAAAdE/urKl76RfmRI/image_thumb%5B45%5D.png?imgmax=800" width="265" height="313"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;This will generate a table for you. now click the right most column and go to table and add a new column to the right in the table as follows.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTGzYNrVcI/AAAAAAAAAdI/qiTAs6_4NMQ/s1600-h/image%5B62%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TPTG1IA9ReI/AAAAAAAAAdM/3ifp1hYeH6w/image_thumb%5B59%5D.png?imgmax=800" width="461" height="227"&gt;&lt;/a&gt; Now &lt;font color="#ff0080"&gt;&lt;strong&gt;place the mouse cursor to the column&lt;/strong&gt;&lt;/font&gt; and select the second list in the data source pane and select the columns you want and click Join Sub View.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TPTG2AbEXxI/AAAAAAAAAdQ/TW9FUSb-csA/s1600-h/image%5B67%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TPTG3dZXGuI/AAAAAAAAAdU/KOt1vsTKG8k/image_thumb%5B65%5D.png?imgmax=800" width="219" height="331"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p align="justify"&gt;Then it will ask relation between columns to Join (like foreign key ). In here in link data using ID of the AirLine Schedule.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TPTG7lfNPeI/AAAAAAAAAdY/_1VSIx1Av2A/s1600-h/image%5B71%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TPTG8xZC72I/AAAAAAAAAdc/nC65tk5CwEs/image_thumb%5B67%5D.png?imgmax=800" width="350" height="279"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;&lt;strong&gt;&lt;font color="#0080c0"&gt;Note : – Some times this Join Sub view not coming. then click two or more columns then this view will come. I don't know why it is happening but it happened to me several times. And in this way i manage to solved the issue. &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;font color="#000000"&gt;Now you can see a composite list view in the page that you can use for .. &lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TPTG_FYKJEI/AAAAAAAAAdg/rjZCmPgNy4I/s1600-h/image%5B77%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TPTHA85GZWI/AAAAAAAAAdk/fedren0sqIA/image_thumb%5B74%5D.png?imgmax=800" width="509" height="277"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1450886365748203089?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1450886365748203089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1450886365748203089' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1450886365748203089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1450886365748203089'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/11/how-to-link-two-list-and-create-combine.html' title='How to Link Two List and Create a combine view in the SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/TPTGYPBEHqI/AAAAAAAAAb8/DVAU9VUFsd8/s72-c/image_thumb%5B5%5D.png?imgmax=800' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-9007792402376520864</id><published>2010-11-18T17:07:00.001+06:00</published><updated>2011-05-11T01:47:09.939+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to Customize New Item Form to take parameters from Query String in the SharePoint 2010</title><content type='html'>&lt;p align="justify"&gt;In here I'm going to explain how to customize the SharePoint Item From to take parameters from Query String and set them as default values using SharePoint designer. Using this you can open a new Item From by providing parameters as query string. For an example you can customize one item Display form and taking query String Parameter from that and view &lt;strong&gt;New Item &lt;/strong&gt;view for another list by providing default values using the Query String.&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;Steps&lt;/h3&gt; &lt;p align="justify"&gt;Open the SharePoint designer and go to list and libraries and open the list that you want.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TOUIMAo1huI/AAAAAAAAAbo/bCWGRw748ac/s1600-h/image%5B72%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TOUIO-aKLyI/AAAAAAAAAbw/hqUJGik9Fyk/image_thumb%5B88%5D.png?imgmax=800" width="514" height="227"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt; Click the New and create a &lt;strong&gt;New Insert &lt;/strong&gt;View by providing the name of the view.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TOUIQVeQRDI/AAAAAAAAAZ4/UOn4ritaXnA/s1600-h/image%5B15%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOUISjKdcVI/AAAAAAAAAZ8/1Oio-Y3I3oM/image_thumb%5B19%5D.png?imgmax=800" width="402" height="232"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TOUIU4X3KNI/AAAAAAAAAaA/FEm-GCcgMWU/s1600-h/image%5B14%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TOUIXYUF7wI/AAAAAAAAAaE/k6j4_gmblwM/image_thumb%5B18%5D.png?imgmax=800" width="396" height="396"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Then created one will come to the list. then click and open the view.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TOUIY3PPcII/AAAAAAAAAaI/baV-DCHH-1Q/s1600-h/image%5B23%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TOUIcg9_GzI/AAAAAAAAAaM/kEx21nZs8ps/image_thumb%5B29%5D.png?imgmax=800" width="403" height="192"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then default New Item Screen will be loaded as follows.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TOUIeY-S68I/AAAAAAAAAaQ/fZCkQHyzVOQ/s1600-h/image%5B28%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TOUIgOCW02I/AAAAAAAAAaU/rqi0vijjje4/image_thumb%5B37%5D.png?imgmax=800" width="389" height="277"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p align="justify"&gt;Then Delete the default list view and make that empty. You can delete the controls by selecting the area in the design view, If it fully cleared you can view the following message from the designer.&lt;/p&gt; &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TOUIg9TIgII/AAAAAAAAAaY/FbeCCsOERSY/s1600-h/image%5B33%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TOUIhtNsN5I/AAAAAAAAAac/wArR6epa-TI/image_thumb%5B43%5D.png?imgmax=800" width="436" height="130"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then go to SharePoint Controls and add the a Custom List as you want.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TOUIjF3fbyI/AAAAAAAAAag/8apTcTMYPZc/s1600-h/image%5B38%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOUIkJrf6OI/AAAAAAAAAak/Oh4n3qwBNe8/image_thumb%5B50%5D.png?imgmax=800" width="178" height="388"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then select the New Item Form and click ok to add the view.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TOUIk6YDkyI/AAAAAAAAAao/EkE8Q3r7_co/s1600-h/image%5B41%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TOUImKXNsGI/AAAAAAAAAas/xgVBcXOaaKk/image_thumb%5B51%5D.png?imgmax=800" width="244" height="231"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p align="justify"&gt;In My Example I want to set the comments by using Query String Parameter. there for first i change the comments field’s controller to textbox.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TOUInDvjEJI/AAAAAAAAAaw/1qty0g87I9o/s1600-h/image%5B46%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TOUIo0mx7-I/AAAAAAAAAa0/Vofk9OWnW9c/image_thumb%5B56%5D.png?imgmax=800" width="388" height="296"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then Add parameter field to get the comments form the Query String.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TOUIrQi3jNI/AAAAAAAAAa4/lrecgZOlhh4/s1600-h/image%5B50%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOUIsh7B2yI/AAAAAAAAAa8/LfNtS5R0ZTg/image_thumb%5B61%5D.png?imgmax=800" width="244" height="207"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;I'm passing my comments using query string ID com and it is storing in to the variable param. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TOUItq98J1I/AAAAAAAAAbA/CJJR0eWR5rQ/s1600-h/image%5B54%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TOUIu5FdIpI/AAAAAAAAAbE/sWqepPXiku4/image_thumb%5B63%5D.png?imgmax=800" width="421" height="286"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Then select the comments text box and switch the view to &lt;strong&gt;code&lt;/strong&gt; or &lt;strong&gt;split designer mode,&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TOUIv0t8HfI/AAAAAAAAAbI/TsjFZ4qY9Mw/s1600-h/image%5B58%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOUIwweYb_I/AAAAAAAAAbM/DiSIQnmw078/image_thumb%5B68%5D.png?imgmax=800" width="244" height="140"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TOUIxlxPZfI/AAAAAAAAAbQ/eZN0MLa64H4/s1600-h/image%5B62%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TOUIygEKFZI/AAAAAAAAAbU/GJu62ciK3oo/image_thumb%5B74%5D.png?imgmax=800" width="244" height="180"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;In here go and change the text property to &lt;font color="#ff0080"&gt;&lt;strong&gt;{$param} &lt;/strong&gt;&lt;/font&gt;&lt;font color="#400040"&gt;This will set the query string parameter to the text box.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TOUIzRHsOGI/AAAAAAAAAbY/0sIrVD3htqQ/s1600-h/image%5B66%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOUI0beuNvI/AAAAAAAAAbc/ImBynhqxpSs/image_thumb%5B81%5D.png?imgmax=800" width="244" height="144"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Then you done.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TOUI00w4dkI/AAAAAAAAAbg/EqAraC4CBMQ/s1600-h/image%5B71%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOUI2GbTFBI/AAAAAAAAAbk/BQ6vESNk-Pc/image_thumb%5B87%5D.png?imgmax=800" width="384" height="262"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-9007792402376520864?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/9007792402376520864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=9007792402376520864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/9007792402376520864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/9007792402376520864'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/11/how-to-customize-new-item-form-to-take.html' title='How to Customize New Item Form to take parameters from Query String in the SharePoint 2010'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/_TufE6r6woBg/TOUIO-aKLyI/AAAAAAAAAbw/hqUJGik9Fyk/s72-c/image_thumb%5B88%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-8341290519837125489</id><published>2010-11-17T13:12:00.001+06:00</published><updated>2010-11-17T13:12:40.557+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkFlow'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to get User’s Information in the SharePoint Workflow</title><content type='html'>&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TOOAYc_lKoI/AAAAAAAAAZo/nqNchaijlb8/s1600-h/image3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TOOAZwfyckI/AAAAAAAAAZs/mpXL8Eh_bs4/image_thumb1.png?imgmax=800" width="419" height="339"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;We can use SharePoint user profiles to get the users information in a SharePoint&amp;nbsp; workflow. For an example by providing the Users AccountID/Account Name we can get the user’s information.&lt;/p&gt; &lt;p&gt;Thus this will address the questions such as &lt;/p&gt; &lt;ul&gt; &lt;li&gt;How to get User’s First Name in the SharePoint Workflow  &lt;li&gt;How to get User’s Last Name in the SharePoint Workflow  &lt;li&gt;How to get User’s Birthday&amp;nbsp; in the SharePoint Workflow  &lt;li&gt;How to get User’s Email in the SharePoint Workflow  &lt;li&gt;How to get User’s Manager in the SharePoint Workflow &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;as well as huge information list that will populated by the user profile service.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8341290519837125489?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8341290519837125489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8341290519837125489' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8341290519837125489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8341290519837125489'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/11/how-to-get-users-information-in.html' title='How to get User’s Information in the SharePoint Workflow'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/TOOAZwfyckI/AAAAAAAAAZs/mpXL8Eh_bs4/s72-c/image_thumb1.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-4474729393911529995</id><published>2010-10-22T23:31:00.000+07:00</published><updated>2011-05-05T00:43:11.064+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WorkFlow'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to add a custom visual studio workflow to SharePoint designer</title><content type='html'>&lt;p&gt;This article explains step by step guide line to add a custom visual studio work flow to the SharePoint designer. In here I'm using&amp;nbsp;&amp;nbsp; VS 2010 and SharePoint 2010.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Create&amp;nbsp; a Empty Sequence Work Flow project.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TMAmGRaflcI/AAAAAAAAAX4/f3jGplbkWAs/s1600-h/image5.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TMAmICya0XI/AAAAAAAAAX8/7_XWZusb-VI/image_thumb7.png?imgmax=800" width="487" height="128"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;then select .Net Framework 3.5 and select the Sequential Workflow Project.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TMAmJX9LmgI/AAAAAAAAAYA/Qq90MLYW7iw/s1600-h/image10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TMAmLg9oruI/AAAAAAAAAYE/JH04AQZgF38/image_thumb13.png?imgmax=800" width="387" height="289"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;in this sample we are going to add custom string functionality to the SharePoint designer. after creating the project you will get a blank activity as follows.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TMAmNWFj4jI/AAAAAAAAAYI/_LlOk1sR6AQ/s1600-h/image21.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/TMAmPGN9UsI/AAAAAAAAAYM/cvIublnFfVw/image_thumb29.png?imgmax=800" width="322" height="235"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p align="justify"&gt;then delete that activity and add the Activity item to the project as above. I named that as &lt;strong&gt;subStringAfterText.cs&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TMAmQHS4nXI/AAAAAAAAAYQ/az_LUAszZXM/s1600-h/image25.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TMAmRkcRX6I/AAAAAAAAAYU/pKsPQOqEtxI/image_thumb34.png?imgmax=800" width="244" height="230"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;after that you will get a blank Sequence Activity. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;&lt;u&gt;Add references to the Project&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;After that you need to add &lt;strong&gt;&lt;em&gt;&lt;font color="#800000"&gt;Microsoft.SharePoint.dll&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt; and &lt;font color="#800000"&gt;&lt;strong&gt;&lt;em&gt;Microsoft.SharePoint.WorkflowActions.dll&lt;/em&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font color="#000000"&gt; to the project. those dlls can be found in the following paths.&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.dll  &lt;li&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.WorkflowActions.dll&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;&lt;u&gt;Cording &lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="justify"&gt;My task to develop a simple string function it will return the text after the search text. This is so simple but you can use this method to develop any Custom SPD workflows.&amp;nbsp; &lt;/p&gt; &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; height: 315px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt; &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.ComponentModel;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.ComponentModel.Design;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Collections;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Linq;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.ComponentModel;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.ComponentModel.Design;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt;   8:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.ComponentModel.Compiler;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt;   9:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.ComponentModel.Serialization;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt;  10:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.Runtime;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt;  11:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.Activities;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt;  12:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Workflow.Activities.Rules;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt;  13:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Diagnostics;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt;  14:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Microsoft.SharePoint;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt;  15:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Microsoft.SharePoint.WorkflowActions;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt;  16:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Microsoft.SharePoint.Workflow;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt;  17:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt;  18:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;namespace&lt;/span&gt; getSubStringAfter&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt;  19:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt;  20:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;partial&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; subStringAfterText : SequenceActivity&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt;  21:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum22"&gt;  22:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Declare event log&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum23"&gt;  23:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; EventLog eventLog;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum24"&gt;  24:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum25"&gt;  25:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum26"&gt;  26:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Declare dependency propoerties to get and set values to the activity&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum27"&gt;  27:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum28"&gt;  28:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; DependencyProperty SourceStringProperty = System.Workflow.ComponentModel.DependencyProperty.Register(&lt;span style="color: #006080"&gt;"SourceString"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;), &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(subStringAfterText));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum29"&gt;  29:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; DependencyProperty SearchStringProperty = System.Workflow.ComponentModel.DependencyProperty.Register(&lt;span style="color: #006080"&gt;"SearchString"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;), &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(subStringAfterText));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum30"&gt;  30:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; DependencyProperty FoundStringProperty = System.Workflow.ComponentModel.DependencyProperty.Register(&lt;span style="color: #006080"&gt;"FoundString"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;), &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(subStringAfterText));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum31"&gt;  31:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Specify validations to validate inputs&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum32"&gt;  32:&lt;/span&gt; [Description(&lt;span style="color: #006080"&gt;""&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum33"&gt;  33:&lt;/span&gt; [ValidationOption(ValidationOption.Required)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum34"&gt;  34:&lt;/span&gt; [Browsable(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum35"&gt;  35:&lt;/span&gt; [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum36"&gt;  36:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; SourceString&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum37"&gt;  37:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum38"&gt;  38:&lt;/span&gt; get&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum39"&gt;  39:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum40"&gt;  40:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;)&lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.GetValue(SourceStringProperty);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum41"&gt;  41:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum42"&gt;  42:&lt;/span&gt; set&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum43"&gt;  43:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum44"&gt;  44:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.SetValue(SourceStringProperty, &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum45"&gt;  45:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum46"&gt;  46:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum47"&gt;  47:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum48"&gt;  48:&lt;/span&gt; [Description(&lt;span style="color: #006080"&gt;""&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum49"&gt;  49:&lt;/span&gt; [ValidationOption(ValidationOption.Required)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum50"&gt;  50:&lt;/span&gt; [Browsable(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum51"&gt;  51:&lt;/span&gt; [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum52"&gt;  52:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; SearchString&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum53"&gt;  53:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum54"&gt;  54:&lt;/span&gt; get&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum55"&gt;  55:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum56"&gt;  56:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;)&lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.GetValue(SearchStringProperty);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum57"&gt;  57:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum58"&gt;  58:&lt;/span&gt; set&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum59"&gt;  59:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum60"&gt;  60:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.SetValue(SearchStringProperty, &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum61"&gt;  61:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum62"&gt;  62:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum63"&gt;  63:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum64"&gt;  64:&lt;/span&gt; [Browsable(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum65"&gt;  65:&lt;/span&gt; [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum66"&gt;  66:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; FoundString&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum67"&gt;  67:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum68"&gt;  68:&lt;/span&gt; get&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum69"&gt;  69:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum70"&gt;  70:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;)&lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.GetValue(FoundStringProperty);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum71"&gt;  71:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum72"&gt;  72:&lt;/span&gt; set&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum73"&gt;  73:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum74"&gt;  74:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.SetValue(FoundStringProperty, &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum75"&gt;  75:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum76"&gt;  76:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum77"&gt;  77:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum78"&gt;  78:&lt;/span&gt; &lt;span style="color: #008000"&gt;//The SharePoint workflow properties activation object&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum79"&gt;  79:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; DependencyProperty __ActivationPropertiesProperty = DependencyProperty.Register(&lt;span style="color: #006080"&gt;"__ActivationProperties"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(SPWorkflowActivationProperties), &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(subStringAfterText));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum80"&gt;  80:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum81"&gt;  81:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Using a DependencyProperty as the backing store for WorkflowInstanceIdProperty. This enables animation, styling, binding, etc...&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum82"&gt;  82:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; DependencyProperty WorkflowInstanceIdVariableProperty = DependencyProperty.Register(&lt;span style="color: #006080"&gt;"WorkflowInstanceIdVariable"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;), &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(subStringAfterText));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum83"&gt;  83:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum84"&gt;  84:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Using a DependencyProperty as the backing store for WorkflowInstanceIdProperty. This enables animation, styling, binding, etc...&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum85"&gt;  85:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; DependencyProperty __ContextProperty = DependencyProperty.Register(&lt;span style="color: #006080"&gt;"__Context"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(WorkflowContext), &lt;span style="color: #0000ff"&gt;typeof&lt;/span&gt;(subStringAfterText));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum86"&gt;  86:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum87"&gt;  87:&lt;/span&gt; [Description(&lt;span style="color: #006080"&gt;"The WorkflowInstanceId for the workflow."&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum88"&gt;  88:&lt;/span&gt; [ValidationOption(ValidationOption.Required)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum89"&gt;  89:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; WorkflowInstanceIdVariable&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum90"&gt;  90:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum91"&gt;  91:&lt;/span&gt; get { &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;)(&lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.GetValue(WorkflowInstanceIdVariableProperty)); }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum92"&gt;  92:&lt;/span&gt; set { &lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.SetValue(WorkflowInstanceIdVariableProperty, &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;); }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum93"&gt;  93:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum94"&gt;  94:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum95"&gt;  95:&lt;/span&gt; [Description(&lt;span style="color: #006080"&gt;"The Workflow Properties"&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum96"&gt;  96:&lt;/span&gt; [ValidationOption(ValidationOption.Required)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum97"&gt;  97:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; SPWorkflowActivationProperties __ActivationProperties&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum98"&gt;  98:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum99"&gt;  99:&lt;/span&gt; get { &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; (SPWorkflowActivationProperties)(&lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.GetValue(__ActivationPropertiesProperty)); }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum100"&gt; 100:&lt;/span&gt; set { &lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.SetValue(__ActivationPropertiesProperty, &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;); }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum101"&gt; 101:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum102"&gt; 102:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum103"&gt; 103:&lt;/span&gt; [Description(&lt;span style="color: #006080"&gt;"The Workflow Context object"&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum104"&gt; 104:&lt;/span&gt; [ValidationOption(ValidationOption.Optional)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum105"&gt; 105:&lt;/span&gt; [Browsable(&lt;span style="color: #0000ff"&gt;false&lt;/span&gt;)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum106"&gt; 106:&lt;/span&gt; [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum107"&gt; 107:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; WorkflowContext __Context&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum108"&gt; 108:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum109"&gt; 109:&lt;/span&gt; get&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum110"&gt; 110:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum111"&gt; 111:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; (WorkflowContext)(&lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.GetValue(__ContextProperty));&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum112"&gt; 112:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum113"&gt; 113:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum114"&gt; 114:&lt;/span&gt; set&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum115"&gt; 115:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum116"&gt; 116:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;base&lt;/span&gt;.SetValue(__ContextProperty, &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum117"&gt; 117:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum118"&gt; 118:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum119"&gt; 119:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum120"&gt; 120:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Override the activity execution&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum121"&gt; 121:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;override&lt;/span&gt; ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum122"&gt; 122:&lt;/span&gt; { &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum123"&gt; 123:&lt;/span&gt; &lt;span style="color: #008000"&gt;//Set up the Event Logging object &lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum124"&gt; 124:&lt;/span&gt; eventLog = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; EventLog(&lt;span style="color: #006080"&gt;"Workflow"&lt;/span&gt;);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum125"&gt; 125:&lt;/span&gt; eventLog.Source = &lt;span style="color: #006080"&gt;"SharePoint Workflow"&lt;/span&gt;;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum126"&gt; 126:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum127"&gt; 127:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum128"&gt; 128:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum129"&gt; 129:&lt;/span&gt; &lt;span style="color: #008000"&gt;// Your Method&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum130"&gt; 130:&lt;/span&gt; getTheString();&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum131"&gt; 131:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum132"&gt; 132:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;finally&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum133"&gt; 133:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum134"&gt; 134:&lt;/span&gt; &lt;span style="color: #008000"&gt;//Dispose of the Event Logging object &lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum135"&gt; 135:&lt;/span&gt; eventLog.Dispose();&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum136"&gt; 136:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum137"&gt; 137:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum138"&gt; 138:&lt;/span&gt; &lt;span style="color: #008000"&gt;//Indicate the activity has closed &lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum139"&gt; 139:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; ActivityExecutionStatus.Closed;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum140"&gt; 140:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum141"&gt; 141:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum142"&gt; 142:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum143"&gt; 143:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; getTheString()&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum144"&gt; 144:&lt;/span&gt; {&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum145"&gt; 145:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.FoundString = SourceString.Substring(SourceString.IndexOf(SearchString) + SearchString.Length -1);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum146"&gt; 146:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum147"&gt; 147:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum148"&gt; 148:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum149"&gt; 149:&lt;/span&gt; }&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;Code Explanation&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre class="code"&gt;dependency properties are used to exchange data from work flow instance. therefore following properties needed to exchange primary data.&lt;/pre&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;br&gt;&lt;span style="color: green"&gt;//The SharePoint workflow properties activation object&lt;br&gt;&lt;/span&gt;&lt;span style="color: green"&gt;// Using a DependencyProperty as the backing store for WorkflowInstanceIdProperty. This enables animation, styling, binding, etc...&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;public static &lt;/span&gt;&lt;span style="color: #2b91af"&gt;DependencyProperty &lt;/span&gt;__ActivationPropertiesProperty = &lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;.Register(&lt;span style="color: #a31515"&gt;"__ActivationProperties"&lt;/span&gt;, &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;SPWorkflowActivationProperties&lt;/span&gt;), &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;subStringAfterText&lt;/span&gt;));&lt;br&gt;&lt;br&gt;&lt;span style="color: green"&gt;&lt;br&gt;&lt;/span&gt;&lt;span style="color: blue"&gt;public static &lt;/span&gt;&lt;span style="color: #2b91af"&gt;DependencyProperty &lt;/span&gt;WorkflowInstanceIdVariableProperty = &lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;.Register(&lt;span style="color: #a31515"&gt;"WorkflowInstanceIdVariable"&lt;/span&gt;, &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: blue"&gt;string&lt;/span&gt;), &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;subStringAfterText&lt;/span&gt;));&lt;br&gt;&lt;br&gt;&lt;span style="color: green"&gt;// Using a DependencyProperty as the backing store for WorkflowInstanceIdProperty. This enables animation, styling, binding, etc...&lt;br&gt;&lt;/span&gt;&lt;span style="color: blue"&gt;public static &lt;/span&gt;&lt;span style="color: #2b91af"&gt;DependencyProperty &lt;/span&gt;__ContextProperty = &lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;.Register(&lt;span style="color: #a31515"&gt;"__Context"&lt;/span&gt;, &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;WorkflowContext&lt;/span&gt;), &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;subStringAfterText&lt;/span&gt;));&lt;br&gt;&lt;br&gt;&lt;span style="color: green"&gt;//These properties should have getter setter methods. attributes define the visibility , validation and etc..&lt;br&gt;Ex :-&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;[&lt;span style="color: #2b91af"&gt;Description&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"The WorkflowInstanceId for the workflow."&lt;/span&gt;)]&lt;br&gt;[&lt;span style="color: #2b91af"&gt;ValidationOption&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;ValidationOption&lt;/span&gt;.Required)]&lt;br&gt;&lt;span style="color: blue"&gt;public string &lt;/span&gt;WorkflowInstanceIdVariable&lt;br&gt;{&lt;br&gt;&lt;span style="color: blue"&gt;get &lt;/span&gt;{ &lt;span style="color: blue"&gt;return &lt;/span&gt;(&lt;span style="color: blue"&gt;string&lt;/span&gt;)(&lt;span style="color: blue"&gt;base&lt;/span&gt;.GetValue(WorkflowInstanceIdVariableProperty)); }&lt;br&gt;&lt;span style="color: blue"&gt;set &lt;/span&gt;{ &lt;span style="color: blue"&gt;base&lt;/span&gt;.SetValue(WorkflowInstanceIdVariableProperty, &lt;span style="color: blue"&gt;value&lt;/span&gt;); }&lt;br&gt;}&lt;br&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: green"&gt;// Then you need your own properties and getters setters&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;public static&lt;/span&gt;&lt;span style="color: #2b91af"&gt;DependencyProperty &lt;/span&gt;SourceStringProperty = System.Workflow.ComponentModel.&lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;.Register(&lt;span style="color: #a31515"&gt;"SourceString"&lt;/span&gt;,&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: blue"&gt;string&lt;/span&gt;),&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;subStringAfterText&lt;/span&gt;));&lt;br&gt;&lt;span style="color: blue"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;public static &lt;/span&gt;&lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;SearchStringProperty = System.Workflow.ComponentModel.&lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;.Register(&lt;span style="color: #a31515"&gt;"SearchString"&lt;/span&gt;,&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: blue"&gt;string&lt;/span&gt;),&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;subStringAfterText&lt;/span&gt;));&lt;br&gt;&lt;span style="color: blue"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;public static &lt;/span&gt;&lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;FoundStringProperty = System.Workflow.ComponentModel.&lt;span style="color: #2b91af"&gt;DependencyProperty&lt;/span&gt;.Register(&lt;span style="color: #a31515"&gt;"FoundString"&lt;/span&gt;,&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: blue"&gt;string&lt;/span&gt;),&lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;subStringAfterText&lt;/span&gt;));&lt;br&gt;&lt;br&gt;&lt;span style="color: green"&gt;// Override the activity execution&lt;br&gt;&lt;/span&gt;&lt;span style="color: blue"&gt;protected override&lt;/span&gt;&lt;span style="color: #2b91af"&gt;ActivityExecutionStatus &lt;/span&gt;Execute(&lt;span style="color: #2b91af"&gt;ActivityExecutionContext &lt;/span&gt;executionContext)&lt;br&gt;{&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: green"&gt;//Set up the Event Logging object &lt;br&gt;&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;eventLog =&lt;span style="color: blue"&gt;new &lt;/span&gt;&lt;span style="color: #2b91af"&gt;EventLog&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"Workflow"&lt;/span&gt;);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eventLog.Source =&lt;span style="color: #a31515"&gt;"SharePoint Workflow"&lt;/span&gt;;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue"&gt;try&lt;br&gt;&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&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; &lt;span style="color: green"&gt;// Your Method&lt;br&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; &lt;/span&gt;getTheString();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue"&gt;finally&lt;br&gt;&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&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; &lt;span style="color: green"&gt;//Dispose of the Event Logging object &lt;br&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; &lt;/span&gt;eventLog.Dispose();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: green"&gt;//Indicate the activity has closed &lt;br&gt;&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;span style="color: blue"&gt;return&lt;/span&gt;&lt;span style="color: #2b91af"&gt;ActivityExecutionStatus&lt;/span&gt;.Closed;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;Sign the application.&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;After that you should sing the application using a strong key. Thus you can go to project properties and sing the application as follows.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TMAmS24azII/AAAAAAAAAYY/DyEj3ItVHWQ/s1600-h/image33.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TMAmVFi-qyI/AAAAAAAAAYc/gnFijYe21yQ/image_thumb41.png?imgmax=800" width="373" height="252"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TMAmWNQKQ-I/AAAAAAAAAYg/VWv2kkirXS0/s1600-h/image34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TMAmXVzeFzI/AAAAAAAAAYk/gL2C9b9uPpM/image_thumb42.png?imgmax=800" width="333" height="212"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;Build your application. and place the assembly to the GAC. In here there are are two GAC maintaining with framework 4.0&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;ul&gt;&lt;br&gt;&lt;br /&gt;&lt;li&gt;C:\Windows\Microsoft.NET\assembly&lt;br&gt;&lt;br /&gt;&lt;li&gt;C:\Windows\assembly&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;To work the assembly this should be registered under “&lt;strong&gt;C:\Windows\assembly&lt;/strong&gt;” if you use Target Framework as 4.0 then it will register the assembly in &lt;strong&gt;C:\Windows\Microsoft.NET\assembly. &lt;font color="#ff8040"&gt;Therefore use target framework as 3.5&lt;/font&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;font color="#004080" size="4"&gt;&lt;u&gt;Register Assembly Under “&lt;strong&gt;C:\Windows\assembly&lt;/strong&gt;”&lt;/u&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TMAmaUXrRCI/AAAAAAAAAYo/o26sH6vvmFc/s1600-h/image42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_TufE6r6woBg/TMAmbs-A9xI/AAAAAAAAAYs/O9Y-pNoK9uw/image_thumb50.png?imgmax=800" width="254" height="194"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="justify"&gt;Make sure the target framework is 3.5 of the project. if so it will get add to the location “&lt;strong&gt;C:\Windows\assembly&lt;/strong&gt;”&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;For that&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;ul&gt;&lt;br&gt;&lt;br /&gt;&lt;li&gt;Go to the Visual Studio Command Prompt as administrator &lt;br&gt;&lt;br /&gt;&lt;li&gt;Go to your bin/debug folder (place where the dll is build) &lt;br&gt;&lt;br /&gt;&lt;li&gt;Type &lt;strong&gt;&lt;font color="#800000"&gt;gacutil /i getSubStringAfter.dll&lt;/font&gt;&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;if you did it correctly you can see your assembly in the GAC. to view the GAC you can type “&lt;strong&gt;C:\Windows\assembly&lt;/strong&gt;” in the Run Window.&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TMAme_FLSMI/AAAAAAAAAY4/X5KNk24UzJ4/s1600-h/image50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TMAmgWS6--I/AAAAAAAAAY8/4EH55LFe7L8/image_thumb58.png?imgmax=800" width="535" height="181"&gt;&lt;/a&gt; &lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;Creating work flow template actions file.&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;Then you need to create .ACTIONS file. This is the file that used by the SPD to get the workflow information.&amp;nbsp; Therefore create a file named &lt;strong&gt;getSubStringAfter.ACTIONS &lt;/strong&gt;and put the following code there. you need to put &lt;font color="#ff0000"&gt;&lt;strong&gt;correct public key token, namespace and class name.&lt;/strong&gt;&lt;/font&gt;&lt;strong&gt;&amp;nbsp; &lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TMAmlmm22iI/AAAAAAAAAZI/yRgk28sviNE/s1600-h/image51%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TMAmoWwznfI/AAAAAAAAAZM/PNzEUenoZW0/image51_thumb%5B4%5D.png?imgmax=800" width="477" height="355"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;&lt;br&gt;&lt;br /&gt;&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: #800000"&gt;xml&lt;/span&gt; &lt;span style="color: #ff0000"&gt;version&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="1.0"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;encoding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="utf-8"&lt;/span&gt;?&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;WorkflowInfo&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Language&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="en-us"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Actions&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Sequential&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="then"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Parallel&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="and"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Action&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="get the substring after the text"&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt;         &lt;span style="color: #ff0000"&gt;ClassName&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="getSubStringAfter.subStringAfterText"&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt;         &lt;span style="color: #ff0000"&gt;Assembly&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="getSubStringAfter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d98a44afbf8ccb86"&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt;         &lt;span style="color: #ff0000"&gt;AppliesTo&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="all"&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt;   8:&lt;/span&gt;         &lt;span style="color: #ff0000"&gt;Category&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Custom String Actions"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt;   9:&lt;/span&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;RuleDesigner&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Sentence&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Search %1 from %2 and store in %3."&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt;  10:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;FieldBind&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Field&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="SearchString"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="this text"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;DesignerType&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="stringbuilder"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="1"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt;  11:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;FieldBind&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Field&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="SourceString"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="this address"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="2"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;DesignerType&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="stringbuilder"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt;  12:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;FieldBind&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Field&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="FoundString"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Text&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="variable"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Id&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="3"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;DesignerType&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="ParameterNames"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt;  13:&lt;/span&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;RuleDesigner&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt;  14:&lt;/span&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Parameters&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt;  15:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Parameter&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="SearchString"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="System.String, mscorlib"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Direction&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="In"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt;  16:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Parameter&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="SourceString"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="System.String, mscorlib"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Direction&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="In"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt;  17:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Parameter&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="FoundString"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="System.String, mscorlib"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Direction&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Out"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt;  18:&lt;/span&gt;       &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Parameters&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt;  19:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Action&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt;  20:&lt;/span&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Actions&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt;  21:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;WorkflowInfo&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;then copy this file and put in to the following SharePoint server location&lt;br&gt;&lt;strong&gt;&lt;font color="#008000"&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\Workflow&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;font size="4"&gt;Modify the web Config&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="justify"&gt;Then you need to modify the web.config of your site. you need to put &lt;span style="color: #a31515"&gt;SafeControl &lt;/span&gt;and &lt;span style="color: #a31515"&gt;authorizedType&lt;/span&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TMAmp4rMV1I/AAAAAAAAAZQ/zm4D4Z-T9NI/s1600-h/image57%5B2%5D.png"&gt;&amp;nbsp;&lt;/a&gt;in here also please make sure public key token , namespace , version and class is correct other wise it will not work for an example it may not show in the SPD , or it will not get added to the work flow step though it showed in the SPD. &lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TMAmr9SNx3I/AAAAAAAAAZU/amX8wGg5WNg/image57_thumb%5B4%5D.png?imgmax=800" width="511" height="211"&gt; &lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;authorizedType&lt;/span&gt;&lt;span style="color: red"&gt;Assembly&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;getSubStringAfter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d98a44afbf8ccb86&lt;/span&gt;"&lt;span style="color: red"&gt;Namespace&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;getSubStringAfter&lt;/span&gt;"&lt;span style="color: red"&gt;TypeName&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;subStringAfterText&lt;/span&gt;"&lt;span style="color: red"&gt;Authorized&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;True&lt;/span&gt;"&lt;span style="color: blue"&gt;/&amp;gt;&lt;br&gt;&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;SafeControl&lt;/span&gt;&lt;span style="color: red"&gt;Assembly&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;getSubStringAfter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d98a44afbf8ccb86&lt;/span&gt;"&lt;span style="color: red"&gt;Namespace&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;getSubStringAfter&lt;/span&gt;"&lt;span style="color: red"&gt;TypeName&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;*&lt;/span&gt;"&lt;span style="color: red"&gt;Safe&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;"&lt;span style="color: blue"&gt;True&lt;/span&gt;"&lt;span style="color: blue"&gt;/&amp;gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;&lt;font color="#000000" size="4"&gt;&lt;strong&gt;&lt;u&gt;Finally ..&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;br&gt;&lt;br /&gt;&lt;ul&gt;&lt;br&gt;&lt;br /&gt;&lt;li&gt;reset the IIS &lt;br&gt;&lt;br /&gt;&lt;li&gt;Now open the SPD&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TMAmtrLMTZI/AAAAAAAAAZY/8jOe-O6dnIM/s1600-h/image%5B9%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TMAmwIj3AgI/AAAAAAAAAZc/fHbU-Yrji8M/image_thumb%5B7%5D.png?imgmax=800" width="499" height="379"&gt;&lt;/a&gt; &lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TMAmxrWo27I/AAAAAAAAAZg/msmfHhU1-vQ/s1600-h/image%5B11%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TMAmzdc3IVI/AAAAAAAAAZk/05KrRaXnELU/image_thumb%5B13%5D.png?imgmax=800" width="496" height="161"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;I took nearly one week to do figure this out. anyway finally i got a solution. :-)&amp;nbsp;&amp;nbsp; &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4474729393911529995?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4474729393911529995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4474729393911529995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4474729393911529995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4474729393911529995'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/10/how-to-add-custom-visual-studio.html' title='How to add a custom visual studio workflow to SharePoint designer'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh3.ggpht.com/_TufE6r6woBg/TMAmICya0XI/AAAAAAAAAX8/7_XWZusb-VI/s72-c/image_thumb7.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-7772518411811902832</id><published>2010-08-30T16:32:00.001+07:00</published><updated>2010-08-30T16:32:24.065+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Visual Studio Tools</title><content type='html'>&lt;p&gt;Microsoft having quiet a rich gallery for visual studio, WPF , SharePoint and so on..&lt;/p&gt;  &lt;p&gt;Gallery contains &lt;/p&gt;  &lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/en-us/site/search"&gt;http://visualstudiogallery.msdn.microsoft.com/en-us/site/search&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/THt6mf9ttqI/AAAAAAAAAXw/51lT9OJO8NQ/s1600-h/image17.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/THt6poe7tQI/AAAAAAAAAX0/qJ8wGeuCoO8/image_thumb21.png?imgmax=800" width="604" height="515" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7772518411811902832?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7772518411811902832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7772518411811902832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7772518411811902832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7772518411811902832'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/08/visual-studio-tools.html' title='Visual Studio Tools'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/THt6poe7tQI/AAAAAAAAAX0/qJ8wGeuCoO8/s72-c/image_thumb21.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-5312301143840173850</id><published>2010-08-23T17:21:00.001+07:00</published><updated>2010-08-23T17:21:19.422+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Mobile'/><title type='text'>Can't find PInvoke DLL 'sqlceme35.dll</title><content type='html'>&lt;p&gt;This problem is occurred me while I'm ruining a SQL in compact device. So i resolved this error by installing&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/THJLk1dwx3I/AAAAAAAAAXg/O9JIvu2neCk/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/THJLmw6DNXI/AAAAAAAAAXk/ikMzaQ1IggU/image_thumb%5B6%5D.png?imgmax=800" width="509" height="114" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;above files. If this will not work try &lt;strong&gt;wce500&lt;/strong&gt; folder also. it may work.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-5312301143840173850?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/5312301143840173850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=5312301143840173850' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5312301143840173850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5312301143840173850'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/08/can-find-pinvoke-dll.html' title='Can&amp;#39;t find PInvoke DLL &amp;#39;sqlceme35.dll'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/THJLmw6DNXI/AAAAAAAAAXk/ikMzaQ1IggU/s72-c/image_thumb%5B6%5D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-1287197540807117459</id><published>2010-08-23T17:16:00.001+07:00</published><updated>2011-04-04T12:22:13.362+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infopath'/><title type='text'>Getting lower case (lcase) and upper case in the infopath using translate function</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;translate(&lt;strong&gt;&lt;font color="#800040"&gt;Field&lt;/font&gt;&lt;/strong&gt;,"ABCDEFGHIJKLMNOPQRSTUVWYXZ", "abcdefghijklmnopqrstuvwyxz")&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#408080"&gt;Lower Case in InfoPath&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;translate(../d:Owner,"ABCDEFGHIJKLMNOPQRSTUVWYXZ", "abcdefghijklmnopqrstuvwyxz")&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#008080"&gt;Upper Case in InfoPath&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;translate(../d:Owner,"abcdefghijklmnopqrstuvwyxz", "ABCDEFGHIJKLMNOPQRSTUVWYXZ")&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-1287197540807117459?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/1287197540807117459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=1287197540807117459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1287197540807117459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/1287197540807117459'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/08/getting-lower-case-lcase-and-upper-case.html' title='Getting lower case (lcase) and upper case in the infopath using translate function'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-7057334785099138422</id><published>2010-08-23T17:15:00.001+07:00</published><updated>2010-08-23T17:15:37.775+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Give permission user as a site admin in a Site Collection</title><content type='html'>&lt;p align="justify"&gt;for that you should be in a farm administrator group of the SharePoint site.&amp;#160; using following stsadmn command you can grant permission to the user.&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;stsadm –o adduser –url “&lt;/font&gt;&lt;a href="http://websites/sites/abc/"&gt;&lt;font color="#008000"&gt;http://websites/sites/abc&lt;/font&gt;&lt;/a&gt;&lt;font color="#008000"&gt;”&amp;#160; -userlogin &amp;quot;domain\user&amp;quot;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font color="#008000"&gt;–useremail&amp;#160; “&lt;/font&gt;&lt;a href="mailto:&amp;ldquo;some@some.com"&gt;&lt;font color="#008000"&gt;some@some.com&lt;/font&gt;&lt;/a&gt;&lt;font color="#008000"&gt;” -username &amp;quot;name&amp;quot; -role &amp;quot;Full Control&amp;quot; -siteadmin&lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7057334785099138422?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7057334785099138422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7057334785099138422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7057334785099138422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7057334785099138422'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/08/give-permission-user-as-site-admin-in.html' title='Give permission user as a site admin in a Site Collection'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-7863457746642715983</id><published>2010-07-21T12:50:00.001+07:00</published><updated>2010-07-21T12:50:00.475+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to deploy a SharePoint 2010 solution developed by visual studio 2010 to another server using Powershell commands</title><content type='html'>&lt;p&gt;Normally we can deploy the visual studio solution using the IDE. but then we need to SharePoint run on the same local machine which is used to the development. using&amp;#160;&amp;#160; &lt;strong&gt;powershell&lt;/strong&gt; as well as &lt;strong&gt;stsadm&lt;/strong&gt; commands&amp;#160; you can deploy it to another server.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="justify"&gt;copy the content of the bin folder. ( Normally 3 files with .wsp solution file). if the files are not available you can click build and package menus in the IDE to create those files. (of cause you also can get the release folder content if you change the IDE mode to the release)&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;then copy the content to the server which you want to deploy. (for the moment assume you copied it to &lt;strong&gt;C:\solution folder&lt;/strong&gt; , and assume you have a wsp file named &lt;font color="#408080"&gt;&lt;strong&gt;abcsolution.wsp&lt;/strong&gt;&lt;/font&gt;) &lt;/li&gt;    &lt;li&gt;open the powershell window. if the current user have no permission you may need to run is s administrator.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TEaKb2fUaAI/AAAAAAAAAXI/GVJ9EEv4WCM/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TEaKdq8r8jI/AAAAAAAAAXM/fI0_iBAcI6U/image_thumb%5B7%5D.png?imgmax=800" width="358" height="204" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt; Then you need to add the solution to the solution store. for that&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;font color="#008000"&gt;&lt;strong&gt;Add-SPSolution -LiteralPath C:\Solution\abcsolution.wsp&lt;/strong&gt;&lt;/font&gt;&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/TEaKev0uZ_I/AAAAAAAAAXQ/LI8PdNDDVzs/s1600-h/image%5B12%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TEaKfl0r8_I/AAAAAAAAAXU/RFUe5schhRQ/image_thumb%5B27%5D.png?imgmax=800" width="520" height="40" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;ul&gt;   &lt;li&gt;then you need to install it to the web application.&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;font color="#008000"&gt;&lt;strong&gt;Install-SPSolution –Identity abcsolution.wsp&amp;#160; -WebApplication &lt;font color="#808000"&gt;http://server&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;font color="#400040"&gt;some times it asks for GAC permission then you need to specify –&lt;strong&gt;GACDeployment &lt;/strong&gt;&lt;/font&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;strong&gt;&lt;font color="#008000"&gt;Install-SPSolution –Identity abcsolution.wsp&amp;#160; -WebApplication &lt;font color="#808000"&gt;http://server&lt;/font&gt;&lt;/font&gt;&lt;font color="#400040"&gt; &lt;/font&gt;&lt;font color="#808000"&gt;-GACDEployment&lt;/font&gt;&lt;/strong&gt;&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TEaKggNQ7zI/AAAAAAAAAXY/viaNkeVDjQs/s1600-h/image%5B18%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TEaKhiVAFdI/AAAAAAAAAXc/mCeJW175Vvk/image_thumb%5B37%5D.png?imgmax=800" width="581" height="45" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-7863457746642715983?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/7863457746642715983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=7863457746642715983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7863457746642715983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/7863457746642715983'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/07/how-to-deploy-sharepoint-2010-solution.html' title='How to deploy a SharePoint 2010 solution developed by visual studio 2010 to another server using Powershell commands'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh4.ggpht.com/_TufE6r6woBg/TEaKdq8r8jI/AAAAAAAAAXM/fI0_iBAcI6U/s72-c/image_thumb%5B7%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-5952025423082398353</id><published>2010-07-21T12:00:00.001+07:00</published><updated>2010-07-21T12:00:03.323+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>This operation can be performed only on a computer that is joined to a server farm by users who have permissions ..</title><content type='html'>&lt;p align="justify"&gt;&lt;font color="#008080"&gt;&lt;strong&gt;This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start menu in Microsoft SharePoint 2010 Products.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;font color="#400040"&gt;I came across with error when i going to restore the SharePoint site to another farm. in here i ran the application as “&lt;strong&gt;run as administrator&lt;/strong&gt;”.&amp;#160; the problem is we want to have permission to SharePoint database. so you can put your username to SharePoint SQL server database and give the sys admin permission.&lt;/font&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;font color="#400040"&gt;or else you can use already configured user.&amp;#160; &lt;/font&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-5952025423082398353?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/5952025423082398353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=5952025423082398353' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5952025423082398353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/5952025423082398353'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/07/this-operation-can-be-performed-only-on.html' title='This operation can be performed only on a computer that is joined to a server farm by users who have permissions ..'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-8584433253278706285</id><published>2010-07-13T10:42:00.001+07:00</published><updated>2010-07-13T12:27:30.564+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>How to Backup and Restore SharePoint 2010 site collection</title><content type='html'>&lt;span xmlns="xmlns"&gt;   &lt;p&gt;There are two options available (May be many) . &lt;/p&gt;    &lt;ul&gt;     &lt;li&gt;Using &lt;span style="color: #1f497d"&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;      &lt;li&gt;Using &lt;span style="color: #9bbb59"&gt;&lt;strong&gt;stsadm&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;p&gt;In 2010 PowerShell is recommended. But in my case PowerShell commands not worked. I mean the midlets commands are missing in the pc. Therefore I used second option.     &lt;br /&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style="text-decoration: underline"&gt;&lt;strong&gt;Option1         &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;    &lt;ul style="margin-left: 42pt"&gt;     &lt;li&gt;       &lt;div&gt;Backup         &lt;br /&gt;&lt;/div&gt;        &lt;ul&gt;         &lt;li&gt;Go to the PowerShell (you should have execution permission and at least read permission to the SharePoint database)            &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/TDv5MdMgkEI/AAAAAAAAAW4/pk97jMIMMwo/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/TDv5N2JquaI/AAAAAAAAAW8/WHDltdb6TxQ/image_thumb%5B3%5D.png?imgmax=800" width="480" height="64" /&gt;&lt;/a&gt;&amp;#160;&lt;/li&gt;       &lt;/ul&gt;        &lt;p style="margin-left: 18pt"&gt;Apart from that you can provide many other parameters to the command.         &lt;br /&gt;&lt;/p&gt;        &lt;p style="margin-left: 29pt"&gt;&lt;span style="font-family: times new roman; font-size: 12pt"&gt;Backup-SPSite [-Identity] &amp;lt;SPSitePipeBind&amp;gt; -Path &amp;lt;String&amp;gt; [-AssignmentCollection &amp;lt;SPAssignmentCollection&amp;gt;] [-Confirm [&amp;lt;SwitchParameter&amp;gt;]] [-Force &amp;lt;SwitchParameter&amp;gt;] [-NoSiteLock &amp;lt;SwitchParameter&amp;gt;] [-UseSqlSnapshot &amp;lt;SwitchParameter&amp;gt;] [-WhatIf [&amp;lt;SwitchParameter&amp;gt;]]           &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p style="margin-left: 18pt"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ff607901.aspx"&gt;Refer&lt;/a&gt;&lt;/p&gt;     &lt;/li&gt;      &lt;li&gt;       &lt;div&gt;Restore&lt;/div&gt;     &lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;Go to the PowerShell and type following command. This command will create a site collection and restore the site. Other wise you can use force command to override the content&amp;#160; &lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/TDv5OhXMO2I/AAAAAAAAAXA/pCvplWhLYu8/s1600-h/image%5B10%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/TDv5QE_sHJI/AAAAAAAAAXE/N0n1b_q6Hdk/image_thumb%5B6%5D.png?imgmax=800" width="483" height="52" /&gt;&lt;/a&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/ul&gt;    &lt;p&gt;&lt;span style="text-decoration: underline"&gt;&lt;strong&gt;Option2          &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;You can also use stsadm commands to backup and restore.      &lt;br /&gt;&lt;/p&gt;    &lt;ul style="margin-left: 42pt"&gt;     &lt;li&gt;       &lt;div&gt;Backup         &lt;br /&gt;&lt;/div&gt;        &lt;ul&gt;         &lt;li&gt;Open the command prompt&lt;/li&gt;          &lt;li&gt;Goto C:\program files\common files\Microsoft shared\web server extensions\ 12 \ bin&lt;/li&gt;          &lt;li&gt;&lt;span style="color: #f79646"&gt;&lt;strong&gt;Stsadm &lt;span style="color: #c0504d"&gt;–o backup –url &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family: times new roman; font-size: 12pt"&gt;http://server&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: times new roman; font-size: 12pt"&gt;/sites/name -filename C:\site.bak&lt;/span&gt;&lt;/li&gt;       &lt;/ul&gt;     &lt;/li&gt;      &lt;li&gt;       &lt;div&gt;Restore&lt;/div&gt;     &lt;/li&gt;      &lt;ul&gt;       &lt;li&gt;&lt;span style="color: #f79646"&gt;&lt;strong&gt;Stsadm &lt;span style="color: #c0504d"&gt;–o restore –url &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family: times new roman; font-size: 12pt"&gt;http://server&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: times new roman; font-size: 12pt"&gt;/sites/name -filename C:\site.bak&lt;/span&gt;&lt;/li&gt;        &lt;li&gt;You can use &lt;strong&gt;–override&lt;/strong&gt; to replace the existing site. &lt;/li&gt;     &lt;/ul&gt;   &lt;/ul&gt; &lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8584433253278706285?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8584433253278706285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8584433253278706285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8584433253278706285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8584433253278706285'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/07/how-to-backup-and-restore-sharepoint.html' title='How to Backup and Restore SharePoint 2010 site collection'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/TDv5N2JquaI/AAAAAAAAAW8/WHDltdb6TxQ/s72-c/image_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-2531293215218864065</id><published>2010-07-07T22:28:00.001+07:00</published><updated>2010-07-07T22:28:11.359+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Datasheet view is read only in the SharePoint list</title><content type='html'>&lt;p&gt;If the &lt;strong&gt;content approval is enabled&lt;/strong&gt; to the list disable it. then it will remove the read only&amp;#160; mode.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-2531293215218864065?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/2531293215218864065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=2531293215218864065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2531293215218864065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/2531293215218864065'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/07/datasheet-view-is-read-only-in.html' title='Datasheet view is read only in the SharePoint list'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4085118929768888348</id><published>2010-07-07T22:12:00.001+07:00</published><updated>2010-07-07T22:12:26.020+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Exceptions'/><title type='text'>A Datasheet component compatible with Microsoft SharePoint Foundation is Not installed</title><content type='html'>&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_TufE6r6woBg/TDSZSSra61I/AAAAAAAAAWw/IGKEB41f8yc/s1600-h/sperror%5B1%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="sperror" border="0" alt="sperror" src="http://lh5.ggpht.com/_TufE6r6woBg/TDSZWKyEBnI/AAAAAAAAAW0/QKXeEkE9uBQ/sperror_thumb%5B1%5D.png?imgmax=800" width="422" height="223" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;when I opened the datasheet view i engage with this error. I am using SharePoint 2010 with office 2010. This error is because office2010 still do not have the datasheet edit component in 64 bit. these i open the SharePoint site with a machine installed office 2003 and it worked perfectly. &lt;/p&gt;  &lt;p align="justify"&gt;there is a office2007 driver that you can also installed with office2010 to&amp;#160; overcome this issue. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-4085118929768888348?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/4085118929768888348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=4085118929768888348' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4085118929768888348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/4085118929768888348'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/07/datasheet-component-compatible-with.html' title='A Datasheet component compatible with Microsoft SharePoint Foundation is Not installed'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh5.ggpht.com/_TufE6r6woBg/TDSZWKyEBnI/AAAAAAAAAW0/QKXeEkE9uBQ/s72-c/sperror_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-535220635813621025</id><published>2010-06-14T15:59:00.000+07:00</published><updated>2010-06-14T15:59:09.039+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>How to get logged user name in the sharepoint list</title><content type='html'>You may want to get the sharepoint logged user account (most of the case windows user account name). for that&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Go the list&lt;/li&gt;&lt;li&gt;then go to the sharepoint list settings&lt;/li&gt;&lt;li&gt;then in the &lt;strong&gt;additinal colummn setting&lt;/strong&gt;&amp;nbsp; group&lt;/li&gt;&lt;ul&gt;&lt;li&gt;click the &lt;strong&gt;calculated value&lt;/strong&gt; in the defaulu value group&lt;/li&gt;&lt;li&gt;then type &lt;span style="color: red;"&gt;&lt;strong&gt;=Me&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-535220635813621025?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/535220635813621025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=535220635813621025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/535220635813621025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/535220635813621025'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/06/how-to-get-logged-user-name-in.html' title='How to get logged user name in the sharepoint list'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-846427521648896684</id><published>2010-03-08T16:12:00.001+06:00</published><updated>2010-03-08T16:12:18.681+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>How to create a Simple Feature for SharePoint</title><content type='html'>&lt;p&gt;This feature is simply add the existing file to the existing list.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open the visual Studio and add following file to you empty project. When you are writing the xmls in is better use schema that provides intellicence. &lt;/li&gt;    &lt;li&gt;To add the XML sheme, in the XML file go to properties and &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/S5TNcpoHbxI/AAAAAAAAAWY/kBmoHwGTTFA/s1600-h/image%5B4%5D.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="155" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/S5TNdYpII_I/AAAAAAAAAWc/gNLg-WWol3I/image_thumb%5B2%5D.png?imgmax=800" width="573" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;after that create following files in you project &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/S5TNeH3FUbI/AAAAAAAAAWg/mBIMTzhjTSA/s1600-h/image%5B10%5D.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="162" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/S5TNewzolEI/AAAAAAAAAWk/Rn9CmIgoWzo/image_thumb%5B4%5D.png?imgmax=800" width="187" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;feature.xml(you cannot change the file name)&lt;/u&gt;&lt;/strong&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:f3843093-9320-4709-a7cd-e8dc29df79e1" style="padding-right: 5px; display: block; padding-left: 5px; float: none; padding-bottom: 5px; margin-left: auto; width: 599px; margin-right: auto; padding-top: 5px"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background-color: #fafef1; overflow: auto; padding: 2px 5px; white-space: wrap"&gt;&lt;br /&gt;&lt;p&gt;  &lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#a31515"&gt;xml&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;1.0&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;encoding&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;utf-8&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; ?&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Feature&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;http://schemas.microsoft.com/sharepoint/&lt;/span&gt;"&lt;br&gt;          &lt;span style="color:#0000ff"&gt;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;Id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;616CE205-AFD6-4823-9519-2A2AEF7C8BB0&lt;/span&gt;"&lt;br&gt;          &lt;span style="color:#0000ff"&gt;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;Scope&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;Web&lt;/span&gt;"&lt;br&gt;          &lt;span style="color:#0000ff"&gt;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;Title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;Really Simple Feature&lt;/span&gt;"&lt;br&gt;          &lt;span style="color:#0000ff"&gt;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;Description&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;A feature to place a doc in a library&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;br&gt;   &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;ElementManifests&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;   &lt;span style="color:#0000ff"&gt;  &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;ElementManifest&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;Location&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;elements.xml&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;br&gt;   &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;ElementManifests&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;br&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;Feature&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;br&gt;  &lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;elements.xml&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div class="wlWriterEditableSmartContent" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:11574831-55dc-4bf4-bffa-192de9b625db" style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background-color: #fafef1; overflow: auto; padding: 2px 5px; white-space: wrap"&gt;&lt;br /&gt;&lt;p&gt;  &lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#a31515"&gt;xml&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;1.0&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;encoding&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;utf-8&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; ?&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Elements&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;http://schemas.microsoft.com/sharepoint/&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;br&gt;   &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Module&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;Document&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;List&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;101&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;Url&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;Shared Documents&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;   &lt;span style="color:#0000ff"&gt;  &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;File&lt;/span&gt;&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;Url&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;TextFile1.txt&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;span style="color:#ff0000"&gt;Type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;"&lt;span style="color:#0000ff"&gt;GhostableInLibrary&lt;/span&gt;"&lt;span style="color:#0000ff"&gt; /&amp;gt;&lt;/span&gt;&lt;br&gt;   &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;Module&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt; &lt;span style="color:#0000ff"&gt; &lt;/span&gt;&lt;br&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;Elements&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;After create those files copy those 3 files and put them to&lt;/p&gt;  &lt;p&gt;&lt;font color="#004080"&gt;&lt;strong&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\SimpleFeature&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;And install the feature to the site using command prompt.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff8000"&gt;&lt;strong&gt;stsadm -o installfeature -n SimpleFeature&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;This is under &lt;/p&gt;  &lt;p&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&amp;gt;&lt;/p&gt;  &lt;p&gt;Now the feature installed to your site. To activate the feature goto&lt;/p&gt;  &lt;p&gt;Site settings –&amp;gt; Site Features –&amp;gt; realy simple feature.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/S5TNflM6EsI/AAAAAAAAAWo/-Vfl2sK9RIM/s1600-h/image%5B15%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="56" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/S5TNgAlB3lI/AAAAAAAAAWs/dRpV2gXa_dc/image_thumb%5B7%5D.png?imgmax=800" width="518" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-846427521648896684?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/846427521648896684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=846427521648896684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/846427521648896684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/846427521648896684'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/03/how-to-create-simple-feature-for.html' title='How to create a Simple Feature for SharePoint'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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://lh6.ggpht.com/_TufE6r6woBg/S5TNdYpII_I/AAAAAAAAAWc/gNLg-WWol3I/s72-c/image_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8556301325660294947.post-8335007078187206622</id><published>2010-02-25T14:36:00.000+06:00</published><updated>2010-02-25T14:49:04.544+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crystal Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>Crystal Report with ASP.net</title><content type='html'>&lt;p&gt;There are many approaches you can take to link crystal report with asp.net . In this article I’m going to discuss some methods.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Direct Method – In here we are creating the report using crystal report and link it with the aspx.&amp;nbsp; There are two ways of doing this.  &lt;ul&gt; &lt;li&gt;&lt;a href="http://melick-rajee.blogspot.com/2010/02/crystal-report-in-aspnet.html"&gt;Integrated Security (go to article)&lt;/a&gt;&lt;br&gt; &lt;li&gt;&lt;a href="http://melick-rajee.blogspot.com/2010/02/crystal-report-with-aspnet-direct.html"&gt;Using credentials (in here we want to provide server user name and password) (go to article)&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Data Set Method - In here we are creating the datasets and using data sets we are creating reports.  &lt;ul&gt; &lt;li&gt;&lt;a href="http://melick-rajee.blogspot.com/2010/02/crystal-report-with-aspnet-data-set.html"&gt;Data set with same project (go to article )&lt;/a&gt;  &lt;li&gt;&lt;a href="http://melick-rajee.blogspot.com/2010/02/crystal-report-with-aspnet-data-set-in.html" target="_blank"&gt;Data set with Different project (go to article )&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Object Method – In this method we are binding a object collection to the report. &lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://melick-rajee.blogspot.com/2010/02/crystal-report-with-aspnet-using-data.html"&gt;Object with Crystal Report&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8556301325660294947-8335007078187206622?l=melick-rajee.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://melick-rajee.blogspot.com/feeds/8335007078187206622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8556301325660294947&amp;postID=8335007078187206622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8335007078187206622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8556301325660294947/posts/default/8335007078187206622'/><link rel='alternate' type='text/html' href='http://melick-rajee.blogspot.com/2010/02/crystal-report-with-aspnet.html' title='Crystal Report with ASP.net'/><author><name>Melick Rajee</name><uri>http://www.blogger.com/profile/03242058312177835469</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-8556301325660294947.post-4604205969067315052</id><published>2010-02-25T14:32:00.001+06:00</published><updated>2011-05-19T01:25:09.931+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crystal Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeProject'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Crystal Report with Asp.NET – Using Data Objects</title><content type='html'>&lt;ul&gt; &lt;li&gt;First of all you want to&amp;nbsp; &lt;a href="http://melick-rajee.blogspot.com/2009/09/how-to-create-data-connection-to-sql.html" target="_blank"&gt;create a database connection to your SQL Server&lt;/a&gt;. (Optional – you can find many other ways if you are already known.)&amp;nbsp; &lt;li&gt;Then crate you Business Class which marches to the data base table. for a example&lt;/li&gt;&lt;/ul&gt; &lt;div align="center"&gt; &lt;table border="0" cellspacing="0" cellpadding="2" width="521" align="center"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="200"&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/S4Y1S9iYVbI/AAAAAAAAAVY/Njy7jM9XeyI/s1600-h/image%5B4%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/S4Y1Tl9LqMI/AAAAAAAAAVc/BJRaqGi0B2I/image_thumb%5B6%5D.png?imgmax=800" width="205" height="174"&gt;&lt;/a&gt;&lt;/td&gt; &lt;td valign="top" width="319"&gt; &lt;div align="left"&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&lt;strong&gt;&lt;u&gt;Customer.cs file&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;public class &lt;/span&gt;&lt;span style="color: #2b91af"&gt;Customer&lt;br&gt;&lt;/span&gt;{&lt;br&gt;    &lt;span style="color: blue"&gt;public int &lt;/span&gt;Year { &lt;span style="color: blue"&gt;get&lt;/span&gt;; &lt;span style="color: blue"&gt;set&lt;/span&gt;; }&lt;br&gt;    &lt;span style="color: blue"&gt;public &lt;/span&gt;&lt;span style="color: #2b91af"&gt;String &lt;/span&gt;Name { &lt;span style="color: blue"&gt;get&lt;/span&gt;; &lt;span style="color: blue"&gt;set&lt;/span&gt;; }&lt;br&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="left"&gt;Then go to query editor and run this SQL, It is better you have some records inserted in the table.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br&gt;&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="2" width="607" align="center"&gt;&lt;br&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br&gt;&lt;br /&gt;&lt;tr&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="200"&gt;&lt;a href="http://lh6.ggpht.com/_TufE6r6woBg/S4Y1USLSc4I/AAAAAAAAAVg/aqkLXT7wbKE/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_TufE6r6woBg/S4Y1VPnrlbI/AAAAAAAAAVk/PeTokfHzU18/image_thumb%5B12%5D.png?imgmax=800" width="244" height="202"&gt;&lt;/a&gt;&lt;/td&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="405"&gt;&lt;br&gt;&lt;br /&gt;&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 85.45%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; height: 83px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 96.4%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; height: 42px; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; &lt;span style="color: #0000ff"&gt;TOP&lt;/span&gt; (1) Name, &lt;span style="color: #0000ff"&gt;Year&lt;/span&gt;&lt;br&gt;&lt;span style="color: #0000ff"&gt;FROM&lt;/span&gt;   Table1&lt;br&gt;&lt;span style="color: #0000ff"&gt;FOR&lt;/span&gt; XML AUTO, Elements&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="left"&gt;It will return following kind of a XML. thus copy it and save it as Table1.xml (for that add a new XML file to the project and paste the content and save it.)&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;br&gt;&lt;br /&gt;&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 71.32%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; height: 90px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 78.23%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; height: 58px; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: #800000"&gt;xml&lt;/span&gt; &lt;span style="color: #ff0000"&gt;version&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="1.0"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;encoding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="utf-8"&lt;/span&gt; ?&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Table1&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Amal&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;  &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Year&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;12&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Year&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Table1&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;/pre&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;Then add a new crystal report by selecting a black report option.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br&gt;&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="2" width="400" align="center"&gt;&lt;br&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br&gt;&lt;br /&gt;&lt;tr&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="133"&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/S4Y1WAvUVoI/AAAAAAAAAVo/qE1KNulx2BQ/s1600-h/image%5B13%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/S4Y1XFVtFhI/AAAAAAAAAVs/H1V5zKd2uqo/image_thumb%5B19%5D.png?imgmax=800" width="281" height="229"&gt;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;/td&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="133"&gt;&amp;nbsp;&lt;/td&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="133"&gt;&lt;a href="http://lh5.ggpht.com/_TufE6r6woBg/S4Y1YfRFNEI/AAAAAAAAAVw/LyUxofISbKw/s1600-h/image%5B19%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/S4Y1aNger2I/AAAAAAAAAV0/oTNOMK-Ir-I/image_thumb%5B26%5D.png?imgmax=800" width="294" height="340"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="left"&gt;Now go to the &lt;strong&gt;database Expert &lt;/strong&gt;and select .Net Object from the Tree menu.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;br&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br&gt;&lt;br /&gt;&lt;tr&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="133"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/S4Y1a4Y1inI/AAAAAAAAAV4/PPqLw3qHDf0/s1600-h/image%5B23%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_TufE6r6woBg/S4Y1b9AiygI/AAAAAAAAAV8/mglGjIxnk-s/image_thumb%5B32%5D.png?imgmax=800" width="244" height="152"&gt;&lt;/a&gt;&lt;/td&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="133"&gt;&amp;nbsp;&lt;/td&gt;&lt;br&gt;&lt;br /&gt;&lt;td valign="top" width="133"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/S4Y1c_yFhpI/AAAAAAAAAWA/gogKBKfWnNY/s1600-h/image%5B28%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/S4Y1eIHORGI/AAAAAAAAAWE/-x3qaLQA_70/image_thumb%5B38%5D.png?imgmax=800" width="343" height="309"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="justify"&gt;In there select the &lt;strong&gt;Customer (&lt;/strong&gt;this is the class which we created early&lt;strong&gt;) &lt;/strong&gt;and click it to push the other category. Then It will popup following screen. In there select the &lt;strong&gt;table1.xml &lt;/strong&gt;that we created early.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/S4Y1feuTudI/AAAAAAAAAWI/SSA1k6fnmVg/s1600-h/image%5B33%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/S4Y1gVgtaRI/AAAAAAAAAWM/SwFGwWghoj4/image_thumb%5B45%5D.png?imgmax=800" width="313" height="317"&gt;&lt;/a&gt; If you click finished auto generated report will be appear. You also can customize your report as relevant.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_TufE6r6woBg/S4Y1hEYk98I/AAAAAAAAAWQ/DBBZxEPD-S0/s1600-h/image%5B38%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_TufE6r6woBg/S4Y1hyNbhNI/AAAAAAAAAWU/7McbWC-lZj4/image_thumb%5B51%5D.png?imgmax=800" width="315" height="160"&gt;&lt;/a&gt;Now you want to put the data to the report.&amp;nbsp; Thus add a web form to your project and named it as Report.aspx.&amp;nbsp; and drag and drop a crystal report viewer to the page.&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p align="justify"&gt;&lt;font color="#004080"&gt;&lt;strong&gt;&lt;u&gt;Report.aspx&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;html &lt;/span&gt;&lt;span style="color: red"&gt;xmlns&lt;/span&gt;&lt;span style="color: blue"&gt;="http://www.w3.org/1999/xhtml" &amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;head &lt;/span&gt;&lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;title&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;title&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;head&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;body&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;form &lt;/span&gt;&lt;span style="color: red"&gt;id&lt;/span&gt;&lt;span style="color: blue"&gt;="form1" &lt;/span&gt;&lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;div&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;CR&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;CrystalReportViewer &lt;/span&gt;&lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;="CrystalReportViewer1" &lt;/span&gt;&lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server" &lt;br&gt;            &lt;/span&gt;&lt;span style="color: red"&gt;AutoDataBind&lt;/span&gt;&lt;span style="color: blue"&gt;="true" /&amp;gt;&lt;br&gt;     &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;div&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br&gt;    &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;body&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;br&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;html&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;&lt;font color="#004080"&gt;&lt;strong&gt;&lt;u&gt;Report.aspx&lt;/u&gt;.cs&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;protected void &lt;/span&gt;Page_Load(&lt;span style="color: blue"&gt;object &lt;/span&gt;sender, &lt;span style="color: #2b91af"&gt;EventArgs &lt;/span&gt;e)&lt;br&gt;{&lt;br&gt;    &lt;span style="color: #2b91af"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;Customer&lt;/span&gt;&amp;gt; cutomerlist = getCustomers();&lt;br&gt;    &lt;span style="color: #2b91af"&gt;ReportDocument &lt;/span&gt;report = &lt;span style="color: blue"&gt;new &lt;/span&gt;&lt;span style="color: #2b91af"&gt;ReportDocument&lt;/span&gt;();&lt;br&gt;    report.Load(Server.MapPath(&lt;span style="color: #a31515"&gt;"CrystalReport.rpt"&lt;/span&gt;));&lt;br&gt;    report.SetDataSource(cutomerlist);&lt;br&gt;    CrystalReportViewer1.ReportSource = report;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;span style="color: blue"&gt;private &lt;/span&gt;&lt;span style="color: #2b91af"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;Customer&lt;/span&gt;&amp;gt; getCustomers() &lt;br&gt;{&lt;br&gt;    &lt;span style="color: green"&gt;// Put your data base code here to get customers&lt;br&gt;    // I'm adding sample data here&lt;br&gt;    &lt;/span&gt;&lt;span style="color: #2b91af"&gt;List
