<?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-12461133</id><updated>2012-02-19T20:02:32.576-05:00</updated><category term='bing sucks Microsoft search engine'/><category term='SharePoint MOSS 2007 Web Application Problem'/><category term='Sharepoint WSS 3.0 2.0 Web Part Errors'/><category term='SharePOint 2010 Development Features'/><category term='SharePoint Telerik ASP.NET 3.5 AJAX 1.0'/><category term='Business Data Catalog BDC Application Definition Editor Designer'/><category term='WSS 3.0 SharePoint MOSS HTTP 401.1 - Unauthorized: Logon Failed - SharePoint Windows 2003 SP1 IIS 6.0 Host Header Problem Host file'/><category term='MOSS Standard Edition Sharepoint 2007 error'/><category term='MOSS WSS Custom multiple dynamically create tasks'/><category term='Visual Studio 2008 extension for windows sharepoint services'/><category term='SharePoint Lists.asmx web service update delete from document library'/><category term='SharePoint Site Pages problem'/><category term='Powershell smtp email mcafee'/><category term='.NET CCW COM'/><category term='MCTS SharePoint'/><category term='sharepoint designer download free'/><category term='WSS Sharepoint MOSS'/><category term='MOSS SharePoint Site Definition Template'/><category term='SharePoint Document Library 2007 MOSS Search Scope Box'/><category term='SharePoint JQuery SilverLight'/><category term='WSS 3.0 SP2'/><category term='.NET 3.0 Interprocess Communication'/><category term='ASP.NET 3.5 SharePoint Linq To SQL'/><category term='SharePoint Windows 2003 64-bit SP2'/><category term='WSS Sharepoint MOSS Workflow'/><category term='GACUTIL path'/><category term='Sharepoint Moss 2007'/><category term='MOSS 2007 WSS 3.0 SharePoint bug'/><category term='MOSS SharePoint'/><category term='sharepoint item list update add'/><category term='ASP.NET 3.5'/><title type='text'>Blog of Rajesh Meenrajan - MCSD.NET /MCTS SharePoint</title><subtitle type='html'>Technical Repository of my experiences which comes without any warranty!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default?start-index=101&amp;max-results=100'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>192</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12461133.post-3152848010171108149</id><published>2009-10-28T10:39:00.003-04:00</published><updated>2009-10-28T12:35:31.884-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePOint 2010 Development Features'/><title type='text'>Whassup with SharePoint 2010 Development!</title><content type='html'>Some of the key SharePoint 2010 Development Feature that I saw:&lt;br /&gt;&lt;br /&gt;1. SharePoint Import SharePoint Solution Package Template for Visual Studio 2010: You can import and redeploy WSP packages using the this.&lt;br /&gt;&lt;br /&gt;2. WCF &amp; REST SERVICES support. ASMX is still supported so that migration from 2007 to 2010 for your custom web service shouldn't be a problem.&lt;br /&gt;&lt;br /&gt;3. BDC is now BCS (Business Connectivity Services) and it is no more READ-ONLY from the LOB applications(database/web service). YOU CAN NOW WRITE to your LOB app from within SharePoint.&lt;br /&gt;&lt;br /&gt;4. SAY NO MORE TO CAML using LINQ to SharePOint: You can use EntityList object and get your data and bind it to any control/ web part etc.&lt;br /&gt;&lt;br /&gt;5. Deployment of WSP without FARM ADMIN intervention. For example, web parts can be created, deployed and activated in partial trust mode and you don't have to begging your Admin to deploy it in the Farm so that you can add web part on your blah blah blah site.&lt;br /&gt;&lt;br /&gt;6. Workflows used to be at Web Application Level in 2007. Now, you can build workflow at the site-level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. SharePoint Object Model worked well for on the same server based solutions. But with client object model you can access data from just about anywhere.&lt;br /&gt;&lt;br /&gt;8. Now entities(with parent child relationship) can be deleted in cascading fashion.&lt;br /&gt;&lt;br /&gt;9. VS 2010 will be able to debug, apply breakpoints for Custom SharePoint Development. &lt;br /&gt;&lt;br /&gt;10. Timer Job Overhauled. You can assign a timer job to any/(any number of) server in the farm. From Central Admin you can run the timer job at will( Option: Run Now). Detailed report on the job status, history as well as Progress bar showing the jobs which are running.&lt;br /&gt;&lt;br /&gt;11. Windows SharePoint Service 3.0 is now Windows Foundation (Thanks to WCF)&lt;br /&gt;&lt;br /&gt;And Much more to come as I explore!&lt;br /&gt;&lt;br /&gt;HTH&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-3152848010171108149?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/3152848010171108149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=3152848010171108149' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3152848010171108149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3152848010171108149'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/10/whassup-with-sharepoint-2010.html' title='Whassup with SharePoint 2010 Development!'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-3400639497155751997</id><published>2009-10-08T12:06:00.000-04:00</published><updated>2009-10-09T12:15:55.931-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Lists.asmx web service update delete from document library'/><title type='text'>Code Sample to update document &amp; their metadata &amp; delete document using SharePoint Web Service</title><content type='html'>Microsoft has either limited documentation on this in their msdn site.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_zMuKofOQQSk/Ss9hA5_pUXI/AAAAAAAAABo/g6ZFiKb2nkE/s1600-h/code.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 221px;" src="http://2.bp.blogspot.com/_zMuKofOQQSk/Ss9hA5_pUXI/AAAAAAAAABo/g6ZFiKb2nkE/s320/code.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5390633947181437298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Try to have the Method ID unique. ID attribute in each “Method” element uniquely identifies the specific update so that errors and return values can be properly identified.&lt;br /&gt;&lt;br /&gt;Note: You need to specify the Field Name ‘ID’ to delete the document as well as the URL path to the document. This you have to programmatically find and use it in the Web Service client.&lt;br /&gt;Important: Make sure you do not have %20 (percentage20)replacing the whitespaces in the URL. CAML doesn’t like it.&lt;br /&gt;This is INCORRECTLY documented in the Microsoft site. So be very careful and accurate in building the XML.&lt;br /&gt;The returnNode.InnerText in this case resulted in HEX return value "0x000000000x000000000x00000000" for all the three updates we made through the XML markup. You may have to parse and split this string to identify whether there is a failure. For example 0x000000000x000000000x81020030 means that the first to update has passed successfully and third has failed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-3400639497155751997?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/3400639497155751997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=3400639497155751997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3400639497155751997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3400639497155751997'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/10/code-sample-to-update-document-their.html' title='Code Sample to update document &amp; their metadata &amp; delete document using SharePoint Web Service'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_zMuKofOQQSk/Ss9hA5_pUXI/AAAAAAAAABo/g6ZFiKb2nkE/s72-c/code.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-454907706941714118</id><published>2009-09-30T16:41:00.000-04:00</published><updated>2009-10-02T16:47:27.438-04:00</updated><title type='text'>Custom SharePoint Web Service error</title><content type='html'>Error:&lt;br /&gt;&lt;br /&gt;The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'.The remote server returned an error: (401) Unauthorized.&lt;br /&gt;If the service is defined in the current solution, try building the solution and adding the service reference again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Analysis:&lt;br /&gt;&lt;br /&gt;The WEb Service Consumer was built using .NET 3.5. When add service reference is used, it automagically puts in the unwanted xml security tags in the app.config/web.config. This is the culprit.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Replace the security markup in config file as shown below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_zMuKofOQQSk/SsZmo2yoIHI/AAAAAAAAABY/wvZK3OywLxI/s1600-h/code.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 309px; height: 44px;" src="http://4.bp.blogspot.com/_zMuKofOQQSk/SsZmo2yoIHI/AAAAAAAAABY/wvZK3OywLxI/s320/code.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5388106856284037234" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-454907706941714118?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/454907706941714118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=454907706941714118' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/454907706941714118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/454907706941714118'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/09/custom-sharepoint-web-service-error.html' title='Custom SharePoint Web Service error'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_zMuKofOQQSk/SsZmo2yoIHI/AAAAAAAAABY/wvZK3OywLxI/s72-c/code.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-7442069894441588645</id><published>2009-09-11T19:50:00.000-04:00</published><updated>2009-10-02T16:36:50.485-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Windows 2003 64-bit SP2'/><category scheme='http://www.blogger.com/atom/ns#' term='WSS 3.0 SP2'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 3.5'/><title type='text'>SharePoint Security - Best Practices ???</title><content type='html'>Error:&lt;br /&gt;&lt;br /&gt;Access denied.&lt;br /&gt;&lt;br /&gt;Build a custom multiple upload webpart. When documents with metadata was about to be uploaded sporadically access denied error occurred for certain users even when the account used is a contributor. When MOSS 2007 was released before SP2 was applied, the best practices was to run the code with &lt;strong&gt;RunWithElevatedPriviledges&lt;/strong&gt;. But this doesn't work after MOSS SP2 applied. In our case, we were using Windows 2003 64-bit SP2, ASP.NET 3.5, WSS 3.0 SP2.&lt;br /&gt;&lt;br /&gt;Solution/WorkAround:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zMuKofOQQSk/SsZj-z7pYHI/AAAAAAAAABQ/EazB7c3oQ8g/s1600-h/code.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 130px;" src="http://1.bp.blogspot.com/_zMuKofOQQSk/SsZj-z7pYHI/AAAAAAAAABQ/EazB7c3oQ8g/s320/code.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5388103934938800242" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7442069894441588645?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7442069894441588645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7442069894441588645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7442069894441588645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7442069894441588645'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/09/sharepoint-security-best-practices.html' title='SharePoint Security - Best Practices ???'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_zMuKofOQQSk/SsZj-z7pYHI/AAAAAAAAABQ/EazB7c3oQ8g/s72-c/code.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-1745099469119830225</id><published>2009-08-03T16:37:00.003-04:00</published><updated>2009-08-03T16:46:58.718-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 3.5 SharePoint Linq To SQL'/><title type='text'>SharePoint - Linq To SQL Can't live without App.config or Web.config</title><content type='html'>I was trying to develope a SharePoint Timer Job which will be deployed as a feature. That means, the wsp file would not have a web.config or an app.config file. This means a showstopper for using Linq to SQL within SharePoint when you want the timer job to pull data from another data source other than Sharepoint.  What I wanted was that the timer job should be able to get the configuration information from the web.config file and then use linq without the usage of the settings&amp; app.config file that was generated when I "add new item"( Linq to sql classes)  in the visual studio project. In order to dynamically load the connection string for the database, the configuration file should live inside the project which is not possible for a SharePoint Feature project.&lt;br /&gt;&lt;br /&gt;This is a step back in Linq Usage within SharePoint. I heard Microsoft is building new LINQ for SharePoint functionality which might solve the problem in MOSS 2010.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-1745099469119830225?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/1745099469119830225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=1745099469119830225' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1745099469119830225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1745099469119830225'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/08/sharepoint-linq-to-sql-cant-live.html' title='SharePoint - Linq To SQL Can&apos;t live without App.config or Web.config'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-7888454409154226885</id><published>2009-07-13T15:54:00.002-04:00</published><updated>2009-07-13T21:46:38.738-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS Standard Edition Sharepoint 2007 error'/><title type='text'>SharePoint - Standard Edition error when accessing all the links under Central Administration -&gt; Application Management</title><content type='html'>SQLException while Executing the cache invalidation simple timer job. We will not abort the job, and will retry in 60 seconds: System.Data.SqlClient.SqlException:  The stored procedure 'proc_ar_GetCacheInvalidationCountersWithCount' can’t be found&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;StackTrace:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) &lt;br /&gt;System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) &lt;br /&gt;System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) &lt;br /&gt;System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) &lt;br /&gt;System.Data.SqlClient.SqlDataReader.ConsumeMetaData()   &lt;br /&gt;System.Data.SqlClient.SqlDataReader.get_MetaData()     &lt;br /&gt;System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) &lt;br /&gt;System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) &lt;br /&gt;System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) &lt;br /&gt;System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) &lt;br /&gt;System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) &lt;br /&gt;System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)     &lt;br /&gt;Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior) &lt;br /&gt;Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command) &lt;br /&gt;Microsoft.Office.Server.ApplicationRegistry.Infrastructure.CacheInvalidationStateTracker.CheckStatus(Object stateInfo)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RESOLUTION:&lt;br /&gt;&lt;br /&gt;Rebooting the development box solved the problem.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7888454409154226885?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7888454409154226885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7888454409154226885' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7888454409154226885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7888454409154226885'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/07/sharepoint-standard-edition-error-when.html' title='SharePoint - Standard Edition error when accessing all the links under Central Administration -&gt; Application Management'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-7017658748811560165</id><published>2009-06-26T21:32:00.002-04:00</published><updated>2009-06-26T21:52:21.701-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bing sucks Microsoft search engine'/><title type='text'>Nice try Microsoft....but still....bing sucks!!!</title><content type='html'>Try this one if you have a blog. When I do a google search with my first and last name the my blog get listed as the first URL suggestion. I tested searching in Yahoo, Altavista, Lycos, AOL and they concurred that my blog as the first suggested link. But in bing search, not only that I lost first position in the search result, my blog was COMPLETELY AVOIDED in the search result. I wonder it because blogspot belong to google? I hope atleast in future Microsoft Bing  don't bring in a biased result :)&lt;br /&gt;(Please note: I'm not against Microsoft in any way as I use, build, &amp; support Microsoft's Platforms and Products!!! I only feel that they CANNOT compete with GOOGLE in search engines). Atleast in OS business Windows we can say Windows is second to MAC but not with their search. Oh, BTW, I also say their Maps for Driving Direction is far better than any other competitors (mapquest, yahoo, google etc) as it is accurate in calculating the Travel Time. If you follow google to go to your office you may end up going late by 10 minutes ;)&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7017658748811560165?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7017658748811560165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7017658748811560165' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7017658748811560165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7017658748811560165'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/06/nice-try-microsoftbut-stillbing-sucks.html' title='Nice try Microsoft....but still....bing sucks!!!'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6451852406323799919</id><published>2009-05-02T17:06:00.000-04:00</published><updated>2009-10-02T17:26:01.387-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint item list update add'/><title type='text'>SharePoint - spfield item update of Metadata properties</title><content type='html'>When do you use field internal name and the display name?&lt;br /&gt;&lt;br /&gt;You have to generally use the display name of the field in SharePoint list/document library whenever you need to update an item. Use display name when the field display name matches internalname as well as if the field display name has white spaces in it. If there are no whitespaces but the the display name is different from the internal name of the field now yes use the internal name to update the item in the list/document library. &lt;br /&gt;&lt;br /&gt;This is aworkaround for MOSS SP2 updated systems as SharePoint is not consistent with either of the name usage. See the last few lines of the code on how to do this.&lt;br /&gt;(Note additional code is required if your datatype is datetime, number etc. Here it is assumed all the metadata properties are text. In those cases use something like:  properties.Add(field.Title, Convert.ToDateTime(item.Value));&lt;br /&gt; properties.Add(field.InternalName, Convert.ToDateTime(item.Value));&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zMuKofOQQSk/SsZvJbv37BI/AAAAAAAAABg/xDceNyL29d0/s1600-h/code.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 126px;" src="http://1.bp.blogspot.com/_zMuKofOQQSk/SsZvJbv37BI/AAAAAAAAABg/xDceNyL29d0/s320/code.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5388116212053437458" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6451852406323799919?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6451852406323799919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6451852406323799919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6451852406323799919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6451852406323799919'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/05/sharepoint-spfield-item-update-of.html' title='SharePoint - spfield item update of Metadata properties'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_zMuKofOQQSk/SsZvJbv37BI/AAAAAAAAABg/xDceNyL29d0/s72-c/code.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-597654599559821392</id><published>2009-04-30T22:34:00.000-04:00</published><updated>2009-05-14T22:41:38.941-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business Data Catalog BDC Application Definition Editor Designer'/><title type='text'>SharePoint SDK 1.5 Update</title><content type='html'>Wassup with the BDC Application Definition Editor ?&lt;br /&gt;Lots of Developers (SharePoint BDC) had problems with BDC Application Definition Editor which came along with SharePoint SDK 1.3. It was buggy and it worked with SQL 2000 but not with SQL Server 2005. The problem was the Tables and Views that BDC access should be a .dbo object.&lt;br /&gt;&lt;br /&gt;Now this seem to have been fixed in the newly named editor, Application Definition Editor. You may see while installing SharePoint SDK it would show as Version 1.4 ;)&lt;br /&gt;Now, the BDC Metaman is going get a hit as this tool is what we want and its free :)&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-597654599559821392?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/597654599559821392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=597654599559821392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/597654599559821392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/597654599559821392'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/04/sharepoint-sdk-15-update.html' title='SharePoint SDK 1.5 Update'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6985724931407297792</id><published>2009-03-31T20:34:00.001-04:00</published><updated>2009-04-22T20:36:13.487-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sharepoint designer download free'/><title type='text'>SharePoint Designer is FREE!!!!</title><content type='html'>You can download from the following link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6985724931407297792?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6985724931407297792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6985724931407297792' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6985724931407297792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6985724931407297792'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/03/sharepoint-designer-is-free.html' title='SharePoint Designer is FREE!!!!'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-782957618445003393</id><published>2009-03-27T11:44:00.000-04:00</published><updated>2009-07-27T11:47:22.695-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Telerik ASP.NET 3.5 AJAX 1.0'/><title type='text'>SharePoint - Telerik dll copy problem - ASP.NET 3.5</title><content type='html'>"Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."  &lt;br /&gt;&lt;br /&gt;I accidently copied the older version of the Telerik from the Bin folder.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;You have to copy from the Bin35 folder&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-782957618445003393?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/782957618445003393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=782957618445003393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/782957618445003393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/782957618445003393'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/03/sharepoint-telerik-dll-copy-problem.html' title='SharePoint - Telerik dll copy problem - ASP.NET 3.5'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6560989396023350891</id><published>2009-03-27T00:13:00.001-04:00</published><updated>2009-06-27T00:57:16.609-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint JQuery SilverLight'/><title type='text'>SilverLight vs JQuery in SharePoint</title><content type='html'>Just like most of the so called SharePoint MVP,say Sahil Malik, I'm not so dumb to passionately follow a product and say hey thats cool :). These dumb MVP do not get involved in outright projects from scratch to finish. They just make u scratch ur head after u believed their words :). One such dumbest thing is to use SilverLight within SharePoint sites which I saw Sahil Malik was boasting of too much! These guys what they do is learn at the expenses of their clients and just walk away to another company. As an architect/developer or Senior Consultant you have to be aware of what is the smartest way to achieve the desired result using a specific &lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;&lt;br /&gt;1. You must have all users to download SilverLight to work on their browser.&lt;br /&gt;2. You cannot have some of the controls in HTML and other stuffs in SilverLight. Better write everything in SilverLight. Otherwise, as a designer you may not get the layouts you want as well as problems with Z-Index.&lt;br /&gt;3. Oh yeah, the learning curve is very high and though you may use SilverLight plugins nailing down bugs will give you headache. You may have to higher SilverLight person who knows nothing about SharePoint :)&lt;br /&gt;4. SilverLight 1.0 -&gt; 2.0-&gt; 3.0 is disparate. Lots of versions and changes within 2 years. I see people who invested money on 1.0 now needs more money to upgrade to newer version. &lt;br /&gt;&lt;br /&gt;Why JQuery?&lt;br /&gt;1. Simplicity of the plugins that are available.&lt;br /&gt;2. An experienced Javascript person can easily understand the code very well. No learning curve here. &lt;br /&gt;3. Hey it is free and you can do minor tweak when needed.&lt;br /&gt;4. Javascript has been used now for over a decade and easy to handle problems find resources to solve problem.&lt;br /&gt;5. Lot of stuff SilverLight boast of, can be done with JQuery.&lt;br /&gt;&lt;br /&gt;But, this does not mean green flag to JQuery either. JQuery is also evolving but you have more control being used to Javascript. One thing that comes to my mind is that SharePoint is not conformant to XHTML standards. This means that Microsoft Employees are still ignorant of building Tabless Master Pages, User Controls, Web Parts etc. They rely on Tables to create the layout of the Master pages/page layouts/ASPX pages. You will be in trouble in you replace all the tables tag to div in SharePoint. JQuery in this area may be a trouble.&lt;br /&gt;&lt;br /&gt;I have built really cool sites with JQuery but there is one thing to note, the more JS script used on a page, the performance can go bad. This is because some of the free controls you get on the internet may have badly written loops which would affect you page loading time. So you have the knife in ur hand, handle it with care. Try to be creative, like rounded corner, box shadows, fish eye, tabbed pages, carousel and so on. Try to balance out what need to be accomplished in a given time, which is the best route for the best result and are there any compromise in scalability and portability? Sky is the limit for JQuery!&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6560989396023350891?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6560989396023350891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6560989396023350891' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6560989396023350891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6560989396023350891'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/06/silverlight-vs-jquery-in-sharepoint.html' title='SilverLight vs JQuery in SharePoint'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6439163681604321919</id><published>2009-03-10T10:26:00.002-04:00</published><updated>2009-04-23T16:58:45.159-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2008 extension for windows sharepoint services'/><title type='text'>VSeWSS 1.3 CTP released!</title><content type='html'>Now you can generate the code for the publishing sites as well. This is really cool!&lt;br /&gt;Here is the download link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=B2C0B628-5CAB-48C1-8CAE-C34C1CCBDC0A&amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=B2C0B628-5CAB-48C1-8CAE-C34C1CCBDC0A&amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;UPDATE:&lt;br /&gt;Screencast is found at:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://channel9.msdn.com/posts/kirke/SharePoint-for-Developers-Part-1-Introducing-VSeWSS-13/"&gt;http://channel9.msdn.com/posts/kirke/SharePoint-for-Developers-Part-1-Introducing-VSeWSS-13/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6439163681604321919?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6439163681604321919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6439163681604321919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6439163681604321919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6439163681604321919'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2009/04/vsewss-13-ctp-released.html' title='VSeWSS 1.3 CTP released!'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-2518758571785424875</id><published>2008-12-13T17:28:00.000-05:00</published><updated>2009-07-13T17:32:13.491-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint MOSS 2007 Web Application Problem'/><title type='text'>The Web Application at could not be found. Verify that you have typed the URL correctly.</title><content type='html'>The Web Application at "http: site path " could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Make sure  the following are correct in your setup:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;·         The user has permissions to access the Windows SharePoint Services site or the SharePoint Server 2007 site through which the code iterates.&lt;br /&gt;&lt;br /&gt;·         The user is a server farm administrator.  &lt;br /&gt;&lt;br /&gt;·         The user has Read and Write permissions on the content database.  &lt;br /&gt;&lt;br /&gt;·         The user is a site collection administrator.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2518758571785424875?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2518758571785424875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2518758571785424875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2518758571785424875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2518758571785424875'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/12/web-application-at-could-not-be-found.html' title='The Web Application at could not be found. Verify that you have typed the URL correctly.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-1190371975949872512</id><published>2008-11-17T12:08:00.002-05:00</published><updated>2009-04-17T12:16:13.833-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSS Sharepoint MOSS Workflow'/><title type='text'>Custom SharePoint Workflow error</title><content type='html'>Problem:&lt;br /&gt;&lt;br /&gt;Value cannot be null.  &lt;br /&gt;System.InvalidOperationException: The event receiver context for Workflow is invalid.     at Microsoft.SharePoint.SPEventReceiverDefinition.ValidContext()     at Microsoft.SharePoint.SPEventReceiverDefinition.ValidReceiverFields()     at Microsoft.SharePoint.SPEventReceiverDefinition.GetSqlCommandToAddEventReceivers(IList`1 erds)     at Microsoft.SharePoint.Workflow.SPWinOESubscriptionService.CommitNewSubscriptions(Transaction txn, IList`1 erds)  &lt;br /&gt;WinWF Internal Error, terminating workflow Id# fbe7818d-a189-4b0e-bd4d-2b801715590d  &lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;This is caused when the TaskID may not be assigned a guid correctly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Assign &lt;br /&gt;&lt;br /&gt;taskID = Guid.NewGuid();&lt;br /&gt;&lt;br /&gt;In my case, I accidently used taskID = new Guid();&lt;br /&gt;&lt;br /&gt;Similarly this can happen with TaskProperties, BeforeProperties, AfterProperties, CorrelationToken.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-1190371975949872512?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/1190371975949872512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=1190371975949872512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1190371975949872512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1190371975949872512'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/11/custom-sharepoint-workflow-error.html' title='Custom SharePoint Workflow error'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-7565976655969785871</id><published>2008-10-31T15:38:00.000-04:00</published><updated>2008-10-31T15:47:40.742-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSS Sharepoint MOSS'/><title type='text'>stsadm restore error "Exception from HRESULT: 0x80040E2F"</title><content type='html'>stsadm: Exception from HRESULT: 0x80040E2F Callstack: at Microsoft.SharePoint.Library.SPRequest.GetAllWebsOfSite(String bstrUrl, Object&amp;amp; pvarWebs, Object&amp;amp; pvarWebIds, Object&amp;amp; pvarParentWebs, Object&amp;amp; pvarLangs, Object&amp;amp; pvarTitles) at Microsoft.SharePoint.SPSite.SPWebCollectionProvider.GetWebsData(String[]&amp;amp; strNames, String[]&amp;amp; strServiceRelUrls, Guid[]&amp;amp; guidWebIds, Int32[]&amp;amp; nLanguages, String[]&amp;amp; strTitles, String[]&amp;amp; strDescriptions, String[]&amp;amp; strCreationTimes, String[]&amp;amp; strModifiedTimes, Boolean[]&amp;amp; bUserIsWebAdmins, Int32[]&amp;amp; nWebTemplates, Int16[]&amp;amp; nProvisionConfigs, Int16[]&amp;amp; nMeetingCounts) at Microsoft.SharePoint.SPWebCollection.EnsureWebsData() at Microsoft.SharePoint.SPWebCollection.Undirty() at Microsoft.SharePoint.SPBaseCollection.System.Collections.IEnumerable.GetEnumerator() at Microsoft.SharePoint.Administration.SPSiteCollection.LogSiteRestoreToChangeLog(SPSite site) at Microsoft.SharePoint.Administration.SPSiteCollection.Restore(String strSiteUrl, String strFilename, Boolean bOverwrite, Boolean hostHeaderAsSiteName) at Microsoft.SharePoint.StsAdmin.SPAdminRestore.RunSiteCollectionRestore(StringDictionary keyValues) at Microsoft.SharePoint.StsAdmin.SPAdminRestore.Run(StringDictionary keyValues) at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;The sharepoint backup was taken on the site when users are accessing the sites. The workaround is to take the backup from production sharepoint content database and follow the process mentioned in:&lt;br /&gt;&lt;a href="http://www.sharepointblogs.com/search/SearchResults.aspx?q=restore+a+production+sharepoint+web+farm+to+a+new+web+farm&amp;amp;s=317"&gt;Restore from Production to a new farm &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Or&lt;br /&gt;You have to lock down the sharepoint database so that no user can access the site and this could cause outage of the sites.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7565976655969785871?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7565976655969785871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7565976655969785871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7565976655969785871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7565976655969785871'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/10/stsadm-restore-error-exception-from.html' title='stsadm restore error &quot;Exception from HRESULT: 0x80040E2F&quot;'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-5591515259324211966</id><published>2008-10-30T15:12:00.001-04:00</published><updated>2008-10-31T15:40:31.910-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Powershell smtp email mcafee'/><title type='text'>"unable to write data to the transport connection an established connection was aborted by the software in your host machine</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_zMuKofOQQSk/SQtcwMiDwBI/AAAAAAAAABA/u-6yrSWiQx8/s1600-h/Mcafee.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 187px; height: 200px;" src="http://1.bp.blogspot.com/_zMuKofOQQSk/SQtcwMiDwBI/AAAAAAAAABA/u-6yrSWiQx8/s200/Mcafee.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5263402572580110354" /&gt;&lt;/a&gt;&lt;br /&gt;I had a powershell script that send out an email using SMTP on remote server. I got the following error(s):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;No connection could be made because the target machine actively refused it&lt;br /&gt;&lt;br /&gt;Or&lt;br /&gt;&lt;br /&gt;unable to write data to the transport connection an established connection was aborted by the software in your host machine  &lt;br /&gt;&lt;br /&gt;As shown in the image, unblock the "Prevent mass mailing worms from sending mail". This fixed the problem created by Mcafee. [OR] You can also click on the edit button and you can add the list of processes to excluded from this "sending mail" rule. I added gpowershell.exe and telnet.exe to this list and it worked gr8&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-5591515259324211966?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/5591515259324211966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=5591515259324211966' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/5591515259324211966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/5591515259324211966'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/10/unable-to-write-data-to-transport.html' title='&quot;unable to write data to the transport connection an established connection was aborted by the software in your host machine'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_zMuKofOQQSk/SQtcwMiDwBI/AAAAAAAAABA/u-6yrSWiQx8/s72-c/Mcafee.JPG' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-1005189702652927597</id><published>2008-10-22T19:38:00.002-04:00</published><updated>2009-04-22T20:48:00.819-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS WSS Custom multiple dynamically create tasks'/><title type='text'>Custom SharePoint Feedback workflow using Infopath</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_zMuKofOQQSk/Se-sioT0GVI/AAAAAAAAABI/cWO0QiJs1ko/s1600-h/Workflow.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 102px; height: 200px;" src="http://4.bp.blogspot.com/_zMuKofOQQSk/Se-sioT0GVI/AAAAAAAAABI/cWO0QiJs1ko/s200/Workflow.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5327666595138640210" /&gt;&lt;/a&gt;&lt;br /&gt;I read books on the building custom sharepoint workflow from the MVPs and their examples are rather simple and not complex. In my case, I wanted to build a Custom  InfoPath-based Feedback workflow (not the MOSS out-of-the box one) which has multiple tasks assigned to each one of the managers in the company who will in turn approve based on certain conditions. There is no one simple example out there yet. So I spent couple of days and found my solution to do the same. Nowadays, the Microsoft documentation is very very limited and they rely on these stupid MVPs and their solutions are retarded( on the MSDN sites) as they r not a really practical examples. I would show u how I built the custom SharePoint workflow( see the picture). All you need is the conditionactivitygroup, ReplicatorActivity, SequentialActivity along with the usual workflow task toolbox items.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Buzz me if you need more help on this.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-1005189702652927597?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/1005189702652927597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=1005189702652927597' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1005189702652927597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1005189702652927597'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/10/custom-sharepoint-feedback-workflow.html' title='Custom SharePoint Feedback workflow using Infopath'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_zMuKofOQQSk/Se-sioT0GVI/AAAAAAAAABI/cWO0QiJs1ko/s72-c/Workflow.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-7588444408689543161</id><published>2008-09-11T17:38:00.000-04:00</published><updated>2008-09-11T17:58:22.814-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MCTS SharePoint'/><title type='text'>MCTS - Windows Sharepoint Services 3.0 Application Development</title><content type='html'>After, registering the MCTS 70-541, becose of the Second Shot Voucher from prometric, I took the test carefree and passed the exam, today. Thought for a while, that I wasted my second-shot voucher though! :) This is my first Technologist Specialist Certification since my MCSD.NET certification. Here is the link that I got for the second shot registration:&lt;br /&gt;http://www.prometric.com/microsoft/2ndchance.htm?s=MCP&lt;br /&gt;&lt;br /&gt;Use the voucher number, when you register for the test.&lt;br /&gt;&lt;br /&gt;Good luck!&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7588444408689543161?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7588444408689543161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7588444408689543161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7588444408689543161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7588444408689543161'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/09/mcts-windows-sharepoint-services-30.html' title='MCTS - Windows Sharepoint Services 3.0 Application Development'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-3573106756264830991</id><published>2008-08-31T12:47:00.000-04:00</published><updated>2009-08-31T12:50:30.015-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSS 3.0 SharePoint MOSS HTTP 401.1 - Unauthorized: Logon Failed - SharePoint Windows 2003 SP1 IIS 6.0 Host Header Problem Host file'/><title type='text'>HTTP 401.1 - Unauthorized: Logon Failed - SharePoint Windows 2003 SP1 IIS 6.0 Host Header Problem</title><content type='html'>Follow the rabbit and you'll be able to fix this problem:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/default.aspx/kb/896861&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-3573106756264830991?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/3573106756264830991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=3573106756264830991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3573106756264830991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3573106756264830991'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/08/http-4011-unauthorized-logon-failed.html' title='HTTP 401.1 - Unauthorized: Logon Failed - SharePoint Windows 2003 SP1 IIS 6.0 Host Header Problem'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6491181516705749242</id><published>2008-08-14T13:45:00.000-04:00</published><updated>2009-07-14T13:50:57.716-04:00</updated><title type='text'>SharePoint Error</title><content type='html'>File Not Found.   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) &lt;br /&gt;   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) &lt;br /&gt;   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) &lt;br /&gt;   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) &lt;br /&gt;   at System.Reflection.Assembly.Load(String assemblyString) &lt;br /&gt;   at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail) &lt;br /&gt;   at System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean throwOnFail) &lt;br /&gt;   at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies) &lt;br /&gt;   at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) &lt;br /&gt;   at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) &lt;br /&gt;   at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) &lt;br /&gt;   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)  &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;In the EVENT LOGGER this is what I saw:&lt;br /&gt;&lt;br /&gt;Event Type: Error&lt;br /&gt;Event Source: Windows SharePoint Services 3&lt;br /&gt;Event Category: Web Controls &lt;br /&gt;Event ID: 7043&lt;br /&gt;&lt;br /&gt;Description:&lt;br /&gt;Load control template file /_controltemplates/xxxxxx.ascx failed: Could not load file or assembly xx.xx.xxx.xxxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c8ecfa5d627828fe' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RESOLUTION:&lt;br /&gt;&lt;br /&gt;In the Visual Studio IDE, change the public key tokens to the compiled dll's token. You may encounter when importing a project from another developer and the public key token is changed etc. So, replace it all the files where the old public key token is being used. Definitely you may have to look at the manifest.xml.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6491181516705749242?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6491181516705749242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6491181516705749242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6491181516705749242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6491181516705749242'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/08/sharepoint-error.html' title='SharePoint Error'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-4567447769114549810</id><published>2008-08-01T16:36:00.001-04:00</published><updated>2008-08-01T17:32:22.493-04:00</updated><title type='text'>Sharepoint Timer Job - System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'proc_putobject', database</title><content type='html'>This error is caused mainly due to the WSS_Content_Application_Pools account that is being used when you update the timer job from your code. This account don't have the Farm Administrator priviledge which is expected and adding the account. (Note: you may go to the Task Manager, and find the w3wp.exe process that is running and see what account it has been using to figure out what was the account used to run the job.update(). Otherwise, you can also, do a SQL Trace on your Sharepoint Configuration Database and find the account used to process proc_putobject procedure).&lt;br /&gt;&lt;br /&gt;This will solve the problem and your timer job can be updated, deleted or added.&lt;br /&gt;But you may end up with the caching exception when the FeatureActivated which you may ignore as your job has run successfully.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"Exception in RefreshCache. Exception message :Access to the path 'C:Documents and Settings\All User\Application Data\Microsoft\Sharepoint\Config\e182c711-9e68-4ba8-9c55-a95a8e505752\cache.ini' is denied."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is due to the fact that WSS_WPG has only Read Access in the above file path. When you have the Sharepoint SP1 installed make sure you do it correct.  You may have to grant it Local Launch and Local Activation permissions when SP1 is installed.&lt;br /&gt;&lt;br /&gt;Similar issue is mentioned in kbb:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/926959&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-4567447769114549810?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/4567447769114549810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=4567447769114549810' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4567447769114549810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4567447769114549810'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/08/sharepoint-timer-job.html' title='Sharepoint Timer Job - System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object &apos;proc_putobject&apos;, database'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6886712189421153184</id><published>2008-07-23T15:29:00.000-04:00</published><updated>2008-07-23T15:37:23.574-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint Moss 2007'/><title type='text'>Sharepoint Event Receiver - Firing twice or may be more</title><content type='html'>Problem scenario:&lt;br /&gt;&lt;br /&gt;You have a list and it has a column which takes value from the choice you make( a dropdown). Now you want have a custom Event Receiver on this itemupdated and override the itemupdated method in your Event Handler code. What might happen in your code when the choice is selected, you have to reset to the default value of the choice. Now this will inturn fire another event that the item has been updated. &lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;In your event handler code, disable the event firing. Here is the snippet:&lt;br /&gt;&lt;br /&gt;                    this.DisableEventFiring();&lt;br /&gt;                    _ListItem.Update();&lt;br /&gt;                    this.EnableEventFiring();&lt;br /&gt;&lt;br /&gt;This would avoid event from firing when the item is updated. Again enable it, so that you fire an new event when the item has changed.&lt;br /&gt;&lt;br /&gt;Thats my 2 cents!&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6886712189421153184?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6886712189421153184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6886712189421153184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6886712189421153184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6886712189421153184'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/07/sharepoint-event-receiver-firing-twice.html' title='Sharepoint Event Receiver - Firing twice or may be more'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-2591422879674182023</id><published>2008-07-14T11:39:00.001-04:00</published><updated>2009-07-14T11:47:27.739-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GACUTIL path'/><title type='text'>GACUTIL.EXE Where is it in Visual Studio 2008?</title><content type='html'>In VS 2005, I used to find it under:&lt;br /&gt;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\&lt;br /&gt;&lt;br /&gt;But, in VS 2008, I can't find it under:&lt;br /&gt;C:\Program Files\Microsoft Visual Studio 9\SDK\v2.0\Bin\&lt;br /&gt;or &lt;br /&gt;C:\Program Files\Microsoft Visual Studio 9\SDK\v3.5\Bin\&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Microsoft "Smart" guys came up with a very smart idea and puts it here:&lt;br /&gt;&lt;br /&gt;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2591422879674182023?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2591422879674182023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2591422879674182023' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2591422879674182023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2591422879674182023'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/07/gacutilexe-where-is-it-in-visual-studio.html' title='GACUTIL.EXE Where is it in Visual Studio 2008?'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6100261949667492263</id><published>2008-07-09T15:41:00.000-04:00</published><updated>2008-07-09T15:45:06.724-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint Moss 2007'/><title type='text'>Code Snippet for archiving the documents to Record Center using Record Center Web Service</title><content type='html'>Here is a sample of how to do it:&lt;br /&gt;&lt;br /&gt; RecordCenterService.RecordsRepository objRecRepository = new RecordCenterService.RecordsRepository();&lt;br /&gt;&lt;br /&gt;objRecRepository.PreAuthenticate = true;&lt;br /&gt;objRecRepository.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;&lt;br /&gt;objRecRepository.Url = _Global.ExportComplance_RecordCenter_Library_URL;&lt;br /&gt;RecordCenterService.RecordsRepositoryProperty[] repositoryProperties = new RecordCenterService.RecordsRepositoryProperty[1];&lt;br /&gt;repositoryProperties[0] = new RecordCenterService.RecordsRepositoryProperty();&lt;br /&gt;repositoryProperties[0].Name = "Created By";&lt;br /&gt;repositoryProperties[0].Type = "Text";&lt;br /&gt;repositoryProperties[0].Value = _CertificateFormListItem["Created By"].ToString();&lt;br /&gt;&lt;br /&gt;byte[] doc = _CertificateFormListItem.File.OpenBinary();&lt;br /&gt;&lt;br /&gt;string resultString = objRecRepository.SubmitFile(doc, repositoryProperties,&lt;br /&gt;                           "Export Compliance Certification Form",&lt;br /&gt;                            _CertificateFormListItem.Url,&lt;br /&gt;                            _CertificateFormListItem.Web.CurrentUser.LoginName);&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6100261949667492263?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6100261949667492263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6100261949667492263' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6100261949667492263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6100261949667492263'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/07/code-snippet-for-archiving-documents-to.html' title='Code Snippet for archiving the documents to Record Center using Record Center Web Service'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-2534928565462916157</id><published>2008-07-09T15:32:00.000-04:00</published><updated>2008-07-09T15:41:01.899-04:00</updated><title type='text'>Report Center - Archive Record Management in Sharepoint</title><content type='html'>Using Sharepoint 2007 there one piece developers should be aware it configuring the Record Routing Correct in Record Center. Record Routing type has a title that has to be **EXACTLY** same as the name of the Content Type of the source Document Library.&lt;br /&gt;&lt;br /&gt;This is a required setting that has to be done even whether you are using Sharepoint Object Model or the Record Center Web Service in your code.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2534928565462916157?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2534928565462916157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2534928565462916157' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2534928565462916157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2534928565462916157'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/07/report-center-archive-record-management.html' title='Report Center - Archive Record Management in Sharepoint'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-8611381499057383077</id><published>2008-07-08T15:10:00.000-04:00</published><updated>2009-07-08T15:36:09.207-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Document Library 2007 MOSS Search Scope Box'/><title type='text'>How to setup search box for just Single document library</title><content type='html'>Here are the steps that you need to follow:&lt;br /&gt;&lt;br /&gt;1. Go to "Site Actions"-&gt;"Site Settings" -&gt;under "Site Collection Administration" &lt;br /&gt;-&gt; "Search Scopes".&lt;br /&gt; &lt;br /&gt;2. Click on "New Scope" and fill in a title name. Try to use the same name of the Document library to be consistent. Click "OK"&lt;br /&gt; &lt;br /&gt;3. Next you are going to add a new rule. Copy the URL of your document library the document library you wish to search. Your Site Collection &gt; Site Settings &gt; Scopes &lt;br /&gt;-&gt; under the "Rules" section click on "New Rule". Select "Web Address" and paste the URL of your document library. Click "OK".&lt;br /&gt; &lt;br /&gt;4. Your Site Collection &gt; Site Settings &gt; Scopes &gt; Click on "New Display Group" and provide a title name, preferably your doc lib name. In the "Scopes" section select the scope you created in Step 2 and hit OK. Now, the server will start recognizing the new scope and the display group, so wait until it gets completed.&lt;br /&gt; &lt;br /&gt;5. ON the page where you want the search to be done on the document library, from  Site Actions-&gt;Edit Page -&gt; Add a Web Part. Check the "Search Box" web part and click "Add".&lt;br /&gt; &lt;br /&gt;6. In the page edit mode, under the "Search Box" web part click on the "edit" -&gt; "Modified Shared Web Part".&lt;br /&gt; &lt;br /&gt;7. Under "Miscellaneous" -&gt; uncheck "Use site level defaults". Under "Scope Display Group" in the text box give "exactly" the same name that you used in 4 and then hit OK. &lt;br /&gt;8. Exit Edit Mode.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-8611381499057383077?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/8611381499057383077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=8611381499057383077' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/8611381499057383077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/8611381499057383077'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/07/how-to-setup-search-box-for-just-single.html' title='How to setup search box for just Single document library'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6853759550145600447</id><published>2008-06-23T17:43:00.001-04:00</published><updated>2008-06-23T17:48:19.208-04:00</updated><title type='text'>Steps to cleanup orphaned sites in Sharepoint 2007</title><content type='html'>stsadm -o databaserepair -url &lt;urlPathOfUrSite&gt; -databasename WSS_Content_d4c3181eded14166b2df2ed59d06825d&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsa&lt;br /&gt;dm -o enumsites -url http://vmvsp14spdev7:47227/sites&lt;br /&gt;&lt;br /&gt;&lt;Sites Count="12"&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227" Owner="CTNTMASTER\u24506" ContentDataba&lt;br /&gt;se="WSS_Content_d4c3181eded14166b2df2ed59d06825d" StorageUsedMB="2.7" StorageWar&lt;br /&gt;ningMB="0" StorageMaxMB="0" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/MY" Owner="CTNTMASTER\u24506" SecondaryO&lt;br /&gt;wner="CTNTMASTER\u04476" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d&lt;br /&gt;06825d" StorageUsedMB="0.2" StorageWarningMB="0" StorageMaxMB="0" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/personal/u09731" Owner="CTNTMASTER\u0973&lt;br /&gt;1" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d06825d" StorageUsedMB=&lt;br /&gt;"0.4" StorageWarningMB="80" StorageMaxMB="100" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/personal/u24506" Owner="CTNTMASTER\u2450&lt;br /&gt;6" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d06825d" StorageUsedMB=&lt;br /&gt;"0.4" StorageWarningMB="80" StorageMaxMB="100" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/personal/u25538" Owner="CTNTMASTER\u2553&lt;br /&gt;8" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d06825d" StorageUsedMB=&lt;br /&gt;"0.4" StorageWarningMB="80" StorageMaxMB="100" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/sites/applicationsettings" Owner="CTNTMA&lt;br /&gt;STER\u24065" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d06825d" Stor&lt;br /&gt;ageUsedMB="0.1" StorageWarningMB="0" StorageMaxMB="0" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/sites/codeofconduct" Owner="CTNTMASTER\u&lt;br /&gt;24506" SecondaryOwner="CTNTMASTER\u24065" ContentDatabase="WSS_Content_d4c3181ed&lt;br /&gt;ed14166b2df2ed59d06825d" StorageUsedMB="0.8" StorageWarningMB="0" StorageMaxMB="&lt;br /&gt;0" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/sites/conflictofinterest" Owner="CTNTMAS&lt;br /&gt;TER\u24506" SecondaryOwner="CTNTMASTER\u24065" ContentDatabase="WSS_Content_d4c3&lt;br /&gt;181eded14166b2df2ed59d06825d" StorageUsedMB="3.2" StorageWarningMB="0" StorageMa&lt;br /&gt;xMB="0" /&gt;&lt;br /&gt;  &lt;Site Url="http://vmvsp14spdev7:47227/sites/dit" Owner="CTNTMASTER\u24506" Sec&lt;br /&gt;ondaryOwner="CTNTMASTER\u24065" ContentDatabase="WSS_Content_d4c3181eded14166b2d&lt;br /&gt;f2ed59d06825d" StorageUsedMB="228" StorageWarningMB="0" StorageMaxMB="0" /&gt;&lt;br /&gt;  &lt;Site Error="The system cannot find the path specified. (Exception from HRESUL&lt;br /&gt;T: 0x80070003)"&gt;&lt;br /&gt;    &lt;Site Url="http://vmvsp14spdev7:47227/sites/recordscenter" Owner="CTNTMASTER&lt;br /&gt;\u24506" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d06825d" StorageU&lt;br /&gt;sedMB="20.2" StorageWarningMB="0" StorageMaxMB="0" /&gt;&lt;br /&gt;    &lt;Site Url="http://vmvsp14spdev7:47227/sites/shalmet" Owner="CTNTMASTER\u2450&lt;br /&gt;6" ContentDatabase="WSS_Content_d4c3181eded14166b2df2ed59d06825d" StorageUsedMB=&lt;br /&gt;"426.9" StorageWarningMB="0" StorageMaxMB="0" /&gt;&lt;br /&gt;  &lt;/Site&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsa&lt;br /&gt;dm -o preparetomove -ContentDB vmvsp14spdev7:WSS_Content_d4c3181eded14166b2df2ed&lt;br /&gt;59d06825d  -Site http://vmvsp14spdev7:47227/sites/InternationalHint&lt;br /&gt;&lt;br /&gt;Operation completed successfully.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsa&lt;br /&gt;dm -o deletecontentdb -url &lt;urlPathOfUrSite&gt; -d&lt;br /&gt;atabaseserver vmvsp14spdev7 -databasename WSS_Content_d4c3181eded14166b2df2ed59d&lt;br /&gt;06825d&lt;br /&gt;&lt;br /&gt;Operation completed successfully.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsa&lt;br /&gt;dm -o addcontentdb -url &lt;urlPathOfUrSite&gt;  -data&lt;br /&gt;baseserver vmvsp14spdev7 -databasename WSS_Content_d4c3181eded14166b2df2ed59d068&lt;br /&gt;25d&lt;br /&gt;&lt;br /&gt;Operation completed successfully.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsa&lt;br /&gt;dm -o restore -url &lt;urlPathOfUrSite&gt; -filename&lt;br /&gt;%BAK_FILEPATH%&lt;br /&gt;&lt;br /&gt;Operation completed successfully.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6853759550145600447?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6853759550145600447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6853759550145600447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6853759550145600447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6853759550145600447'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/06/steps-to-cleanup-orphaned-sites-in.html' title='Steps to cleanup orphaned sites in Sharepoint 2007'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-3261975504204643938</id><published>2008-06-11T01:08:00.000-04:00</published><updated>2009-06-11T01:23:24.281-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Site Pages problem'/><title type='text'>Provisioning Site Pages Problem on WSS Sites</title><content type='html'>I got the following problem when deploying a solution in SharePoint:&lt;br /&gt;&lt;br /&gt;Code-blocks are not allowed in this file.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;What this means is that the aspx you may have been trying to add to the site has the scripts that may execute when the page is requested. So in order to allow those server-side scripts to execute you have to edit the web.config of the web application. In the web.config file look for the tag SharePoint and then the tag PageParserPath :&lt;br /&gt;&lt;br /&gt;  &amp;lt;PageParserPath VirtualPath="/pages/test.aspx" CompilationMode="Always" AllowServerSideScript="true" /&amp;gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-3261975504204643938?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/3261975504204643938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=3261975504204643938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3261975504204643938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3261975504204643938'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/06/provisioning-site-pages-problem-on-wss.html' title='Provisioning Site Pages Problem on WSS Sites'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-3512229624339761155</id><published>2008-04-27T12:27:00.000-04:00</published><updated>2009-04-27T13:11:05.305-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS SharePoint Site Definition Template'/><title type='text'>Feature Stapling for your Site Definition</title><content type='html'>What is Feature Stapling?&lt;br /&gt;&lt;br /&gt;You develope bunch of features. You want to run multiple sites that run with either out-of-the-box Site Definition or your own custom Site Definition. Now, you want to associate a bunch of features to all these multiple sites. It's tedious process to go and update each one of the site collections that you have created with the new features which is a overkill( even though you may use STSADM command). If it is a Custom Site Definition you can directly have the Features listed in the SiteFeatures and WebFeatures tag of your Onet.xml file. But, what abt say out of the box Site Definitions or cases where you do not want features directly associated in your custom site definition. Now there is a concept of Feature Stapling where you create a Feature and associate all the features you want to be attached to your site definition. To do this, in your element Manifest file you will have the have the tag FeatureSiteTemplateAssociation Id=YourFeatureGUID TemplateName="YourSiteDefinitionName#ConfigurationIDSetInYourSiteDefinition"&lt;br /&gt;&lt;br /&gt;ConfigurationIDSetInYourSiteDefinition is a number that you set in your Site Definition usually 0,1,2,3 based on default site, blog, wiki that you may define on your custom site definition.&lt;br /&gt;&lt;br /&gt;VERY VERY IMPORTANT:&lt;br /&gt;If you already have that is using the Site Definition what if a do a feature stapling now? It wont work.&lt;br /&gt;It would work for subsequent sites that will be newly created. To workaround to make the features to work you have to stsadm command to install those missing features separately.&lt;br /&gt;So what is the advantage here: If you add those features within the Site Definition(SiteFeatures &amp; WebFeatures) then you cannot deactivate them as they are part of the site definition. If it a feature stapled feature, yes you can deactivate some and activate some depending on your needs and your customization.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-3512229624339761155?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/3512229624339761155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=3512229624339761155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3512229624339761155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3512229624339761155'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/04/feature-stapling-for-your-site.html' title='Feature Stapling for your Site Definition'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-9134845375247287761</id><published>2008-04-02T15:51:00.000-04:00</published><updated>2008-07-09T15:56:29.332-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint Moss 2007'/><title type='text'>Code Snippet: Using Sharepoint OM to archive documents to Record Center  based on Status - Complete</title><content type='html'>SPList _CertificateList = _Web.Lists[new Guid(_Global.ExportCompliance_CertificateForm_GUID)];&lt;br /&gt;&lt;br /&gt;                foreach (SPListItem _CertificateFormListItem in _CertificateList.Items)&lt;br /&gt;                {&lt;br /&gt;                    string Status = _CertificateFormListItem["Status"].ToString();&lt;br /&gt;&lt;br /&gt;                    if (Status != null &amp;&amp; Status == "Complete")&lt;br /&gt;                    {&lt;br /&gt;                        //Archive the Document to the record center.&lt;br /&gt;&lt;br /&gt;                        SPDocumentLibrary doclib = _Web.Lists[new Guid(_Global.ExportCompliance_CertificateForm_GUID)] as SPDocumentLibrary;&lt;br /&gt;&lt;br /&gt;                        SPFile objSPFile = doclib.GetItemByUniqueId(_CertificateFormListItem.UniqueId).File;&lt;br /&gt;&lt;br /&gt;                        string resultString;&lt;br /&gt;                        retString = objSPFile.SendToOfficialFile(out resultString);&lt;br /&gt;&lt;br /&gt;                        if (retString == OfficialFileResult.Success)&lt;br /&gt;                        {&lt;br /&gt;                            //Now delete the document from the source (export compliance) library&lt;br /&gt;&lt;br /&gt;                            _CertificateFormListItem.Delete();&lt;br /&gt;&lt;br /&gt;                        }&lt;br /&gt;&lt;br /&gt;                        //EventLog.WriteEntry("Application", " writing the file to the file path mentioned\n");&lt;br /&gt;&lt;br /&gt;                        //Delete the document from this library as it is archived.&lt;br /&gt;                    }&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-9134845375247287761?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/9134845375247287761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=9134845375247287761' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/9134845375247287761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/9134845375247287761'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/07/code-snippet-using-sharepoint-om-to.html' title='Code Snippet: Using Sharepoint OM to archive documents to Record Center  based on Status - Complete'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-619520631859931328</id><published>2008-02-05T17:32:00.000-05:00</published><updated>2008-03-05T19:40:27.029-05:00</updated><title type='text'>Comparision of Sharepoint - Reporting Services Native &amp; Integration Mode</title><content type='html'>Native Mode:&lt;br /&gt;&lt;br /&gt;* You have the advantage of creating linked reports, sub reports&lt;br /&gt;* You can have both time driven as well as data driven subscription working&lt;br /&gt;* Report Manager is accessible&lt;br /&gt;* Reports are deployed in Report Server&lt;br /&gt;&lt;br /&gt;Integration Mode:&lt;br /&gt;&lt;br /&gt;* Data Driven subscription is not supported.&lt;br /&gt;* Report Library is a possible which helps in managing reports within Sharepoint and hence you don't have to go separately to Report Server to manage reports&lt;br /&gt;* Manage subscriptions within Sharepoint Server&lt;br /&gt;* Report Manager will be disabled and wont work&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;These are some of the salient features that you have to remember before you decide which mode you have to deploy Reporting Services for Sharepoint Integration.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-619520631859931328?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/619520631859931328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=619520631859931328' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/619520631859931328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/619520631859931328'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/02/comparision-of-sharepoint-reporting.html' title='Comparision of Sharepoint - Reporting Services Native &amp; Integration Mode'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-427881196381233358</id><published>2008-01-28T10:17:00.000-05:00</published><updated>2009-10-28T10:34:01.196-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS 2007 WSS 3.0 SharePoint bug'/><title type='text'>SharePoint List WEB Service GetListItems -bug</title><content type='html'>Problem:&lt;br /&gt;&lt;br /&gt;According to http://msdn.microsoft.com/en-us/library/lists.lists.getlistitems.aspx&lt;br /&gt;A ViewFields element that specifies which fields to return in the query and in what order, and that can be assigned to a System.Xml.XmlNode object.&lt;br /&gt;&lt;br /&gt;But it returns all the items in the XML format. This is a bug...&lt;br /&gt;Also, I hate the way the fields are renamed to ows_fieldName.. It is not easy to use the web service to extract the data as this may require lots of parsing.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-427881196381233358?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/427881196381233358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=427881196381233358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/427881196381233358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/427881196381233358'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/01/sharepoint-list-web-service.html' title='SharePoint List WEB Service GetListItems -bug'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-2233372882395963384</id><published>2008-01-27T11:04:00.000-05:00</published><updated>2010-01-27T11:08:15.039-05:00</updated><title type='text'>Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B) (rsRPCError)</title><content type='html'>This error means that your Reporting Servers configuration for the Encryption key has been messed up. From the Reporting Server Configuration Manager you have to restore the encryption key. If you have lost it( it is always good to have a backup) then you may have to delete those databases(reportserver &amp; reportservertempdb). Then you have to delete the reportserver and reports site on IIS. Then you have to start over the configuration again.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2233372882395963384?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2233372882395963384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2233372882395963384' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2233372882395963384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2233372882395963384'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/01/key-not-valid-for-use-in-specified.html' title='Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B) (rsRPCError)'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6889286508429789617</id><published>2008-01-26T22:29:00.000-05:00</published><updated>2009-04-26T22:38:44.898-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS SharePoint Site Definition Template'/><title type='text'>No webtemp configuration for sitedefinition 'CustomSiteDefinition' was found.</title><content type='html'>I was using WSPBuilder to build a custom Site Definition. I got the following error:&lt;br /&gt;&lt;br /&gt;No webtemp configuration for sitedefinition 'CustomSiteDefinition' was found.&lt;br /&gt;&lt;br /&gt;Reasons:&lt;br /&gt;&lt;br /&gt;I had a typo on the WEBTEMP*.xml. This file has to match with the site template name &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example in your&lt;br /&gt;if you specify the Template Name as CustSiteDef, then you webtemp xml file( found under Template\1033\XML) should have to be WEBTEMPCustSiteDef.xml&lt;br /&gt;&lt;br /&gt;Make 100% sure that there is no typo.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6889286508429789617?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6889286508429789617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6889286508429789617' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6889286508429789617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6889286508429789617'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/01/no-webtemp-configuration-for.html' title='No webtemp configuration for sitedefinition &apos;CustomSiteDefinition&apos; was found.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-8036230486045855115</id><published>2008-01-07T22:22:00.000-05:00</published><updated>2008-01-07T22:30:33.747-05:00</updated><title type='text'>LINQ Deferred &amp; Immediate Execution  - Interesting Features</title><content type='html'>Look at the following code for Deferred Execution:&lt;br /&gt;&lt;br /&gt;    // Sequence operators form first-class queries that&lt;br /&gt;    // are not executed until you enumerate over them.&lt;br /&gt;    &lt;br /&gt;    int[] numbers = new int[] { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };&lt;br /&gt;    &lt;br /&gt;    int i = 0;&lt;br /&gt;    var q =&lt;br /&gt;        from n in numbers&lt;br /&gt;        select ++i;&lt;br /&gt;&lt;br /&gt;    // Note, the local variable 'i' is not incremented&lt;br /&gt;    // until each element is evaluated (as a side-effect):&lt;br /&gt;    foreach (var v in q) {&lt;br /&gt;        Console.WriteLine("v = {0}, i = {1}", v, i);         &lt;br /&gt;    } &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Immediate Execution:&lt;br /&gt;&lt;br /&gt;    // Methods like ToList() cause the query to be&lt;br /&gt;    // executed immediately, caching the results.&lt;br /&gt;    &lt;br /&gt;    int[] numbers = new int[] { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };        &lt;br /&gt;    &lt;br /&gt;    int i = 0;&lt;br /&gt;    var q = (&lt;br /&gt;        from n in numbers&lt;br /&gt;        select ++i )&lt;br /&gt;        .ToList();&lt;br /&gt;&lt;br /&gt;    // The local variable i has already been fully&lt;br /&gt;    // incremented before we iterate the results:&lt;br /&gt;    foreach (var v in q) {&lt;br /&gt;        Console.WriteLine("v = {0}, i = {1}", v, i);&lt;br /&gt;    } &lt;br /&gt;&lt;br /&gt;   //The value of i will be always 10 when it is written to console&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-8036230486045855115?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/8036230486045855115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=8036230486045855115' title='28 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/8036230486045855115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/8036230486045855115'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/01/linq-deferred-execution-immediate.html' title='LINQ Deferred &amp; Immediate Execution  - Interesting Features'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>28</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-2563780205386370593</id><published>2007-12-16T16:10:00.000-05:00</published><updated>2008-12-16T16:16:23.128-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS SharePoint'/><title type='text'>The evaluation version of Microsoft Office SharePoint Server 2007 for this server has expired.</title><content type='html'>You have Enterprise Version of MOSS and still get this error. There would be nothing that is in SharePoint Log or Event Log. So what was the problem. WSS_Admin_WPG &amp; WSS_WPG should include both the Application Pool identity of SSP site should be added to these Group. &lt;br /&gt;&lt;br /&gt;Then machine sure your registry path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0 has rights for the WSS_Admin_WPG &amp; WSS_WPG.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2563780205386370593?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2563780205386370593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2563780205386370593' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2563780205386370593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2563780205386370593'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/12/evaluation-version-of-microsoft-office.html' title='The evaluation version of Microsoft Office SharePoint Server 2007 for this server has expired.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-9130816257384296165</id><published>2007-12-15T19:13:00.000-05:00</published><updated>2008-01-05T19:19:34.394-05:00</updated><title type='text'>Form Authentication in MOSS 2007 &amp; WSS 3.0</title><content type='html'>Microsoft has recently released a "CLEAR" documentation how to use Form authentication in Sharepoint sites:&lt;br /&gt;&lt;br /&gt;Here are the following links:&lt;br /&gt;&lt;br /&gt; &lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb975136.aspx"&gt;Form Authentication MOSS 2007 - Part 1&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt; &lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb975135.aspx"&gt;Form Authentication MOSS 2007 - Part 2&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt; &lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb977430.aspx"&gt;Form Authentication MOSS 2007 - Part 3&lt;/a&gt;&lt;/li&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-9130816257384296165?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/9130816257384296165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=9130816257384296165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/9130816257384296165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/9130816257384296165'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/01/form-authentication-in-moss-2007-wss-30.html' title='Form Authentication in MOSS 2007 &amp; WSS 3.0'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-1940861284002567373</id><published>2007-12-03T16:21:00.000-05:00</published><updated>2008-12-03T16:24:14.958-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSS Sharepoint MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint Moss 2007'/><title type='text'>'Edit Document' requires a Windows SharePoint Services-compatible application</title><content type='html'>When you edit an Microsoft Office document in a document library you end up with an error:&lt;br /&gt;&lt;br /&gt;"'Edit Document' requires a Windows SharePoint Services-compatible application"&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/833714&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-1940861284002567373?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/1940861284002567373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=1940861284002567373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1940861284002567373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/1940861284002567373'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2008/12/edit-document-requires-windows.html' title='&apos;Edit Document&apos; requires a Windows SharePoint Services-compatible application'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-4038919789492849985</id><published>2007-11-24T13:41:00.000-05:00</published><updated>2008-07-24T13:52:19.332-04:00</updated><title type='text'>Infopath Publish Form Template Error:  "The following URL is not Valid"</title><content type='html'>Problem:&lt;br /&gt;&lt;br /&gt;Whenever you publish a form (knowingly or unknownly) you need to have a root site at the web application level. If you have a site collection say:&lt;br /&gt;&lt;br /&gt;http://yourserverName/sites/TestInfopath&lt;br /&gt;&lt;br /&gt;Then you should have a root site that need to be existing as:&lt;br /&gt;&lt;br /&gt;http://yourserverName/&lt;br /&gt;&lt;br /&gt;If this is not existing then, when you publish the form template to the above sample site collection, you will end up seeing the following error message that makes you feel nuts!&lt;br /&gt;&lt;br /&gt;"The following URL is not valid: http://yourserverName/sites/TestInfopath"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To create the site:&lt;br /&gt;Go to Central Administration -&gt; Application Management -&gt; Create Site Collection -&gt; Web Site Address -&gt; (LEAVE IT EMPTY) &lt;br /&gt;&lt;br /&gt;This will create you the root site.&lt;br /&gt;&lt;br /&gt;Now try again publishing, viola, you would see the error message is gone!&lt;br /&gt;&lt;br /&gt;I hope I saved you some Development time a you owe me one :)&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-4038919789492849985?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/4038919789492849985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=4038919789492849985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4038919789492849985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4038919789492849985'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/11/infopath-publish-form-template-error.html' title='Infopath Publish Form Template Error:  &quot;The following URL is not Valid&quot;'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-5393891727383440369</id><published>2007-11-10T19:49:00.000-05:00</published><updated>2008-01-05T19:52:24.189-05:00</updated><title type='text'>Process Oriented Developement with MOSS 2007</title><content type='html'>Is it possible to use MOSS 2007 with Process Oriented Developement strategy. Very few people understand about this as we have Developers who gives to code to QA and then finally deploying the build in Production. Currently I have scene bad architecture when people deploy Sharepoint in their company. Everything is applied in production. When you use, Form Services &amp; Sharepoint Designer you don't know what the developer is deploying in Production. &lt;br /&gt;&lt;br /&gt;I use a different strategy. I use Features and solutions (wsp)  to deploy whatever the change that is required in Production. I have a development environment in VM which I test and our QA does the same in QA environment before it is being applied to the Production.&lt;br /&gt;&lt;br /&gt;The following is the links for how to use Features and Solutions to achieve this:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; &lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms413687.aspx"&gt;Solutions&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt; &lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms439657.aspx"&gt;Features&lt;/a&gt;&lt;/li&gt;&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-5393891727383440369?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/5393891727383440369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=5393891727383440369' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/5393891727383440369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/5393891727383440369'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/11/process-oriented-developement-with-moss_10.html' title='Process Oriented Developement with MOSS 2007'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-770489676242171118</id><published>2007-10-05T19:34:00.000-04:00</published><updated>2008-01-04T19:40:50.729-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0 Interprocess Communication'/><title type='text'>Interprocess communication in .NET 3.0</title><content type='html'>With version 2.0 I have to have 2 channels (ipcchannel/tcpChannel) to have to bidirectional communication between two applications. With Version 3.0 now I could use one channel for bidirectional communication. I have code developed in VS 2008 Beta. I'll post my code sample written in C# if you require.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-770489676242171118?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/770489676242171118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=770489676242171118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/770489676242171118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/770489676242171118'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/05/interprocess-communication-in-net-30.html' title='Interprocess communication in .NET 3.0'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-2211177386427083593</id><published>2007-09-30T16:50:00.000-04:00</published><updated>2008-08-07T17:05:30.466-04:00</updated><title type='text'>Stumped by Sharepoint Document Library BUG - Additional Column Settings with Default Value</title><content type='html'>I was stumped today by a wierd behavior of Sharepoint when a new Document is added to the Document Library. In my scenario, for my content type, I have a Choice Column which has the Additional Column Settings to take a default value when it is found empty during submission of the document. But, when a value for the column is provided during the submission of the document, the default value overrides the submitted value and hence the problem.&lt;br /&gt;&lt;br /&gt;This is a problem with the current version of WSS 3.0. There is no fix, but there is a workaround:&lt;br /&gt;&lt;br /&gt;Instead of creating a new document by going to Document Library -&gt; New, create the document first on your location machine. Then, Upload the document to the document library. This will eliminate the default value problem.&lt;br /&gt;&lt;br /&gt;For more information follow the KBB:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/932922/en-us&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2211177386427083593?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2211177386427083593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2211177386427083593' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2211177386427083593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2211177386427083593'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/09/stumped-by-sharepoint-document-library.html' title='Stumped by Sharepoint Document Library BUG - Additional Column Settings with Default Value'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-3382953089300097377</id><published>2007-08-28T16:38:00.001-04:00</published><updated>2008-07-28T16:49:08.874-04:00</updated><title type='text'>Sharepoint Scope of a Timer Job</title><content type='html'>&lt;a href="http://bp0.blogger.com/_zMuKofOQQSk/SI4wt8mxePI/AAAAAAAAAAU/MDFdG75W-fA/s1600-h/TimerJobFeature.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_zMuKofOQQSk/SI4wt8mxePI/AAAAAAAAAAU/MDFdG75W-fA/s200/TimerJobFeature.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5228169783344724210" /&gt;&lt;/a&gt;&lt;br /&gt;Problem:&lt;br /&gt;&lt;br /&gt;Element of type 'Receivers'are not supported at the 'Site' Scope'. This feature could not be installed.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;If you are creating a custom  WSS timer job, you need make sure that you have to deploy the Feature either at the Farm Level or at the WebApplication level as the phrase time schedule applies to all the Web Sites on a particular Web Application. Otherwise, the feature though activated, will not add the entry to the Timer Job Definition.&lt;br /&gt;&lt;br /&gt;Thatz my 2 cents!&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-3382953089300097377?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/3382953089300097377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=3382953089300097377' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3382953089300097377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/3382953089300097377'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/08/sharepoint-scope-of-timer-job.html' title='Sharepoint Scope of a Timer Job'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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://bp0.blogger.com/_zMuKofOQQSk/SI4wt8mxePI/AAAAAAAAAAU/MDFdG75W-fA/s72-c/TimerJobFeature.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-2034285074214489340</id><published>2007-07-07T21:56:00.000-04:00</published><updated>2008-01-04T22:02:38.126-05:00</updated><title type='text'>FileNet Repository Session</title><content type='html'>FileNet Capture professional session can be created only once. I was creating a Multithreaded application that process, fax email messages, create, Link and lock batches and inject documents into workflow queue and sents alert message. The way I have architectured the C# windows solution was to have one thread that handles all the filenet related connections and rest of the other threads doing jobs other than related to FileNet Capture &amp; IDM Desktop. Make sure you use STA thread that connects to FileNet Repositories and sessions.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-2034285074214489340?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/2034285074214489340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=2034285074214489340' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2034285074214489340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/2034285074214489340'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/07/filenet-repository-session.html' title='FileNet Repository Session'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-6845696603787121837</id><published>2007-07-04T16:36:00.000-04:00</published><updated>2008-10-04T17:15:35.146-04:00</updated><title type='text'>SharePoint OM - fun stuff</title><content type='html'>How can I create a SiteCollection using SharePoint Object Model?&lt;br /&gt;(Note: I assume you run this piece of code as admin)&lt;br /&gt;&lt;br /&gt;Creating a Site Collection:&lt;br /&gt;&lt;br /&gt;//SharePoint OM method&lt;br /&gt;SPSite site = new SPSite(strServerPath);&lt;br /&gt;SPSiteCollection siteCollection = site.WebApplication.Sites;&lt;br /&gt;// one = Site url&lt;br /&gt;// two = Title&lt;br /&gt;// three = Description&lt;br /&gt;// four = Web template&lt;br /&gt;// five = Owner login&lt;br /&gt;// six = Owner name&lt;br /&gt;// seven = Owner email&lt;br /&gt;siteCollection.Add(one,two,three, 1033, four,five, six, seven);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;//Sharepoint Web Service Method&lt;br /&gt;AdminService.Admin objAdmin = new AdminService.Admin();&lt;br /&gt;objAdmin.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;br /&gt;objAdmin.CreateSite((YOURSiteCollPath + ("/" + YOURSiteName)),YOURTitle,&lt;br /&gt;YOURDescription,1033,&lt;br /&gt;YOURTemplate,&lt;br /&gt;YOUROwnerLogin,&lt;br /&gt;YOUROwnerName,&lt;br /&gt;YOUROwnerEmail,&lt;br /&gt;"", "");&lt;br /&gt;&lt;br /&gt;Note: add the following webservices:&lt;br /&gt;http://YOURSeRVERName:[central admin sites port]/_vti_adm/Admin.asmx&lt;br /&gt;http://YOURSERVERName:[web app site port]/_vti_bin/Sites.asmx&lt;br /&gt;&lt;br /&gt;Creating a site:&lt;br /&gt;&lt;br /&gt;//using OM&lt;br /&gt;&lt;br /&gt;SPSite site = new SPSite(strSitePath);&lt;br /&gt;// Add the new site (web)&lt;br /&gt;// ----------------------&lt;br /&gt;// Step 3: Add the site collection&lt;br /&gt;// one = Site collection url&lt;br /&gt;// two = Site (web) url&lt;br /&gt;// three = Title&lt;br /&gt;// four = Description&lt;br /&gt;// five = Template&lt;br /&gt;SPWeb web = site.AllWebs.Add(&lt;br /&gt;two,&lt;br /&gt;three,&lt;br /&gt;four,&lt;br /&gt;(uint)1033,&lt;br /&gt;five,&lt;br /&gt;false,&lt;br /&gt;false);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OR &lt;br /&gt;&lt;br /&gt;using SharePoint Web Services:&lt;br /&gt;&lt;br /&gt;MyWebService.Service objWebService&lt;br /&gt;= new MYWebService.Service();&lt;br /&gt;objWebService.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;br /&gt;objWebService.CreateWeb(&lt;br /&gt;YOURSiteCollPath,&lt;br /&gt;YOURWebName,&lt;br /&gt;YOURTitle,&lt;br /&gt;YOURDescription,&lt;br /&gt;YOURTemplate);&lt;br /&gt;&lt;br /&gt;MyWebService is http://YOURServerName:[web app sites port]/_vti_bin/Sites.asmx&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-6845696603787121837?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/6845696603787121837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=6845696603787121837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6845696603787121837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/6845696603787121837'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/07/sharepoint-om-fun-stuff.html' title='SharePoint OM - fun stuff'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-4917072808058925374</id><published>2007-06-06T19:43:00.000-04:00</published><updated>2008-01-04T21:56:11.443-05:00</updated><title type='text'>FileNet &amp; Multithreading</title><content type='html'>When I called FileNet support, they said they can't suport .NET Multithreading in FileNet Panagon Capture 3.3 and FileNet Imaging Services 4.2. They started marketing me FileNet Web Services. I have used STA thread instead of MTA thread and it worked like a charm and I have replaced the custom VB 6.0 with my C# application which process fax, email messages and creates image files to inject into the Workflow queue.&lt;br /&gt;&lt;br /&gt;Thats my 2 cents....&lt;br /&gt;&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-4917072808058925374?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/4917072808058925374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=4917072808058925374' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4917072808058925374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4917072808058925374'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/06/filenet-session-multithreading.html' title='FileNet &amp; Multithreading'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-7847236472064806172</id><published>2007-05-10T13:58:00.000-04:00</published><updated>2009-08-10T14:02:15.624-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint WSS 3.0 2.0 Web Part Errors'/><title type='text'>How to remove Web parts that Creates Error on a Page in WSS 3.0 / WSS 2.0</title><content type='html'>Example Error Message: An unexpected error has occurred&lt;br /&gt;&lt;br /&gt;Resolution: &lt;br /&gt;On the browser URL, say you are in default.aspx page, then add "?Contents=1" after default.aspx and you will be redirected to the Web Part Maintenance page. Select the offending web part and then delete it.&lt;br /&gt;&lt;br /&gt;You page is now safe ;)&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7847236472064806172?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7847236472064806172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7847236472064806172' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7847236472064806172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7847236472064806172'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/05/how-to-remove-web-parts-that-creates.html' title='How to remove Web parts that Creates Error on a Page in WSS 3.0 / WSS 2.0'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-5957290320749880766</id><published>2007-05-05T19:02:00.000-04:00</published><updated>2008-03-05T19:31:27.573-05:00</updated><title type='text'>Sharepoint Error: Sql Reporting Services to Native Mode from Integration Mode</title><content type='html'>The following parser error occured to me:&lt;br /&gt;&lt;br /&gt;Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. &lt;br /&gt;&lt;br /&gt;Parser Error Message: Cannot use 'partitionResolver' unless the mode is 'StateServer' or 'SQLServer'.&lt;br /&gt;&lt;br /&gt;The reason being is that web.config file of the web application is not updated when you revert back to native mode. &lt;br /&gt;Look for the sessionState tag and partitionResolverType option empty instead of "Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server".&lt;br /&gt;&lt;br /&gt;This would fix the problem. The rollback doesn't take care of this.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-5957290320749880766?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/5957290320749880766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=5957290320749880766' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/5957290320749880766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/5957290320749880766'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/05/sharepoint-error-sql-reporting-services.html' title='Sharepoint Error: Sql Reporting Services to Native Mode from Integration Mode'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-117034905064232136</id><published>2007-02-01T11:51:00.000-05:00</published><updated>2007-02-01T11:57:44.693-05:00</updated><title type='text'>Running Side by side VS 2K3 &amp; 2K5 -"Error while trying to run project: Unable to start debugging on the web server "</title><content type='html'>This is because IIS targets ASP.NET Version 2.0 by default, even for VS.NET 2003 projects.&lt;br /&gt;&lt;br /&gt;Open your Internet Information Services manager-&gt;[your machine]-&gt;Web Sites-&gt; Default Web Site node -&gt;virtual folder of your web project. Right Click on it -&gt; select Properties -&gt;select the ASP.NET tab page. Make sure the correct version ASP.NET Version is selected from the dropdown in my case it was 1.1.4322.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-117034905064232136?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/117034905064232136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=117034905064232136' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/117034905064232136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/117034905064232136'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/02/running-side-by-side-vs-2k3-2k5-error.html' title='Running Side by side VS 2K3 &amp; 2K5 -&quot;Error while trying to run project: Unable to start debugging on the web server &quot;'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-116862212540363064</id><published>2007-01-12T12:06:00.000-05:00</published><updated>2007-01-12T12:15:26.156-05:00</updated><title type='text'>Replacing MS FrontPage 2K3 with MS Expression Studio</title><content type='html'>Microsoft has introduced their new version  of Front Page ( though they claim it is totally a different product) for developing web &amp; windows based application. Yes, this is an more advanced and sophisticated product than Front Page as it is a suite of tools for professional designers building web and Windows client applications and rich media content.&lt;br /&gt;&lt;br /&gt;You can try the trial version on Windows XP sp2:&lt;br /&gt;&lt;br /&gt;Windows XP SP2:&lt;br /&gt;&lt;br /&gt;1. Uninstall all previous versions of Windows Presentation Foundation, Windows Communication Foundation, MSXML 6.0 and SDK, and Expression Blend (or Interactive Designer) using Add/Remove Programs in Control Panel. &lt;br /&gt;2. Please be sure to install .NET Framework 3.0 first before attempting to install Expression Blend.&lt;br /&gt;3. Download and install Expression Blend.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The product is expected to be out by June 2007. All you can try now is their trial version.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-116862212540363064?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/116862212540363064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=116862212540363064' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/116862212540363064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/116862212540363064'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/01/replacing-ms-frontpage-2k3-with-ms.html' title='Replacing MS FrontPage 2K3 with MS Expression Studio'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-4225587307603309374</id><published>2007-01-09T17:30:00.000-05:00</published><updated>2008-03-09T17:37:30.398-04:00</updated><title type='text'>ASP.NET SQL Membership provider error on the dev box</title><content type='html'>There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. &lt;br /&gt;&lt;br /&gt;The following message may help in diagnosing the problem: An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 1802 and the SqlException message is: CREATE DATABASE failed. Some file names listed could not be created. Check related errors. Cannot create file 'C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\MY DOCUMENTS\VISUAL STUDIO 2005\WEBSITES\WEBSITE1\APP_DATA\ASPNETDB_TMP.MDF' because it already exists. Change the file path or the file name, and retry the operation. Creating the ASPNETDB_xxxxxxxxxxxxxxxx database... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;---------&lt;br /&gt;Under your APP_DATA folder delete the aspnetdb.mdf that has been created. Now, retry ASP.NET Web Administrator Tool again then you should be able to get this working.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-4225587307603309374?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/4225587307603309374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=4225587307603309374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4225587307603309374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/4225587307603309374'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2007/01/aspnet-sql-membership-provider-error-on.html' title='ASP.NET SQL Membership provider error on the dev box'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-562487619031746116</id><published>2006-12-14T19:42:00.000-05:00</published><updated>2008-03-10T19:47:45.205-04:00</updated><title type='text'>Connection String problem with asp.net security web administration tool</title><content type='html'>There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.&lt;br /&gt;&lt;br /&gt;The following message may help in diagnosing the problem: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 25 - Connection string is not valid)&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;---------&lt;br /&gt;ON the web ccnfig of you web app add the following connection string&lt;br /&gt;&lt;br /&gt;add name="ASPNetDB" connectionstring="server=serverName;database=aspnetdb;Trusted_Connection=True"&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-562487619031746116?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/562487619031746116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=562487619031746116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/562487619031746116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/562487619031746116'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/12/connection-string-problem-with-aspnet.html' title='Connection String problem with asp.net security web administration tool'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115997549052991208</id><published>2006-10-04T11:21:00.000-04:00</published><updated>2006-10-04T11:24:51.890-04:00</updated><title type='text'>Your source control provider does not support checking out while disconnected from the server.</title><content type='html'>One of the problem you may encounter is that sometimes your network drives are not mapped correctly. You may have been asked to work in disconnected mode for the code which is in source safe. The problem with this is that you have get it connected to the source safe once the network is available. &lt;br /&gt;&lt;br /&gt;To do this you do the following in VS.NET:&lt;br /&gt;&lt;br /&gt;File &gt; Source Control &gt; Change Source Control and check all the checkboxes in the Connected column &lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;RAjesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115997549052991208?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115997549052991208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115997549052991208' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115997549052991208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115997549052991208'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/10/your-source-control-provider-does-not.html' title='Your source control provider does not support checking out while disconnected from the server.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-115988045691165889</id><published>2006-10-03T09:00:00.000-04:00</published><updated>2006-10-03T09:05:53.116-04:00</updated><title type='text'>Setup Project for Windows Service running under domain account</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/6923/1057/1600/extractservice%20error.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6923/1057/200/extractservice%20error.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I got this diverting error message. &lt;br /&gt;&lt;br /&gt;"Unable to create an instance of the 'MyProjectInstaller' installer type. -&gt; Exception has been thrown by the target of an invocation. -&gt; Object reference not set to an instance of an object."&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;If the Windows service is going to run under a domain account, add that account as an administrator of the machine first. Then run the installer msi.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115988045691165889?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115988045691165889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115988045691165889' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115988045691165889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115988045691165889'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/10/setup-project-for-windows-service.html' title='Setup Project for Windows Service running under domain account'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-7037835377496477811</id><published>2006-09-26T12:30:00.000-04:00</published><updated>2008-08-26T12:37:43.112-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET CCW COM'/><title type='text'>Exposing .NET Components to COM Applications</title><content type='html'>One of the important note that has to be considered is that OVERLOADING is not supported by COM Interface when you develope COM Callable Wrapper for your .NET component. For example:&lt;br /&gt;&lt;br /&gt;*********************************************************&lt;br /&gt;    [Guid("E7EFEE62-2C34-4cc1-9898-ECAE5CE7A1F8")]&lt;br /&gt;    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]&lt;br /&gt;    public interface _IWeightFinderInterface&lt;br /&gt;    {&lt;br /&gt;        [DispId(2)]&lt;br /&gt;        int GetWeight();&lt;br /&gt;&lt;br /&gt;        [DispId(1)]&lt;br /&gt;        int GetWeight(string ipAddress, int portNum);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    [ClassInterface(ClassInterfaceType.None)]&lt;br /&gt;    [Guid("34AB57D8-87C4-4c46-8D52-7F9E1108BA27")]&lt;br /&gt;    [ProgId("LantronixWeightReceiver.WeightFinder")]&lt;br /&gt;    public class WeightFinder : _IWeightFinderInterface&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;**************************************************************&lt;br /&gt;&lt;br /&gt;In the above snippet, you see only the GetWeight Method with arguments in the COM interface and the GetWeight Method with no argument is skipped. This is based on the minimum value of the DispId. The rest of the overloaded methods are skipped.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-7037835377496477811?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/7037835377496477811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=7037835377496477811' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7037835377496477811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/7037835377496477811'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/09/exposing-net-components-to-com.html' title='Exposing .NET Components to COM Applications'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115625730629574677</id><published>2006-08-22T10:32:00.000-04:00</published><updated>2006-08-22T10:35:06.866-04:00</updated><title type='text'>Only one instance of a ScriptManager can be added to the page.</title><content type='html'>Reason:&lt;br /&gt;&lt;br /&gt;Each Web page can contain only one ScriptManager control, either directly on the page itself or indirectly inside a nested component. ScriptManagerProxy enables you to add scripts and services to content pages and user controls, where the page they are on already has a ScriptManager control.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Using the ScriptManagerProxy control, you can only add to (not remove) the scripts and services defined by the ScriptManager control. If you do not want to include specific scripts and services on every page that includes a particular ScriptManager control, remove them from the ScriptManager control and add them to individual pages using ScriptManagerProxy instead.&lt;br /&gt;&lt;br /&gt;Note: The above is AS-IS from the Microsoft Atlas Pre-release documentation.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115625730629574677?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115625730629574677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115625730629574677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115625730629574677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115625730629574677'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/08/only-one-instance-of-scriptmanager-can.html' title='Only one instance of a ScriptManager can be added to the page.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115566388669980143</id><published>2006-08-15T13:20:00.000-04:00</published><updated>2006-08-15T13:46:12.126-04:00</updated><title type='text'>VS .NET 2005 - Custom Toolbox Items and tabs disappear after restarting VS .NET</title><content type='html'>Go to:&lt;br /&gt;&lt;br /&gt; C:\Document and Settings\MY ALIAS FOLDER NAME HERE\Local Settings\Application Data\Microsoft\VisualStudio\8.0, there should be four files with the extension .tbd.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: In case you are working with VS.NET 2003 then the path is same as above except replace 7.1 instead of 8.0.&lt;br /&gt;&lt;br /&gt;In these files, the settings are overwritten everytime VS.NET is shutdown. So check the modified date on toolbox.tbd file. It should be modified every time when Visual studio is shutdown.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Make sure Visual studio is not running. Check if the toolbox.tbd file modification date is less than the last time you shut down VS.NET. If so, delete all four files in the above mentioned folder and then restart VS.NET. &lt;br /&gt;&lt;br /&gt;Happy Programming!&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115566388669980143?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115566388669980143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115566388669980143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115566388669980143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115566388669980143'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/08/vs-net-2005-custom-toolbox-items-and.html' title='VS .NET 2005 - Custom Toolbox Items and tabs disappear after restarting VS .NET'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115496705455433551</id><published>2006-08-07T12:10:00.000-04:00</published><updated>2006-08-07T12:10:55.276-04:00</updated><title type='text'>ATLAS - Assertion Failed: Could not find an html element with ID "Panel4"  for control type</title><content type='html'>Here is the Assertion Message:&lt;br /&gt;Assertion Failed: Could not find an HTML element with ID "Panel4" for control of type "Sys.UI.Control&lt;br /&gt;&lt;br /&gt;Break into debugger?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;This is caused Panel4's Visible property is set to false. &lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115496705455433551?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115496705455433551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115496705455433551' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115496705455433551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115496705455433551'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/08/atlas-assertion-failed-could-not-find.html' title='ATLAS - Assertion Failed: Could not find an html element with ID &quot;Panel4&quot;  for control type'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115462149222103447</id><published>2006-08-03T12:02:00.000-04:00</published><updated>2006-08-03T12:11:32.966-04:00</updated><title type='text'>ATLAS control Toolkit - Warning Message - The 'requirePermission' attribute</title><content type='html'>Warning Message:&lt;br /&gt;The 'requirePermission' attribute is not declared.&lt;br /&gt;&lt;br /&gt;Reporting on .NET Framework 2.0.50727.60406&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;In the webconfig file, you have to punch in the following in the configuration tag:&lt;br /&gt;&lt;br /&gt;xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115462149222103447?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115462149222103447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115462149222103447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115462149222103447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115462149222103447'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/08/atlas-control-toolkit-warning-message.html' title='ATLAS control Toolkit - Warning Message - The &apos;requirePermission&apos; attribute'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115409588501796319</id><published>2006-07-28T10:06:00.000-04:00</published><updated>2006-07-28T10:11:25.033-04:00</updated><title type='text'>Leading Zeros stripped -off when opening CSV file in Excel</title><content type='html'>This one got me off when I was automating CSV file generation when exporting data from the SQL Server tables. The problem was Excel upon opening the file strips-off the leading zeros. Then I have to use apostrophe preceding the leading zeros.&lt;br /&gt;That fixed the issue.&lt;br /&gt;&lt;br /&gt;There is a KBB on this:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/214233&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115409588501796319?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115409588501796319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115409588501796319' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115409588501796319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115409588501796319'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/07/leading-zeros-stripped-off-when.html' title='Leading Zeros stripped -off when opening CSV file in Excel'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115385057866044024</id><published>2006-07-25T13:55:00.000-04:00</published><updated>2006-07-25T14:02:58.676-04:00</updated><title type='text'>UNC Paths are not supported. Defaulting to windows directory.</title><content type='html'>Command run through command prompt (cmd.exe) does not support UNC path.&lt;br /&gt;This got to happen with all the versions below:&lt;br /&gt;&lt;br /&gt;• Microsoft Windows XP Home Edition &lt;br /&gt;• Microsoft Windows XP Professional &lt;br /&gt;• Microsoft Windows 2000 Server &lt;br /&gt;• Microsoft Windows NT Workstation 4.0 Developer Edition &lt;br /&gt;• Microsoft Windows NT Server 4.0 Standard Edition &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A workaround is to edit the registry key DisableUNCCheck REG_DWORD suggested in the KBB:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/?kbid=156276&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115385057866044024?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115385057866044024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115385057866044024' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115385057866044024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115385057866044024'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/07/unc-paths-are-not-supported-defaulting.html' title='UNC Paths are not supported. Defaulting to windows directory.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-115014490661067668</id><published>2006-06-12T10:14:00.000-04:00</published><updated>2006-06-12T16:41:46.876-04:00</updated><title type='text'>Use prefix N when dealing with Unicode string constants SQL Server 7.0 - 2005</title><content type='html'>See the link for more info:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/?kbid=239530&lt;br /&gt;&lt;br /&gt;http://msdn2.microsoft.com/en-us/library/ms180059(SQL.90).aspx&lt;br /&gt;&lt;br /&gt;This is very useful when using Sql Server to save spanish text etc.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-115014490661067668?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/115014490661067668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=115014490661067668' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115014490661067668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/115014490661067668'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/06/use-prefix-n-when-dealing-with-unicode.html' title='Use prefix N when dealing with Unicode string constants SQL Server 7.0 - 2005'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114987870533767356</id><published>2006-06-09T14:41:00.000-04:00</published><updated>2006-06-09T14:46:42.570-04:00</updated><title type='text'>changing the Default log files location in Reporting Services SQL 2005</title><content type='html'>How to change the reporting services logfiles location from the default location:&lt;br /&gt;The default location is :&lt;br /&gt;C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles&lt;br /&gt;&lt;br /&gt;The following configuration files have to be edited:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\web.config, &lt;br /&gt;C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportManager\web.config  and &lt;br /&gt;C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\ReportingServicesService.exe.config &lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Add the following line in the RSTrace section of the above mentioned configuration files: &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;add name="Directory"  value="D:\Wherever You Want"&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;We should document this in release documentation, if we are changing in production.&lt;br /&gt;&lt;br /&gt; Because, this information will get wiped out, if we reinstall reporting services in production. &lt;br /&gt;&lt;br /&gt;And E-Delivery should know where we are logging, incase we are debugging.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114987870533767356?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114987870533767356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114987870533767356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114987870533767356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114987870533767356'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/06/changing-default-log-files-location-in.html' title='changing the Default log files location in Reporting Services SQL 2005'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114968515701816520</id><published>2006-06-07T08:43:00.000-04:00</published><updated>2006-06-07T08:59:17.030-04:00</updated><title type='text'></title><content type='html'>What are Gadgets? Gadgets are a new category of mini-application designed to provide information, useful lookup, or enhance an application or service on your Windows PC or the Web.&lt;br /&gt;&lt;br /&gt;Download Windows Live Gadgets SDK at:&lt;br /&gt;&lt;br /&gt;http://microsoftgadgets.com/livesdk/index.htm&lt;br /&gt;&lt;br /&gt;How to create a gadget for Windows Sidebar for use in Microsoft Windows Vista Beta 2?&lt;br /&gt;&lt;br /&gt;http://microsoftgadgets.com/Sidebar/DevelopmentOverview.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Like I said earlier, "Microsoft are good followers not innovators". How about their competitors say:&lt;br /&gt;&lt;br /&gt;http://widgets.yahoo.com/ &lt;br /&gt;http://www.apple.com/downloads/dashboard/ &lt;br /&gt;http://www.desktopx.net&lt;br /&gt;&lt;br /&gt;I just remember reading the article in mac daily news stating "Redmond, Start your photocopiers". see that:&lt;br /&gt;http://macdailynews.com/index.php/weblog/comments/6887/&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114968515701816520?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114968515701816520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114968515701816520' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114968515701816520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114968515701816520'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/06/what-are-gadgets-gadgets-are-new.html' title=''/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114968304080423272</id><published>2006-06-07T08:01:00.000-04:00</published><updated>2006-06-07T08:24:00.816-04:00</updated><title type='text'>ASP.NET 2.0- Getting rid of DataGrid and bringing in Gridview</title><content type='html'>Gridview has paved way for writting less and efficient code in ASP.NET 2.0. DataGrid can only bind to a data source object for the purpose of reading data. To actually modify the underlying data source, some user-defined code is still required. In contrast, the GridView control takes advantage of the capabilities of the underlying data source and automatically deletes or updates records. Note that the GridView control also supports the classic binding mechanism based on the DataSource property and the DataBind method. Although fully supported, this programming practice is discouraged.&lt;br /&gt;&lt;br /&gt;Also, it is good to note that, we can render a grid inside another grid which I think is a cool feature to have.&lt;br /&gt;&lt;br /&gt;For more information on this see:&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/msdnmag/issues/04/08/GridView/&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114968304080423272?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114968304080423272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114968304080423272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114968304080423272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114968304080423272'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/06/aspnet-20-getting-rid-of-datagrid-and.html' title='ASP.NET 2.0- Getting rid of DataGrid and bringing in Gridview'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114912945439793352</id><published>2006-05-31T22:34:00.000-04:00</published><updated>2006-05-31T22:37:42.443-04:00</updated><title type='text'>Difference between singleton &amp; static class in C#</title><content type='html'>In C#, Singleton class as the name implies creates only one instance of the class and its member, whereas, static class creates a new instance of the static members everytime it is being accessed. Follow the following link for more information:&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpSingletonInCsharp.asp&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114912945439793352?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114912945439793352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114912945439793352' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114912945439793352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114912945439793352'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/05/difference-between-singleton-static.html' title='Difference between singleton &amp; static class in C#'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114720420916100056</id><published>2006-05-09T15:20:00.000-04:00</published><updated>2006-06-07T08:00:28.183-04:00</updated><title type='text'>Data Driven Subscription in Sql Server 2005/2000 Reporting Services – bug or a feature?</title><content type='html'>I had been recently working with the Reporting Services, Data Driven subscriptions. I wanted to users to subscribe the reports to a schedule and delivered it to their email address. What I saw was whenever the subscription query returned no row, email delivery failed with the following exception:&lt;br /&gt;&lt;br /&gt;Failure sending mail: Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown.&lt;br /&gt;This is because, data driven subscription is incapable of sending email with empty report. &lt;br /&gt;So what is the workaround for this, as users expect reports delivered to them, say weekly.&lt;br /&gt;&lt;br /&gt;One way, is to not to return empty rows. Possibly, the query can be written in a way that it returns a dummy row, warning that, “There is no row in the report blah blah blah…” Create a new dataset for the report, which will check the condition whether the query results is empty.  Microsoft support’s workaround was to use to use SP_Start_Job to start the report from a stored procedure or a DTS in 2005 or a SQL Server Integration Services which is Microsoft's ETL platform.&lt;br /&gt;&lt;br /&gt;Another, incapability I came across was that you can subscribe to or distribute only one report at a time. That means, we cannot create a subscription that delivers multiple reports in a single e-mail message.&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114720420916100056?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114720420916100056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114720420916100056' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114720420916100056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114720420916100056'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/05/data-driven-subscription-in-sql-server.html' title='Data Driven Subscription in Sql Server 2005/2000 Reporting Services – bug or a feature?'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114614336393881464</id><published>2006-04-27T08:59:00.000-04:00</published><updated>2006-04-27T09:09:23.960-04:00</updated><title type='text'>Sql Server 2000 and 2005 side-by-side install without stepping on earlier version of reporting services</title><content type='html'>This is common scenario in developement environment where you want to run both versions of reporting services (2000 and 2005) on the same machine. This can be done by creating a new named instance for SQL Server 2005, it doesn't use the MSSQLSERVER (one and only default instance) which comes with SQL 2000. In Sql 2005 you have the feature of running multiple-named instances of the 2005 server. So when you run the setup while installing SQL Server 2005 Specify a unique instance name on the Instance Name page( except default and MSSQLSERVER). After this,in the SQL Server Installation wizard, On the 'Report Server Installation Options' page select the 'Install but do not configure' option after specifying a file-only installation for the report server.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh Meenrajan MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114614336393881464?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114614336393881464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114614336393881464' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114614336393881464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114614336393881464'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/04/sql-server-2000-and-2005-side-by-side.html' title='Sql Server 2000 and 2005 side-by-side install without stepping on earlier version of reporting services'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114306353031767146</id><published>2006-03-22T16:35:00.000-05:00</published><updated>2006-03-22T16:39:03.416-05:00</updated><title type='text'>QueryInterface for interface DTS.CustomTask failed"</title><content type='html'>Resolution:&lt;br /&gt;&lt;br /&gt;Apply Sql Server 2000 SP3a which will fix the problem. ( Sql Server 2K only)&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114306353031767146?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114306353031767146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114306353031767146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114306353031767146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114306353031767146'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/03/queryinterface-for-interface.html' title='QueryInterface for interface DTS.CustomTask failed&quot;'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114124813783480312</id><published>2006-03-01T16:07:00.000-05:00</published><updated>2006-03-01T16:22:17.856-05:00</updated><title type='text'>Build new dev machine created problem with Report Designer</title><content type='html'>I was building a dev machine from scratch and the application was using Reporting Services. I created custom assembly for reporting services and I created a dll which I was referring in each one of the reports. I had the dll referenced under &lt;br /&gt;C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin folder and reporting services didn't like it. It started giving out error:&lt;br /&gt;&lt;br /&gt;Error while loading code module: ‘MyDllNameHere, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: File or assembly name MyDllNameHere, or one of its dependencies, was not found.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How I made it to work:&lt;br /&gt;&lt;br /&gt;I put an additional copy under &lt;br /&gt;C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer folder.&lt;br /&gt;&lt;br /&gt;Voila, it worked like a charm afterward.&lt;br /&gt;But, according to Microsoft documentation at:&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/library/en-us/RSPROG/htm/rsp_prog_rdl_8mue.asp&lt;br /&gt;&lt;br /&gt;installing the dll under &lt;br /&gt;&lt;br /&gt;C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin folder should work. I donno what went wrong. If anyone who was facing the same&lt;br /&gt;lemme know.&lt;br /&gt;&lt;br /&gt;I have SQL 2K reporting services with SP1, installed on Windows XP Professional version with SP2.&lt;br /&gt;&lt;br /&gt;Thatz about it!&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114124813783480312?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114124813783480312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114124813783480312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114124813783480312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114124813783480312'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/03/build-new-dev-machine-created-problem.html' title='Build new dev machine created problem with Report Designer'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114067019718730680</id><published>2006-02-22T23:30:00.000-05:00</published><updated>2006-02-22T23:51:15.540-05:00</updated><title type='text'>Man Windows Vista look and feel like "Mac OS X"</title><content type='html'>I'm unsure why Microsoft copycat Mac OS in many features. Best one is the sliders where you drag and drop shortcuts in Mac has been very well brought into windows Vista as well(;)). I love Microsoft but, sometimes Im little angry at them for being a followers and not a leader. Most of the time, Microsoft success is, their Market analysis of what goes well with the Market. Microsoft hires people who are innovative in their thinking( like they say, "think outta the box"). But, the end product doesn't seem to be of any innovation. Thatz my honest opinion.&lt;br /&gt;&lt;br /&gt;Also, like how Apple gives codenames (feline names like panther, jaguar, tiger, cheetah) now Microsoft might follow some sort of codenames. And with Vista, they want to grab the attention of Users who is a big fan of MAC OS X which is far more reliable and stable than Microsofts OSs.&lt;br /&gt;&lt;br /&gt;But I welcome Microsoft Next step in the world of computing!&lt;br /&gt;&lt;br /&gt;See for more info about Windows Vista at:&lt;br /&gt;&lt;br /&gt;http://www.microsoft.com/windowsvista/&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114067019718730680?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114067019718730680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114067019718730680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114067019718730680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114067019718730680'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/02/man-windows-vista-look-and-feel-like.html' title='Man Windows Vista look and feel like &quot;Mac OS X&quot;'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-114003494891870618</id><published>2006-02-15T15:19:00.000-05:00</published><updated>2006-02-15T15:22:28.933-05:00</updated><title type='text'>DateTime and DBNULL.Value</title><content type='html'>Problem:&lt;br /&gt;&lt;br /&gt;An unhandled exception of type 'System.Data.SqlTypes.SqlTypeException' &lt;br /&gt;occurred in system.data.dll &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Additional information: SqlDateTime overflow. Must be between 1/1/1753 &lt;br /&gt;12:00:00 AM and 12/31/9999 11:59:59 PM&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;You may be assigning null values in the datetime field. Try assigning DBNull.Value&lt;br /&gt;to the datetime field. If this doesn't fixt it, you may have to see if the database table has the field set to allow null values.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-114003494891870618?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/114003494891870618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=114003494891870618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114003494891870618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/114003494891870618'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/02/datetime-and-dbnullvalue.html' title='DateTime and DBNULL.Value'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113932275775112515</id><published>2006-02-07T09:28:00.000-05:00</published><updated>2006-02-07T09:32:37.766-05:00</updated><title type='text'>Logon failure: unknown user name or bad password.</title><content type='html'>Logon failure: unknown user name or bad password. &lt;br /&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details: System.IO.IOException: Logon failure: unknown user name or bad password. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Your access to certain file path on the network would be based on the domain account.&lt;br /&gt;&lt;br /&gt;You may have to set the identity impersonation property to true in your web or application config file. &lt;br /&gt;Also, you can enable impersonation for specific identity. &lt;br /&gt;&lt;br /&gt;For more info follow the rabbit:&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconImpersonation.asp&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113932275775112515?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113932275775112515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113932275775112515' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113932275775112515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113932275775112515'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/02/logon-failure-unknown-user-name-or-bad.html' title='Logon failure: unknown user name or bad password.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113700877848949310</id><published>2006-01-11T14:44:00.000-05:00</published><updated>2006-01-11T14:46:18.523-05:00</updated><title type='text'>how to move reporting services database from one machine to another</title><content type='html'>Follow the rabbit:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;842425&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113700877848949310?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113700877848949310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113700877848949310' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113700877848949310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113700877848949310'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/01/how-to-move-reporting-services.html' title='how to move reporting services database from one machine to another'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113652140060693439</id><published>2006-01-05T23:19:00.000-05:00</published><updated>2006-01-05T23:23:20.620-05:00</updated><title type='text'>Taskbar disabled - Enable it</title><content type='html'>You may have to see if the registry entry is disabled(1).&lt;br /&gt;&lt;br /&gt;In registry editor and make the value as 0:&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies \System&lt;br /&gt;Name: DisableTaskMgr&lt;br /&gt;Type: REG_DWORD&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113652140060693439?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113652140060693439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113652140060693439' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113652140060693439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113652140060693439'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/01/taskbar-disabled-enable-it.html' title='Taskbar disabled - Enable it'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-113640485899206664</id><published>2006-01-04T14:54:00.000-05:00</published><updated>2006-01-05T11:26:51.026-05:00</updated><title type='text'>bug with multidimensional XML data (VS.NET)  is bugging me!</title><content type='html'>I was stumped with the error message:&lt;br /&gt;&lt;br /&gt;The same table(NodeArgs) cannot be the child table in two nested relations.&lt;br /&gt;&lt;br /&gt;.NET XML framework doesn't support XML 1.0 standard ( by W3C) completely. &lt;br /&gt;&lt;br /&gt;Here is the microsoft support document:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/325696/EN-US/&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;325695&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113640485899206664?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113640485899206664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113640485899206664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113640485899206664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113640485899206664'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2006/01/bug-with-multidimensional-xml-data.html' title='bug with multidimensional XML data (VS.NET)  is bugging me!'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113589090880287275</id><published>2005-12-29T16:04:00.000-05:00</published><updated>2005-12-29T16:15:14.930-05:00</updated><title type='text'>Good links that take you to XAML</title><content type='html'>XAMLON some nice examples how it works. Its really cool after you see the examples there:&lt;br /&gt;&lt;br /&gt;http://www.xamlon.com/whatisxaml.aspx&lt;br /&gt;http://www.xaml.net/&lt;br /&gt;http://msdn.microsoft.com/msdnmag/issues/04/01/Avalon/&lt;br /&gt;http://www.ondotnet.com/pub/a/dotnet/2004/01/19/longhorn.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.codeproject.com/dotnet/xamlresources.asp&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113589090880287275?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113589090880287275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113589090880287275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113589090880287275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113589090880287275'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/good-links-that-take-you-to-xaml.html' title='Good links that take you to XAML'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113474554696095521</id><published>2005-12-16T10:00:00.000-05:00</published><updated>2005-12-16T10:05:46.980-05:00</updated><title type='text'>Elegant Coding in C# - Tip Of the Day</title><content type='html'>How to reset the controls? Most of the coders just make it empty like assigning empty string to the textboxes. Elegant way of doing this is to use GetType() method for controls in the form.&lt;br /&gt;&lt;br /&gt;Here is the snippet:&lt;br /&gt;&lt;br /&gt;Control myForm=Page.FindControl("YourFormNameGoesHere");//find controls in the active webform.&lt;br /&gt;   foreach(Control ctl in myForm.Controls)//loop thru' each control.&lt;br /&gt;   {&lt;br /&gt;    if(ctl.GetType().ToString().Equals("System.Web.UI.WebControls.TextBox"))//Check whether it is a text box and clear if textbox.&lt;br /&gt;     ((TextBox)ctl).Text="";&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thats my 2 cents of the day.....&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh MCSD.Net&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113474554696095521?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113474554696095521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113474554696095521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113474554696095521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113474554696095521'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/elegant-coding-in-c-tip-of-day.html' title='Elegant Coding in C# - Tip Of the Day'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113466557170994753</id><published>2005-12-15T11:51:00.000-05:00</published><updated>2005-12-15T11:52:51.730-05:00</updated><title type='text'>Sql server 2000 error message " does not match with a table name or alias name used in the query."</title><content type='html'>This has been fixed in the latest service pack.&lt;br /&gt;&lt;br /&gt;see&lt;br /&gt;http://support.microsoft.com/kb/825019&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh&lt;br /&gt;MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113466557170994753?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113466557170994753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113466557170994753' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113466557170994753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113466557170994753'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/sql-server-2000-error-message-does-not.html' title='Sql server 2000 error message &quot; does not match with a table name or alias name used in the query.&quot;'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113441721921310064</id><published>2005-12-12T14:40:00.000-05:00</published><updated>2005-12-12T15:04:20.563-05:00</updated><title type='text'>WaitAll for multiple handles on an STA thread is not supported</title><content type='html'>This error popped up when I writing a console application. I was using VS IDE for .net. The reason behind this is that my app main method is running under Single-threaded Apartment. VS IDE's putting the autogenerated code  attribute on top of the main method.&lt;br /&gt;&lt;br /&gt;The moment I removed that, I got it working :)&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113441721921310064?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113441721921310064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113441721921310064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113441721921310064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113441721921310064'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/waitall-for-multiple-handles-on-sta.html' title='WaitAll for multiple handles on an STA thread is not supported'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113405532303495083</id><published>2005-12-08T10:19:00.000-05:00</published><updated>2005-12-08T10:22:03.046-05:00</updated><title type='text'>After Hyperthreading now intel pushes for Multi-core Processing</title><content type='html'>A multi-core processor has two or more “execution cores,” or computational elements, within a single processor. The operating system perceives each of its execution cores as a discrete processor, with all of the associated execution resources. Intel multi-core architecture delivers—with appropriate software—fully parallel execution of multiple software threads.&lt;br /&gt;&lt;br /&gt;More info at:&lt;br /&gt;&lt;br /&gt;http://www.intel.com/cd/ids/developer/asmo-na/eng/strategy/multicore/index.htm&lt;br /&gt;&lt;br /&gt;http://www.intel.com/business/bss/products/hyperthreading/index.htm&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113405532303495083?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113405532303495083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113405532303495083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113405532303495083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113405532303495083'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/after-hyperthreading-now-intel-pushes.html' title='After Hyperthreading now intel pushes for Multi-core Processing'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113388479793092553</id><published>2005-12-06T10:56:00.000-05:00</published><updated>2005-12-06T10:59:57.930-05:00</updated><title type='text'>"Invalid mail attachment" at System.Web.Mail.MailAttachment.VerifyFile()</title><content type='html'>Solution:&lt;br /&gt;&lt;br /&gt;On your web page within the form set the attribute,&lt;br /&gt;&lt;br /&gt; enctype = "Multipart/form-data"&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh&lt;br /&gt;MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113388479793092553?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113388479793092553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113388479793092553' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113388479793092553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113388479793092553'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/invalid-mail-attachment-at.html' title='&quot;Invalid mail attachment&quot; at System.Web.Mail.MailAttachment.VerifyFile()'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113388398193446075</id><published>2005-12-06T10:43:00.000-05:00</published><updated>2005-12-06T10:46:21.960-05:00</updated><title type='text'>"A potentially dangerous Request.Form value was detected from the client" error message with ASP.NET error message</title><content type='html'>Solution:&lt;br /&gt;&lt;br /&gt;At the page directive of your page insert validateRequest="false" so that it would affect only that page. If you apply it in web.config then the entire web application will be affected.&lt;br /&gt;&lt;br /&gt;HTH&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113388398193446075?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113388398193446075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113388398193446075' title='156 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113388398193446075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113388398193446075'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/12/potentially-dangerous-requestform.html' title='&quot;A potentially dangerous Request.Form value was detected from the client&quot; error message with ASP.NET error message'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>156</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-113336577924373801</id><published>2005-11-30T10:45:00.000-05:00</published><updated>2005-12-01T10:09:45.116-05:00</updated><title type='text'>Reporting Services - Report Manager- Required Permissions cannot be acquired</title><content type='html'>Solution:&lt;br /&gt;This is for Custom security only.&lt;br /&gt;&lt;br /&gt;This is mostly due to your IIS setting. Go to the virtual directory for Reports/Reportserver and set the anonymous access to true by checking it. (Right click context menu, select properties, select Directory security tab, edit authentication and access control).&lt;br /&gt;&lt;br /&gt;Before that check whether you have installed SP1 for reporting services.&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh&lt;br /&gt;MCSD.NET&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113336577924373801?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113336577924373801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113336577924373801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113336577924373801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113336577924373801'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/reporting-services-report-manager.html' title='Reporting Services - Report Manager- Required Permissions cannot be acquired'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113328877902180479</id><published>2005-11-29T11:41:00.000-05:00</published><updated>2005-11-29T13:26:19.090-05:00</updated><title type='text'>Reinstall Reporting Services problem</title><content type='html'>I reinstalled reporting services on my machine and I have create a dummy database and then later on point it to the report server DB which was configured earlier using rsconfig file. &lt;br /&gt;&lt;br /&gt;Then I got the following error:&lt;br /&gt;&lt;br /&gt;The version of the report server database is either in a format that is not &lt;br /&gt;valid, or it cannot be read. The found version is 'C.0.6.51'. The expected &lt;br /&gt;version is 'C.0.6.43'. To continue, update the version of the report server &lt;br /&gt;database and verify access rights. (rsInvalidReportServerDatabase) &lt;br /&gt;&lt;br /&gt;Applying Reporting Services SP1 lead to:&lt;br /&gt;&lt;br /&gt;The report server installation is not initialized. Check the documentation for more information. &lt;br /&gt;&lt;br /&gt;Run the rsactivate utility to activate the report server. For more information about activating a report server and running this utility, see Books Online. Additional information is also available in Microsoft Knowledge Base article 834304.&lt;br /&gt;&lt;br /&gt;If the error persists, ensure that the ReportServer Windows service is running and that the report server can connect to the report server database, and then activate the report server. You can further troubleshoot the problem by examining the reportserverservice&lt;date&gt;.log files, located by default in the \Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles folder on the report server.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Run IISRESET.&lt;br /&gt;&lt;br /&gt; Then&lt;br /&gt;&lt;br /&gt;C:\&gt;rskeymgmt -d&lt;br /&gt;&lt;br /&gt;All data will be lost.  Are you sure you want to delete all encrypted data from the report server database (Y/N)? y&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Restarting the Report Server Windows service...&lt;br /&gt;&lt;br /&gt;Restarting IIS...&lt;br /&gt;&lt;br /&gt;The command completed successfully&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;C:\&gt;iisreset&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;To reconfigure the keys:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Run rsconfig:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;C:\&gt;rsconfig -c -s&lt;servername&gt; -d reportserver -a windows &lt;br /&gt;(or -a SQL if you're using SQL authentication)&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113328877902180479?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113328877902180479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113328877902180479' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113328877902180479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113328877902180479'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/reinstall-reporting-services-problem.html' title='Reinstall Reporting Services problem'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113293564873290145</id><published>2005-11-25T10:54:00.000-05:00</published><updated>2005-11-25T11:20:48.746-05:00</updated><title type='text'>VMWARE -Failed to obtain a write lock on the virtual machine's configuration file. This virtual machine may already be in use.</title><content type='html'>Failed to obtain a write lock on the virtual machine's configuration file. This virtual machine may already be in use.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;The message information is obvious and mischievious. Most common issue would be the virtual machine is opened by some other VMWare Instance(prefered situation is to allow one UI to open and start the virtual machine. That mean you can have only one see it as one instance.).Suppose you open it in remote machine and the situation would become ugly. VMWare GSX boast to have this functionality though.&lt;br /&gt;&lt;br /&gt;You can also look for *.vmx machine ( usually under the Virtual Machine folder where I have all the VMs served by the workstation) so that you see if someone else has opened the Main VM already. &lt;br /&gt;&lt;br /&gt;The command for taking the console is “mstsc -v:MAINMACHINENAME/f –console”. The item in bold is server name from where you create VMs in the VM Farm. Refer to the &lt;br /&gt;documentation for more information on this.&lt;br /&gt;&lt;br /&gt;Good luck!&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113293564873290145?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113293564873290145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113293564873290145' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113293564873290145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113293564873290145'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/vmware-failed-to-obtain-write-lock-on.html' title='VMWARE -Failed to obtain a write lock on the virtual machine&apos;s configuration file. This virtual machine may already be in use.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-113215423750862038</id><published>2005-11-16T10:12:00.000-05:00</published><updated>2005-11-16T10:17:17.520-05:00</updated><title type='text'>Sharepoint Services running on Windows 2003</title><content type='html'>When you run sharepoint services on your virtual server with other website(s) then you may probably had to take a look at the following support page to correctly configure the trust level settings for your website(s).&lt;br /&gt;&lt;br /&gt;Otherwise, it may lead to errors like:&lt;br /&gt;&lt;br /&gt;"Debugging is not supported under current trust level settings"&lt;br /&gt;&lt;br /&gt;The link is:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/?id=835248&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113215423750862038?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113215423750862038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113215423750862038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113215423750862038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113215423750862038'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/sharepoint-services-running-on-windows.html' title='Sharepoint Services running on Windows 2003'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113207332459458327</id><published>2005-11-15T11:47:00.000-05:00</published><updated>2005-11-15T11:48:44.616-05:00</updated><title type='text'>Biztalk 2004 - MSMQ and MSMQT side by side install</title><content type='html'>Follow the rabbit:&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/operations/htm/ebiz_ops_adapt_file_lzrr.asp&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113207332459458327?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113207332459458327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113207332459458327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113207332459458327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113207332459458327'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/biztalk-2004-msmq-and-msmqt-side-by.html' title='Biztalk 2004 - MSMQ and MSMQT side by side install'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113199733161251439</id><published>2005-11-14T14:38:00.000-05:00</published><updated>2005-11-14T14:42:11.626-05:00</updated><title type='text'>Enterprise Single Sign on -  y this problem with Biztalk 2004 -Event log</title><content type='html'>The following event log error messages started appearing after I installed Biztalk 2004 developer edition on my machine:&lt;br /&gt;&lt;br /&gt;The master secret has not been backed up. If you lose &lt;br /&gt;the master secret all the information stored in the SSO &lt;br /&gt;system will be lost permanently and your systems may fail &lt;br /&gt;to work correctly. Please use the SSO admin tools to back &lt;br /&gt;up your master secret&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reasons and solution:&lt;br /&gt;&lt;br /&gt;The following is AS-IS from Microsoft Biztalk 2004 documentation:&lt;br /&gt;&lt;br /&gt;**************************************************************&lt;br /&gt;&lt;br /&gt;You can back up the master secret key from the master secret server onto an &lt;br /&gt;NTFS system or removable media, such as a floppy disk. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You must be a Single Sign-On Administrator to perform this task. You will &lt;br /&gt;be prompted for a password. To restore the secret later, you must specify &lt;br /&gt;the same password. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Warning  If the master secret server crashes and the key is lost, or if the &lt;br /&gt;key becomes corrupted, you will not be able to retrieve the configuration &lt;br /&gt;of adapters stored in the Credential database. You must back up the master &lt;br /&gt;secret key, or you risk losing data from the credential database. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To back up the master secret key &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.  On the Start menu, click Run. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.  In the Open box, type cmd, and then click OK. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3.  At the command line, go to the Enterprise Single Sign-On &lt;br /&gt;installation directory. The default installation directory is &lt;install &lt;br /&gt;directory&gt;:\Program Files\Common Files\Enterprise Single Sign-On. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.  Type the following syntax at the command prompt to backup &lt;br /&gt;the master secret key: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ssoconfig -backupsecret &lt;backup file&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note  &lt;backup file&gt; is the path and name of the file where the master &lt;br /&gt;secret will be backed up. For example, A:\ssobackup.bak &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note  You need to be a local administrator and an SSO Administrator to run &lt;br /&gt;these ssoconfig commands Check the event log if they fail. These commands &lt;br /&gt;can only be run on the master secret server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*********************************************&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113199733161251439?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113199733161251439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113199733161251439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113199733161251439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113199733161251439'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/enterprise-single-sign-on-y-this.html' title='Enterprise Single Sign on -  y this problem with Biztalk 2004 -Event log'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113198469676509316</id><published>2005-11-14T11:01:00.000-05:00</published><updated>2005-11-14T11:11:36.783-05:00</updated><title type='text'>sssshhh....Dont talk abt Biztalk...</title><content type='html'>Error Message:&lt;br /&gt;Orchestration '------'configuration cannot be changed since it is not in the unenlisted state.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This means that you have to unenlist the orchestrations.&lt;br /&gt;&lt;br /&gt;To fix it open the Biztalk Explorer ( from the Menu-bar View -&gt; Biztalk Explorer)&lt;br /&gt;&lt;br /&gt;I assume you are using database to configure biztalk.&lt;br /&gt;&lt;br /&gt;Select Biztalk Configuration databases. Collapse it. &lt;br /&gt;&lt;br /&gt;Do a Ctrl + alt + F5, I mean, refresh it.&lt;br /&gt;&lt;br /&gt;Under the biztalk management database, Open Orchestrations folder.&lt;br /&gt;&lt;br /&gt;You should see ur orchestration which you have to select and right click on it.&lt;br /&gt;&lt;br /&gt;Then select stop from the context menu that appears.&lt;br /&gt;&lt;br /&gt;You can now bind by right clicking again on the orchestration and edit the configuration there. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh Meenrajan&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113198469676509316?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113198469676509316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113198469676509316' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113198469676509316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113198469676509316'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/sssshhhdont-talk-abt-biztalk.html' title='sssshhh....Dont talk abt Biztalk...'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113174204635224682</id><published>2005-11-11T15:43:00.000-05:00</published><updated>2005-11-11T15:47:26.366-05:00</updated><title type='text'>Windows 2003 - Remote Desktop FAQ</title><content type='html'>To log on to this remote computer, you must be granted the Allow log on through Terminal Services right. By default, members of the Remote Desktop Users group have this right. If you are not a member of the Remote Desktop Users group or another group that has this right, or if the Remote Desktop User group does not have this right, you must be granted this right manually.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;1.Check if the Remote Desktop User groups has actually the rights to log on using terminal services:&lt;br /&gt;&lt;br /&gt;2. From Start-&gt; All Programs -&gt; administrative tools -&gt; local security policy -&gt; local policies -&gt; User rights assignments &lt;br /&gt;&lt;br /&gt;3. Check if remote desktop users is added in the 'allow logon through terminal servers' right.&lt;br /&gt;&lt;br /&gt;4. Add the specific users to this right and check if you can connect. No need to reboot;)&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113174204635224682?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113174204635224682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113174204635224682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113174204635224682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113174204635224682'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/windows-2003-remote-desktop-faq.html' title='Windows 2003 - Remote Desktop FAQ'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113156310860189505</id><published>2005-11-09T14:01:00.000-05:00</published><updated>2005-11-09T14:07:23.146-05:00</updated><title type='text'>The Enterprise Single Sign-On Service and associated BizTalk Server 2004 services fail - Windows 2003 Server</title><content type='html'>The following is applicable to install Windows XP Service Pack 2 (SP2), which worked for me on Win2003.&lt;br /&gt;&lt;br /&gt;By default on your machine the Group Policy editor will have RPC Endpoint Mapper Client Authentication not configured. This has to be Enabled.&lt;br /&gt;&lt;br /&gt;Follow the rabbit:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;841893&lt;br /&gt;&lt;br /&gt;BTW, THIS IS MY 100TH POST! YEEHAA &lt;br /&gt;&lt;br /&gt;HTH&lt;br /&gt;Rajesh&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113156310860189505?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113156310860189505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113156310860189505' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113156310860189505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113156310860189505'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/enterprise-single-sign-on-service-and.html' title='The Enterprise Single Sign-On Service and associated BizTalk Server 2004 services fail - Windows 2003 Server'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113148750817091062</id><published>2005-11-08T16:52:00.000-05:00</published><updated>2005-11-08T17:05:08.183-05:00</updated><title type='text'>I hate Biztalk 2004</title><content type='html'>I hate the most of all the product.&lt;br /&gt;&lt;br /&gt;1. Require Windows 2003 server even on dev environment.&lt;br /&gt;&lt;br /&gt;2. Had to install lots of depend s/w apps like Windows Sharepoint services, MS XML 4.0, MS XML 3.0, Office XP tool: Web components, Sql Server 2000 Service pack 3a, Sql Analysis Services, IIS 5.1 or higher, MS SOAP toolkit 3.0 and MUCH MUCH more! &lt;br /&gt;&lt;br /&gt;3. Note, you have to uninstall Frontpage Server extensions( but, had to install VS.net 2003 which requires this... what a crap!)&lt;br /&gt;&lt;br /&gt;In order to install on multiple machines then you need MSMQ where BAS goes and MSMQT where Biztalk server goes.... good one microsoft ;)&lt;br /&gt;&lt;br /&gt;After you do all this the end result might be sweet ....&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113148750817091062?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113148750817091062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113148750817091062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113148750817091062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113148750817091062'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/i-hate-biztalk-2004.html' title='I hate Biztalk 2004'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113140126876177536</id><published>2005-11-07T16:55:00.000-05:00</published><updated>2005-11-07T17:07:48.780-05:00</updated><title type='text'>AJAX - whatz that?</title><content type='html'>AJAX - Asynchronous Javascript And XML. Compared to ASP.NET page Processing Model, AJAX do not postback to the web server very often. The model has been designed so that it solves the problem due to network traffic with page having lots and lots of controls, images, etc. The idea is to give server side resources from the client web browser. &lt;br /&gt;&lt;br /&gt;AJAX.NET is a free .NET library which can be downloaded at:&lt;br /&gt;&lt;br /&gt;http://ajax.schwarz-interactive.de/csharpsample/default.aspx&lt;br /&gt;&lt;br /&gt;More information and tutorials can be found at:&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/AJAX &lt;br /&gt;http://java.sun.com/developer/technicalArticles/J2EE/AJAX/&lt;br /&gt;http://www.ajaxpatterns.org/AJAXFrameworks&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113140126876177536?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113140126876177536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113140126876177536' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113140126876177536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113140126876177536'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/ajax-whatz-that.html' title='AJAX - whatz that?'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113087984077076221</id><published>2005-11-01T16:12:00.000-05:00</published><updated>2005-11-01T16:17:20.793-05:00</updated><title type='text'>Nice feature in ADO.NET 2.0</title><content type='html'>Have u ever tried to run multiple queries/stored proc from a single connection? You would be ending up with the following error messages in ADO.NET 1.0:&lt;br /&gt;&lt;br /&gt;"There is already an open DataReader associated with this connection which must be closed first"&lt;br /&gt;&lt;br /&gt;MS has moved forwarded in 2.0 and you can do  that using Multiple Active Result Sets (MARS). Note u need SQL Server 2005 to support this feature. In your connection string all you need is 'MultipleActiveResultSets=True'&lt;br /&gt;&lt;br /&gt;Thatz my 2 cents of the day....&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113087984077076221?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113087984077076221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113087984077076221' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113087984077076221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113087984077076221'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/11/nice-feature-in-adonet-20.html' title='Nice feature in ADO.NET 2.0'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-113043395344599321</id><published>2005-10-27T13:24:00.000-04:00</published><updated>2005-10-27T13:25:53.460-04:00</updated><title type='text'>The custom form could not be opened. Outlook will use an Outlook form instead.</title><content type='html'>The custom form could not be opened. Outlook will use an Outlook form instead. &lt;br /&gt;The form required to display this message could not be opened. &lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;See:&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;836558&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113043395344599321?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113043395344599321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113043395344599321' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113043395344599321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113043395344599321'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/10/custom-form-could-not-be-opened.html' title='The custom form could not be opened. Outlook will use an Outlook form instead.'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12461133.post-113033556578977695</id><published>2005-10-26T09:59:00.000-04:00</published><updated>2005-10-26T10:06:05.796-04:00</updated><title type='text'>Inconsistency of foreach usage with DataView and DataTable - .NET Framework</title><content type='html'>If u would have noticed there is some inconsistency in how to use  foreach DataRow and DataRowView in DataTable and DataView:&lt;br /&gt;&lt;br /&gt;Here is the sample for DataView:&lt;br /&gt;&lt;br /&gt;DataView dv = (DataView) dataGrid1.DataSource;&lt;br /&gt;   // Set the filter to display only those rows that were modified.&lt;br /&gt;   dv.RowStateFilter=DataViewRowState.ModifiedCurrent;&lt;br /&gt;   // Change the value of the CompanyName column for each modified row.&lt;br /&gt;   foreach(DataRowView drv in dv){&lt;br /&gt;      Console.WriteLine(drv);}&lt;br /&gt;&lt;br /&gt;Here is the sample code for DataTable:&lt;br /&gt;&lt;br /&gt;foreach(DataRow myRow in thisTable.Rows){&lt;br /&gt;         foreach(DataColumn myCol in thisTable.Columns){&lt;br /&gt;            Console.WriteLine(myRow[myCol]);&lt;br /&gt;         }&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;If you have to parse through each row in a DataTable you have to use thisTable.Rows.&lt;br /&gt;But, in case of, DataView, u you dont require Rows property....&lt;br /&gt;It looks inconsistent to me.. What do uall think?&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-113033556578977695?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/113033556578977695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=113033556578977695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113033556578977695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/113033556578977695'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/10/inconsistency-of-foreach-usage-with.html' title='Inconsistency of foreach usage with DataView and DataTable - .NET Framework'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-112992198404866687</id><published>2005-10-21T15:04:00.000-04:00</published><updated>2005-10-21T15:16:26.063-04:00</updated><title type='text'>Writing better code in ADO.NET - DataTable</title><content type='html'>There are scenarios in which datagrid is binded to DataTable. So in the grid you may add/delete/update data which might have to be captured in DataTable.&lt;br /&gt;&lt;br /&gt;While u add:&lt;br /&gt;&lt;br /&gt;objDataTable.Rows.Add(objDataRow);&lt;br /&gt;objDataTable.AcceptChanges();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While u update:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;objDataRow.BeginEdit();&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;objDataRow.EndEdit();&lt;br /&gt;     &lt;br /&gt;objDataTable.AcceptChanges();&lt;br /&gt;&lt;br /&gt;When u delete:&lt;br /&gt;objDataRow.Delete();&lt;br /&gt;objDataTable.AcceptChanges();&lt;br /&gt;&lt;br /&gt;Remember to Accept changes to the data table so that changes has been updated to the datatable.&lt;br /&gt;or you may end up with error messages like:&lt;br /&gt;&lt;br /&gt;deletedrowinaccessibleexception "deleted row information cannot be accessed through the row"&lt;br /&gt;&lt;br /&gt;system.data.constraintexception "value is already present in datatable"&lt;br /&gt;Thatz my tip of the day.....&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-112992198404866687?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/112992198404866687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=112992198404866687' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/112992198404866687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/112992198404866687'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/10/writing-better-code-in-adonet.html' title='Writing better code in ADO.NET - DataTable'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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-12461133.post-112981813766097943</id><published>2005-10-20T10:16:00.000-04:00</published><updated>2005-10-20T10:22:17.666-04:00</updated><title type='text'>Multi-column key in Dataview -ADO.NET feature</title><content type='html'>How can I delete unique rows in a dataview when the view is based on 2 or more columns. For example AccountID column has duplicates and StoreID column has duplicates. Together these two columns are unique. In order to delete the correct row in datagrid we have to sort based on 2 objects( columns). Here is the example:&lt;br /&gt;&lt;br /&gt;                string SortColumns;&lt;br /&gt;  Object[] SortArray = new Object[2];&lt;br /&gt;&lt;br /&gt;                 DataView dv= (DataView) Cache["objDataGrid_"+ CacheModelUser];&lt;br /&gt;                //Sort Columns by AccountID and StoreID&lt;br /&gt;  SortColumns = dv.Table.Columns[2].ColumnName + "," + dv.Table.Columns[4].ColumnName + " ASC";&lt;br /&gt;&lt;br /&gt;    dv.Sort = SortColumns;&lt;br /&gt;&lt;br /&gt;    SortArray[0] = AccountID ;&lt;br /&gt;    SortArray[1] = StoreID;&lt;br /&gt;&lt;br /&gt;    int RowNum = dv.Find(SortArray);&lt;br /&gt;    dv[RowNum].Delete();&lt;div class="blogger-post-footer"&gt;By Rajesh Meenrajan&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12461133-112981813766097943?l=meenrajan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meenrajan.blogspot.com/feeds/112981813766097943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12461133&amp;postID=112981813766097943' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/112981813766097943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12461133/posts/default/112981813766097943'/><link rel='alternate' type='text/html' href='http://meenrajan.blogspot.com/2005/10/multi-column-key-in-dataview-adonet.html' title='Multi-column key in Dataview -ADO.NET feature'/><author><name>Rajesh Kumar Meenrajan</name><uri>http://www.blogger.com/profile/12278259175114373599</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></feed>
