<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Vinit`s SharePoint Space</title><subtitle type="html" /><id>http://blogs.technet.com/b/vinitt/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/vinitt/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2011-03-12T12:24:01Z</updated><entry><title>Hide Ribbon for Anonymous users SharePoint 2013</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/27/hide-ribbon-for-anonymous-users-sharepoint-2013.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/27/hide-ribbon-for-anonymous-users-sharepoint-2013.aspx</id><published>2013-04-27T11:32:50Z</published><updated>2013-04-27T11:32:50Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You might have thought to hide Ribbon from the Anonymous users due to security reason,&lt;/p&gt;  &lt;p&gt;In SharePoint 2010 it was simple to modify the master page and that's done, In SharePoint 2013 there has been some changes and we no more need to modify the master page directly, every thing is simplified in 2013 and we just need to modify the concern html page and that should be done.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Every master page in 2013 would have it concerned html page eg for Seattle.master we have Seattle.html&lt;/p&gt;  &lt;p&gt;for oslo.master we have oslo.html page&amp;#160; which in turn controls the master page and its tags.&lt;/p&gt;  &lt;p&gt;Html page has tags that start with &amp;lt;!--MS:--&amp;gt; and &amp;lt;!--ME:--&amp;gt; that show markup inside these tags and in some cases what you would find in the final corresponding master page.&lt;/p&gt;  &lt;p&gt;So lets get to the action on what need to done in these html page.&lt;/p&gt;  &lt;p&gt;1. Open the html page in SharePointDesigner 2013 or open the site through explorer and open it using your favorite html page editor.&lt;/p&gt;  &lt;p&gt;2. Look for &amp;lt;Div Class =”ms-belltown-anonshow”&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;div id=”ms-designer-ribbon”&amp;gt;&lt;/p&gt;  &lt;p&gt;….. &lt;/p&gt;  &lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;  &lt;p&gt;3. When we add the following markup enclosed in the &amp;lt;!--MS:--&amp;gt; and &amp;lt;!--ME:—&amp;gt; tags, &lt;/p&gt;  &lt;p&gt;&amp;lt;!—MS:&amp;lt;SharePoint:SpSecurityTrimmedControl runat=”server” permission=”AddandCustomizepages”&amp;gt;—&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Div Class =”ms-belltown-anonshow”&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;div id=”ms-designer-ribbon”&amp;gt;&lt;/p&gt;  &lt;p&gt;….&lt;/p&gt;  &lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;!—MS:&amp;lt;/SharePoint:SpSecurityTrimmedControl&amp;gt;—&amp;gt;&lt;/p&gt;  &lt;p&gt;the design manager will create the corresponding master page with the correct functionality of hiding the Ribbon for an anonymous user.&lt;/p&gt;  &lt;p&gt;For list of permission you can refer to &lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-ca/library/microsoft.sharepoint.spbasepermissions.aspx"&gt;http://msdn.microsoft.com/en-ca/library/microsoft.sharepoint.spbasepermissions.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;   &lt;div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c24a8044-0624-41c3-981c-3a3c9a386ac4" class="wlWriterEditableSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Hide+Ribbon" rel="tag"&gt;Hide Ribbon&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SharePoint+2013" rel="tag"&gt;SharePoint 2013&lt;/a&gt;,&lt;a href="http://technorati.com/tags/maste+page" rel="tag"&gt;maste page&lt;/a&gt;&lt;/div&gt; &lt;/p&gt;  &lt;p&gt;   &lt;div class="wlWriterSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Hide+Ribbon" rel="tag"&gt;Hide Ribbon&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SharePoint+2013" rel="tag"&gt;SharePoint 2013&lt;/a&gt;,&lt;a href="http://technorati.com/tags/maste+page" rel="tag"&gt;maste page&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569437" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Unable to access  Personal Site after backup and restore of mysite SharePoint 2010</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/27/unable-to-access-personal-site-after-backup-and-restore-of-mysite-sharepoint-2010.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/27/unable-to-access-personal-site-after-backup-and-restore-of-mysite-sharepoint-2010.aspx</id><published>2013-04-26T19:48:00Z</published><updated>2013-04-26T19:48:00Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt; When we backup the mysite data and restore on new SharePoint 2010 farm, we sometime are unable to access my content page.&lt;/p&gt;  &lt;p&gt;If we check in ULS we see &lt;/p&gt;  &lt;p&gt;3wp.exe (0x0A3C)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 0x1330&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 246&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 7hz8&amp;#160;&amp;#160;&amp;#160; Medium&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; My Site: PersonalSpaceRedirect: Unknown error: System.Threading.ThreadAbortException: Thread was being aborted.&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Microsoft.SharePoint.Portal.WebControls.PersonalSpaceRedirect.RedirectToGlobalPrivatePage()&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Microsoft.SharePoint.Portal.WebControls.PersonalSpaceRedirect.LoadControl(Object sender, EventArgs a).&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;01/06/2010 18:59:36.52&amp;#160;&amp;#160;&amp;#160;&amp;#160; w3wp.exe (0x0A3C)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 0x1330&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 246&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 79gk&amp;#160;&amp;#160;&amp;#160; Medium&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; My Site: PersonalSpacePublicRedirect: User was redirected to here from 'http://[server]/personal/[user]/default.aspx', but should have gone to 'http://[server]/sites/mysite/_layouts/MySite.aspx'.&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;So the issue happens because the User ID for the profile does not match and causes the redirect to fail to personal site collection.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Resolution and explanation :&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In a normal SharePoint environment, the user is the owner his own my site. If the user is owner of the my site and the access to the profile store is also correctly granted the relink of the old my site with the new user profile should work automatically. When the user opens the first the his old my site, SharePoint will automatically find the profile of that specific user in the profile store and gather the new Profile ID (named User ID). This ID will be written in the property bag of the my site web(urn:schemas-microsoft-com:sharepoint:portal:profile:userprofile_guid). In the profile store, we also update the Personal Site property for that user and so the re-link is done. In our case the user was not able to do these type of modifications due to permission issues, therefore the My Site Web Property was not repaired, so that the mysite was pointing still to the old profile id. In the profile store we were also not able to add this relative url to the &amp;quot;Personal Site&amp;quot; property. So we can re-link the my sites with the profiles using powershell, by adding the new profile id in the property bag of the my site: &lt;/p&gt;  &lt;p&gt;$web = get-spweb &lt;a href="http://mysiteurl/personal/userid"&gt;http://mysiteurl/personal/userid&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;$web.SetProperty(&amp;quot;urn:schemas-microsoft-com:sharepoint:portal:profile:userprofile_guid&amp;quot;, &amp;quot;USER Profile ID&amp;quot;) $web.Update() &lt;/p&gt;  &lt;p&gt;The new user profile id can be looked up in the Profile DB directly, however this is only recommended with the help of MS support: &lt;/p&gt;  &lt;p&gt;select * from [Profile DB].[dbo].[UserProfile_Full] (nolock) where NTName = 'domain\user'&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;and second action is to &lt;/p&gt;  &lt;p&gt;go ahead and delete the user profile from user profile store and then click on my content, this should create a new profile with the correct ID.&lt;/p&gt;  &lt;p&gt;Central admin-&amp;gt; application management-&amp;gt; mange service application-&amp;gt; user profile application –&amp;gt; mange user profile-&amp;gt; search for the user and delete it.&lt;/p&gt;  &lt;div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:89db21bf-d8eb-45a4-a5bf-6511979429ed" class="wlWriterEditableSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Sharepoint+2010" rel="tag"&gt;Sharepoint 2010&lt;/a&gt;,&lt;a href="http://technorati.com/tags/My+content" rel="tag"&gt;My content&lt;/a&gt;,&lt;a href="http://technorati.com/tags/mysites" rel="tag"&gt;mysites&lt;/a&gt;,&lt;a href="http://technorati.com/tags/%22My+Site%3a+PersonalSpaceRedirect%3a+Unknown+error%3a+%22" rel="tag"&gt;&amp;quot;My Site: PersonalSpaceRedirect: Unknown error: &amp;quot;&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569349" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Newsfeed Error - A Required SharePoint Feature is not enabled , SharePoint 2013, FBA site.</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/23/newsfeed-error-a-required-sharepoint-feature-is-not-enabled-sharepoint-2013-fba-site.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/23/newsfeed-error-a-required-sharepoint-feature-is-not-enabled-sharepoint-2013-fba-site.aspx</id><published>2013-04-23T17:15:50Z</published><updated>2013-04-23T17:15:50Z</updated><content type="html">&lt;p&gt;There was a recent issue when a User clicks on the newsfeed there is nothing there, when they switch from following to everyone they following error is displayed&lt;/p&gt;  &lt;p&gt;&amp;quot;SharePoint returned the following error: A required SharePoint feature is not enabled. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 46. Contact your system administrator for help in resolving this problem.&amp;quot;&lt;/p&gt;  &lt;p&gt;When I go to &amp;quot;about me&amp;quot; it still states &amp;quot;We're almost ready&amp;quot; underneath my Bio, and if I goto tasks &amp;quot;something went wrong&amp;quot; when it tries to load the page&lt;/p&gt;  &lt;p&gt;The errors I still see are as follows&lt;/p&gt;  &lt;p&gt;in the Application Log:&lt;/p&gt;  &lt;p&gt;This appears intermitantly&lt;/p&gt;  &lt;p&gt;&amp;quot;The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 8e2b6939-813f-4798-b473-37b891a4ad2d) threw an exception. More information is included below. &lt;/p&gt;  &lt;p&gt;Unexpected exception in FeedCacheService.IsRepopulationNeeded: Connection to the server terminated,check if the cache host(s) is running .&amp;quot;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Resolution:&lt;/p&gt;  &lt;p&gt;Issue happens for the user whose value personal site capabilities shows “0” and in order to have feeds and other featured working we need the value as “14”&lt;/p&gt;  &lt;p&gt;To fix the issue we need to follow either of&amp;#160; below action plan.&lt;/p&gt;  &lt;p&gt;1) This can be done - user profile service application - mange user profiles -&amp;gt; search for the user -&amp;gt; look for personal site capabilities and update the value to 14 and save it.&lt;/p&gt;  &lt;p&gt;or &lt;/p&gt;  &lt;p&gt;2) I have a PowerShell which can help us to update affected users values form 0 to 14.&lt;/p&gt;  &lt;p&gt;#Set up default variables&lt;/p&gt;  &lt;p&gt;#My Site URL&lt;/p&gt;  &lt;p&gt;$mySiteUrl = &amp;quot;&lt;a href="http://spf1/my/"&gt;http://spf1/my/&lt;/a&gt;&amp;quot;&lt;/p&gt;  &lt;p&gt;#The part of the picture URL you are trying to find&lt;/p&gt;  &lt;p&gt;$currentValue = &amp;quot;0&amp;quot;&lt;/p&gt;  &lt;p&gt;#The value that will replace the above&lt;/p&gt;  &lt;p&gt;$newValue = &amp;quot;14&amp;quot;&lt;/p&gt;  &lt;p&gt;#The internal name for Property&lt;/p&gt;  &lt;p&gt;$upAttribute = &amp;quot;SPS-PersonalSiteCapabilities&amp;quot;&lt;/p&gt;  &lt;p&gt;#Get site objects and connect to User Profile Manager service&lt;/p&gt;  &lt;p&gt;$site = Get-SPSite $mySiteUrl&lt;/p&gt;  &lt;p&gt;$context = Get-SPServiceContext $site&lt;/p&gt;  &lt;p&gt;$profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)&lt;/p&gt;  &lt;p&gt;$profiles = $profileManager.GetEnumerator()&lt;/p&gt;  &lt;p&gt;foreach ($userProfile in $profiles) &lt;/p&gt;  &lt;p&gt;{&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;if ($userProfile[$upAttribute].toString() -ne 14 )&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;{&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;if ($userProfile.AccountName -like &amp;quot;i:0#.f|ldapmember|achavda&amp;quot;)&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $newvalue = $userProfile[$upAttribute].toString()&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $newvalue = $newvalue.Replace($currentURLValue, $newURLValue)&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $userProfile[$upAttribute].Value = $newvalue&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $userProfile.Commit()&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;}&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;}&lt;/p&gt;  &lt;div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9be2dbfc-87b1-43c9-b521-c8036a946f2d" class="wlWriterEditableSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Sharepoint+2013" rel="tag"&gt;Sharepoint 2013&lt;/a&gt;,&lt;a href="http://technorati.com/tags/neewsfeeds" rel="tag"&gt;neewsfeeds&lt;/a&gt;,&lt;a href="http://technorati.com/tags/FBA" rel="tag"&gt;FBA&lt;/a&gt;,&lt;a href="http://technorati.com/tags/A+Required+SharePoint+Feature+is+not+enabled" rel="tag"&gt;A Required SharePoint Feature is not enabled&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3568570" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Migrate SharePoint designer workflow from SharePoint 2007 to SharePoint 2013</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/21/migrate-workflow-from-sharepoint-2007-to-sharepoint-2013.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/21/migrate-workflow-from-sharepoint-2007-to-sharepoint-2013.aspx</id><published>2013-04-21T04:22:00Z</published><updated>2013-04-21T04:22:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There has been instances when you plan to upgrade SharePoint 2007 to SharePoint 2013&amp;nbsp;which has&amp;nbsp;custom workflows which are designed by SharePoint Designer.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If we follow the straight upgrade process like upgrade the database from 2007 to 2010 and then upgrade to 2013 you will not be able to edit the workflow nor update them.&lt;/p&gt;
&lt;p&gt;Here is the process which need to be followed to make sure we can continue using those workflow in 2013 and can update and edit them without issues.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Take the back of the content DB from the SQL server.&lt;/p&gt;
&lt;p&gt;2. Restore the backup on SQL server for the SharePoint 2010 farm.&lt;/p&gt;
&lt;p&gt;3. Create a new claims based web application.&lt;/p&gt;
&lt;p&gt;4. Attach the content database to this web application &amp;ndash; mount-spcontentdatabase&lt;/p&gt;
&lt;p&gt;and make sure we follow the process to migrate the users from classic to claims, reference -&lt;a title="http://technet.microsoft.com/en-us/library/gg251985.aspx" href="http://technet.microsoft.com/en-us/library/gg251985.aspx"&gt;http://technet.microsoft.com/en-us/library/gg251985.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. open the site in SharePoint Designer and edit the workflow and republish it.&lt;/p&gt;
&lt;p&gt;we have to do this because sharepoint designer 2007 workflow are aspx based and 2010 will be form based and hence the upgrade needed.&lt;/p&gt;
&lt;p&gt;6. Now take a backup of the database and restore it on 2013 SQL server farm.&lt;/p&gt;
&lt;p&gt;7. Attach the database to SP2013 web application using the command mount-spcontentdatabase.&lt;/p&gt;
&lt;p&gt;8. Open the site in designer and we should be able to edit and update the workflow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3568083" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author><category term="upgrade" scheme="http://blogs.technet.com/b/vinitt/archive/tags/upgrade/" /><category term="2010 -2013" scheme="http://blogs.technet.com/b/vinitt/archive/tags/2010+_2D00_2013/" /><category term="workflow" scheme="http://blogs.technet.com/b/vinitt/archive/tags/workflow/" /><category term="SharePoint designer" scheme="http://blogs.technet.com/b/vinitt/archive/tags/SharePoint+designer/" /></entry><entry><title>How to use to custom SQL attribute store to generate claims and authorize user.</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/15/how-to-use-to-custom-sql-attribute-store-to-generate-claims-and-authorize-user.aspx" /><link rel="enclosure" type="application/octet-stream" length="3728" href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-56-67-86/ClaimViewerWebPart.wsp" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/15/how-to-use-to-custom-sql-attribute-store-to-generate-claims-and-authorize-user.aspx</id><published>2013-04-15T09:37:00Z</published><updated>2013-04-15T09:37:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;This blog will help you to understand how you can configure ADFS to use SQL to use the value from the table and generate token and authorize the user.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Before moving ahead you require your ADFS setup and running.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;You can refer this blogs which helps you to configure ADFS 2.0 with SharePoint 2010 &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://&lt;/span&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Follow the steps below to configure SQL and ADFS and SharePoint server. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Create a new Database by name : Peoplestore&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Create a new table named :Attribute&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Create columns eg: User ID, Logon, Department\Organization\Firm&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Add values to it:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Eg : &lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/4401.SQL.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/4401.SQL.jpg" alt="" width="279" height="89" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Note: Make sure we have proper permission on the Database created&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Here proper permission means the ADFS account should be able to access this SQL database. We don&amp;rsquo;t need write access, a read access to the DB will be more than enough.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;if you face issues with generating claims, you can check the event viewer on ADFS server for the event related to permission and grant the required permission on the DB.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;On ADFS server&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Add SQL attribute store&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/0474.attribute.jpg"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/0474.attribute.jpg" alt="" width="341" height="222" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/0550.store.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/0550.store.png" alt="" width="333" height="265" border="0" /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Imp note : Display Name: SQL&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Modify Relying party trust&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Edit claim rule.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Add a new claim rule &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Claim type : &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/5460.claimtype.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/5460.claimtype.png" alt="" width="497" height="144" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp; &lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Customer rule &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Claim rule language&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;span style="font-family: Calibri; font-size: small;"&gt;Ref: &lt;/span&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ee913566(WS.10).aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://technet.microsoft.com/en-us/library/ee913566(WS.10).aspx&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;For Conditions under claim rule&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; &lt;span style="font-family: Calibri; font-size: small;"&gt;Ref:&lt;/span&gt;&lt;a href="http://technet.microsoft.com/en-us/library/dd807118(WS.10).aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://technet.microsoft.com/en-us/library/dd807118(WS.10).aspx&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Eg : claim rule&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"]&amp;nbsp; =&amp;gt; issue(store = "sql", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/Firm"), query = "SELECT Firm from dbo.attributes where logon = {0}", param = c.Value);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;On Sharepoint Server&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Set up claims mapping for "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/firm&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;$token = Get-SPTrustedIdentityTokenIssuer&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Add new claim type&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;$token.ClaimTypes.Add(&lt;a href="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/Firm"&gt;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/Firm&lt;/a&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;Add claim type mapping&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-family: Calibri; font-size: small;"&gt;$firmclaim = New-SPClaimTypeMapping -IncomingCLaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/Firm"&amp;nbsp; -IncomingClaimTypeDisplayName "Firm" -LocalClaimType &lt;/span&gt;&lt;a href="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/Firm"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/Firm&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;To add claim type to our issuer&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;$firmclaim | Add-SPClaimTypeMapping -TrustedIdentityTokenIssuer $token&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;In case you want to use a new web application and use the same SAML token provider&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Add URI&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;$uri = new-object System.Uri(&lt;a href="https://sunshine.vinit.com"&gt;https://sunshine.vinit.com&lt;/a&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;$token.ProviderRealms.Add($uri, "urn:sharepoint:sunshine")&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;$token.Update()&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;You are done now, how to verify &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;On Claims enabled site, create a new document library&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Break the permission and add Microsoft as the claim.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Login to site with the rakeshsa, we should be able to see document library, login with Adam and the document library will be security trimmed.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;To verify if you have got the correct claim, here is the wsp package which can you help you.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Steps remains same on how to deploy the WSP package.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;In short, deploy the package, activate it, use the webpart on newly created page( just to avoid messing up with default.aspx)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;And then you should be able to see the claims, attached below is the WSP package.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Output should like something like this&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/1261.WSPoutput.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-76-97/1261.WSPoutput.png" alt="" width="690" height="358" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3566786" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author><category term="SharePoint 2010 custom claims" scheme="http://blogs.technet.com/b/vinitt/archive/tags/SharePoint+2010+custom+claims/" /><category term="ADFS" scheme="http://blogs.technet.com/b/vinitt/archive/tags/ADFS/" /><category term="custom SQL attribute" scheme="http://blogs.technet.com/b/vinitt/archive/tags/custom+SQL+attribute/" /></entry><entry><title>FAST ESP - LOGTRANSFORMER fails with "process logtransformer ports are already in use"</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/15/fast-esp-logtransformer-fails-with-quot-process-logtransformer-ports-are-already-in-use-quot.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/15/fast-esp-logtransformer-fails-with-quot-process-logtransformer-ports-are-already-in-use-quot.aspx</id><published>2013-04-15T09:02:04Z</published><updated>2013-04-15T09:02:04Z</updated><content type="html">&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Issue :&amp;nbsp;&lt;/strong&gt; LOGTRANSFORMER fails with "process logtransformer ports are already in use"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Assessment/Resolution:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Looking in to LOGTRANSFORMER.log file&lt;br /&gt;**************************************************************&lt;br /&gt;java.io.IOException: There is not enough space on the disk&lt;br /&gt;[2013-03-03 16:25:15,066] ERROR org.quartz.core.ErrorLogger: An error occured while marking executed job complete. job= 'lql.periodLqlJob'&amp;nbsp; (FastLogTransformer_Worker-0)&lt;br /&gt;org.quartz.JobPersistenceException: Couldn't update job data: ERROR: could not extend relation 1663/10820/52439: No space left on device [See nested exception: org.postgresql.util.PSQLException: ERROR: could not extend relation 1663/10820/52439: No space left on device]&lt;br /&gt;&amp;nbsp;at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggeredJobComplete(JobStoreSupport.java:1933)&lt;br /&gt;&amp;nbsp;at org.quartz.impl.jdbcjobstore.JobStoreTX.triggeredJobComplete(JobStoreTX.java:1279)&lt;br /&gt;&amp;nbsp;at org.quartz.core.QuartzScheduler.notifyJobStoreJobComplete(QuartzScheduler.java:1489)&lt;br /&gt;&amp;nbsp;at org.quartz.core.JobRunShell.completeTriggerRetryLoop(JobRunShell.java:384)&lt;br /&gt;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:268)&lt;br /&gt;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)&lt;br /&gt;* Nested Exception (Underlying Cause) ---------------&lt;br /&gt;org.postgresql.util.PSQLException: ERROR: could not extend relation 1663/10820/52439: No space left on device&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;[2013-03-03 17:15:33,794] ERROR com.fastsearch.esp.logtransformer.harvest.download.DownLoader: Failure during logharvesting&amp;nbsp; (FastLogTransformer_Worker-0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;com.fastsearch.esp.logtransformer.harvest.download.DownloadException: Unable to obtain list of node controllers Unable to obtain list of active modules with name NodeControl from configserver XmlRpc[interface com.fastsearch.esp.logtransformer.harvest.download.qrserver.IConfigServer/com.fastsearch.esp.logtransformer.harvest.download.qrserver.ConfigServerMapping -&amp;gt; &lt;a href="http://fast.vinit.com:16005/RPC2"&gt;http://fast.vinit.com:16005/RPC2&lt;/a&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at com.fastsearch.esp.logtransformer.harvest.download.qrserver.FdsBackendHelper.getAllNodeControllers(FdsBackendHelper.java:76)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at com.fastsearch.esp.logtransformer.harvest.download.qrserver.FdsBackendHelper.getNodeControllersForQrservers(FdsBackendHelper.java:168)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at com.fastsearch.esp.logtransformer.harvest.download.qrserver.FdsBackendHelper.getAllQrserverHostAndNodeControllers(FdsBackendHelper.java:126)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at com.fastsearch.esp.logtransformer.harvest.download.DownLoader.runBatch(DownLoader.java:95)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at com.fastsearch.esp.logtransformer.scheduler.HarvestJob.execute(HarvestJob.java:45)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:195)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Caused by: com.fastsearch.esp.logtransformer.harvest.download.DownloadException: Unable to obtain list of active modules with name NodeControl from configserver XmlRpc[interface com.fastsearch.esp.logtransformer.harvest.download.qrserver.IConfigServer/com.fastsearch.esp.logtransformer.harvest.download.qrserver.ConfigServerMapping -&amp;gt; &lt;a href="http://fast.vinit.com:16005/RPC2"&gt;http://fast.vinit.com:16005/RPC2&lt;/a&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Resolution:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Stop the LOGTRANSFORMER via NCTRL and made sure all the java.exe and javaw.exe files are not running for the FASTADMIN user&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Then NCTRL STOP LOGTRANSFORMER, killed all java.exe and javaw.exe running by the fastadmin &lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Start all the services with NCTRL start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Then started the LogTransformer with nctrl; It should start successfully and the logs, scraps should get generated as well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3566778" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author><category term="LogTransformer" scheme="http://blogs.technet.com/b/vinitt/archive/tags/LogTransformer/" /><category term="ports are already in use" scheme="http://blogs.technet.com/b/vinitt/archive/tags/ports+are+already+in+use/" /><category term="ESP" scheme="http://blogs.technet.com/b/vinitt/archive/tags/ESP/" /></entry><entry><title>How to Change the Primary address for Office 365 Notification.</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2013/04/15/how-to-change-the-primary-address-for-office-365-notification.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2013/04/15/how-to-change-the-primary-address-for-office-365-notification.aspx</id><published>2013-04-15T08:32:00Z</published><updated>2013-04-15T08:32:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Issue Definition&lt;/span&gt;&lt;/strong&gt;: On the o14 MOP portal, while trying to create a new user as an administrator, there is&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;an option to enter alternate email address.&amp;nbsp;When we&amp;nbsp; try to add a non *.onmicrosoft.com email account , which is registered as a vanity domain. This&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;email address is considered as Office 365 email address and the process does not go through.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Assessment: &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;When you setup and integrate your on-premise domain with online, the address space gets registered. Hence any email address with&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;this alternate domain address space is considered O365 email address. This is the correct behavior, if we had an exchange online mailbox setup. However,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;since the domain purpose of this vanity domain is just SharePoint, you should be able to use your on-premise address as alternate email address. This is a by&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;design behavior. However, the workaround available to meet this requirement is&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;We will need to the use the Windows Azure powershell&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;for the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;1. Login to windows azure powershell&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;2. Get the UserPrincipalName for the account for which&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;he wants to change alternate email address.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;3. Run on the command : &lt;strong&gt;Set-MsolUser&lt;br /&gt;-UserPrincipalName &lt;a href="mailto:user@yourdomain.onmicrosoft.com"&gt;user@yourdomain.onmicrosoft.com&lt;/a&gt;&lt;br /&gt;-AlternateEmailAddresses &lt;a href="mailto:user2@yourvanitydomain.onmicrosoft.com"&gt;user2@yourvanitydomain.onmicrosoft.com&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Alternateemailaddresses can be your vanity domain email address also.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;You can download and install the windows azure PowerShell from here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/jj151815.aspx"&gt;http://technet.microsoft.com/en-us/library/jj151815.aspx&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3566774" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author><category term="alternate email" scheme="http://blogs.technet.com/b/vinitt/archive/tags/alternate+email/" /><category term="vanity domain email address" scheme="http://blogs.technet.com/b/vinitt/archive/tags/vanity+domain+email+address/" /><category term="sharepoint online" scheme="http://blogs.technet.com/b/vinitt/archive/tags/sharepoint+online/" /><category term="O365" scheme="http://blogs.technet.com/b/vinitt/archive/tags/O365/" /><category term="Role" scheme="http://blogs.technet.com/b/vinitt/archive/tags/Role/" /></entry><entry><title>Name columns missing information on reports library after migration from SharePoint 2007 to SharePoint 2010</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2012/04/15/name-columns-missing-information-on-reports-library-after-migration-from-sharepoint-2007-to-sharepoint-2010.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2012/04/15/name-columns-missing-information-on-reports-library-after-migration-from-sharepoint-2007-to-sharepoint-2010.aspx</id><published>2012-04-15T01:41:00Z</published><updated>2012-04-15T01:41:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If we are upgrading from from MOSS 2007 to SP 2010 and you have lot of reports library in 2007. After migration you might see&amp;nbsp; File names are missing in the Current reports view of all our Reports Libraries (/ReportsLibrary/Forms/current.aspx) in SP 2010.&lt;/p&gt;
&lt;p&gt;In the library settings for the Reports Library, the Name column is associated with Name (link to &lt;strong&gt;report&lt;/strong&gt; with edit menu). The same association used to works fine in MOSS 2007, but not in SP 2010.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cause:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If we compare the 2007 reports library and 2010 reports library we see that for reports content type in 2007 we used &amp;ldquo;ReportLinkFilename&amp;rdquo; for the Name field which is not present in SharePoint 2010.&lt;/p&gt;
&lt;p&gt;As this information or reference is not present in 2010 we will observer this behaviour on all migrated reports library content.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As of now we don`t have way to get &amp;ldquo;ReportLinkFilename&amp;rdquo; reference in SharePoint 2010. However what we can do it instead of using &amp;ldquo;ReportLinkFilename&amp;rdquo; we can use &amp;ldquo;LinkFilename&amp;rdquo; for the Name column and update all the current reports view.&lt;/p&gt;
&lt;p&gt;Here is a sample powershell script which will scan all your webs in site collection and look for reports library and update this information.&lt;/p&gt;
&lt;p&gt;I would recommend to take a working back of site collection before using the script.&lt;/p&gt;
&lt;p&gt;If you want to confirm that behaviour on one of reports library..you can try these steps to check&lt;/p&gt;
&lt;p&gt;Edit the &amp;ldquo;Current reports &amp;ldquo; view and uncheck the Name column( link to report with edit menu) and check the Column Name(linked to &lt;strong&gt;document&lt;/strong&gt; with edit menu) and check the behaviour.. if this is something what you are looking for.. you can use the script below.&lt;/p&gt;
&lt;p&gt;$site= Get-SPsite &lt;a href="http://moss2010-1"&gt;http://moss2010-1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;foreach ( $web in $site.allwebs ) &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $lists = @{} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $count = 0 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach($list in $web.lists) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ($list.TemplateFeatureId -eq "2510d73f-7109-4ccc-8a1c-314894deeb3a")&amp;nbsp; &lt;strong&gt;#this is report library GUID&lt;/strong&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $lists.add($count++, $list.ID)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ( $value in $lists.Values ) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $list = $web.lists.GetList( $value, $false ) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $view = $list.Views['Current reports']&amp;nbsp; &lt;strong&gt;# getting the current view in variable&lt;/strong&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write-host $list.Title &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $view.ViewFields.delete('ReportLinkFilename')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;# we are using try block as we are not sure about the OOB lists if they have this link &lt;br /&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-host "Field not found"&amp;nbsp; &lt;strong&gt;# if it does not have it will fail and print this error message &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue &lt;br /&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write-host "Executing updates..."&amp;nbsp; &lt;strong&gt;# this is where when we come out of try loop and execute the remaining stuff &lt;br /&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $view.ViewFields.Add('LinkFilename') &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $view.ViewFields.MoveFieldTo('LinkFilename',1) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $view.Update() &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&amp;nbsp; &lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Save the all this is information in a notepad and save as reportviewfix.ps1 and run it from SharePoint PowerShell&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3492210" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author><category term="Reports Library" scheme="http://blogs.technet.com/b/vinitt/archive/tags/Reports+Library/" /><category term="migration" scheme="http://blogs.technet.com/b/vinitt/archive/tags/migration/" /><category term="Sharepoint 2007" scheme="http://blogs.technet.com/b/vinitt/archive/tags/Sharepoint+2007/" /><category term="Sharepoint 2010" scheme="http://blogs.technet.com/b/vinitt/archive/tags/Sharepoint+2010/" /><category term="&amp;quot;link to report with edit menu&amp;quot;" scheme="http://blogs.technet.com/b/vinitt/archive/tags/_2600_quot_3B00_link+to+report+with+edit+menu_2600_quot_3B00_/" /></entry><entry><title>How to get back the SharePoint WebServices applicaion in IIS if deleted, SharePoint 2010</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2011/05/14/how-to-get-back-the-sharepoint-webservices-applicaion-in-iis-if-deleted-sharepoint-2010.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2011/05/14/how-to-get-back-the-sharepoint-webservices-applicaion-in-iis-if-deleted-sharepoint-2010.aspx</id><published>2011-05-13T22:28:01Z</published><updated>2011-05-13T22:28:01Z</updated><content type="html">&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2eb88f56-040b-4502-9fc0-8f42af1d8e24" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Sharepoint+2010" rel="tag"&gt;Sharepoint 2010&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Sharepoint+WebService+Application" rel="tag"&gt;Sharepoint WebService Application&lt;/a&gt;,&lt;a href="http://technorati.com/tags/web+service" rel="tag"&gt;web service&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;font face="time"&gt;In SharePoint 2010, if you have deleted or some how removed the Sharepoint Webservice site unknowingly.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="time"&gt;its hard to get it back, in spite of running psconfig we would not able to get the SharePoint Webservice back.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="time"&gt;It is the same SharePoint webservice application which we see in Sharepoint 2007&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="time"&gt;Here is is powershell script which can help us to get all the running service back under IIS with their GUID.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font face="ti"&gt;&lt;code&gt;$webservice = [System.Type]::GetType(&amp;quot;Microsoft.SharePoint.Administration.SPIisWebServiceSettings, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;quot;)&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;$Instance = $webservice::Default&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;font face="ti"&gt;$Method = $werbservice.GetMethod(&amp;quot;ProvisionLocal&amp;quot;, &amp;quot;Instance, NonPublic&amp;quot;, $null, @(), $null) &lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;$Method.Invoke($Instance, $null)&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="ti"&gt;&lt;code&gt;$Method = $webservice.GetMethod(&amp;quot;Provision&amp;quot;, &amp;quot;Instance, Public&amp;quot;, $null, @(), $null)        &lt;br /&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;$Method.Invoke($Instance, $null)&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;Once we are done with about script we should have “SharePoint Web Service” under IIS with only few information.&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;now we need to get all the respective VD in IIS.&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;code&gt;&lt;font face="ti"&gt;Get-SPServiceApplication | ForEach-Object {$_.Provision()}&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="ti"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="ti"&gt;Above steps should helps us to get the missing VD and Sharepoint Webservice back in IIS.&lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3429146" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Invalid search result URLs prevent items from being opened in IIS7 based servers</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/vinitt/archive/2011/03/12/invalid-search-result-urls-prevent-items-from-being-opened-in-iis7-based-servers.aspx" /><id>http://blogs.technet.com/b/vinitt/archive/2011/03/12/invalid-search-result-urls-prevent-items-from-being-opened-in-iis7-based-servers.aspx</id><published>2011-03-12T07:24:01Z</published><updated>2011-03-12T07:24:01Z</updated><content type="html">&lt;p&gt;When we have discussion list to store many C++ related topics.&amp;#160; Many list items use &amp;quot;C++&amp;quot; as part of their title.    &lt;br /&gt;After performing a search of the &amp;quot;C++&amp;quot; keyword in the search centre the results' links for items with C++ in their title.&amp;#160; We a user clicks on the link&amp;#160; he get the &amp;quot;404 error&amp;quot; because the target page cannot be opened.&amp;#160; &lt;/p&gt;  &lt;p&gt;Example of search result URL that fails    &lt;br /&gt;&lt;a href="http://xxx/Lists/hello/this%20du%20C%20et%20du%20C++%20by%20test"&gt;http://xxx/Lists/hello/this%20du%20C%20et%20du%20C++%20by%20test&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;Why this happens :&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;The URL from the search result page does not encode the &amp;quot;++&amp;quot;.&amp;#160; &lt;/p&gt;  &lt;p&gt;IIS 7 by default blocks any url which has special character like “++” in them.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;How to fix it:&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Applications that require the use of the “+” character in the URL path can disable this validation by setting the allowDoubleEscaping attribute in the system.webServer/security/requestFiltering&amp;#160; configuration section in the application’s web.config.&amp;#160; However, this may make your application more vulnerable to malicious URLs:&lt;/p&gt;  &lt;p&gt;&amp;lt;system.webServer&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;security&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;requestFiltering allowDoubleEscaping=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/security&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;/system.webServer&amp;gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:862e589f-e608-4d52-bce0-9f18c07d0cf5" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/%22%2b%2b%22+special+character" rel="tag"&gt;&amp;quot;++&amp;quot; special character&lt;/a&gt;,&lt;a href="http://technorati.com/tags/IIS7" rel="tag"&gt;IIS7&lt;/a&gt;,&lt;a href="http://technorati.com/tags/allowdoubleescaping" rel="tag"&gt;allowdoubleescaping&lt;/a&gt;,&lt;a href="http://technorati.com/tags/%22404+error%22" rel="tag"&gt;&amp;quot;404 error&amp;quot;&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3412234" width="1" height="1"&gt;</content><author><name>vinitvt</name><uri>http://blogs.technet.com/Vinitt/ProfileUrlRedirect.ashx</uri></author></entry></feed>