<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Microsoft Tech Blogs</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/ketaanhs/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/ketaanhs/feed.xml</link>
    <description>These are blogs on various products that Microsoft has and I have worked on :)</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:23:15 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Weird Webpart Error on one WFE</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/weird-webpart-error-on-one-wfe</link>
      <pubDate>Wed, 12 Jun 2013 08:36:36 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2013/06/12/weird-webpart-error-on-one-wfe/</guid>
      <description><![CDATA[Hey All,
So I was working with my customer and suddenly in one of the environment with SharePoint...]]></description>
      <content:encoded><![CDATA[<p>Hey All,</p>
<p>So I was working with my customer and suddenly in one of the environment with SharePoint 2010 we saw some weird webpart error on one of our Pages and further debugging revealed that only one Web Front End was having the issue and other Front ends were working fine.</p>
<p>The error we looked thru ULS and found that :</p>
<p>Error while<br />executing web part: System.Exception: ResolveToken returned unexpected object type.&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.Xslt.MethodCollection.MethodDescription.SetCode(DynamicILInfo ilInfo, Int32[] fixup, Byte[] ilCode, Byte[] ehTable, Int32 maxStackSize,<br />MethodCollection methodColl)&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.Xslt.MethodCollection.MethodDescription.DefineDynamicMethod(DynamicMethod dm, MethodCollection methodColl)&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.Xslt.MethodCollection.CreateDynamicMethods()&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at Microsoft.Xslt.MethodCollection.GetMethodInfoInternal(Int32<br />methodNumber)&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.Xslt.MethodCollection.GetMethodInfo(Int32<br />methodNumber)&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.Xslt.STransform.GetCompiledTransform()&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.SharePoint.WebPartPages.BaseXsltListWebPart.LoadXslCompiledTransform(WSSXmlUrlResolver<br />someXmlResolver)&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform()&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;at<br />Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean<br />bDeferExecuteTransform)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Tried to look around stuff and found nothing in the ULS log or even on the SQL Server permissioning, so finally out of curiosity just recycled the App-Pool for that web-application having the issue and that's it , it resolved the issue all WFEs now in good shape.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Document Set Site-collection restore to non-root site collection errors File not found</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/document-set-site-collection-restore-to-non-root-site-collection-errors-file-not-found</link>
      <pubDate>Wed, 10 Oct 2012 06:01:10 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2012/10/10/document-set-site-collection-restore-to-non-root-site-collection-errors-file-not-found/</guid>
      <description><![CDATA[So I was helping a friend of mine where he reported a problem about the restore:
He moved the site...]]></description>
      <content:encoded><![CDATA[<p>So I was helping a friend of mine where he reported a problem about the restore:</p>
<p>He moved the site collection from a top level site collection (<a href="https://camh-moss:6001">https://test-moss:6001</a>) to a path based site (<a href="https://portal.test.ca/ipo/">https://portal.test.ca/ipo/</a>) using powershell Restore-SPSite command. After the restore we are experience &lsquo;File not found&rsquo; error although we can see all files using Sharepoint Designer and also don&rsquo;t get error message in<br />the log.&nbsp;&nbsp;</p>
<p>Note:&nbsp;<br />following thread also talk about similar issues, where I posted the answer as well but thought I will blog it in case if someone needs it:</p>
<p><a href="https://social.technet.microsoft.com/Forums/en/sharepoint2010setup/thread/949c9bfd-be03-470e-832f-a415962b7248">https://social.technet.microsoft.com/Forums/en/sharepoint2010setup/thread/949c9bfd-be03-470e-832f-a415962b7248</a></p>
<p>&nbsp;<br />Answer:</p>
<ol>
<li><br />Check in the ULS log when you try to browse to the newly restored site collection, check if there is anything in ULS (enable verbose logging).</li>
<li><br />Open the site in SPD and open the _cts under All Files, open the Document set content type folder and then open the docsethomepage.aspx page (should be inside it). Now open this page in Advanced edit mode and check if you have any such tags &ldquo;/_controltemplates/&rdquo; strings with &ldquo;~/_controltemplates &ldquo; (Note: the difference <b>&ldquo;~&rdquo;</b>difference.&nbsp;So for e.g.:</li>
</ol>
<p><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;%@ Register TagPrefix="wssuc"TagName="LinksTable" src="https://blogs.msdn.com/_controltemplates/LinksTable.ascx" %&gt; </i></p>
<p>Should now look like &nbsp;&nbsp;&nbsp;&nbsp; <i>&lt;%@ Register TagPrefix="wssuc" TagName="LinksTable" src="~/_controltemplates/LinksTable.ascx" %&gt; </i></p>
<p>You should fine multiple such controltemplate entries replace all of them wth &ldquo;~&rdquo; before it and then save that page</p>
<p>&nbsp;</p>
<p>3. Once you have done that go to the <b>site content types</b> gallery and select the &ldquo;Document Set&rdquo; content type and go to its setting and then check the &ldquo;<b><i>Update the Welcome Page of Document Sets inheriting from this content type</i></b>&rdquo; checkbox &nbsp;and make sure to check the yes option for the Update all content types inheriting from this type.&nbsp;</p>
<p>Hopefully this should get you back in shape on the site collection, other thing you can check is the Master Page for that site collection as well.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint Error after migrating to SP 2010 from MOSS 2007 Item is no longer available</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/sharepoint-error-after-migrating-to-sp-2010-from-moss-2007-item-is-no-longer-available</link>
      <pubDate>Fri, 10 Aug 2012 06:33:06 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2012/08/10/sharepoint-error-after-migrating-to-sp-2010-from-moss-2007-item-is-no-longer-available/</guid>
      <description><![CDATA[We migrated our SharePoint 2007 WCM Publishing site collection to SP 2010 and we used DB attach in...]]></description>
      <content:encoded><![CDATA[<p>We migrated our SharePoint 2007 WCM Publishing site collection to SP 2010 and we used DB attach in this process. Most of the list made it to SP 2010 gracefully but some of the lists created some issues for us and we started getting this error on the ECB menu "The item is no longer available. It may have been deleted by another user.". Did some BING.com but the only suggestions we got were that open SharePoint designer and open the default view (AllItems.aspx) and select the Listview webpart on that page and delete that add the Dataview webpart from the Insert Menu in the ribbon, save the Page and try to browse.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/4401.Pic1.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-51-60/4401.Pic1.gif"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/4401.Pic1.gif" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-51-60/4401.Pic1.gif" /></a></p>
<p>When we browse to that List again to my surpirse the default View disappears and is not even visible in the list of default views (List settings). But when I open the list in SharePoint Designer I can see the list for (AllItems.aspx) there. So after some rumbling with powershell and List Object model I found that whenever we save the default view by changing the Listview to XSLT Listview webpart (to get the checkbox and ECB to work) the AllItems.aspx form is marked hidden. So to solve this issue I used a very simply powershell and got this one to work (now the List view shows up in the List settings as default view and also it is visible)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/4137.Pic2.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-51-60/4137.Pic2.gif"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/4137.Pic2.gif" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-51-60/4137.Pic2.gif" /></a></p>
<p>I don&rsquo;t know why but as soon as<br />we modify the view using SPD it just marks the view as hidden, I used following<br />powershell to fix it and get the view back:</p>
<p>&nbsp;</p>
<p>$sitecoll = get-SpSite (<a href="https://mysitecollectioname.company.com">https://mysitecollectioname.company.com</a>);</p>
<p>//Make sure the List name is correct</p>
<p>$list =$sitecoll.RootWeb.Lists["MyListName"] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;</p>
<p>// Make sure the View Name is correct some lists might have a different<br />view name and sometimes the view name is &ldquo;<b><i>All Items</i></b>&rdquo; with a space<br />not &ldquo;<b><i>AllItems</i></b>&rdquo;<br /><br />$view2 = $list.Views["AllItems"] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>$view2.DefaultView =<br />$True&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /><br /><b>$view2.Hidden = $False</b><br /><br />$view2.Update()</p>
<p>&nbsp;</p>
<p>Hope this helps someone in future in case if you dont see the checkboxes or you dont see the ECB menu working and giving you javascript error.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Content Type Hub and Content Type Inheritance</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/content-type-hub-and-content-type-inheritance</link>
      <pubDate>Fri, 15 Jun 2012 00:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2012/06/15/content-type-hub-and-content-type-inheritance/</guid>
      <description><![CDATA[I was trying to find details on why my out of the box Content Types (Publishing Pages, etc.) were...]]></description>
      <content:encoded><![CDATA[<p>I was trying to find details on why my out of the box Content Types (Publishing Pages, etc.) were getting wiped (removed) whenever I was deploying my content types which were inheriting from a Parent content type that was deployed on the content type hub but the wsp not being deployed on the Content Farm. Here was my question and the answer I got from my colleague <a title="Sowmyan Soman" href="https://blogs.msdn.com/b/sowmyancs/"><strong>Sowmyan Soman</strong> </a>thought of sharing with the wide word :) so you dont waste a lot of time and get to the next step ;-).</p>
<p><em><strong>Question:-</strong></em></p>
<p>We have deployed a content type to Content Type Hub (CT1) thru a wsp and now we have 2 more content types which are derived from that content type (CT1). Content type hub is in different farm so wsp is deployed there and the consuming Farm doesn't have that wsp but the other 2 content types (CT2 and CT3) are deployed thru wsp to the Content Farm.&nbsp;</p>
<p>So basically</p>
<p>1. Content Type Hub Farm contains one wsp with CT1</p>
<p>2. Content Farm contains one wsp with CT2 and CT3 (so no wsp for CT1 on this farm)&nbsp;</p>
<p><span style="color: #ff0000;">Now whenever the CT2 and CT3 wsp is deployed to the content Farm all the Publishing content type (out of the box) are not displayed in the content type gallery. But when I deploy the wsp for CT1 to the Content Farm everything comes back to normalcy, so I am not sure if the CT1 wsp needs to be deployed to the Content Farm as well?</span></p>
<p><strong>&nbsp;Answer:-</strong></p>
<p><span style="color: #008000;"><strong>CT1 wsp has to be deployed to the content farm, as the Content Type Hub-Subscriber thing uses the content deployment (API) behind the scene, so any custom stuffs has to be there in the target.&nbsp; Exceptions can be visible in the ULS Logs (for the Subscriber Timer Job) in your Content Farm.</strong></span></p>]]></content:encoded>
    </item>
    <item>
      <title>MOSS_Export phase FIM Full Sync Eats up all Memory</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/moss_export-phase-fim-full-sync-eats-up-all-memory</link>
      <pubDate>Thu, 31 May 2012 20:51:40 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2012/05/31/moss_export-phase-fim-full-sync-eats-up-all-memory/</guid>
      <description><![CDATA[Keywords for search:-&nbsp; SharePoint 2010; MOSS_Export; Full Sync; Out of Memory; FIM;
Hello...]]></description>
      <content:encoded><![CDATA[<p>Keywords for search:-&nbsp; SharePoint 2010; MOSS_Export; Full Sync; Out of Memory; FIM;</p>
<p>Hello All,</p>
<p>I have been struggling with the FULL Sync for USer Profile Application for last 2-3 weeks and all the time the Memory on the Server was peaking out, we added RAM to the Servers thinking we were running low on the RAM for App Server we went from 8GB to 32GB RAM the max on the Windows Server 2008 R2 Standard box. I tried to find all possible causes and was really not able to find out things yes there were few things on the planning side which also went wrong and hence I decided to write this blog. Let me get to the core things:-</p>
<p>What you&nbsp;should advance plan:-</p>
<p>1. Make sure All the Active Directory connections and EXCLUSION Filters for those are correct. PLEASE EXECUTE ADSI QUERIES to find the exact number of accounts returned. THIS IS VERY IMPORTANT planning phase. Work with you AD team to get this done, make sure the Filters to be applied are with correct AND or OR condition as the results change vastly.</p>
<p>2. Make sure Hardware planning is done properly and you have planned for enough resources for the UPA Sync. I would recommend minimum of 16GB of RAM for UPA Sync server. Yes you can run the UPA service on more than one box and UPA Sync on only one box.</p>
<p>3. Make sure the DOP (Degree of Parallelism) on SQL Server for SharePoint value is set to 1 this is important guidance from MICROSOFT and should be followed.</p>
<p>4. PLEASE PLEASE PLEASE while planning for UPA start in advance way in advance and start running POCs I would say atleast a month before your PROD go live, the FULL Sync is improved in SP 2010 and it takes a little longer than in SharePoint 2007 and you might hit road blocks so please plan in advance.</p>
<p>5. PLEASE rely 100% on ULS logs... yes it contains everything and it is your torch light for everything... it has helped me a lot.</p>
<p>Now coming to my Memory Leak issue, where the Memory was spiking up to the max available on the server (32GB) in my case, all the other phases in the Full Sync job go well i.e. DS_FullImport, DS_FullSync, MOSS_FullSync all go well it is only the last stage which is MOSS_Export which is putting the Profiles in SharePoint 2010 is the one getting affected.&nbsp; So after spending almost 2-3 weeks on this I couldn't find the reason, yes I worked with the Microsoft Premier support and they took the Memory dump during the Memory spike up and told me that somehow the MMS store was getting pulled into the Memory and the cache was building up.</p>
<p>So finally l opened the ULS logs (LIVE) when the MOSS_Export was going on and found lots of these exceptions:</p>
<p><span lang="EN"><span lang="EN">&nbsp;</span></span></p>
<p><em><span style="color: #800000;" color="#800000">Exception while updating properties for ''northamerica\kanyadas': <span style="background-color: #ffff00;">Property: SPS-ProxyAddresses,</span> Exception System.ArgumentException: The value 'X400:c=US;a= ;p=SCHP;o=Hub-Americas;s=srvdasilcla;g=CustomNamed;' is invalid. It probably contains invalid characters or is too long. Parameter name: termLabel </span></em></p>
<p><em><span style="color: #800000;" color="#800000">at Microsoft.SharePoint.Taxonomy.Internal.CommonValidator.ValidateName(String name, String parameterName) </span></em></p>
<p><em><span style="color: #800000;" color="#800000">at Microsoft.SharePoint.Taxonomy.TermSet.GetTerms(String termLabel, Boolean trimUnavailable) </span></em></p>
<p><em><span style="color: #800000;" color="#800000">at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.ValidatedTaxonomicValue(CoreProperty prop, Object value) </span></em></p>
<p><em><span style="color: #800000;" color="#800000">at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.ValidatedSingleValue(Object value, ProfileSubtypeProperty prop, PropertyDataType propDataType, UserFormat userFormat, UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID, SiteContext si) </span></em></p>
<p><em><span style="color: #800000;" color="#800000">at Microsoft.Office.Server.UserProfiles.UserProfile.BulkPropertiesUpdate(Int64 importExportId, Hashtable properties, String strAccountName).</span></em></p>
<p>&nbsp;</p>
<p>Note the highlighting (yellow) yes the SPS-ProxyAddresses is a multi-value string and we had mapped it to ProxyAddresses field (As the way it was in 2010) and because it is multivalue string it was trying to validate things with TermStore (Enterprise Keywords) before adding and that was causing the Memory cache to be build (we had 5 AD connections so 5 mappings for each Profile Property). One of my colleagues helped me understand the Importance of this field (SPS-ProxyAddreses) w.r.t. SharePoint 2010 and following was it:- SharePoint only imports proxyAddresses to extract the SIP address and not to actually use the proxyAddresses. But in our case we had already mapped our SIP Address feild to AD field EMAIL ADDRESS so we really didnt rely on it much. So we went ahead and removed the SPS-ProxyAddresses mapping that we had done to ProxyAddresses Feild and we re-ran the Full Sync and viola after 3 days of running into Full Sync MOSS Export stage started and THANK GOD the MEMORY SPIKES WERE GONE :-) :-).</p>
<p>My only BIG Adivce to you all is please please rely on the ULS Logs to show you the path and also please plan ahead for UPA Sync way way way ahead I would say. Check your mappings try to compare it with the out of the box UPA mappings and make sure all are in inline. This will help you save a lot of time and lot of customers would appreciate that. In the end please don't forget to read <a title="Spencer's blogs" href="https://www.harbar.net/">Spencer's blogs</a> about UPA they are concise and very helpful. Also I would like to thank Spencer Harbar as all along he helped me a lot with some good advice so thank you buddy!!!.</p>]]></content:encoded>
    </item>
    <item>
      <title>The server method ValidateTerms failed on EditProfile Page</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/the-server-method-validateterms-failed-on-editprofile-page</link>
      <pubDate>Wed, 04 Apr 2012 03:02:00 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2012/04/04/the-server-method-validateterms-failed-on-editprofile-page/</guid>
      <description><![CDATA[We have a content Farm and Enterprise Services (ESS) Farm (where UPA is hosted), content Farm...]]></description>
      <content:encoded><![CDATA[<p>We have a content Farm and Enterprise Services (ESS) Farm (where UPA is hosted), content Farm consumes UPA from ESS farm (all SharePoint 2010 obviously)</p>
<p>Whenever we try to load a Edit Profile Page it gives an error:</p>
<p>&nbsp;</p>
<p>Error:</p>
<p><strong><em>&ldquo;The server method &lsquo;</em><i>ValidateTerms</i><em>&rsquo; failed&rdquo;</em></strong><i><br /><strong><em>&ldquo;The server method &ldquo;GetMatches&rdquo; failed</em></strong><br /><br /></i>This error seems to be like coming from Javascript (out of the box) and when I tried to trace it with Fiddler I see&nbsp;Following requests which go as 404 but when you take a look at the Inspector section of the Fidller I could see the data was making it thru but was not showing up on the Page:-</p>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td>
<p align="center"><b>#</b></p>
</td>
<td>
<p align="center"><b>Result</b></p>
</td>
<td>
<p align="center"><b>Protocol</b></p>
</td>
<td>
<p align="center"><b>Host</b></p>
</td>
<td>
<p align="center"><b>URL</b></p>
</td>
<td>
<p align="center"><b>Body</b></p>
</td>
<td>
<p align="center"><b>Caching</b></p>
</td>
<td>
<p align="center"><b>Content-Type</b></p>
</td>
<td>
<p align="center"><b>Process</b></p>
</td>
<td>
<p align="center"><b>Comments</b></p>
</td>
<td>
<p align="center"><b>Custom</b></p>
</td>
</tr>
<tr>
<td>
<p><em>133</em></p>
</td>
<td>
<p><em>404</em></p>
</td>
<td>
<p><em>HTTP</em></p>
</td>
<td>
<p><em>mysite-pstg.abcd.com</em></p>
</td>
<td>
<p><em>/_vti_bin/TaxonomyInternalService.json/ValidateTerms</em></p>
</td>
<td>
<p><em>0</em></p>
</td>
<td></td>
<td></td>
<td>
<p><em>iexplore:1308</em></p>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<p><em>134</em></p>
</td>
<td>
<p><em>404</em></p>
</td>
<td>
<p><em>HTTP</em></p>
</td>
<td>
<p><em>mysite-pstg.abcd.com</em></p>
</td>
<td>
<p><em>/_vti_bin/TaxonomyInternalService.json/ValidateTerms</em></p>
</td>
<td>
<p><em>0</em></p>
</td>
<td></td>
<td></td>
<td>
<p><em>iexplore:1308</em></p>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<p><em>135</em></p>
</td>
<td>
<p><em>404</em></p>
</td>
<td>
<p><em>HTTP</em></p>
</td>
<td>
<p><em>mysite-pstg.abcd.com</em></p>
</td>
<td>
<p><em>/_vti_bin/TaxonomyInternalService.json/ValidateTerms</em></p>
</td>
<td>
<p><em>0</em></p>
</td>
<td></td>
<td></td>
<td>
<p><em>iexplore:1308</em></p>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&nbsp;Solution:</p>
<p><span style="color: black;">To keep everyone updated the issue was resolved, the JSON handler entry in the web.config (of our Mysite web-app as we were accessing EditProfile page from mysite) was missing and hence the errors.</span></p>
<p><span style="color: black;">After adding that entry everything started showing up.</span></p>
<p><span style="color: black;"></span>&nbsp;<span style="color: black;"><span style="color: #800000;" color="#800000"><em>&lt;add name="JSONHandlerFactory" path="*.json" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" /&gt;</em></span></span></p>
<p><span style="color: black;"></span>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>AssociatedOwnerGroup in SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/associatedownergroup-in-sharepoint</link>
      <pubDate>Fri, 01 Jul 2011 19:35:19 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2011/07/01/associatedownergroup-in-sharepoint/</guid>
      <description><![CDATA[Every Site has 3 Site Groups that are associated Site Groups: Visitors (AssociatedVisitorsGroup),...]]></description>
      <content:encoded><![CDATA[<p>Every Site has 3 Site Groups that are associated Site Groups: Visitors (AssociatedVisitorsGroup<a href="https://social.technet.microsoft.com/Forums/en-SG/sharepoint2010programming/thread/4a06c6d3-7670-4d8a-a048-10607a279760?outputAs=rss" rel="nofollow"><img class="icon rss" src="https://i4.social.s-msft.com/Forums/resources/images/trans.gif?cver=1864.772%0d%0a" /></a>), Members (AssociatedMemberGroup)<a href="https://social.technet.microsoft.com/Forums/en-SG/sharepoint2010programming/thread/4a06c6d3-7670-4d8a-a048-10607a279760?outputAs=rss" rel="nofollow"><img class="icon rss" src="https://i4.social.s-msft.com/Forums/resources/images/trans.gif?cver=1864.772%0d%0a" /></a>&nbsp;and Owners(AssociatedOwnerGroup<a href="https://social.technet.microsoft.com/Forums/en-SG/sharepoint2010programming/thread/4a06c6d3-7670-4d8a-a048-10607a279760?outputAs=rss" rel="nofollow"><img class="icon rss" src="https://i4.social.s-msft.com/Forums/resources/images/trans.gif?cver=1864.772%0d%0a" /></a>). These are the 3 types of groups associated with any SPWeb. Now if at all you are using AssociatedOwnerGroup<a href="https://social.technet.microsoft.com/Forums/en-SG/sharepoint2010programming/thread/4a06c6d3-7670-4d8a-a048-10607a279760?outputAs=rss" rel="nofollow"><img class="icon rss" src="https://i4.social.s-msft.com/Forums/resources/images/trans.gif?cver=1864.772%0d%0a" /></a>&nbsp;property of SPWeb programmatically in the code and its necessary that theses 3 groups (i.e. Visitors, Members and Owners) are associated with an SPWeb. The association can be checked in the following People and Groups as shown below. If the the association of these 3 groups is not there then if you check programmatically for the AssociatedOwnerGroup property of the SPWeb it would not return any results and your code might fail even after having users with Site Owners (or Full Control permission to say), as having groups with Full Control permissions are still not the AssociatedOwnerGroup or AssociatedVisitorGroup/AssociatedMemberGroup. So remember if you are checking of any Associated Groups of SPWeb first have them created and associated with the site itself as shown below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/7608.pic1.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-51-60/7608.pic1.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/7608.pic1.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-51-60/7608.pic1.jpg" /></a>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Page class SP 2010 Sandbox Solution</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/page-class-sp-2010-sandbox-solution</link>
      <pubDate>Thu, 23 Jun 2011 08:06:28 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2011/06/23/page-class-sp-2010-sandbox-solution/</guid>
      <description><![CDATA[We were trying some simple code in SharePoint 2010 and with a Sandboxed solution, the same code...]]></description>
      <content:encoded><![CDATA[<p>We were trying some simple code in SharePoint 2010 and with a Sandboxed solution, the same code worked fine with Farm solution but didnt work with Sandbox solution. After doing some debugging we found that from the following code the following lines never worked:</p>
<p><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Page.ClientScript.RegisterStartupScript(GetType(), "MyuniqueGUID", xml, true);</b></p>
<p><b>&nbsp;</b><span style="font-family: Consolas; color: #2b91af; font-size: 10pt;">ScriptManager</span><span style="font-family: Consolas; font-size: 10pt;">.RegisterStartupScript(<span style="color: blue;">this</span>, GetType(),</span> <span style="font-family: Consolas; color: #2b91af; font-size: 10pt;">Guid</span><span style="font-family: Consolas; font-size: 10pt;">.NewGuid().ToString()&nbsp; ,</span> <span style="font-family: Consolas; color: #a31515; font-size: 10pt;">"alert('hello baby');"</span><span style="font-family: Consolas; font-size: 10pt;">,</span> <span style="font-family: Consolas; color: blue; font-size: 10pt;">true</span><span style="font-family: Consolas; font-size: 10pt;">);&nbsp; </span></p>
<p><span style="font-family: Consolas; font-size: 10pt;"></span><o:p><span style="font-family: Consolas; font-size: 10pt;"></span></o:p>&nbsp;</p>
<p><o:p><span style="font-family: Consolas; font-size: 10pt;"></span></o:p>&nbsp;</p>
<p><o:p><span style="font-family: Consolas; font-size: 10pt;">Code that is not working in SANDBOX:</span></o:p></p>
<p>protected void Page_Load(object sender, EventArgs e)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _nodeSelection.EnableViewState = false;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _publish.Click += HandlePublishClick;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // TODO: Do validation here and write out error if no values for the key fields.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int itemID = int.Parse(HttpContext.Current.Request.QueryString["ItemID"]);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Guid listID = new Guid(HttpContext.Current.Request.QueryString["ListId"]);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _document = new Document(Convert.ToInt32(itemID), listID);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _documentName.Text = _document.Name;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string xml = string.Format(@"var __xml = ""&lt;root&gt;&lt;item id='n1' parent_id='0' state='open'&gt;&lt;content&gt;&lt;name&gt;1 TITLE PAGE &lt;/name&gt;&lt;/content&gt;&lt;/item&gt;&lt;item id='n2' parent_id='0' state='open'&gt;&lt;content&gt;&lt;name&gt;TRIAL DESIGN&lt;/name&gt;&lt;/content&gt;&lt;/item&gt;&lt;item id='n2-1' parent_id='n2' state='closed'&gt;&lt;content&gt;&lt;name&gt;Trial Design&lt;/name&gt;&lt;/content&gt;&lt;/item&gt;&lt;/root&gt;"";");</p>
<p><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Page.ClientScript.RegisterStartupScript(GetType(), "MyuniqueGUID", xml, true);</b></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>So after some debugging and talking to some folks internally @ Microsoft we found following two things:</p>
<p>1. The Page class is not available in a sandbox solution.</p>
<p>2. System.Web.UI.ClientScriptManager is not supported In the sandbox.</p>
<p>So then Paul Stubb provided a sample on how this can be worked around and Sowmyan was kind enough to share it with us, following is the sample code:</p>
<p>namespace ClientOMProject.ListOperationsVisualWebPart {</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Text.RegularExpressions;</p>
<p>&nbsp;&nbsp;&nbsp; using Microsoft.SharePoint.WebPartPages;</p>
<p>&nbsp;&nbsp;&nbsp; using Microsoft.SharePoint.WebControls;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.Security;</p>
<p>&nbsp;&nbsp;&nbsp; using Microsoft.SharePoint.Utilities;</p>
<p>&nbsp;&nbsp;&nbsp; using System;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Collections;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Collections.Specialized;</p>
<p>&nbsp;&nbsp;&nbsp; using Microsoft.SharePoint;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.UI;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.Profile;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Text;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.Caching;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.UI.WebControls;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Configuration;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.UI.WebControls.WebParts;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.SessionState;</p>
<p>&nbsp;&nbsp;&nbsp; using System.Web.UI.HtmlControls;</p>
<p>&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;public partial class ListOperationsVisualWebPart {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public static implicit operator global::System.Web.UI.TemplateControl(ListOperationsVisualWebPart target)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return target == null ? null : target.TemplateControl;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void @__BuildControlTree(global::ClientOMProject.ListOperationsVisualWebPart.ListOperationsVisualWebPart @__ctrl) {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"</p>
<p>&nbsp;</p>
<p>&lt;script src=""/SiteAssets/ListOperations.js"" type=""text/javascript""&gt;&lt;/script&gt;</p>
<p>&nbsp;</p>
<p>&lt;script language=""javascript"" type=""text/javascript""&gt;</p>
<p>// &lt;![CDATA[</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; function CreateButton_onclick() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CreateList();</p>
<p>&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; function AddButton_onclick() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddListItem();</p>
<p>&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; function ReadButton_onclick() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReadListItem();</p>
<p>&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; function UpdateButton_onclick() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UpdateListItem();</p>
<p>&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; function DeleteButton_onclick() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DeleteListItems();</p>
<p>&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; // ]]&gt;</p>
<p>&lt;/script&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&lt;p&gt;&lt;input id=""CreateButton"" type=""button"" value=""Create List""</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=""width: 150px"" onclick=""CreateButton_onclick()"" /&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;input id=""AddButton"" type=""button"" value=""Add List Item""</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=""width: 150px"" onclick=""AddButton_onclick()"" /&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;input id=""ReadButton"" type=""button"" value=""Read List Item""</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=""width: 150px"" onclick=""return ReadButton_onclick()"" /&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;input id=""UpdateButton"" type=""button"" value=""Update List Item""</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=""width: 150px"" onclick=""return UpdateButton_onclick()"" /&gt;&lt;/p&gt;</p>
<p>&lt;p&gt;&lt;input id=""DeleteButton"" type=""button"" value=""Delete List Item""</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=""width: 150px"" onclick=""return DeleteButton_onclick()"" /&gt;&lt;/p&gt;</p>
<p>&nbsp;</p>
<p>"));</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private void InitializeControl() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:this.@__BuildControlTree(this)">this.@__BuildControlTree(this)</a>;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.Load += new global::System.EventHandler(this.Page_Load);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//CALL THE InitializeControl() above method in the onInit() of the webpart code</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected virtual object Eval(string expression) {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return global::System.Web.UI.DataBinder.Eval(this.Page.GetDataItem(), expression);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected virtual string Eval(string expression, string format) {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return global::System.Web.UI.DataBinder.Eval(this.Page.GetDataItem(), expression, format);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;&nbsp;&nbsp; }</p>
<p>}</p>
<p>&nbsp;</p>
<p>Hope that helps someone save some time.&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Sharepoint 2007 DirectoryNotFoundException</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/sharepoint-2007-directorynotfoundexception</link>
      <pubDate>Wed, 14 Jul 2010 14:37:00 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2010/07/14/sharepoint-2007-directorynotfoundexception/</guid>
      <description><![CDATA[Yesterday we were working on one of the site-collection and it was having some issues on the...]]></description>
      <content:encoded><![CDATA[<p>Yesterday we were working on one of the site-collection and it was having some issues on the performance side, although we did all the required Performance tunning stuff, we couldnt get it to perform. Also that was in the Stage environment so finally we decided to Create the web-app again and then attach the content databse (old that has this site collection), so we did all the needed steps for creating the web-app and deploying the solutions again and the web-app was up but then whenver we tried to access the Site Collection we would get FileNotFoundExceptions or the DirectoryNotFoundException. Details of the Message here:</p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><i><span style="color: #c00000;">File Not Found.&nbsp;&nbsp; at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWeb(String bstrUrl, String&amp; pbstrServerRelativeUrl, String&amp; pbstrTitle, String&amp; pbstrDescription, Guid&amp; pguidID, String&amp; pbstrRequestAccessEmail, UInt32&amp; pwebVersion, Guid&amp; pguidScopeId, UInt32&amp; pnAuthorID, UInt32&amp; pnLanguage, UInt32&amp; pnLocale, UInt16&amp; pnTimeZone, Boolean&amp; bTime24, Int16&amp; pnCollation, UInt32&amp; pnCollationLCID, Int16&amp; pnCalendarType, Int16&amp; pnAdjustHijriDays, Int16&amp; pnAltCalendarType, Boolean&amp; pbShowWeeks, Int16&amp; pnFirstWeekOfYear, UInt32&amp; pnFirstDayOfWeek, Int16&amp; pnWorkDays, Int16&amp; pnWorkDayStartHour, Int16&amp; pnWorkDayEndHour, Int16&amp; pnMeetingCount, Int32&amp; plFlags, Boolean&amp; bConnectedToPortal, String&amp; pbstrPortalUrl, String&amp; pbstrPortalName, Int32&amp; plWebTemplateId, Int16&amp; pnProvisionConfig, String&amp; pbstrDefaultTheme, String&amp; pbstrDefaultThemeCSSUrl, String&amp; pbstrAlternateCSSUrl, String&amp; pbstrCustomizedCssFileList, String&amp; pbstrCustomJSUrl, String&amp; pbstrAlternateHeaderUrl, String&amp; pbstrMasterUrl, String&amp; pbstrCustomMasterUrl, String&amp; pbstrSiteLogoUrl, String&amp; pbstrSiteLogoDescription, Object&amp; pvarUser, Boolean&amp; pvarIsAuditor, UInt64&amp; ppermMask, Boolean&amp; bUserIsSiteAdmin, Boolean&amp; bHasUniquePerm, Guid&amp; pguidUserInfoListID, Guid&amp; pguidUniqueNavParent, Int32&amp; plSiteFlags, DateTime&amp; pdtLastContentChange, DateTime&amp; pdtLastSecurityChange, String&amp; pbstrWelcomePage) </span></i><span style="color: black;"><o:p></o:p></span></span></span></p>
<p class="MsoNormal"><span style="color: black;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;OR</span></span></span></p>
<p class="MsoNormal"><span style="color: black;"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #993300;"><em>System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Usage <br />Analysis Logs'.<br />at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br />at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, <br />DirectorySecurity dirSecurity)<br />at System.IO.DirectoryInfo.Create(DirectorySecurity directorySecurity)<br />at <br />Microsoft.<span class="KeywordHighlight" id="#h18">SharePoint</span>.Administration.SPProvisioningAssistant.CreateDirectory(Director<br />yInfo di, Boolean secureAdminAccess)<br />at Microsoft.<span class="KeywordHighlight" id="#h19">SharePoint</span>.Administration.SPServer.CreateDirectory(String path, <br />Boolean secureAdminAccess)<br />at Microsoft.<span class="KeywordHighlight" id="#h20">SharePoint</span>.Administration.SPServer.CreateDirectory(String path)<br />at <br />Microsoft.<span class="KeywordHighlight" id="#h21">SharePoint</span>.Administration.SPUsageSettings.EnsureLogFileDirectories(SPFarm <br />farm)<br />at Microsoft.<span class="KeywordHighlight" id="#h22">SharePoint</span>.Administration.SPWebApplication.Provision()<br />at Microsoft.<span class="KeywordHighlight" id="#h23">SharePoint</span>.Administration.SPWebServiceInstance.Provision()<br />at Microsoft.<span class="KeywordHighlight" id="#h24">SharePoint</span>.Administration.SPFarm.Join()<br />at <br />Microsoft.<span class="KeywordHighlight" id="#h25">SharePoint</span>.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnec<br />tConfigDb()<br />at Microsoft.<span class="KeywordHighlight" id="#h26">SharePoint</span>.PostSetupConfiguration.ConfigurationDatabaseTask.Run()<br />at Microsoft.<span class="KeywordHighlight" id="#h27">SharePoint</span>.PostSetupConfiguration.TaskThread.ExecuteTask()<br /><o:p></o:p></em></span></span></span></span></p>
<p>To resolve this error we tried following things:</p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">1.We removed and added the same contentdb (restored the backup), but you i.e. basically we tried removing the original contentdb, and then re-added it n the web-app level using the Central Admin=&gt;Application&nbsp; Management=&gt;Content Databases. That also didnt help.</span><span style="color: black;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;"><span style="font-family: Calibri; font-size: small;">2.</span>&nbsp;Tried accessing /_layouts/viewlsts.aspx work. That also threw the same error.</span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">3.&nbsp;Tried accessing the</span><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">/_layouts/settings.aspx work. That also threw the same error.</span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">4. Checked all the solution files and they were also deployed properly and all artifacts were present on the file system.</span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;"></span></span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">Then after carefully looking at the error file not found appeared a file system error rather than a contentdb missing file error, so as Suggested by my colleague Andres Montenergo we checked if:<o:p></o:p></span></span></p>
<p>&nbsp;</p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">- There is a missing site definition or file, you might want to try running process monitor (procmon) while the problem happens and look for 'file not found' errors (filter the w3wp.exe process name).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">- The contentdb is corrupt. Using SQL Analyzer, try to see how the tables looks like (for instance if you see data in alldocs, etc).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;">- The configdb has a reference (an id) to an old site collection but the same path.<o:p></o:p></span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">And Finally it turned out that the GLOBAL.asax was missing and our site collection used some of the session used in that file, after fixing the Global.asax file our site collection was back up.</p>
<p class="MsoNormal">Hope this helps someone in case if you see any error like DirectoryNotFoundException or FileNotFound. Also A Big Thank you to Andres Montenegro as he sparked the idea to check the file system artifacts again.</p>
<p>&nbsp;</p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;"></span></p>
<p class="MsoNormal"><span style="font-family: 'Tahoma','sans-serif'; color: black; font-size: 10pt;"></span></p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2010 Remove the IE 6.0 warning</title>
      <link>https://docs.microsoft.com/archive/blogs/ketaanhs/sharepoint-2010-remove-the-ie-6-0-warning</link>
      <pubDate>Sat, 26 Jun 2010 14:30:48 GMT</pubDate>
      <dc:creator><![CDATA[Ketaanh Shah]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ketaanhs/2010/06/26/sharepoint-2010-remove-the-ie-6-0-warning/</guid>
      <description><![CDATA[Recently there was a question asked on our internal DL around removing the IE 6.0 warning that pops...]]></description>
      <content:encoded><![CDATA[<p>Recently there was a question asked on our internal DL around removing the IE 6.0 warning that pops up on the SharePoint 2010 site. Basic error message that we get is:</p>
<p><span style="font-family: terminal,monaco;"><span style="font-size: small;"><span style="color: #3366ff;">Your Web browser will have problems displaying this web page. Changes to the site may not function properly. For a better&nbsp; experience, please update your browser to its latest version.</span></span></span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/51/60/0820.IE6err.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-51-60/0820.IE6err.png" border="0" /></p>
<p>In case if you would like to remove this warning, just remov the following element from the Master Page:</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="color: #1f497d;"><span style="font-size: small;"><span style="color: #993300;"><strong><em>&lt;SharePoint:WarnOnUnsupportedBrowsers runat="server"/&gt;<o:p></o:p></em></strong></span></span></span></p>
<p>But all said you should try to upgrade the browsers to IE 8.0, its good and always better for rendering other stuff. Although this solutionis only to supress/remove the warning. Thanks to Jie Li for pointing this solution.</p>]]></content:encoded>
    </item>
  </channel>
</rss>