<?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>Nam's blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/namkh/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/namkh/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:31:15 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Submitting InfoPath forms anonymously</title>
      <link>https://docs.microsoft.com/archive/blogs/namkh/submitting-infopath-forms-anonymously</link>
      <pubDate>Wed, 11 Sep 2013 14:01:23 GMT</pubDate>
      <dc:creator><![CDATA[Namrata Khubchandani]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/namkh/2013/09/11/submitting-infopath-forms-anonymously/</guid>
      <description><![CDATA[&#160;  ISSUE:  &#160;  We know that SharePoint does not allow anonymous users to submit InfoPath...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><strong>ISSUE:</strong></p>  <p>&#160;</p>  <p>We know that SharePoint does not allow anonymous users to submit InfoPath forms to Form libraries. This feature is by design. But, there are several cases when we need anonymous users to log on to our SharePoint external-facing sites and submit request forms. In this case, the by-design behavior can act as a functionality-limitation. </p>  <p>&#160;</p>  <p><strong>CAUSE:</strong></p>  <p>&#160;</p>  <p>By design, SharePoint does not allow anonymous users to submit InfoPath forms.</p>  <p>&#160;</p>  <p><strong>SOLUTION.</strong></p>  <p>There is an excellent feature in SharePoint 2010 which allows us to customize SharePoint lists with InfoPath. Using this feature, we can customize our InfoPath form templates for the lists and have anonymous users submit forms to these lists.</p>  <p>It is a very easy to configure and solves the big problem in a few steps. Let me show you how:</p>  <p>&#160;</p>  <p>1. Create a SharePoint web application and site and configure anonymous access on the web application level:</p>  <p>Go to Central administration –&gt; application management –&gt; manage web application and select the web application.</p>  <p>Then click on authentication providers on the top ribbon.</p>  <p>Select authentication providers:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/4130.blog1_5347A289.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/4130.blog1_5F00_5347A289.png"><img title="blog1" style="display: inline;" border="0" alt="blog1" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/1057.blog1_thumb_4BBEC3CD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/1057.blog1_5F00_thumb_5F00_4BBEC3CD.png" width="495" height="211" /></a> </p>  <p>&#160;</p>  <p>Now, check the option to use “anonymous access”.</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/1004.blog2_1ABF1320.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/1004.blog2_5F00_1ABF1320.png"><img title="blog2" style="display: inline;" border="0" alt="blog2" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/6165.blog2_thumb_0159A097.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/6165.blog2_5F00_thumb_5F00_0159A097.png" width="495" height="520" /></a> </p>  <p>&#160;</p>  <p>2. Next , we need to configure anonymous access on the site level.</p>  <p>&#160;&#160; This can be done from site actions –&gt; site permissions on the site.</p>  <p>&#160;&#160; Select “entire web site”</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/8203.blog3_5302AB9A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/8203.blog3_5F00_5302AB9A.png"><img title="blog3" style="display: inline;" border="0" alt="blog3" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/7484.blog3_thumb_64E1D018.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/7484.blog3_5F00_thumb_5F00_64E1D018.png" width="504" height="158" /></a> </p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/4278.image_48D3A1DE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/4278.image_5F00_48D3A1DE.png"><img title="image" style="display: inline;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/3250.image_thumb_18402426.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/3250.image_5F00_thumb_5F00_18402426.png" width="507" height="372" /></a> </p>  <p>&#160;</p>  <p>this will enable us to browse to the site anonymously (you will see the “sign in” option on the top right corner of the site, instead of the user display name).</p>  <p>&#160;</p>  <p>When we are signed into the site, the display name is seen as :</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/8546.blog4_7C31F5EB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/8546.blog4_5F00_7C31F5EB.png"><img title="blog4" style="display: inline;" border="0" alt="blog4" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/0550.blog4_thumb_29B315AF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/0550.blog4_5F00_thumb_5F00_29B315AF.png" width="1281" height="84" /></a> </p>  <p>&#160;</p>  <p>For the anonymous site, we see “sign in” option:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/7737.blog5_6023C7B1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/7737.blog5_5F00_6023C7B1.png"><img title="blog 5" style="display: inline;" border="0" alt="blog 5" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/8741.blog5_thumb_0DA4E775.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/8741.blog5_5F00_thumb_5F00_0DA4E775.png" width="1294" height="90" /></a> </p>  <p>&#160;</p>  <p>&#160;</p>  <p>3. Next, let us create a new custom list on the SharePoint site and configure anonymous access on the new list, as needed.</p>  <p>&#160; Go to the list settings –&gt; list permissions and click on “stop inheriting permissions”.</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/0361.blog6_59071BEA.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/0361.blog6_5F00_59071BEA.png"><img title="blog6" style="display: inline;" border="0" alt="blog6" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/4035.blog6_thumb_23FD1D6B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/4035.blog6_5F00_thumb_5F00_23FD1D6B.png" width="836" height="293" /></a> </p>  <p>&#160;</p>  <p>Now, grant them anonymous access with add and view permissions (to know more about anonymous access and security related to anonymous access, please read <a href="https://office.microsoft.com/en-us/sharepoint-server-help/grant-permissions-to-anonymous-users-HA101805390.aspx" target="_blank">this</a>)</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/7041.blog7_47B8D5B6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/7041.blog7_5F00_47B8D5B6.png"><img title="blog7" style="display: inline;" border="0" alt="blog7" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/7506.blog7_thumb_44A677C1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/7506.blog7_5F00_thumb_5F00_44A677C1.png" width="842" height="256" /></a> </p>  <p></p>  <p></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/6862.blog8_7D53B27F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/6862.blog8_5F00_7D53B27F.png"><img title="blog8" style="display: inline;" border="0" alt="blog8" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/7701.blog8_thumb_61B1B73A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/7701.blog8_5F00_thumb_5F00_61B1B73A.png" width="524" height="310" /></a> </p>  <p>&#160;</p>  <p>Now, the list will be anonymously accessible and anonymous users should be able to view and add items.</p>  <p>&#160;</p>  <p>4. Next, let us customize this list with InfoPath.</p>  <p>&#160; Go to the top ribbon and select “customize form”</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/8715.blog9_2CA7B8BB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/8715.blog9_5F00_2CA7B8BB.png"><img title="blog 9" style="display: inline;" border="0" alt="blog 9" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/1401.blog9_thumb_63186ABD.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/1401.blog9_5F00_thumb_5F00_63186ABD.png" width="527" height="246" /></a> </p>  <p>&#160;</p>  <p>It will open the form in InfoPath, where you can work on customizing the form as per your requirements and then publish the newly updated and customized form back to the list.</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/4503.blog10_6B2F9712.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/4503.blog10_5F00_6B2F9712.png"><img title="blog10" style="display: inline;" border="0" alt="blog10" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/6505.blog10_thumb_765BB20D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/6505.blog10_5F00_thumb_5F00_765BB20D.png" width="530" height="177" /></a> </p>  <p>&#160;</p>  <p>anonymous users should now be able to successfully submit forms to this new list, as needed..!!&#160; :)</p>]]></content:encoded>
    </item>
    <item>
      <title>"The web site has been configured to disallow editing with SharePoint Designer."</title>
      <link>https://docs.microsoft.com/archive/blogs/namkh/the-web-site-has-been-configured-to-disallow-editing-with-sharepoint-designer</link>
      <pubDate>Thu, 18 Apr 2013 15:37:17 GMT</pubDate>
      <dc:creator><![CDATA[Namrata Khubchandani]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/namkh/2013/04/18/the-web-site-has-been-configured-to-disallow-editing-with-sharepoint-designer/</guid>
      <description><![CDATA[&#160;  ISSUE:  You are unable to edit a website in SharePoint Designer. You get the error &quot;The...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><u>ISSUE:</u></p>  <p>You are unable to edit a website in SharePoint Designer. You get the error &quot;The web site has been configured to disallow editing with SharePoint Designer.&quot; </p>  <p>&#160;</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/1832.error_042EAF22.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/1832.error_5F00_042EAF22.jpg"><img title="error" style="display: inline;" border="0" alt="error" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/0724.error_thumb_5643ED1A.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/0724.error_5F00_thumb_5F00_5643ED1A.jpg" width="419" height="137" /></a> </p>  <p>&#160;</p>  <p>&#160;</p>  <p><u>CAUSE:</u></p>  <p>&#160;</p>  <p>Your site does not open in SharePoint designer. The error is as above.</p>  <p>One possible reason is that this site has Designer disabled (<a href="https://support.microsoft.com/kb/940958">https://support.microsoft.com/kb/940958</a>)</p>  <p>Another cause (less likely to guess) is that this site was created using a template saved from a site where Designer was disabled.</p>  <p>&#160;</p>  <p><u>RESOLUTION:</u></p>  <p>&#160;</p>  <p>- One straight forward way of doing it is from the UI (Which did not work in my case though :(&#160; )</p>  <p>&#160; 1.&#160; Right-click the ONET.XML file ( at \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\SiteTemplates\<var>&lt;Service&gt;</var>\xml) for the site definition and open it with Notepad</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160; If you see “DisableWebDesignFeatures=wdfopensite” section in the one.xml that means your site has been configured to disallow SharePoint designer.</p>  <p>&#160;&#160;&#160;&#160;&#160; You can remove this section from the file and should be able to access the site in designer now</p>  <p>2.&#160;&#160; If you are unable to get rid of “DisableWebDesignFeatures=wdfopensite” or find the correct onet.xml corresponding to your site definition, here is a simple script I put together to see if Designer is disabled on the site using the property vti_disablewebdesignfeatures2 and update it as required.</p>  <p>&#160;</p>  <p>&#160;</p>  <p>Download here : </p>  <div id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:f6ec779a-5d88-4a91-9766-fb1dfa7c5dc6" class="wlWriterEditableSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;"><div><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/98/85/metablogapi/4810.EnableDisableSPD_v2_0C979C13.ps1" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-98-85-metablogapi/4810.EnableDisableSPD_5F00_v2_5F00_0C979C13.ps1" target="_self">Script to enable SharePoint  Designer</a></div></div>  <p>&#160;</p>  <p><b>The Code in the script is :</b></p>  <p>=================</p>  <p>using System;</p>  <p>using System.Collections.Generic;</p>  <p>using System.Linq;</p>  <p>using System.Text;</p>  <p>using Microsoft.SharePoint;</p>  <p>namespace EnableDisableSPD</p>  <p>{</p>  <p>&#160;&#160;&#160; class Program</p>  <p>&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; static void Main(string[] args)</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Console.Write(&quot;<font color="#ff0000">Enter the Site URL</font>: &quot;);</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string siteURL = Console.ReadLine();</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Console.Write(&quot;Enter Web Relative Path: &quot;);</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //string webURL = Console.ReadLine();</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; using (SPSite site = new SPSite(siteURL))</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; using (SPWeb web = site.OpenWeb())</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; try</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string propVal = &quot;NULL&quot;;</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (web.Properties[&quot;vti_disablewebdesignfeatures2&quot;] != null)</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; propVal = web.Properties[&quot;vti_disablewebdesignfeatures2&quot;];</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Console.WriteLine(&quot;Current Value of Property vti_disablewebdesignfeatures2 is : &quot; + propVal);</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Console.WriteLine<font color="#ff0000">(@&quot;Do you want to proceed ....(Y\N)&quot;);</font></p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string response = Console.ReadLine();</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (response.ToLower() == &quot;y&quot;)</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; web.Properties[&quot;vti_disablewebdesignfeatures2&quot;] = null;</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; web.Properties.Update();</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; web.Update();</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Console.WriteLine(&quot;Web Property updated to allow Designer ....&quot;);</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Console.WriteLine(&quot;Exiting without update ...&quot;);</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; catch (Exception e)</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Console.WriteLine(e.ToString());</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>  <p>&#160;&#160;&#160; }</p>  <p>}</p>  <p>&#160;</p>  <p>&#160;</p>  <p>After executing the above code, we should be able to open the site in Designer as needed..</p>]]></content:encoded>
    </item>
    <item>
      <title>"The Business Data Connectivity Metadata Store is currently unavailable”</title>
      <link>https://docs.microsoft.com/archive/blogs/namkh/the-business-data-connectivity-metadata-store-is-currently-unavailable</link>
      <pubDate>Thu, 18 Apr 2013 14:14:23 GMT</pubDate>
      <dc:creator><![CDATA[Namrata Khubchandani]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/namkh/2013/04/18/the-business-data-connectivity-metadata-store-is-currently-unavailable/</guid>
      <description><![CDATA[&#160;   ISSUE   While trying to connect to&#160; external content types for a&#160; SharePoint site...]]></description>
      <content:encoded><![CDATA[<p><font size="2">&#160;</font></p> <font size="2"></font>  <p><strong><u><font color="#000000" size="2">ISSUE</font></u></strong></p>  <p><font size="2"> While trying to connect to&#160; external content types for a&#160; SharePoint site using SharePoint designer the following error is encountered -&#160; &quot;The Business Data Connectivity Metadata Store is currently unavailable”</font></p>  <p><font size="2"></font></p>  <p><font size="2"></font></p> <font size="2"></font>  <p><b></b></p>  <p><b><u><font color="#000000" size="2">SYMPTOMS:</font></u></b></p> <font size="2"></font>  <p><font size="2">Getting the error &quot;The Business Data Connectivity Metadata Store is currently unavailable&quot; in SharePoint designer while trying to connect to the external content types.</font></p> <font size="2"></font>  <p><font size="2">Even after checking the first few basic steps (Checking BDC service is started, we are able to browse to the BDC service application and see the external content types here, Checking BDC permissions and even creating a new BDC) if you still get the same issue</font></p> <font size="2"></font>  <p><font size="2">In this scenario, it is best to capture a fiddler trace.</font></p> <font size="2"></font>  <p><font size="2">The fiddler trace (fiddler tool available at </font><a href="https://fiddler2.com/"><font size="2">https://fiddler2.com/</font></a><a href="https://www.fiddler2.com"><font color="#004080"></font></a><font size="2">) would show&#160; a 404 for the BdcAdminService</font></p> <font size="2"></font>  <p><font size="2"># Result Protocol Host URL Body Caching Content-Type Process Comments Custom </font></p> <font size="2"></font>  <p><font size="2">75 404 HTTP &lt;siteurl&gt;/_vti_bin/BDCAdminService.svc 0&#160;&#160; spdesign:10080 [#55]&#160;&#160; </font></p> <font size="2"></font>  <p><font size="2"># Result Protocol Host URL Body Caching Content-Type Process Comments Custom </font></p> <font size="2"></font>  <p><font size="2">76 404 HTTP &lt;siteurl&gt;/_vti_bin/BDCAdminService.svc /_vti_bin/BDCAdminService.svc 0&#160;&#160; spdesign:10080 [#56] </font></p>  <p><font size="2"></font></p> <font size="2"></font>  <p><b></b></p>  <p><strong><font size="2"></font></strong></p>  <p><b><u><font color="#000000" size="2">RESOLUTION:</font></u></b></p> <font size="2"></font>  <p>&#160;</p>  <p><font size="2">Collect “Failed Request tracing” logs (as Fiddler would only show us <b>a 404 for the BDCAdmin service) </b> and SharePoint ULS logs would not be very useful for the issue.</font></p> <font size="2"></font>  <p><font size="2">(Refer to </font><a href="https://technet.microsoft.com/en-us/library/cc731798(v=ws.10).aspx"><font size="2">https://technet.microsoft.com/en-us/library/cc731798(v=ws.10).aspx</font></a><font size="2"> and </font><a href="https://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/using-failed-request-tracing-to-troubleshoot-classic-asp-errors"><font size="2">https://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/using-failed-request-tracing-to-troubleshoot-classic-asp-errors</font></a><font size="2"> to understand failed request tracing)</font></p> <font size="2"></font>  <p><font size="2">From the Failed Request tracing logs, You should see something like:</font></p> <font size="2"></font>  <p><font size="2">&#160;</font></p> <font size="2"></font>  <table cellspacing="0" cellpadding="0" width="488" border="0"><tbody><font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">ModuleName</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">RequestFilteringModule</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">Notification</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">1</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">HttpStatus</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">404</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">HttpReason</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">Not Found</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">HttpSubStatus</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">10</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">ErrorCode</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">0</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">ConfigExceptionInfo</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2">&#160;</font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">Notification</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">BEGIN_REQUEST</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font>      <tr><font size="2"></font>        <td valign="top" width="219"><font size="2"></font>          <p><b><font size="2">ErrorCode</font></b></p>         <font size="2"></font></td>       <font size="2"></font>        <td valign="top" width="267"><font size="2"></font>          <p><font size="2">The operation completed successfully. (0x0)</font></p>         <font size="2"></font></td>       <font size="2"></font></tr>     <font size="2"></font></tbody></table> <font size="2"></font>  <p><font size="2">&#160;</font></p> <font size="2"></font>  <p><font size="2">“Request filtering module” in IIS is giving a 404. 404.10 status code implies that the “Request header it too long” (Refer </font><a href="https://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits"><font size="2">https://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits</font></a><font size="2">&#160; )</font></p> <font size="2"></font>  <p><font size="2">Check the&#160; <b>ApplicationHost.Config</b> file at the following location on server C:\Windows\System32\inetsrv\config</font></p> <font size="2"></font>  <p><font size="2">look for the headerlimit section. The header limit was set to:</font></p>  <p><font size="2"></font></p> <font size="2"></font>  <p><font size="2">&lt;headerLimits&gt;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add header=&quot;Range&quot; sizeLimit=&quot;4294967295&quot; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add header=&quot;Content-Type&quot; sizeLimit=&quot;100&quot; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/headerLimits&gt;</font></p>  <p><font size="2"></font></p> <font size="2"></font>  <p><font size="2">The header limit set here causes the issue. </font></p> <font size="2"></font>  <p><font size="2">Remove the headerlimit section from the ApplicationHost.config file and do an IISReset. </font></p> <font size="2"></font>  <p><font size="2">Works like a charm! :-)</font></p>  <p><font size="2"></font></p>]]></content:encoded>
    </item>
  </channel>
</rss>