<?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:blogger='http://schemas.google.com/blogger/2008' 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-6258003820607043652</id><updated>2024-11-08T08:43:43.099-08:00</updated><category term="MOSS 2007"/><category term=".NET"/><category term="ASP.NET"/><category term="MOSS Security"/><category term="SharePoint Resources"/><category term="SharePoint Search"/><category term="Workflow"/><title type='text'>Lazy Blogger on .NET</title><subtitle type='html'>Find solutions to various issues in .NET, C#, VB.NET, ASP.NET, MOSS 2007, Web parts</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-2683777470900662339</id><published>2009-04-08T01:09:00.001-07:00</published><updated>2009-04-08T01:42:20.477-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MOSS 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Search"/><title type='text'>PDF icon not displayed in the SharePoint search results.</title><content type='html'>Follow the steps below to enable the display of pdf icon in the SharePoint search result.&lt;br /&gt;&lt;br /&gt;1.    Search the internet for a pdf image, preferably a jpg or gif of size 16X16. You can use the image below as well.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-1wShOusY-QdEv1KdaRLbmnyJfjz204AfKTaStztFBHUg-lItxBZCldT7KRk3G3ul_SpHrvsmG3XEbyVA3MHjvZrNTSkxkOsPcmWpCLYzEqlRvZ5ytDVW779cCMBnv1iZvTjfyOl9TG4/s1600-h/pdf16.jpg&quot;&gt;&lt;img style=&quot; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 16px; height: 20px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-1wShOusY-QdEv1KdaRLbmnyJfjz204AfKTaStztFBHUg-lItxBZCldT7KRk3G3ul_SpHrvsmG3XEbyVA3MHjvZrNTSkxkOsPcmWpCLYzEqlRvZ5ytDVW779cCMBnv1iZvTjfyOl9TG4/s320/pdf16.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5322237405136264482&quot; /&gt;&lt;/a&gt;&lt;br /&gt;2.    Copy the pdf image into the images in the below location&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 255, 255);font-size:78%;&quot; &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\IMAGES&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3.    Find in the DOCICON.xml file present in the below location&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 255, 255); font-weight: bold;font-size:78%;&quot; &gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4.    Add the values  &amp;lt;mapping key=&quot;pdf&quot; value=&quot;yourimagefilename&quot;&amp;gt; in the &amp;lt;byextension&amp;gt;&amp;lt;/byextension&amp;gt; section.&lt;br /&gt;&lt;br /&gt;5.    Reset IIS.&lt;br /&gt;&lt;br /&gt;6.    Search for any pdf file on the portal and the image should be visible now.</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/2683777470900662339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/04/pdf-icon-not-displayed-in-sharepoint.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/2683777470900662339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/2683777470900662339'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/04/pdf-icon-not-displayed-in-sharepoint.html' title='PDF icon not displayed in the SharePoint search results.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-1wShOusY-QdEv1KdaRLbmnyJfjz204AfKTaStztFBHUg-lItxBZCldT7KRk3G3ul_SpHrvsmG3XEbyVA3MHjvZrNTSkxkOsPcmWpCLYzEqlRvZ5ytDVW779cCMBnv1iZvTjfyOl9TG4/s72-c/pdf16.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-5510005441232978991</id><published>2009-03-24T23:20:00.001-07:00</published><updated>2009-03-24T23:26:59.971-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MOSS 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Resources"/><title type='text'>SharePoint Tool : U2U CAML Query Builder</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;CAML stands for Collaborative Application Markup Language. It is an XML based query language that is used to retrieve information from a SharePoint site. Writing CAML queries can be a real task. Searching the net for any documentation returns bits and pieces of information.&lt;br /&gt;CAML Query Builder tool saves the headache associated with writing CAML queries (especially if one is new to it).&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;The downloadable links are available here.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CAML Query Builder Tool for 2007 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://www.u2u.info/SharePoint/U2U%20Community%20Tools/U2U%20Caml%20Query%20Builder%202007%20v3.1.0.0%20%28windows%20version%29.zip&quot;&gt;http://www.u2u.info/SharePoint/U2U%20Community%20Tools/U2U%20Caml%20Query%20Builder%202007%20v3.1.0.0%20(windows%20version).zip &lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;CAML Query Builder Tool for 2003&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://www.u2u.info/SharePoint/U2U%20Community%20Tools/U2U%20Caml%20Query%20Builder%20v2.1.0.0.zip&quot;&gt; http://www.u2u.info/SharePoint/U2U%20Community%20Tools/U2U%20Caml%20Query%20Builder%20v2.1.0.0.zip&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Note:&lt;/span&gt; The XML generated by the tool is wrapped in &lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt;Query&amp;gt;&amp;lt;/Query&amp;gt;&lt;/span&gt; tag. Some of the objects in SharePoint that take CAML query as input require that the &lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt;Query&amp;gt;&amp;lt;/Query&amp;gt;&lt;/span&gt; tag be omitted. Since it doesn’t return an error, it can be difficult to debug sometimes.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/5510005441232978991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/sharepoint-tool-u2u-caml-query-builder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/5510005441232978991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/5510005441232978991'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/sharepoint-tool-u2u-caml-query-builder.html' title='SharePoint Tool : U2U CAML Query Builder'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-5282823384303325550</id><published>2009-03-18T23:35:00.001-07:00</published><updated>2009-03-18T23:39:43.329-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MOSS 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="MOSS Security"/><title type='text'>MOSS 2007 tip: RunWithElevatedPrivileges to update a list in SharePoint</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Recently we had a requirement where we had to create a folder in a document library whenever a listitem was added in another list. Although this seemed simple and the code worked properly in development environment, we started getting errors when we had the application running in production. The reason was that a few users had add rights on one of the lists but had only view rights on the document library in which the folder had to be created.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;SharePoint’s SPSecurity has a wonderful but dangerous (if not used properly) method which provides a solution to the above problem.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx&lt;/a&gt; gives a detailed description of the method. Point to note here is that the SPSite or SPWeb object needs to be recreated to execute under full control rights. Remember to create the object with the C# using construct so that the object is disposed once the required task is completed.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/5282823384303325550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/moss-2007-tip-runwithelevatedprivileges.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/5282823384303325550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/5282823384303325550'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/moss-2007-tip-runwithelevatedprivileges.html' title='MOSS 2007 tip: RunWithElevatedPrivileges to update a list in SharePoint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-4547569163341799821</id><published>2009-03-18T02:23:00.000-07:00</published><updated>2009-03-18T02:26:12.490-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MOSS 2007"/><title type='text'>Feature &#39;00bfea71-e717-4e80-aa17-d0c71b360101&#39; for list template &#39;101&#39; is not installed in this farm</title><content type='html'>&lt;pre&gt;&lt;code&gt;Feature &#39;00bfea71-e717-4e80-aa17-d0c71b360101&#39; for list template &#39;101&#39; is not installed in this farm.  The operation could not be completed.&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;If you are one of those who have come across this error, then you are not alone. And I know the feeling that goes with it as you see all your web pages throw up random errors which you could make very less meaning of.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;I came across this error when I was uninstalling a custom feature that I had written for a site. As complex as the error seemed to be, the solution couldn’t have been much simpler. SharePoint had somehow uninstalled the default Document Library template while uninstalling my custom feature. The solution to this is to re-install the Document Library template which is implemented as a feature in SharePoint.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;You should find the feature.xml file in the “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\DocumentLibrary” location.&lt;br /&gt;&lt;br /&gt;Run the stsadm command as shown below&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Stsadm –o installfeature –filename C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\DocumentLibrary\feature.xml&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/4547569163341799821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/feature-00bfea71-e717-4e80-aa17.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/4547569163341799821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/4547569163341799821'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/feature-00bfea71-e717-4e80-aa17.html' title='Feature &#39;00bfea71-e717-4e80-aa17-d0c71b360101&#39; for list template &#39;101&#39; is not installed in this farm'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-838010013482441199</id><published>2009-03-17T00:31:00.001-07:00</published><updated>2009-03-17T01:28:41.885-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MOSS 2007"/><title type='text'>Creating folders within an SPList : MOSS 2007</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;SharePoint allows creation of folders within a list. This has a lot of advantages some of which are mentioned below.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;Segregation of related list items.&lt;/li&gt;&lt;li&gt;Easy management of List operations like add, delete, update and search.&lt;/li&gt;&lt;li&gt;Easy management of permissions as related items can be assigned permissions at the folder level.&lt;/li&gt;&lt;/ul&gt;Usually, there is a requirement of creating these folders dynamically using code.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;SPSite oSPSite = new SPSite(&quot;http://mysharepointsite&quot;);&lt;br /&gt;SPWeb oSPWeb= oSPSite.OpenWeb(&quot;mywebsite&quot;);&lt;br /&gt;&lt;br /&gt;SPList oSPList = oSPWeb.Lists[&quot;Country&quot;];&lt;br /&gt;SPListItem oSPListItem = oSPList.Folders.Add(oSPList.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder, null);&lt;br /&gt;&lt;br /&gt;oSPListItem[&quot;Name&quot;] = &quot;France&quot;;&lt;br /&gt;oSPListItem.Update();&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;The first parameter of Folders.Add method mentions the level at which the item has to be created. In the above example we specified that the folder should be created at the root level within the list.&lt;br /&gt;The second parameter mentions the type of list item to be created.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/838010013482441199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/creating-folders-within-splist-moss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/838010013482441199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/838010013482441199'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/creating-folders-within-splist-moss.html' title='Creating folders within an SPList : MOSS 2007'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-5876972401515462305</id><published>2009-03-12T23:04:00.000-07:00</published><updated>2009-03-12T23:53:15.504-07:00</updated><title type='text'>Get Listitems from within folders in a SharePoint List recursively using SPQuery</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Usually, a list defined in SharePoint consists of listitems that are stored within folders. One requirement while searching for data using SPQuery object is to get all listitems that match the specified criteria irrespective of where the data is stored in the folder hierarchy of the list.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Consider a list named “Students” that holds records of all students studying at a university. The records are stored within different folders. To get a list of students whose FirstName is “David”, the query would be&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;SPQuery query = new SPQuery();&lt;br /&gt;query.ViewAttributes = &quot;Scope=&quot;Recursive&quot;&quot;;&lt;br /&gt;query.Query = &quot;&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name=&#39;FirstName&#39;/&amp;gt;&amp;lt;Value&lt;br /&gt;   Type=&#39;Text&#39;&amp;gt;David&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;&quot;;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;The important thing to note here would be the use of the ViewAttributes property of the SPQuery object. The value of ViewAttribues property mentioned above instructs the SPQuery object to search recursively within all folders in the list.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/5876972401515462305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/get-listitems-from-within-folders-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/5876972401515462305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/5876972401515462305'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/get-listitems-from-within-folders-in.html' title='Get Listitems from within folders in a SharePoint List recursively using SPQuery'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-4562895002647690880</id><published>2009-03-10T00:29:00.000-07:00</published><updated>2009-03-10T01:33:52.358-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MOSS 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow"/><title type='text'>Using VS2008 to develop SharePoint workflows on 64-bit Windows Operating system</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;One frustrating issue that we faced was that VS2008 cannot be used to develop SharePoint workflows on 64-bit Windows systems.  Selecting any of the SharePoint workflow templates from the menu returns an “Object reference not set to an instance of an object” error. After searching a lot, I came across a bug reported by someone who faced the same problem.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=325668&quot;&gt;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=325668 &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;The reason mentioned for this bug by Microsoft is a lack of resource and an assurance that it will be solved in the future releases.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Since we already had the setup on a 64-bit machine, the workaround we used was to download sample workflow examples from the internet and modify them according to our requirements.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/4562895002647690880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/using-vs2008-to-develope-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/4562895002647690880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/4562895002647690880'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/using-vs2008-to-develope-sharepoint.html' title='Using VS2008 to develop SharePoint workflows on 64-bit Windows Operating system'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-3422650554537574519</id><published>2009-03-09T04:20:00.000-07:00</published><updated>2009-03-09T05:12:42.627-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>Formatting date in ASP.NET gridview</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;One of our requirements while working with Gridview was formatting a datetime column to display only the date. One of the most important properties to be considered, along with the DataFormatString property, is the HTMLEncode property.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;By default, the value for HTMLEncode is set to True. This is done to prevent cross-site scripting attacks and malicious content from being displayed. As a result, format information cannot be passed to the BoundField column.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre &gt;&lt;code&gt;&amp;lt;asp id=&quot;GridView1&quot; runat=&quot;server&quot;&amp;gt;&lt;br /&gt;&amp;lt;columns&amp;gt;&lt;br /&gt; &amp;lt;asp :BoundField DataField=&quot;ExpiryDate&quot;&lt;br /&gt;    DataFormatString=&quot;{0:MM-dd-yyyy}&quot;&lt;br /&gt;    HeaderText=&quot;Expiry Date&quot;    /&amp;gt;&lt;br /&gt;&amp;lt;/columns&amp;gt;&lt;br /&gt;&amp;lt;/asp&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The HTML code shown below will solve this issue.&lt;br /&gt;&lt;br /&gt;&lt;pre &gt;&lt;code&gt;&amp;lt;asp id=&quot;GridView1&quot; runat=&quot;server&quot;&amp;gt;&lt;br /&gt;&amp;lt;columns&amp;gt;&lt;br /&gt; &amp;lt;asp :BoundField DataField=&quot;ExpiryDate&quot;&lt;br /&gt;    DataFormatString=&quot;{0:MM-dd-yyyy}&quot;&lt;br /&gt;    HtmlEncode=&quot;False&quot;&lt;br /&gt;    HeaderText=&quot;Expiry Date&quot;    /&amp;gt;&lt;br /&gt;&amp;lt;/columns&amp;gt;&lt;br /&gt;&amp;lt;/asp&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this saves some valuable time for a few developers.&lt;br /&gt;&lt;/asp&gt;</content><link rel='replies' type='application/atom+xml' href='http://lazydotnetblogger.blogspot.com/feeds/3422650554537574519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/one-of-our-requirements-while-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/3422650554537574519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/3422650554537574519'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/one-of-our-requirements-while-working.html' title='Formatting date in ASP.NET gridview'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6258003820607043652.post-8076833298339383527</id><published>2009-03-09T03:59:00.000-07:00</published><updated>2009-03-17T01:29:54.043-07:00</updated><title type='text'>Welcome to Lazy .NET blogger</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;If you see this as the first post, then you are probably witnessing history in the making.&lt;br /&gt;I say history because, I see my blog going on to be a source for solutions for all developers like me who break their heads finding solutions which at first glance look simple. Here, you will find solutions to trivial problems in .NET. These are the problems that I faced during various projects that I worked on and had a tough time finding solutions. I hope this will be of help to a lot of developers like me. Do post your comments and queries here and I&#39;ll be more than glad to answer them.&lt;br /&gt;&lt;/div&gt;Till then, cheers and keep coding!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/8076833298339383527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6258003820607043652/posts/default/8076833298339383527'/><link rel='alternate' type='text/html' href='http://lazydotnetblogger.blogspot.com/2009/03/welcome-to-lazy-net-blogger.html' title='Welcome to Lazy .NET blogger'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>