<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Fundamental Provocation &#187; Sharepoint</title> <atom:link href="http://www.ajaymatharu.com/category/sharepoint/feed/" rel="self" type="application/rss+xml" /><link>http://www.ajaymatharu.com</link> <description>Blog by Ajay Matharu</description> <lastBuildDate>Sun, 06 Nov 2011 15:09:39 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>SharePoint Error: &#8220;The language-neutral solution package was not found&#8221;</title><link>http://www.ajaymatharu.com/sharepoint-error-the-language-neutral-solution-package-was-not-found/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sharepoint-error-the-language-neutral-solution-package-was-not-found</link> <comments>http://www.ajaymatharu.com/sharepoint-error-the-language-neutral-solution-package-was-not-found/#comments</comments> <pubDate>Fri, 27 Nov 2009 07:52:13 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[Language Neutral Package]]></category> <category><![CDATA[Sharepoint Error]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1765</guid> <description><![CDATA[Last night while developing an event listener custom list, I ran into this error, SharePoint Error: &#8220;The language-neutral solution package was not found&#8221; The solution to this problem is, Restart your visual studio. And it will be back to normal. Hope this helps]]></description> <content:encoded><![CDATA[<p>Last night while developing an event listener custom list, I ran into this error,</p><blockquote><div> SharePoint Error: &#8220;The language-neutral solution package was not found&#8221;</div></blockquote><p>The solution to this problem is, Restart your visual studio. And it will be back to normal.</p><p>Hope this helps <img src='http://www.ajaymatharu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/sharepoint-error-the-language-neutral-solution-package-was-not-found/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Set Item level permission in sharepoint through coding</title><link>http://www.ajaymatharu.com/set-item-level-permission-in-sharepoint-through-coding/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=set-item-level-permission-in-sharepoint-through-coding</link> <comments>http://www.ajaymatharu.com/set-item-level-permission-in-sharepoint-through-coding/#comments</comments> <pubDate>Sat, 25 Jul 2009 06:03:31 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[ASP.Net]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technical]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Permissions]]></category> <category><![CDATA[Sharepoint Permission]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=417</guid> <description><![CDATA[Here is the way we can add item level permission for a user on an item, SPRoleDefinition oUserRole; SPRoleAssignment oUserRoleAssignment; SPListItem itm; SPSite site = null; SPWeb web = null; string siteUrl = Request.Url.ToString(); site = new SPSite(siteUrl); web = site.OpenWeb(); SPGroup grp = web.Groups[groupname]; itm=web.Lists["Shared Documents"].Items[0]; oUserRole = web.RoleDefinitions.GetByType(SPRoleType.Administrator); oUserRoleAssignment = new SPRoleAssignment(loginName, emailId, [...]]]></description> <content:encoded><![CDATA[<p>Here is the way we can add item level permission for a user on an item,<br /> SPRoleDefinition oUserRole;<br /> SPRoleAssignment oUserRoleAssignment;<br /> SPListItem itm;<br /> SPSite site = null;<br /> SPWeb web = null;<br /> string siteUrl = Request.Url.ToString();</p><p>site = new SPSite(siteUrl);<br /> web = site.OpenWeb();<br /> SPGroup grp = web.Groups[groupname];</p><p>itm=web.Lists["Shared Documents"].Items[0];</p><p>oUserRole = web.RoleDefinitions.GetByType(SPRoleType.Administrator);</p><p>oUserRoleAssignment = new SPRoleAssignment(loginName, emailId, userDisplayName, notes);//for user<br /> or<br /> oUserRoleAssignment = new SPRoleAssignment(grp);//for group</p><p>oUserRoleAssignment.RoleDefinitionBindings.Add(oUserRole);<br /> itm.RoleAssignments.Add(oUserRoleAssignment);<br /> web.AllowUnsafeUpdates = true;<br /> itm.Update();<br /> web.Update();<br /> web.AllowUnsafeUpdates = false;</p><p>This is useful for setting item level permission via code.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/set-item-level-permission-in-sharepoint-through-coding/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Sharepoint site does not exists at mentioned URL</title><link>http://www.ajaymatharu.com/sharepoint-site-does-not-exists-at-mentioned-url/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sharepoint-site-does-not-exists-at-mentioned-url</link> <comments>http://www.ajaymatharu.com/sharepoint-site-does-not-exists-at-mentioned-url/#comments</comments> <pubDate>Wed, 10 Jun 2009 15:42:56 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technical]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Error]]></category> <category><![CDATA[Sharepoint Site]]></category> <category><![CDATA[Sharepoint site does not exists]]></category> <category><![CDATA[Site does not exists]]></category> <category><![CDATA[Work]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1226</guid> <description><![CDATA[Hi Guys, While working on the Sharepoint, I came across this error &#8220;Sharepoint site does not exists at mentioned URL&#8221;. On searching something I found that we&#8217;ll have to change the URL under the Project Properties.]]></description> <content:encoded><![CDATA[<p>Hi Guys,</p><p>While working on the Sharepoint, I came across this error &#8220;Sharepoint site does not exists at mentioned URL&#8221;. On searching something I found that we&#8217;ll have to change the URL under the Project Properties.</p><div class="wp-caption aligncenter" style="width: 685px"><img title="Sharepoint site does not exists at mentioned URL" src="http://ajaymatharu.wordpress.com/files/2009/05/site.png" alt="Enter Sharepoint Site URL" width="675" height="429" /><p class="wp-caption-text">Enter Sharepoint Site URL</p></div> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/sharepoint-site-does-not-exists-at-mentioned-url/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Impersonation in Sharepoint &#8211; MOSS/WSS</title><link>http://www.ajaymatharu.com/impersonation-in-sharepoint-mosswss/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=impersonation-in-sharepoint-mosswss</link> <comments>http://www.ajaymatharu.com/impersonation-in-sharepoint-mosswss/#comments</comments> <pubDate>Wed, 10 Jun 2009 04:42:12 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[ASP.Net]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[C#.Net]]></category> <category><![CDATA[Impersonation]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[MOSS]]></category> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[vs.net]]></category> <category><![CDATA[WSS]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1349</guid> <description><![CDATA[Here is the little code that you can use to impersonate any user in sharepoint. This will code will pretend that you are logged in as the user who is impersonated and will be allowed access to all the features and inherits all the rights for that person. This is mainly used to do something [...]]]></description> <content:encoded><![CDATA[<p>Here is the little code that you can use to impersonate any user in sharepoint. This will code will pretend that you are logged in as the user who is impersonated and will be allowed access to all the features and inherits all the rights for that person. This is mainly used to do something for which the impersonating person has rights and you other user do not have rights.</p><pre name="code" class="c-sharp">
SPWeb web = SPContext.Current.Web.Site.OpenWeb();
SPUser user = web.AllUsers[username];
SPUserToken userToken = user.UserToken;
SPSite site = new SPSite(SPContext.Current.Web.Site.Url.ToString(), userToken);
web = site.OpenWeb();
</pre><p>Here username is the name username of the user who you want to impersonate as.</p><p>Hope this helps <img src='http://www.ajaymatharu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/impersonation-in-sharepoint-mosswss/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Writing in Sharepoint log file</title><link>http://www.ajaymatharu.com/writing-in-sharepoint-log-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=writing-in-sharepoint-log-file</link> <comments>http://www.ajaymatharu.com/writing-in-sharepoint-log-file/#comments</comments> <pubDate>Fri, 15 May 2009 06:21:48 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[Sharepoint Log]]></category> <category><![CDATA[Sharepoint logging]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1186</guid> <description><![CDATA[Below is an example on how to write to the SharePoint log files (located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS folder). catch(Exception e) { Microsoft.Office.Server.Diagnostics.PortalLog.LogString(&#8220;Exception: {0} &#8211; {1}&#8221;, e.Message, e.StackTrace); }]]></description> <content:encoded><![CDATA[<p>Below is an example on how to write to the SharePoint log files (located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS folder).</p><blockquote><p><span style="color: #0000a0;">catch(Exception e)<br /> {<br /> Microsoft.Office.Server.Diagnostics.PortalLog.LogString(&#8220;Exception: {0} &#8211; {1}&#8221;, e.Message, e.StackTrace);<br /> }</span></p></blockquote> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/writing-in-sharepoint-log-file/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Sharepoint on Windows Vista</title><link>http://www.ajaymatharu.com/sharepoint-on-windows-vista/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sharepoint-on-windows-vista</link> <comments>http://www.ajaymatharu.com/sharepoint-on-windows-vista/#comments</comments> <pubDate>Sun, 29 Mar 2009 16:53:38 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Featured Articles]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technical]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[IIS]]></category> <category><![CDATA[MOSS]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[Vista]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[WSS]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1109</guid> <description><![CDATA[Many people have this question &#8220;Does Sharepoint gets installed on Vista?&#8221;. The answer is yes. I installed MOSS on my Vista machine yesterday successfully. All you need to install Sharepoint, WSS or MOSS, on Vista is You must select the Advanced option during install. If you want to run on SQLExpress, manually install it first.  [...]]]></description> <content:encoded><![CDATA[<p>Many people have this question &#8220;Does Sharepoint gets installed on Vista?&#8221;. The answer is yes. I installed MOSS on my Vista machine yesterday successfully.</p><p>All you need to install Sharepoint, WSS or MOSS, on Vista is</p><ul><li><div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: normal;">You must select the Advanced option during install.</div></li><li><div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: normal;">If you want to run on SQLExpress, manually install it first.  <a class="null" title="SQL Server 2005 Express download" href="http://msdn.microsoft.com/en-us/express/bb410792.aspx" target="_blank">Get it here</a>.</div></li><li><div class="MsoNormal" style="margin: 0in 0in 10pt; line-height: normal;">You have to manually enable IIS7 with the proper options. <span style="font-family: 'Century Gothic','sans-serif';"><strong>Web Management Tools</strong> and <strong>World Wide Web Services</strong>. Enable at least the following options in IIS. </span></div></li></ul><p>Download Vista Helper file from <a title="VistaSharepoint" href="http://www.box.net/shared/z0gl37bakh" target="_blank"><strong>here</strong></a>, and run the setup file <span style="font-family: 'Century Gothic','sans-serif';"><strong>WssVista.msi</strong></span>.</p><p style="text-align: center;"><div class="wp-caption aligncenter" style="width: 535px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssvista02.jpg" alt="Vista on Sharepoint" width="525" height="426" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p><span style="font-family: 'Century Gothic','sans-serif';">You will see an <a class="null" href="http://en.wikipedia.org/wiki/User_Account_Control" target="_blank">UAC prompt</a> select Continue to proceed with the installation. </span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">Once the install has completed you will find the SetupLauncher.exe in the install location you selected. If you didn’t change the default option you will see it under the directory ..\</span><span style="font-family: consolas;"><strong>Program Files\WssOnVista\</strong></span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: consolas;"><strong></strong></span></p><div class="wp-caption aligncenter" style="width: 562px"><strong><strong><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wsslocation.jpg" alt="Sharepoint on Vista" width="552" height="434" /></strong></strong><p class="wp-caption-text">Sharepoint on Vista</p></div><p><strong></strong></p><p class="MsoNormal" style="margin: 0in 0in 10pt;">Before starting the setup make sure you have enabled IIS with the following options, <span style="font-family: 'Century Gothic','sans-serif';"><strong>Web Management Tools</strong> and <strong>World Wide Web Services</strong>. Enable at least the following options and choose OK. </span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">To set this </span><span style="font-family: 'Century Gothic','sans-serif';">Go to Control Panel and click <strong>Programs</strong>. </span><span style="font-family: 'Century Gothic','sans-serif';">Under Program and Features click <strong>Turn Windows features on or off</strong>.</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 479px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssiisfeatures.jpg" alt="Sharepoint on Vista" width="469" height="692" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">After completing the above steps it’s time for the interesting part. Locate <strong>SetupLauncher.exe</strong> and start it. You will once again see an UAC prompt, select <strong>Continue</strong>.</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 535px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssvistalauncher1.png" alt="Sharepoint on Vista" width="525" height="396" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">After the SetupLauncher run, select the WSS installation file <strong>Sharepoint.exe, </strong>or the MOSS installation file, and click OK.  First, the package will be extracted.</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 567px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssextract.jpg" alt="Sharepoint on Vista" width="557" height="488" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">After the files have been extracted the WSS setup program will be started. </span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 513px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssadvanced.jpg" alt="Sharepoint on Vista" width="503" height="268" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">The current version only supports the <strong>advanced installation</strong> option so select that one.</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">Sit back and relax while SharePoint is being installed, you are running Vista remember <img src='http://www.ajaymatharu.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">Once installed you can configure your Sharepoint setup.</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 494px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssconfig.png" alt="Sharepoint on Vista" width="484" height="414" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p><span style="font-family: 'Century Gothic','sans-serif';">Let the Configuration Wizard do it&#8217;s work.</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 500px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/wssconfig1.png" alt="Sharepoint on Vista" width="490" height="423" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-family: 'Century Gothic','sans-serif';">The final result is WSS running on Vista, Enjoy!</span></p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><div class="wp-caption aligncenter" style="width: 604px"><img title="Sharepoint on Vista" src="http://ajaymatharu.files.wordpress.com/2009/03/sharepointonvista.png" alt="Sharepoint on Vista" width="594" height="449" /><p class="wp-caption-text">Sharepoint on Vista</p></div><p class="MsoNormal" style="margin: 0in 0in 10pt;"><p class="MsoNormal" style="margin: 0in 0in 10pt;">Resource:</p><p class="MsoNormal" style="margin: 0in 0in 10pt;"><a href="http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx" target="_blank">Bamboo Solutions</a></p><p><span style="font-family: 'Century Gothic','sans-serif';">You can find more on their forums. Enjoy!!!<br /> </span></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/sharepoint-on-windows-vista/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Microsoft Releases Toolkit for Reusing SharePoint Portlets</title><link>http://www.ajaymatharu.com/microsoft-releases-toolkit-for-reusing-sharepoint-portlets/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-releases-toolkit-for-reusing-sharepoint-portlets</link> <comments>http://www.ajaymatharu.com/microsoft-releases-toolkit-for-reusing-sharepoint-portlets/#comments</comments> <pubDate>Sat, 20 Dec 2008 03:41:34 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Microsoft]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=652</guid> <description><![CDATA[Microsoft has released a tool that allows developers to reuse data and mini-applications from SharePoint-based portals on rival portal software that otherwise would not be natively interoperable with SharePoint, the company said. The WSRP (Web Services for Remote Portlets) Toolkit for SharePoint provides sample code for producing WSRP-conformant data from SharePoint lists and libraries, according [...]]]></description> <content:encoded><![CDATA[<div id="articleBodyContent"><p>Microsoft has released a tool that allows developers to reuse data and mini-applications from SharePoint-based portals on rival portal software that otherwise would not be natively interoperable with SharePoint, the company said.</p><p>The WSRP (Web Services for Remote Portlets) Toolkit for SharePoint provides sample code for producing WSRP-conformant data from SharePoint lists and libraries, according to a <a href="http://blogs.msdn.com/sharepoint/archive/2008/12/05/announcing-the-wsrp-toolkit-for-sharepoint.aspx" target="_blank">blog post</a> on the Microsoft SharePoint Team Blog.</p><p>SharePoint is Microsoft&#8217;s software for building collaboration portals and Intranet sites. WSRP is a standard overseen by the OASIS (Organization for the Advancement of Structured Information Standards) consortium for letting developers reuse portlets from one portal to another remotely. Portlets are visual mini-applications that expose one or more functionalities on a portal, such as a list of contacts, or allow a portal to perform more complex tasks, such as retrieving invoices or connecting to a reservation system.</p><p>Java-based portals such as BEA Aqualogic, IBM WebSphere and SAP NetWeaver include the ability to consume WSRP code. By using the new tool, developers can now produce SharePoint data and portlets natively on portals from these vendors, Microsoft said. This makes it quicker and easier for developers to build portal applications across heterogeneous software infrastructure, the company said.</p><p>SharePoint already ships with a WSRP consumer that lets developers consume WSRP code from other portals for use on SharePoint portals, Microsoft said. However, customers also asked the company for a tool to produce WSRP code from SharePoint portals for use on rival software. Releasing the WSRP Toolkit for SharePoint shows Microsoft responding to customer demand for interoperability between its products and competing software, the company said.</p><p>Indeed, Microsoft in the past several years and in 2008 in particular has increasingly supported industry-supported open standards to ensure that its software plays well with others in the proverbial IT sandbox. Many believe a stiff fine from the European Union imposed earlier this year for failing to comply with an ongoing antitrust agreement and new industry business models that make it impossible for Microsoft to expect customers to use only its software in their IT environments have a lot to do with the company&#8217;s new attitude.</p><p>The new SharePoint toolkit is available <a href="http://code.msdn.microsoft.com/WSRPToolkit" target="_blank">online</a> for download now from the Microsoft Developer Network site.</div> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/microsoft-releases-toolkit-for-reusing-sharepoint-portlets/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Remove all item level permission on SPListItem</title><link>http://www.ajaymatharu.com/remove-all-item-level-permission-on-splistitem/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-all-item-level-permission-on-splistitem</link> <comments>http://www.ajaymatharu.com/remove-all-item-level-permission-on-splistitem/#comments</comments> <pubDate>Fri, 07 Nov 2008 15:34:00 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[ASP.Net]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technical]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Item level permission]]></category> <category><![CDATA[MOSS]]></category> <category><![CDATA[Sharepoint permissions]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=414</guid> <description><![CDATA[It&#8217;s been very long, I have been finding a way to remove all the item level permission. My requirement was to set permission only to particular users and groups on an item and remove rest all. I almost spend 3 weeks in finding a way to remove all the permission on the item so that [...]]]></description> <content:encoded><![CDATA[<p>It&#8217;s been very long, I have been finding a way to remove all the item level permission.</p><p>My requirement was to set permission only to particular users and groups on an item and remove rest all. I almost spend 3 weeks in finding a way to remove all the permission on the item so that later I can add the permissions which I want. Atlast I found a way to remove all the permission set on item let it be user specific or group specific. Here is the code snippet that helps you to do that,<br /> for (int k = itm.RoleAssignments.Count &#8211; 1; k &gt;= 0; k&#8211;)<br /> {<br /> itm.RoleAssignments.Remove(k);<br /> }</p><p>here itm is an SPListItem object from which you want to remove all permissions.</p><p>You can loop through all the SPListCollection and then for each SPListItem you can remove all the permission on that item.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/remove-all-item-level-permission-on-splistitem/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Error creating MySite &#8211; Sharepoint</title><link>http://www.ajaymatharu.com/error-creating-mysite-sharepoint/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-creating-mysite-sharepoint</link> <comments>http://www.ajaymatharu.com/error-creating-mysite-sharepoint/#comments</comments> <pubDate>Tue, 16 Sep 2008 05:39:58 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technical]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=140</guid> <description><![CDATA[While creating MySite today, i encountered the following error, HTTP/1.1 404 Connection: close Date; Tue, 16 Sep 2008 05:04:43 GMT Server: Microsoft-IIS/6.0 MicrosoftSharepointTeamServices: 12.0.0.6219 X-Powered-By: ASP.NET This error occurs because the SharedService is not properly configured. You can resolve this error by correcting the SharedService or by creating a new SharedService for this site from [...]]]></description> <content:encoded><![CDATA[<p>While creating MySite today, i encountered the following error,</p><p>HTTP/1.1 404<br /> Connection: close<br /> Date; Tue, 16 Sep 2008 05:04:43 GMT<br /> Server: Microsoft-IIS/6.0<br /> MicrosoftSharepointTeamServices: 12.0.0.6219<br /> X-Powered-By: ASP.NET</p><p>This error occurs because the SharedService is not properly configured. You can resolve this error by correcting the SharedService or by creating a new SharedService for this site from Central Admin.</p><p>I just created a new SharedService from the Central Admin and associated this site with that SharedService and MySite was created <img src='http://www.ajaymatharu.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/error-creating-mysite-sharepoint/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Error Creating Sharepoint Site</title><link>http://www.ajaymatharu.com/error-creating-sharepoint-site/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-creating-sharepoint-site</link> <comments>http://www.ajaymatharu.com/error-creating-sharepoint-site/#comments</comments> <pubDate>Tue, 16 Sep 2008 05:23:50 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[Technical]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=136</guid> <description><![CDATA[Today I was working on creating a new sharepoint site, and after creating the site from the central admin, I got the following error: HTTP/1.1 404 Connection: close Date: Tue, 16 Sep 2008 05:09:29 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 12.0.0.6219 I searched on the error and found the following solution, so just wanted to [...]]]></description> <content:encoded><![CDATA[<p>Today I was working on creating a new sharepoint site, and after creating the site from the central admin, I got the following error:</p><p>HTTP/1.1 404<br /> Connection: close<br /> Date: Tue, 16 Sep 2008 05:09:29 GMT<br /> Server: Microsoft-IIS/6.0<br /> X-Powered-By: ASP.NET<br /> MicrosoftSharePointTeamServices: 12.0.0.6219</p><p>I searched on the error and found the following solution, so just wanted to<br /> share the solution with you guys.</p><p>Make sure you reset the IIS after creating the site in central admin. Run the following command<br /> to reset IIS &#8220;IISRESET /NOFORCE&#8221;</p><p>After resetting the IIS run the following command</p><p align="left"><span><span style="font-family:Calibri;"><span style="font-size:small;">&#8220;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WEB SERVER EXTENSIONS\12\BIN\STSADM.exe&#8221; -O CREATESITE -URL </span><a title="http://servername" href="http://servername/"><span style="font-size:small;">http://<em>servername</em></span></a><span style="font-size:small;"><em> </em><span> </span>-OWNEREMAIL <em>&lt;e-mail&gt;</em> -OWNERLOGIN <em>&lt;domain\username&gt;</em></span></span></span></p><p align="left">You can get more details on this command using the following command,</p><p align="left"><span><span style="font-size:small;"><span><span style="font-family:Calibri;">C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WEB SERVER EXTENSIONS\12\BIN\STSADM.exe</span></span> -help CreateSite</span></span></p><p align="left">After executing this command you can access your site. You will be asked for the site template to be applied to the site and also the members that will be able to access the site.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/error-creating-sharepoint-site/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
