<?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>Cloud Solution Architect - App Dev</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sowmyancs/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sowmyancs/feed.xml</link>
    <description />
    <lastBuildDate>Fri, 15 Apr 2016 19:29:05 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Azure Data Lake Store &amp; Data Lake Analytics Training Videos</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/azure-data-lake-store-data-lake-analytics-training-videos</link>
      <pubDate>Fri, 15 Apr 2016 19:29:01 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/?p=1145</guid>
      <description><![CDATA[Here are some great short &amp; sweet demonstrations on Azure Data Lake Store &amp; Analytics. Great...]]></description>
      <content:encoded><![CDATA[<p>Here are some great short &amp; sweet demonstrations on Azure Data Lake Store &amp; Analytics. Great content to get an insight on these data services in Azure.
</p><ol><li>How To - Create an Azure Data Lake Store Account: <a href="https://mix.office.com/watch/1k1cycy4l4gen">https://mix.office.com/watch/1k1cycy4l4gen</a>
		</li><li>How To - Use the Data Explorer to Manage Data in Azure Data Lake Store: <a href="https://mix.office.com/watch/icletrxrh6pc">https://mix.office.com/watch/icletrxrh6pc</a>
		</li><li>How To - Connect Azure Data Lake Analytics to Azure Data Lake Store: <a href="https://mix.office.com/watch/qwji0dc9rx9k">https://mix.office.com/watch/qwji0dc9rx9k</a>
		</li><li>How To - Access Azure Data Lake Store via Data Lake Analytics: <a href="https://mix.office.com/watch/1n0s45up381a8">https://mix.office.com/watch/1n0s45up381a8</a>
		</li><li>How To - Connect Azure HDInsight to Azure Data Lake Store: <a href="https://mix.office.com/watch/l93xri2yhtp2">https://mix.office.com/watch/l93xri2yhtp2</a>
		</li><li>How To - Access Azure Data Lake Store via Hive and Pig: <a href="https://mix.office.com/watch/1n9g5w0fiqv1q">https://mix.office.com/watch/1n9g5w0fiqv1q</a>
		</li><li>How To - Use DistCp (Hadoop Distributed Copy) to copy data to and from Azure Data Lake Store: <a href="https://mix.office.com/watch/1liuojvdx6sie">https://mix.office.com/watch/1liuojvdx6sie</a>
		</li><li>How To - Use Apache Sqoop to move data between relational sources and Azure Data Lake Store: <a href="https://mix.office.com/watch/1butcdjxmu114">https://mix.office.com/watch/1butcdjxmu114</a>
		</li><li>How To - Data Orchestration using Azure Data Factory for Azure Data Lake Store: <a href="https://mix.office.com/watch/1oa7le7t2u4ka">https://mix.office.com/watch/1oa7le7t2u4ka</a>
		</li><li>Core Concepts - Securing Data in the Azure Data Lake Store: <a href="https://mix.office.com/watch/1q2mgzh9nn5lx">https://mix.office.com/watch/1q2mgzh9nn5lx</a>
		</li></ol><p>
 </p>]]></content:encoded>
    </item>
    <item>
      <title>Create a RHEL Developer VM in Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/create-a-rhel-developer-vm-in-azure</link>
      <pubDate>Fri, 15 Apr 2016 04:42:50 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/?p=1135</guid>
      <description><![CDATA[Step 1: Download RHEL ISO and prepare VHD to be upload to Azure
Step 2: Create Storage Account and...]]></description>
      <content:encoded><![CDATA[<p>Step 1: Download RHEL ISO and prepare VHD to be upload to Azure
</p><p>Step 2: Create Storage Account and Upload the VHD to Azure
</p><p>Step 3: Create a virtual machine based out of the custom VHD
</p><p>Step 4: Test your Virtual Machine
</p><p><strong>Step 1: Download RHEL ISO and prepare VHD to be upload to Azure
</strong></p><p>You can download the ISO from <a href="https://developers.redhat.com/products/rhel/get-started/">RedHat developer portal</a>. Once you download the ISO, our next step is creating a VHD that is ready to be use in Azure. In order to prepare RHEL to be used in Azure you have to follow some specific steps which explains <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-redhat-create-upload-vhd/">here</a>. Note some important points before you start.
</p><p style="background: white"><strong>RHEL installation notes
</strong></p><ul><li><div style="background: white"><em>The newer VHDX format is not supported in Azure. You can convert the disk to VHD format by using Hyper-V Manager or the convert-vhd PowerShell cmdlet.
</em></div></li><li><div style="background: white"><em>VHDs must be created as "fixed"--dynamic VHDs are not supported.
</em></div></li><li><div style="background: white"><em>When you're installing the Linux operating system, we recommend that you use standard partitions rather than Logical Volume Manager (LVM) (which is often the default for many installations). This will help you to avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. You can use LVM or RAID on data disks if you prefer.
</em></div></li><li><div style="background: white"><em>Do not configure a swap partition on the OS disk. You can configure the Linux agent to create a swap file on the temporary resource disk. More information about this is available in the steps below.
</em></div></li><li><div style="background: white"><em>All of the VHDs must have sizes that are multiples of 1 MB.
</em></div></li><li><div style="background: white"><em>When you use qemu-img to convert disk images to VHD format, note that there is a known bug in qemu-img versions 2.2.1 or later. This bug results in an improperly formatted VHD. The issue is intended to be fixed in an upcoming release of qemu-img. For now, we recommend that you use qemu-img version 2.2.0 or earlier.
</em></div></li></ul><p>In my case, I have downloaded the ISO and used Hyper-V to spin-up a virtual machine. There are detailed steps mentioned in the <a href="https://developers.redhat.com/products/rhel/get-started/">RedHat developer portal</a>. 
</p><p>After creating the Virtual machine based out of the instructions from RedHat portal, next step was to prepare RHEL to be used in Azure. I had used RHEL 7.2 and I had to follow the instructions listed <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-redhat-create-upload-vhd/">here</a>.
</p><p>Once you are done till here, you can shut down the virtual machine. In my case I was using the VHDX format, I had to <a href="https://technet.microsoft.com/en-us/library/hh848454.aspx">convert it to VHD</a> first to upload the OS disk to Azure.
</p><p><span style="color:teal">Convert<span style="color:#555555">-VHD –<span style="color:teal">Path<span style="color:#555555"> E:\Hyper-V\rhlinux-dev.vazure loginhdx –<span style="color:teal">DestinationPath<span style="color:#555555"> E:\Hyper-V\rhlinux-dev.vhd –<span style="color:teal">VHDType</span> <span style="color:teal">Fixed</span> </span>
						</span></span></span></span></span></p><p>Above will create a VHD disk with Fixed size which is what we need in Azure. Next steps are working with Azure
</p><p><strong>Step 2: Create Storage Account and Upload the VHD to Azure
</strong></p><p>I used Azure CLI for most part of the remaining tasks.
</p><p><span style="color:#538135">//login to Azure, below CLI will give you a code and you can login in the web portal using that code which will authentication you in the CLI
</span></p><p><span style="color:#555555">azure login
</span></p><p><span style="color:#538135">//List out all of your subscription to set the one that you need to test these steps
</span></p><p><span style="color:#555555">azure account list</span>
	</p><p><span style="color:#538135">// In my case I have used my MSDN Azure Subscription
</span></p><p><span style="color:#555555">azure account <span style="color:#445588">set</span> <span style="color:#dd1144">"Visual Studio Ultimate with MSDN"
</span></span></p><p><span style="color:#538135">// Its recommend to use the ARM model, below CLI will switch to ARM Mode
</span></p><p><span style="color:#555555">azure config mode arm
</span></p><p><span style="color:#538135">// Create a Resource Group by specifying the name and location
</span></p><p><span style="color:#555555">azure group create -n</span> "<span style="color:#dd1144">dev-redhat-rg</span>" <span style="color:#555555">-l</span> "<span style="color:#dd1144">East US</span>"
</p><p><span style="color:#538135">// Create storage account, I'm not providing all parameters in line instead I let the command to prompt 
</span></p><p><span style="color:#555555">azure storage account create</span> "<span style="color:#dd1144">devredhatstg01</span>"
</p><p><span style="color:#538135">//You have to grab the storage account key for further steps, so list the keys, used the same resource group
</span></p><p>azure storage account keys list devredhatstg01
</p><p><span style="color:#538135">//create a container <span style="color:#555555">
			</span></span></p><p><span style="color:#555555">azure storage container create</span> "<span style="color:red">r<span style="color:#dd1144">hlxvhdtemplate</span>" -<span style="color:#555555">k </span>"<span style="color:#dd1144">SEmner/2424jljadfasdfasdl+4VDplBJhw6LCS0rDYstM/chdYf3VyHkzRA==</span>" -<span style="color:#555555">a </span>"d<span style="color:#dd1144">evredhatstg01</span>"</span>
	</p><p><span style="color:#538135">//Upload the VHD, it took 2 hours for me to complete, for info below.<span style="color:#555555">
			</span></span></p><p><span style="color:#555555">azure storage blob upload -f</span> "<span style="color:red">E<span style="color:#dd1144">:\Hyper-V\rhlinux-dev.vhd</span>" -<span style="color:#555555">b</span> "<span style="color:#dd1144">rhlx-dev.vhd</span>" <span style="color:#555555">-t</span> page <span style="color:#555555">--container</span> "<span style="color:#dd1144">rhlxvhdtemplate</span>" -<span style="color:#555555">a </span>"d<span style="color:#dd1144">evredhatstg01</span>" <span style="color:#555555">-k</span> "<span style="color:#dd1144">SEmner/ZP7HIMukWI46WBC+82usasdfhl23kddlaYP34ouklj345l34jljl34k5j3lk5j+4VDplBJhw6LCS0rDYstM/chdYf3VyHkzRA==</span>"</span>
	</p><p>It took two hours to upload 25 GB VHD to Azure storage account. I think this experience will vary depends on your network bandwidth speed to Azure data center. I'm in Woodbridge, US and chosen <em>East US</em> as my Azure Storage location.
</p><p><strong>Step 3: Create a virtual machine based out of the custom VHD
</strong></p><p>Now, we are ready to create a virtual machine based out of the VHD we have it in Azure. I used ARM template and CLI to provision the VM using the custom image. You can get it from <a href="https://azure.microsoft.com/en-us/documentation/templates/201-vm-custom-image-new-storage-account/">here</a>. Once you are done you can see that VM is up and running. I had to create a NSG and create a SSH input rule for port 22 to enable SSH remotely. 
</p><p>azure group deployment create --template-uri "<span style="color:#dd1144">https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-from-user-image/azuredeploy.json</span>" dev-rhel-vm-rg customVhdDeployment
</p><p><strong>Step 4: Test your Virtual Machine
</strong></p><p>I used Putty on my windows 10 machine to SSH and test the machine. You might need to register to your RHEL subscription if you have already unsubscribed part of RHEL preparation. </p>]]></content:encoded>
    </item>
    <item>
      <title>Get started with RHEL using no-cost RHEL development subscription on Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/get-started-with-rhel-using-no-cost-rhel-development-subscription-on-azure</link>
      <pubDate>Mon, 11 Apr 2016 16:49:05 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/?p=1131</guid>
      <description><![CDATA[Hope all of you have seen the exciting updates on RedHat and Microsoft partnership and the premium...]]></description>
      <content:encoded><![CDATA[<p>Hope all of you have seen the exciting updates on <a href="https://azure.microsoft.com/en-us/campaigns/redhat/">RedHat and Microsoft partnership</a> and the premium RHEL images in Azure. Currently premium images available in Azure are not available for free trial. Provisioning a VM from this image requires a subscription with no spending limit and verified payment method (usually a credit card) associated with subscription. For more information, you can read the details once you pick the RHEL image in azure like below. So, how about as a developer you want to use an existing free RHEL developer subscription or get a new one – keep reading….
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2016/04/041116_1650_Getstartedw1.png" alt="" />
	</p><p>
 </p><p>Good news is – RHEL provides no-cost RHEL developer subscription and one can sign up for it from this link. <a href="https://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/">https://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/</a>
	</p><p>I would strongly recommend to read the Terms &amp; Conditions before you start <a href="https://developers.redhat.com/terms-and-conditions/">https://developers.redhat.com/terms-and-conditions/</a>
	</p><p>You can create a RHEL VHD based out of the developer subscription and you can bring your VHD to azure. You won't be getting SSO experience like the premium images in Azure though, but I believe it doesn't matter for developers <span style="font-family:Wingdings">J</span>
	</p><p>In my next blog post, I'm going to give go deep into this process. I have already tested and it works great in my Azure subscription. Stay tuned!</p>]]></content:encoded>
    </item>
    <item>
      <title>Disaster Recovery setup in Azure - Azure services</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/disaster-recovery-setup-in-azure-azure-services</link>
      <pubDate>Fri, 18 Mar 2016 14:51:31 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/?p=1111</guid>
      <description><![CDATA[In this post, I'm sharing few resources related to implementing Disaster Recovery in Azure. I'm not...]]></description>
      <content:encoded><![CDATA[In this post, I'm sharing few resources related to implementing Disaster Recovery in Azure. I'm not going to write anything scratch, instead sharing few excellent resources readily available.

Here is a great documentation on leveraging <a href="https://azure.microsoft.com/en-us/documentation/articles/sql-database-designing-cloud-solutions-for-disaster-recovery/">Azure Traffic Manager for Azure SQL Database </a>and front-end applications.

<a href="https://msdn.microsoft.com/en-us/library/azure/dn251004.aspx">This article </a>covers old cloud services but still the concept is same , it covers service bus components details as well.

I will be updating this post in future with DR scenarios of other Azure Services.]]></content:encoded>
    </item>
    <item>
      <title>How to build Power full apps in this "mobile-first cloud-first" world easily ? Answer is PowerApps !!!</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/how-to-build-power-full-apps-in-this-mobile-first-cloud-first-world-easily-answer-is-powerapps</link>
      <pubDate>Wed, 20 Jan 2016 13:06:00 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/2016/01/20/how-to-build-power-full-apps-in-this-mobile-first-cloud-first-world-easily-answer-is-powerapps/</guid>
      <description><![CDATA[In this mobile-first cloud-first world we need great tooling and capabilities to build and deploy...]]></description>
      <content:encoded><![CDATA[<p><span style="color: #003366; font-family: verdana,geneva;">In this mobile-first cloud-first world we need great tooling and capabilities to build and deploy apps to any devices easily and securely. Microsoft announced new PowerApps in November 2015 and there is a great momentum afterwards.</span></p>
<p><a href="https://powerapps.microsoft.com/en-us/blog/introducing-microsoft-powerapps/">https://powerapps.microsoft.com/en-us/blog/introducing-microsoft-powerapps/</a></p>
<p><span style="color: #003366;"><span style="font-family: verdana,geneva;">With the help of Azure App Service its </span><span style="font-family: verdana,geneva;">now very easy to deploy</span><span style="font-family: verdana,geneva;"> and manage APIs for PowerApps. Have a look at the below resources to get started.</span></span></p>
<p><a href="https://channel9.msdn.com/Events/Microsoft-Azure/PowerApps/PowerApps-and-Azure-App-Service-for-Developers">https://channel9.msdn.com/Events/Microsoft-Azure/PowerApps/PowerApps-and-Azure-App-Service-for-Developers</a></p>
<p><a href="https://azure.microsoft.com/en-us/documentation/suites/powerapps/">https://azure.microsoft.com/en-us/documentation/suites/powerapps/</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint List Throttling &amp; Indexed Columns</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/sharepoint-list-throttling-indexed-columns</link>
      <pubDate>Wed, 31 Jul 2013 20:54:02 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/2013/07/31/sharepoint-list-throttling-indexed-columns/</guid>
      <description><![CDATA[Recently I had worked on an issue related to SharePoint List Throttling. Customer has a SharePoint...]]></description>
      <content:encoded><![CDATA[<p align="justify"><font color="#004080" size="2" face="Calibri">Recently I had worked on an issue related to SharePoint List Throttling. Customer has a SharePoint list which has total 7000 items and the throttling limit was set to default 5000. They were using the lists.asmx web service from a custom application remotely. It was using the a CAML query like below to filter based out a column called “Employee Number” and pulling only 100 items from the list view.</font></p>  <p>&quot;&lt;View&gt;&lt;Query&gt;&lt;Where&gt;&lt;Geq&gt;&lt;FieldRef Name=<font color="#008040">'<font color="#ff8040">EmployeeNumber</font>'/</font>&gt;    <br />&#160;&#160;&#160;&#160;&#160; &lt;Value Type='Number'&gt;10&lt;/Value&gt;&lt;/Geq&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;RowLimit&gt;<font color="#ff8040">100</font>&lt;/RowLimit&gt;&lt;/View&gt;&quot;;</p>  <p align="justify"><font color="#004080" size="2" face="Calibri">When we started looking at this issue, it was little confusing as they were filtering and pulling only 100 items from a list which has 7000 items. This leads us to look at other throttling contributors, we looked at the lookup columns in the custom list and there were only 2 of them. There was nothing logged in the ULS except the below throttling error message with call stack.</font></p>  <p><font color="#ff0000" size="2" face="Calibri"><em>“The attempted operation is prohibited because it exceeds the list view threshold enforce by the administrator. 0x80070024”</em></font></p>  <p align="justify"><font color="#004080" size="2" face="Calibri">Finally we were able to figure out that the “Employee Number” column was not added as an indexed column in the SharePoint List. It is mandatory to add an indexed column(s) for the column(s) that we are using for filtering from SharePoint list views. It is clearly documented in in the UI settings of any list views. </font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/2335.image_0813686B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/2335.image_5F00_0813686B.png"><font color="#004080" size="2" face="Calibri"><img title="image" style="display: inline;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/2262.image_thumb_150D487C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/2262.image_5F00_thumb_5F00_150D487C.png" width="817" height="153" /></font></a><font color="#004080" size="2" face="Calibri"> </font></p>  <p><font color="#004080" size="2" face="Calibri"></font></p>  <p><font color="#004080" size="2" face="Calibri"> Here the take away is <strong>we must need to create an indexed column(s) for the filtering column(s) even from any custom code</strong>. Note: maximum indices on a list is 20, so plan your list schema in advance.</font></p>  <p><font color="#004080" size="2" face="Calibri"></font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/1588.image_2426FB21.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/1588.image_5F00_2426FB21.png"><img title="image" style="display: inline;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/2273.image_thumb_6A37B834.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/2273.image_5F00_thumb_5F00_6A37B834.png" width="530" height="208" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Install-SPSolution with –CASPolicies parameter</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/install-spsolution-with-caspolicies-parameter</link>
      <pubDate>Wed, 31 Jul 2013 20:32:55 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/2013/07/31/install-spsolution-with-caspolicies-parameter/</guid>
      <description><![CDATA[-CASPolicies or -allowCasPolicies flag is deprecated in SharePoint 2013. So the new behavior is if...]]></description>
      <content:encoded><![CDATA[<p><font color="#000080" size="2" face="ca"><font color="#004080" face="Calibri">-CASPolicies or -allowCasPolicies flag is deprecated in SharePoint 2013. So the new behavior is if -CASPolicies (for PowerShell with Install-SPSolution) or -allowCasPolicies (for stsadm) is specified, <b>regardless of whether or not the solution actually contains CAS policy</b>, you will get the message below. </font></font></p>  <p>&quot;<i><font color="#ff0000">Solutions no longer support deploying Code Access Security (CAS) policy so any CAS policy specified in solution &quot;{0}&quot; was skipped and not deployed. Deploy this solution without the -CASPolicies flag to suppress this warning</font></i>.&quot; </p>  <p><font color="#004080" size="2" face="Calibri">The existing alert that logs to ULS that CAS policy is detected and getting skipped is still in place so if&#160; you removes the -CASPolicies (for PowerShell) or -allowCasPolicies (for stsadm) flag to suppress the above warning, you will continue to get an entry in the ULS log explaining their CAS policy has been skipped <b><i>until you actually remove the CAS policy</i></b> from the solution (You can verify it in the manifest.xml of WSP).</font></p>]]></content:encoded>
    </item>
    <item>
      <title>Considerations while provisioning the service application using pre-created databases</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/considerations-while-provisioning-the-service-application-using-pre-created-databases</link>
      <pubDate>Fri, 14 Dec 2012 13:51:56 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/2012/12/14/considerations-while-provisioning-the-service-application-using-pre-created-databases/</guid>
      <description><![CDATA[Recently I had worked with my customer to setup a new SharePoint farm with pre-created (DBA created)...]]></description>
      <content:encoded><![CDATA[<p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">Recently I had worked with my customer to setup a new SharePoint farm with pre-created (DBA created) databases. Concept and prerequisites are very well documented in </font><a href="https://technet.microsoft.com/en-us/library/cc262869(v=office.14).aspx"><font color="#0000ff" face="Calibri">this TechNet article</font></a><font color="#004080" face="Calibri">. While testing the deployment what really matters were the creation of couple of service application. Bad guys were Usage Logging &amp; State Service Application. All other service applications were easy to provision (we were using auto AutoSPInstaller </font><a href="https://autospinstaller.codeplex.com/"><font color="#004080" face="Calibri"><font color="#0000ff">https://autospinstaller.codeplex.com</font>/</font></a><font face="c"><font color="#004080"><font face="Calibri">&#160; to automate the deployment using Power Shell). </font></font></font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">Except Usage Logging &amp; State Service application all other service applications were able to use the pre-created database while provisioning the new service application using New-SP* commandlets. Usage Logging &amp; State Service applications were complaining that the there is already a database exists with the same name. To work-around this, we have to approach the provision in a different way. I’m giving the provisioning script samples for both Usage Logging &amp; State Service Applications.</font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri"><strong>Usage Logging Service Application :</strong> </font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">Steps are explaining below.</font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">1. Create new Usage Service Application with a temporary ( or default) database </font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">2. After that, modify the Usage Service Application to use the pre-created database name, this will dismount the usage logging</font></span><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri"> database created in step #1</font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">3. Delete the database created in step #1 manually from the SQL server</font></span></p>  <p align="justify"><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">Automating the Steps 1-2 given below.</font></span></p>  <div id="codeSnippetWrapper">   <div id="codeSnippet" style="padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">     <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">add-pssnapin microsoft.sharepoint.powershell</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">Write-Host -ForegroundColor White <span style="color: rgb(0, 96, 128);">&quot;Provisioning WSS Usage Application...&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">$SPUsageApplicationName = <span style="color: rgb(0, 96, 128);">&quot;WSS Usage Service Application&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">$precreatedUsageDB = <span style="color: rgb(0, 96, 128);">&quot;WSS_Usage_Database&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">$sqlserver = <span style="color: rgb(0, 96, 128);">&quot;spsql&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">$tempUsageDB = <span style="color: rgb(0, 96, 128);">&quot;WSS_Usage_ToDelete&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">New-SPUsageApplication -Name $SPUsageApplicationName -DatabaseName $tempUsageDB               </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">$UsageServiceApp = Get-SPUsageApplication $SPUsageApplicationName</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">                </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">Set-SPUsageApplication -Identity $UsageServiceApp.ID -DatabaseName $precreatedUsageDB -DatabaseServer $sqlserver</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">Write-Host -ForegroundColor White <span style="color: rgb(0, 96, 128);">&quot;Re-provisioning Health Data Collection Proxy as by default it will be in stopped state&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">$SPUsageApplicationProxy = Get-SPServiceApplicationProxy | <span style="color: rgb(0, 0, 255);">where</span> {$_.DisplayName -eq $SPUsageApplicationName }</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">                                                                    $SPUsageApplicationProxy.Provision()</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">                                                            </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">Write-Host -ForegroundColor Blue <span style="color: rgb(0, 96, 128);">&quot;Done provisioning SP Usage Application.&quot;</span></pre>
<!--CRLF--></div>
</div>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri"><strong>State Service Application :</strong> </font></span></p>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">This is little different than Usage Logging Service Application provisioning.</font></span></p>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">Steps are explaining below.</font></span></p>

<p><font color="#004080" size="3" face="Calibri">1. First we have to mount the pre-created database to SharePoint and have to initialize it.</font></p>

<p><font color="#004080" size="3" face="Calibri">2. Use the same method as other service application provisioning, using New-SPStateServiceApplication and provide the pre-</font><font color="#004080" size="3" face="Calibri">created database name.</font></p>

<p><font color="#004080" size="3" face="Calibri">3. Create state service application proxy.</font></p>

<div id="codeSnippetWrapper">
  <div id="codeSnippet" style="padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">
    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">add-pssnapin microsoft.sharepoint.powershell</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">$StateServiceDB = <span style="color: rgb(0, 96, 128);">&quot;State_Service_DB&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">$StateServiceName = <span style="color: rgb(0, 96, 128);">&quot;State Service Application&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">$StateServiceProxyName = <span style="color: rgb(0, 96, 128);">&quot;State Service Application Proxy&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">        </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">Write-Host -ForegroundColor White <span style="color: rgb(0, 96, 128);">&quot;Provisioning State Service Application...&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">        </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">Mount-SPStateServiceDatabase -Name $StateServiceDB | Initialize-SPStateServiceDatabase</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">         </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">New-SPStateServiceApplication -Name $StateServiceName -Database $StateServiceDB | Out-Null</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">                </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">Write-Host -ForegroundColor White <span style="color: rgb(0, 96, 128);">&quot;Creating State Service Application Proxy...&quot;</span></pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">&#160;</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">$StateServiceApplication = Get-SPStateServiceApplication -identity  $StateServiceName</pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">                </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">$StateServiceApplication | New-SPStateServiceApplicationProxy -Name $StateServiceProxyName -DefaultProxyGroup </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);">               </pre>
<!--CRLF-->

    <pre style="margin: 0em; padding: 0px; width: 100%; text-align: left; color: black; line-height: 12pt; overflow: visible; font-family: &quot;Courier New&quot;, courier, monospace; font-size: 8pt; direction: ltr; background-color: white;">Write-Host -ForegroundColor Blue <span style="color: rgb(0, 96, 128);">&quot; - Done creating State Service Application.&quot;</span></pre>
<!--CRLF--></div>
</div>

<p>&#160;</p>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">Other service applications can be pointed in this scenario are </font></span></p>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">1. ASP.NET Session state service (Enable-SPSessionStateService). With that there is no way to specify a pre-created database ,&#160; </font></span></p>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">&#160;&#160;&#160; ASP.NET session state database schema is provisioned by ASP.NET by calling <a href="https://msdn.microsoft.com/en-us/library/system.web.management.sqlservices.generatesessionstatescripts(v=vs.90).aspx">SQLServices class</a>. once you use Enable-SPSessionStateService.</font></span></p>

<p><span style="color: rgb(68, 114, 196); font-size: 12pt;"><font color="#004080" face="Calibri">From my deployment experience this was the main issue and there was no any other deployment issues faced while going with the DBA pre-created deployment method. Hope this hint will help someone.</font></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Install, Configure &amp; Monitor Office Web Apps 2013 for SP 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/install-configure-monitor-office-web-apps-2013-for-sp-2013</link>
      <pubDate>Sun, 28 Oct 2012 22:02:26 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/2012/10/28/install-configure-monitor-office-web-apps-2013-for-sp-2013/</guid>
      <description><![CDATA[Here is my first blog after a long vacation back from my hometown in India. Tomorrow is a special...]]></description>
      <content:encoded><![CDATA[<p><font color="#004080" size="3" face="Calibri"></font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Here is my first blog after a long vacation back from my hometown in India. Tomorrow is a special day as <a href="https://en.wikipedia.org/wiki/Hurricane_Sandy_(2012)">Hurricane Sandy</a> is going to hit my area ( Edison, NJ) , so writing this post tonight itself :)</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">There are many articles out in web provides the details of Office Web Apps 2013 , its planning, deployment etc. What I’m trying to give in this post is my experience with the installation and configuration of Office Web Apps 2013 for SharePoint Server 2013. </font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Environment details are given below :-</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Total 4 Servers in my Windows Azure Virtual Machine Environment. </font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri"><strong>litdc</strong> – AD &amp; DC (Windows Server 2008 R2)</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri"><strong>litsp1</strong> – WFE – SPS 2013 RTM (Windows Server 2012 Datacenter Edition)</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri"><strong>litsp2</strong> – App Server – SPS 2013 RTM (Windows Server 2012 Datacenter Edition)</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri"><strong>litsp3</strong> – OWA 2013 RTM Server (Windows Server 2012 Datacenter Edition)</font></p>  <p align="justify"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/3858.image_65C8DBDB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/3858.image_5F00_65C8DBDB.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/1234.image_thumb_1556D49B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/1234.image_5F00_thumb_5F00_1556D49B.png" width="622" height="197" /></a></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">After installing and configuration of my SharePoint 2013 environment I have started the setup for Office Web Apps 2013 in litsp3. </font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Please refer the TechNet articles for details about <a href="https://technet.microsoft.com/en-us/library/jj219435(v=office.15).aspx">planning</a> &amp; <a href="https://technet.microsoft.com/en-us/library/jj219455(v=office.15).aspx">deployment</a> of Office Web Apps 2013. In this post I’m providing details of deployment of Office Web Apps 2013 on a Windows 2012 Server. Also, this will be a single server OWA farm <em>only</em>.</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Step<strong> #1</strong></font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Enable the prerequisites for Office Web Apps 2013 in Windows Server 2012. You can do this using PowerShell. Open Windows PowerShell Console as Administration and run the below.</font></p>  <p># if script execution policy is “Restricted”, enable it using Set-ExecutionPolicy &quot;UnRestricted&quot;</p>  <p>   <br /><font color="#008000">Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices</font>    <br /><font color="#004080" size="3" face="Calibri"></font></p>  <p><font color="#004080" size="3" face="Calibri">System restart required after provisioning the above prerequisites features.</font></p>  <p><font color="#004080" size="3" face="Calibri">Step <strong>#2</strong></font></p>  <p><font color="#004080" size="3" face="Calibri">After system reboot, go ahead and run the OWA 2013 installation setup as administrator. </font></p>  <p><font color="#004080" size="3" face="Calibri">Step <strong>#3</strong></font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Before creating a new OWA farm, you have to do couple of things based upon the planning you have done. Make sure that there won’t be any application running in default ports in the server that you are setting up the OWA farm. As a best practice, always use HTTPS for the communication, so in my test environment, I have imported a domain certificate in the IIS. Since this was a domain certificate that got from the CA (certificate authority) in my DC it was already added to my trusted root authority in the litsp3 server, if not , you have to import it manually. </font></p>  <p align="justify"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0825.image_66911BF8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0825.image_5F00_66911BF8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/2476.image_thumb_1A59124A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/2476.image_5F00_thumb_5F00_1A59124A.png" width="609" height="370" /></a></p>  <p><font color="#004080" size="3" face="Calibri">Step <strong>#3</strong></font></p>  <p><font color="#004080" size="3" face="Calibri">Once the server certificate is installed, its ready to provision the new OWA single server farm. You have to run New-OfficeWebAppsFarm PS commandlet , if you need more details of the Commandlet and also to verify whether the PowerShell snap is correctly added,&#160; you can use </font></p>  <p><font color="#004080" size="3" face="Calibri"><font color="#00ff00"><font color="#800040">Get-Command New-OfficeWebAppsFarm</font> </font></font></p>  <p><font color="#0000a0" size="3" face="Calibri">As you see it in the screenshot below, also notice the default web site in IIS running in port 80, because after creating a new web app farm it will remove that site.</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/4846.image_79659FA2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/4846.image_5F00_79659FA2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/5001.image_thumb_5C7C7ACD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/5001.image_5F00_thumb_5F00_5C7C7ACD.png" width="625" height="133" /></a></p>  <p><font color="#004080" size="3" face="Calibri">Step <strong>#4</strong></font></p>  <p><font color="#004080" size="3" face="Calibri">Execute the below PowerShell Commandlet</font> </p>  <p>New-OfficeWebAppsFarm –InternalUrl “https://litsp3” -ExternalUrl <a href="https://litsp3.litware.local">https://litsp3.litware.local</a> –CertificateName &quot;OfficeWebApps Certificate&quot; –EditingEnabled</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/8228.image_02722B24.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/8228.image_5F00_02722B24.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/5582.image_thumb_689DF4F4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/5582.image_5F00_thumb_5F00_689DF4F4.png" width="640" height="417" /></a></p>    <p align="justify"><font color="#004080" size="3" face="Calibri">Since I have used the –EditingEnabled parameter it will prompt the confirmation for the licensing. Remember that editing is only possible in SharePoint 2013 and not in Exchange &amp; Lync 2013. After executing the commandlet successfully , we can see the details of the configurations. It will list out the URLs, Cache location, ULS log location and other specific configuration for excel and stuff. </font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Now, if you look at the IIS you can see that default web site has been replaced by OWA web sites. To confirm a successful configuration you can browse to the web service discovery location like this : https://litsp2.litware.local/hosting/discovery </font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">In the below screenshot you can see the IIS websites for OWA and a discovery details for the above mentioned URL. Please note the port numbers used for the binding. Make sure that all those ports are not blocked by the firewall to avoid any communication issues with OWA.</font></p>  <p align="justify"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0702.image_3561BB8B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0702.image_5F00_3561BB8B.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/5076.image_thumb_1F2BA039.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/5076.image_5F00_thumb_5F00_1F2BA039.png" width="632" height="286" /></a></p>  <p><font color="#004080" size="3" face="Calibri">Step <strong>#5</strong></font></p>  <p><font color="#004080" size="3" face="Calibri">Alright, once above steps are done then next step is to configure SharePoint Server 2013 to make the WOPI binding with Office Web Apps 2013.</font></p>  <p><font color="#004080" size="3" face="Calibri">You have to use New-SPWOPIBinding commandlet to do that.&#160; In my environment I run it like below. </font></p>  <p>New-SPWOPIBinding –ServerName “litsp3.litware.local”</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/1768.image_5A12D302.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/1768.image_5F00_5A12D302.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/1460.image_thumb_1904539E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/1460.image_5F00_thumb_5F00_1904539E.png" width="612" height="579" /></a></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Office Web Apps Server uses the concept of zones to determine which URL (internal or external) and which protocol (HTTP or HTTPS) to use when it communicates with the host, which in this case is SharePoint 2013. By default, SharePoint Server 2013 uses the <strong>internal-https</strong> zone. Verify that this is the current zone by running the following command:</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Get-SPWOPIZone</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">After you run this command, you should see the WOPI zone displayed. It should be <strong>internal-https</strong>.</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Finally to test everything working fine or not, create or upload different types of office documents. Below screenshot is a test with a new PowerPoint document. You can see the URL that since SharePoint 2013 is already has the capability as a host using WOPI, it will detect the document and render it in the WOPI interface (/_layouts/15/WopiFrame.aspx)</font></p>  <p align="justify"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/6237.image_22E94509.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/6237.image_5F00_22E94509.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/5460.image_thumb_08A8DBE5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/5460.image_5F00_thumb_5F00_08A8DBE5.png" width="617" height="369" /></a></p>  <p><font color="#004080" size="3" face="Calibri"><strong>Troubleshooting &amp; Monitoring</strong> </font></p>  <p><font color="#004080" size="3" face="Calibri">For troubleshooting, we have our friend :) ULS log available for Office Web Apps 2013 as well. Location is different than default location of SharePoint. You might have noticed it in the Step <strong>#4</strong> that after provisioning a new farm it will provide the details of the ULS log as well. </font></p>  <p><font color="#004080" size="3" face="Calibri">Since by default ULS log location configured under “C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS”, you have to enable the hidden files&#160; in C:\ drive as “ProgramData” folder is hidden by default. </font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/8787.image_0E174C89.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/8787.image_5F00_0E174C89.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0743.image_thumb_5F5193E6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0743.image_5F00_thumb_5F00_5F5193E6.png" width="644" height="316" /></a></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Location of the ULS log can be changed using <a href="https://technet.microsoft.com/en-us/library/jj219442(v=office.15).aspx">Set-OfficeWebAppsFarm</a>, but only one caveat is that to get the change to effect , we have to restart the OWA server, if there are more servers in the farm all servers has to be started to get the change updated. Not only this setting there are other configuration changes as well which needs the system restart, you can refer the documentation of above mentioned PS commandlet for more information about those all. I would recommend you to go through the that PS commandlet and plan all your required configurations before the deployment so that way you can avoid any system reboot after the deployment. </font></p>  <p align="justify"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0456.image_1E431482.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0456.image_5F00_1E431482.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/8838.image_thumb_6B730E0D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/8838.image_5F00_thumb_5F00_6B730E0D.png" width="646" height="462" /></a></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Like in SharePoint, ULS log will be very helpful to get to know what is happening behind the scene and hence troubleshoot issues easily. In my case I have faced an issue while rending the document in SharePoint web interface after the configuration. Then I have checked the ULS logs in OWA server then found that there was a communication issue due to firewall in my environment. In windows Azure virtual machines ping is disabled by default I have had to enable the below firewall rule (Virtual Machine Monitoring (Echo Request - ICMPV4-In)) to get it working.</font></p>  <p align="justify"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/2084.image_553CF2BB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/2084.image_5F00_553CF2BB.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/8741.image_thumb_1B4DAFCF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/8741.image_5F00_thumb_5F00_1B4DAFCF.png" width="661" height="64" /></a></p>  <p><font color="#004080" size="3" face="Calibri">ULS log exception is given below.</font></p>  <p>Health report by PowerPointViewingServicesWatchdog_Web: Agent: WebPPTViewer, eventId: 1188, eventType: Error, categoryId: 0, eventMessage: PowerPointViewingServicesWatchdog_Web reported status for WebPPTViewer in category 'WfeRedirect'. Reported status: Exception when checking /default.aspx: System.Net.WebException: Unable to connect to the remote server ---&gt; <font color="#ff0000">System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 10.10.1.10:80&#160;&#160;&#160; <br /> at System.Net.Sockets.Socket.DoConnect</font>(EndPoint endPointSnapshot, SocketAddress socketAddress)&#160;&#160;&#160; <br /> at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp; exception)&#160;&#160;&#160;&#160; -    <br /> -- End of inner exception stack trace ---&#160;&#160;&#160; <br /> at System.Net.HttpWebRequest.GetResponse()&#160;&#160;&#160; <br /> at Microsoft.Office.Web.Common.WatchdogHelper.CheckWfeRedirect(ServiceInstance instance, Int16 category, String categoryName)</p>  <p><font color="#004080" size="3" face="Calibri">For monitoring the OWA server there are many performance counters available </font></p>  <p><font color="#004080" size="3" face="Calibri">Perfmon view to monitor the performance by using the counters.</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0728.image_18C47E11.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0728.image_5F00_18C47E11.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/1563.image_thumb_5102F529.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/1563.image_5F00_thumb_5F00_5102F529.png" width="681" height="506" /></a></p>  <p><font color="#004080" size="3" face="Calibri">Task Manager view of OWA related processes</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/6685.image_24E5F838.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/6685.image_5F00_24E5F838.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0407.image_thumb_560532D8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0407.image_5F00_thumb_5F00_560532D8.png" width="685" height="592" /></a></p>    <p><font color="#004080" size="3" face="Calibri">Hope this post will be helpful for someone !</font></p>  <p><font color="#004080" size="3" face="Calibri">I would recommend to read the below blog posts as well </font></p>  <p><font color="#004080" size="3" face="Calibri">Spencer’s <a href="https://www.harbar.net/archive/2012/07/30/353.aspx">article</a> on Editing License with OWA&#160; 2013</font></p>  <p><font color="#004080" size="3" face="Calibri">Ali’s <a href="https://blogs.msdn.com/b/alimaz/archive/2012/07/26/translating-office-documents-using-office-web-apps-preview-and-microsoft-translator-service.aspx">article</a> on Machine Translation Services with OWA 2013</font></p>  <p><font color="#004080" size="3" face="Calibri">Steve’s <a href="https://blogs.technet.com/b/speschka/archive/2012/07/23/configuring-office-web-apps-in-sharepoint-2013.aspx">article</a> on Configuring OWA 2013</font></p>]]></content:encoded>
    </item>
    <item>
      <title>“The license state for the current server doesn't match the farm's license state”– SharePoint PSConfig Error</title>
      <link>https://docs.microsoft.com/archive/blogs/sowmyancs/the-license-state-for-the-current-server-doesnt-match-the-farms-license-state-sharepoint-psconfig-error</link>
      <pubDate>Wed, 08 Aug 2012 18:32:53 GMT</pubDate>
      <dc:creator><![CDATA[sowmyancs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sowmyancs/2012/08/08/the-license-state-for-the-current-server-doesnt-match-the-farms-license-state-sharepoint-psconfig-error/</guid>
      <description><![CDATA[Recently I have involved in an interesting troubleshooting issue. There are many blog posts and...]]></description>
      <content:encoded><![CDATA[<p align="justify"><font color="#004080" size="3" face="Calibri">Recently I have involved in an interesting troubleshooting issue. There are many blog posts and TechNet discussions about this error. Thought that to post it here about my experience.</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Here is the scenario. Customer has two Windows 2008 R2 Std machines (lets call it as srvsp1 &amp; srvsp2) installed and configured with the following products.</font></p>  <ol>   <li>     <div align="justify"><font color="#004080" size="3" face="Calibri">SharePoint Server 2010 Enterprise Edition </font></div>   </li>    <li>     <div align="justify"><font color="#004080" size="3" face="Calibri">Office Web Apps </font></div>   </li> </ol>  <p align="justify"><font color="#004080" size="3" face="Calibri">Recently we have patched those two servers with <a href="https://blogs.technet.com/b/stefan_gossner/archive/2012/07/03/june-2012-cu-for-sharepoint-2010-has-been-released.aspx">June 2012 CU</a> , for some troubleshooting one of the servers (srvsp2) was disconnected from the farm. After completing the installation while trying to add the server back to the farm by running the PSConfig we got the below error, </font></p>  <p><font style="background-color: #ffffff" color="#ff0000">The license state for the current server doesn't match the farm's license state.      <br />System.InvalidOperationException: The current server cannot be joined to this farm because the set of installed products does not match the products installed in the farm.</font></p>  <p><font style="background-color: #ffffff" color="#ff0000">The license state for the current server doesn't match the farm's license state.      <br />&#160;&#160; at Microsoft.SharePoint.Administration.SPFarm.Join()       <br />&#160;&#160; at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()       <br />&#160;&#160; at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()       <br />&#160;&#160; at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()</font></p>  <p><font color="#004080" size="3" face="Calibri">Here are the troubleshooting steps.</font></p>  <p><font color="#004080" size="3" face="Calibri"><strong># Step 1</strong></font></p>  <p><font color="#004080" size="3" face="Calibri">Verify the configuration database has correct entries of all installed products. For that , we ran the following query against the “Objects” table of SharePoint configuration database.</font></p>  <p><font color="#800040">Select * from Objects with (nolock) where properties like '%icrosoft.SharePoint.Administration.SPInstallState%'</font></p>  <p><font color="#004080" size="3" face="Calibri">From the result copy the “Properties” column value to notepad or any xml editor tool, in my case I have used Visual Studio.</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/2577.image_3AD92119.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/2577.image_5F00_3AD92119.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/8816.image_thumb_3994883A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/8816.image_5F00_thumb_5F00_3994883A.png" width="609" height="216" /></a></p>  <p><font color="#004080" size="3" face="Calibri">Values that we are interested the ones highlighted in the below screenshot. Same is given below.</font></p>  <p><font color="#800040">&lt;sFld type=&quot;Guid&quot;&gt;beed1f75-c398-4447-aef1-e66e1f0df91e&lt;/sFld&gt;      <br />&lt;sFld type=&quot;Guid&quot;&gt;d5595f62-449b-4061-b0b2-0cbad410bb51&lt;/sFld&gt;</font></p>  <p>   <br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/4774.image_1834E29E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/4774.image_5F00_1834E29E.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/0181.image_thumb_7DF47979.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/0181.image_5F00_thumb_5F00_7DF47979.png" width="617" height="114" /></a></p>  <p><font color="#004080" size="3" face="Calibri"><strong># Step 2</strong></font></p>  <p><font color="#004080" size="3" face="Calibri">Once we get those GUIDs, next step is make sure that any difference in the actual Physical SharePoint server’s installed products and configuration database. </font></p>  <p><font color="#004080" size="3" face="Calibri">To do that, check the below registry location in both the SharePoint Servers (srvsp1 &amp; srvsp2)</font>.     <br />    <br /><font color="#800040">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\InstalledProducts</font></p>  <p><font color="#004080" size="3" face="Calibri">In our case it looked like this:</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/6837.image_75FCD717.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/6837.image_5F00_75FCD717.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/91/02/metablogapi/1134.image_thumb_153F7DEB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-02-metablogapi/1134.image_5F00_thumb_5F00_153F7DEB.png" width="620" height="155" /></a></p>  <p>   <br /><font color="#800040">{90140000-1014-0000-1000-0000000FF1CE} REG_SZ BEED1F75-C398-4447-AEF1-E66E1F0DF91E      <br />{90140000-110D-0000-1000-0000000FF1CE} REG_SZ D5595F62-449B-4061-B0B2-0CBAD410BB51       <br />{90140000-112D-0000-1000-0000000FF1CE} REG_SZ 926E4E17-087B-47D1-8BD7-91A394BC6196</font></p>  <p><font color="#004080" size="3" face="Calibri">Here we can clearly see that the physical box has 3 entries whereas the configuration database has only 2 of them. </font></p>  <p><font color="#004080" size="3" face="Calibri">More details of the GUIDs are given below.</font></p>  <p><font color="#800040">BEED1F75-C398-4447-AEF1-E66E1F0DF91E is for &quot;SharePoint Foundation 2010&quot;, </font></p>  <p><font color="#800040">D5595F62-449B-4061-B0B2-0CBAD410BB51 is for &quot;SharePoint Server 2010 Enterprise&quot; </font></p>  <p><font color="#800040">926E4E17-087B-47D1-8BD7-91A394BC6196 is for “Office Web Companions 2010&quot; (Office Web Apps)</font></p>  <p>(<font color="#004080" size="3" face="Calibri">Just FYI, for more information all different product SKUs and it’s GUIDs please refer this article : </font><a title="https://msdn.microsoft.com/en-us/library/ff721969.aspx" href="https://msdn.microsoft.com/en-us/library/ff721969.aspx">https://msdn.microsoft.com/en-us/library/ff721969.aspx</a> )</p>  <p align="left"><font color="#004080" size="3" face="Calibri">In our case, the Configuration database should have had 3 entries to match the registry in a normal farm. For some reason it was not updated with the office web apps production installation , it may caused by an installation issue. </font></p>  <p><strong><font color="#004080" size="3" face="Calibri">Resolution:        <br />=========</font></strong></p>  <p><font color="#004080" size="3" face="Calibri">Run the following Power Shell commandlet on any working server in the farm. In our case it was srvsp1, the reason we would need to run from this server is because the problem server – srvsp2 is still not in the farm.</font></p>  <p><strong><font color="#004080" size="3" face="Calibri"><a href="https://technet.microsoft.com/en-us/library/ff607962">Set-SPFarmConfig</a> –InstalledProductsRefresh</font></strong></p> <strong></strong>  <p><font color="#004080" size="3" face="Calibri">This will pick the entries from the server and reset the entries in the Config DB. To double-check, you can run the same SQL query mentioned above and confirm the &lt;sFId /&gt; values.</font></p>  <p align="justify"><font color="#004080" size="3" face="Calibri">Hope this will helpful while troubleshooting this specific issue related to SharePoint. There are different scenarios as well, eg: configuration database may have the values but it was not there in the physical server’s registry. To fix that you may end up with uninstall and install the product to update it correctly. </font></p>]]></content:encoded>
    </item>
  </channel>
</rss>