<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Microsoft SQL Server Support Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sqlblog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sqlblog/feed.xml</link>
    <description>SQL Server information from the folks at Microsoft Support</description>
    <lastBuildDate>Thu, 16 May 2019 17:21:59 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Azure Analysis Services – How to use a different user account in reporting and development tools</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/azure-analysis-services-how-to-use-a-different-user-account-in-reporting-and-development-tools</link>
      <pubDate>Wed, 25 Jan 2017 18:19:55 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1415</guid>
      <description><![CDATA[All the tools, SSMS, SSDT, and Power BI Desktop share the IE cookies cache that stores the Azure...]]></description>
      <content:encoded><![CDATA[<span style="color: #1f497d"></span>

<span style="color: #1f497d">All the tools, SSMS, SSDT, and Power BI Desktop share the IE cookies cache that stores the Azure Analysis Services login credential. If you need to login using a different credential, and the tool does not provide an interface to put in a different credential, you can clear the IE cookies
</span>

<span style="color: #1f497d">Please go to Internet Explorer, choose Internet options, choose General tab, click on Delete button
</span>

<span style="color: #1f497d">
<a href="https://msdnshared.blob.core.windows.net/media/2017/01/a1.jpg"><img width="477" height="658" class="alignnone size-full wp-image-1425" alt="a1" src="https://msdnshared.blob.core.windows.net/media/2017/01/a1.jpg" /></a> </span>

<span style="color: #1f497d">Check Cookies and website data, then choose Delete
</span>

<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2017/01/a2.jpg"><img width="451" height="667" class="alignnone size-full wp-image-1435" alt="a2" src="https://msdnshared.blob.core.windows.net/media/2017/01/a2.jpg" /></a>
</span>

<span style="color: #1f497d">Launch  Power BI desktop, and choose Get Data, choose server type SQL Server Analysis Services, can choose the Live Connection. Power BI will ask your to login again.
</span>

<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2017/01/a3.jpg"><img width="705" height="393" class="alignnone size-full wp-image-1445" alt="a3" src="https://msdnshared.blob.core.windows.net/media/2017/01/a3.jpg" /></a>
</span>

<span style="color: #1f497d">If you want to choose Power BI Desktop Import Data option, then there is an option to clear the credential in the tool.
</span>

<span style="font-family: Segoe UI;font-size: 10pt">There is an option in Power BI to change the user and clear the cached users. But it is not available with live connection, only with the import option:
</span>
<p style="margin-left: 36pt"><span style="font-family: Segoe UI;font-size: 10pt">Note: If you only wish to clear the cached permissions, it doesn't matter which server (azure or on-prem) you are connecting to, independent of the connection you will be able to see all cached permissions.
</span></p>
<p style="margin-left: 36pt"><span style="font-family: Segoe UI;font-size: 10pt"><a href="https://msdnshared.blob.core.windows.net/media/2017/01/a41.jpg"><img width="710" height="327" class="alignnone size-full wp-image-1505" alt="a4" src="https://msdnshared.blob.core.windows.net/media/2017/01/a41.jpg" /></a>
</span></p>
<span style="font-family: Segoe UI;font-size: 10pt">When you chose the "Import" option, it will give you a login window:
</span>
<p style="margin-left: 36pt"><span style="font-family: Segoe UI;font-size: 10pt">Note: if it uses a cached user for this step, still continue and finish the import, after which, you will be able to change the user and empty the cache as shown in the next step
</span></p>
<p style="margin-left: 36pt"><span style="font-family: Segoe UI;font-size: 10pt">  <a href="https://msdnshared.blob.core.windows.net/media/2017/01/a51.jpg"><img width="710" height="325" class="alignnone size-full wp-image-1495" alt="a5" src="https://msdnshared.blob.core.windows.net/media/2017/01/a51.jpg" /></a>
</span></p>
<span style="font-family: Segoe UI;font-size: 10pt">After this you will be able to go to "Data source settings":
</span>
<p style="margin-left: 36pt"><span style="font-family: Segoe UI;font-size: 10pt"><a href="https://msdnshared.blob.core.windows.net/media/2017/01/a6.jpg"><img width="1286" height="455" class="alignnone size-full wp-image-1465" alt="a6" src="https://msdnshared.blob.core.windows.net/media/2017/01/a6.jpg" /></a>
</span></p>
<span style="font-family: Segoe UI;font-size: 10pt">Here you will be able to see the Data sources for the current file or the Global permissions (everything that is cached).
</span>

<span style="font-family: Segoe UI;font-size: 10pt">With "clear the permissions" delete the cached permissions or With Edit permission you can change the user
</span>
<p style="margin-left: 36pt"><span style="font-family: Segoe UI;font-size: 10pt"><a href="https://msdnshared.blob.core.windows.net/media/2017/01/a71.jpg"><img width="811" height="591" class="alignnone size-full wp-image-1485" alt="a7" src="https://msdnshared.blob.core.windows.net/media/2017/01/a71.jpg" /></a>
</span></p>
<span style="font-family: Segoe UI;font-size: 10pt">
</span>]]></content:encoded>
    </item>
    <item>
      <title>Azure Analysis Services – How to switch to a different user account in reporting tools</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/azure-analysis-services-how-to-switch-to-a-different-user-account-in-report-tools</link>
      <pubDate>Wed, 25 Jan 2017 04:08:03 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1405</guid>
      <description><![CDATA[All the tools, SSMS, SSDT, and Power BI Desktop share the IE cookies cache that stores the Azure...]]></description>
      <content:encoded><![CDATA[<p><span style="color:#1f497d">All the tools, SSMS, SSDT, and Power BI Desktop share the IE cookies cache that stores the Azure Analysis Services login credential. If you need to login using a different credential, and the tool does not provide an interface to put in a different credential, you can clear the IE cookies
</span></p><p>
 </p><p><span style="color:#1f497d">Please go to Internet Explorer, choose Internet options, choose General tab, click on Delete button
</span></p><p>
 </p><p><img src="image001.png@01D2765F.5EB55B00" alt="" /><span style="color:#1f497d">
		</span></p><p>
 </p><p><span style="color:#1f497d">Check Cookies and website data, then choose Delete
</span></p><p>
 </p><p><img src="image002.png@01D2765F.5EB55B00" alt="" /><span style="color:#1f497d">
		</span></p><p>
 </p><p><span style="color:#1f497d">Launch  Power BI desktop, and choose Get Data, choose server type SQL Server Analysis Services, can choose the Live Connection. Power BI will ask your to login again.
</span></p><p>
 </p><p><img src="image003.png@01D2765F.5EB55B00" alt="" /><span style="color:#1f497d">
		</span></p><p>
 </p><p><span style="color:#1f497d">If you want to choose Power BI Desktop Import Data option, then there is an option to clear the credential in the tool.
</span></p><p><span style="font-family:Segoe UI;font-size:10pt">There is an option in Power BI to change the user and clear the cached users. But it is not available with live connection, only with the import option:
</span></p><p style="margin-left: 36pt"><span style="font-family:Segoe UI;font-size:10pt">Note: If you only wish to clear the cached permissions, it doesn't matter which server (azure or on-prem) you are connecting to, independent of the connection you will be able to see all cached permissions.
</span></p><p style="margin-left: 36pt"><img src="image004.png@01D27729.7373F770" alt="" /><span style="font-family:Segoe UI;font-size:10pt">
		</span></p><p>
 </p><p><span style="font-family:Segoe UI;font-size:10pt">When you chose the "Import" option, it will give you a login window:
</span></p><p style="margin-left: 36pt"><span style="font-family:Segoe UI;font-size:10pt">Note: if it uses a cached user for this step, still continue and finish the import, after which, you will be able to change the user and empty the cache as shown in the next step
</span></p><p style="margin-left: 36pt"><img src="image005.png@01D27729.7373F770" alt="" /><span style="font-family:Segoe UI;font-size:10pt">
		</span></p><p>
 </p><p>
 </p><p>
 </p><p>
 </p><p><span style="font-family:Segoe UI;font-size:10pt">After this you will be able to go to "Data source settings":
</span></p><p style="margin-left: 36pt"><img src="image006.png@01D27729.7373F770" alt="" /><span style="font-family:Segoe UI;font-size:10pt">
		</span></p><p>
 </p><p>
 </p><p><span style="font-family:Segoe UI;font-size:10pt">Here you will be able to see the Data sources for the current file or the Global permissions (everything that is cached). 
</span></p><p><span style="font-family:Segoe UI;font-size:10pt">With "clear the permissions" delete the cached permissions or With Edit permission you can change the user 
</span></p><p style="margin-left: 36pt"><img src="image007.png@01D27729.7373F770" alt="" /><span style="font-family:Segoe UI;font-size:10pt">
		</span></p><p>
 </p><p>
 </p><p>
 </p><p><span style="color:#1f497d">
		</span> </p>]]></content:encoded>
    </item>
    <item>
      <title>Azure Analysis Services processing/refresh sample AMO code</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/azure-analysis-services-processingrefresh-sample-amo-code</link>
      <pubDate>Wed, 25 Jan 2017 03:57:46 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1395</guid>
      <description><![CDATA[Sample code to process object in Azure Analysis Services
Visit this web page Data providers for...]]></description>
      <content:encoded><![CDATA[<p>Sample code to process object in Azure Analysis Services
</p><p>Visit this web page <span style="color:#222222"><strong>Data providers for connecting to Azure Analysis Services</strong></span>, URL is <a href="https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers">https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers</a>
	</p><p>At the bottom of the web page, download then install AMO.
</p><p>
 </p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> System;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> System.Collections.Generic;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> System.Linq;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> System.Text;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> System.Threading.Tasks;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> Microsoft.AnalysisServices;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">using<span style="color:black"> Microsoft.AnalysisServices.Tabular;
</span></span></p><p><span style="color:blue;font-family:Consolas;font-size:9pt">namespace<span style="color:black"> AMOAzureASProcess
</span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">{
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:blue">class<span style="color:black">
					<span style="color:#2b91af">Program<span style="color:black">
						</span></span></span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">    {
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:blue">static<span style="color:black">
					<span style="color:blue">void<span style="color:black"> Main(<span style="color:blue">string<span style="color:black">[] args)
</span></span></span></span></span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">        {
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:blue">try<span style="color:black">
				</span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">            {
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">                Microsoft.AnalysisServices.Server s = <span style="color:blue">new<span style="color:black"> Microsoft.AnalysisServices.Server();
</span></span></span></p><p>
 </p><p>
 </p><p>
 </p><p><span style="color:black;font-family:Consolas;font-size:9pt">                s.Connect(<span style="color:maroon">@"Password=something;Persist Security Info=True;User ID=someone@microsoft.com;Initial Catalog=<span style="color:#a31515"> MyDatabase<span style="color:maroon">;Data Source=asazure://southcentralus.asazure.windows.net/someserver"<span style="color:black">);
</span></span></span></span></span></p><p>                
 </p><p>          
 </p><p><span style="color:black;font-family:Consolas;font-size:9pt">                Microsoft.AnalysisServices.Database db = s.Databases[<span style="color:#a31515">"MyDatabase"<span style="color:black">];
</span></span></span></p><p>                
 </p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:green">//process a table<span style="color:black">
				</span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">                Model m = db.Model;
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">                m.Tables[<span style="color:#a31515">"DimDate"<span style="color:black">].RequestRefresh(Microsoft.AnalysisServices.Tabular.RefreshType.Full);
</span></span></span></p><p>               
 </p><p>
 </p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:green">//process a partition<span style="color:black">
				</span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">                m.Tables[<span style="color:#a31515">"FactInternetSales"<span style="color:black">].Partitions[<span style="color:#a31515">"FactInternetSales"<span style="color:black">].RequestRefresh(Microsoft.AnalysisServices.Tabular.RefreshType.Full);
</span></span></span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">                db.Update(UpdateOptions.ExpandFull);
</span></p><p>                
 </p><p><span style="color:black;font-family:Consolas;font-size:9pt">                m.RequestRefresh(Microsoft.AnalysisServices.Tabular.RefreshType.Calculate);
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">                db.Update(UpdateOptions.ExpandFull);
</span></p><p>
 </p><p><span style="color:black;font-family:Consolas;font-size:9pt">                s.Disconnect();
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">            }
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:blue">catch<span style="color:black"> (<span style="color:#2b91af">Exception<span style="color:black"> ex)
</span></span></span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">            {
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:#2b91af">Console<span style="color:black">.WriteLine(ex.ToString());
</span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">            }
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:#2b91af">Console<span style="color:black">.WriteLine(<span style="color:#a31515">"Process is successful"<span style="color:black">);
</span></span></span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">
			<span style="color:#2b91af">Console<span style="color:black">.ReadLine();
</span></span></span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">        }
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">    }
</span></p><p><span style="color:black;font-family:Consolas;font-size:9pt">}
</span></p><p>
 </p>]]></content:encoded>
    </item>
    <item>
      <title>SSAS processing performance gain by using OLE DB provider for Oracle instead of using .NET provider for Oracle</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/ssas-processing-performance-gain-by-using-ole-db-provider-for-oracle-instead-of-using-net-provider-for-oracle</link>
      <pubDate>Wed, 25 Jan 2017 03:51:51 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1385</guid>
      <description><![CDATA[Problem: You are unable to change the size set parameter in the data source of an SSAS model that...]]></description>
      <content:encoded><![CDATA[<p>Problem: You are unable to change the size set parameter in the data source of an SSAS model that gets data from an Oracle database
</p><p>Cause: Oracle .NET provider may not support the property you want to set
</p><p>Solution: Switch to user the Oracle OLE DB Provider. It may support additional properties that are not available in the Oracle .NET provider
</p><p>Using a native provider has performance advantage over a .NET provider.
</p><p>From performance's standpoint, a native/OLE DB provider is more efficient than a .NET provider. We recommend to use an OLE DB Provider over an equivalent .NET provider.
</p><p>In a support case, we find process times in SSAS went from 22 hours down to 2.5 hours using a remote cloud hosted Oracle data source simply by changing from the .NET Oracle provider to OLE DB Provider for Oracle
</p>]]></content:encoded>
    </item>
    <item>
      <title>Azure Analysis Services Preview shows workspace databases not being deleted</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/azure-analysis-services-shows-workspace-databases-not-being-deleted</link>
      <pubDate>Tue, 24 Jan 2017 23:00:01 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1305</guid>
      <description><![CDATA[Problem: You may see Analysis Services tabular model workspace databases remain on the Azure...]]></description>
      <content:encoded><![CDATA[Problem: You may see Analysis Services tabular model workspace databases remain on the Azure Analysis Service server.

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2259_AzureAnalys1.png" />

Cause: When you create a tabular model in Visual Studio, you choose the Azure Analysis Services server as the workspace server, and the default Workspace Retention property is set to Unload from Memory.

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2259_AzureAnalys2.png" />

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2259_AzureAnalys3.png" />

The workspace on Azure Analysis Services Preview cannot be unloaded from memory after the Visual Studio project is closed.

Solution:
<ol>
 	<li>Whenever possible, use the integrated workspace. This provides the best user experience, but the limitation is that you need to have enough memory and CPU power on your development machine to host the workspace database</li>
</ol>
<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2259_AzureAnalys4.png" />

The second best option is to set the workspace database to point to an on-prem SSAS server

If you have to use the Azure Analysis Services Preview as the workspace server, you need to change the WorkSpace Retention to Delete Workspace

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Azure Analysis Services Preview -How to add security group</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/azure-analysis-services-howto-add-security-group</link>
      <pubDate>Tue, 24 Jan 2017 22:47:28 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1205</guid>
      <description><![CDATA[The information posted originally in this blog is now out-of-date due to change in the Azure...]]></description>
      <content:encoded><![CDATA[The information posted originally in this blog is now out-of-date due to change in the Azure products. Please open a new support case if you need help with adding security group in Azure Analysis Services. Security group now can be added in format obj:&lt;objid&gt;@&lt;tenanted&gt;  using SSMS or AMO.

Go to the group Properties, page find the object ID.

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/1.jpg"><img width="698" height="523" class="alignnone size-full wp-image-1525" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/1.jpg" /></a>

&nbsp;

Go to the Active Directory Properties page, find the directory ID

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/01/2.jpg"><img width="545" height="776" class="alignnone size-full wp-image-1535" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/2.jpg" /></a>

Then Go to SSMS, connect to the server, right click on the server, choose Properties, choose Security, click the Add button, in the Manual Add area

Type in obj:GroupID@DirectoryID like the one I have below. It should also work.

<span><a href="https://msdnshared.blob.core.windows.net/media/2017/01/4.jpg"><img width="398" height="503" class="alignnone size-full wp-image-1575" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/4.jpg" /></a></span>

&nbsp;

<span style="text-decoration: line-through">Problem: You are not able to add a security group as administrator on Azure Analysis Services Preview. The error is below</span>

<span style="text-decoration: line-through">Failed to save modifications to the server. Error returned: 'The identity 'Domain\Group' has invalid identity provider ''. Only Azure Active Directory users or groups are supported. Use 'AzureAD' as the value of the identity provider.</span>

<span style="text-decoration: line-through">When you manage the Azure Analysis Services database security role membership, you also get the same error when you try to add a group in the database role membership.</span>

<span style="text-decoration: line-through">Cause: As of January 2017 there is a limitation on Analysis Services Preview security group management. Below are the rules</span>
<ol>
 	<li><span style="text-decoration: line-through"> </span><span style="text-decoration: line-through">Only AAD security groups with an email address can be added</span></li>
 	<li><span style="text-decoration: line-through"> </span><span style="text-decoration: line-through">An email distribution list (DL) cannot be used as a security group</span></li>
 	<li><span style="text-decoration: line-through"> </span><span style="text-decoration: line-through">You cannot add a security group using the domain\group name format. It needs to be an email address.</span></li>
</ol>
<span style="text-decoration: line-through">Solution:</span>

<span style="text-decoration: line-through">You can create a new security group in AAD using the Azure Portal, you can turn on the Enable Office Feature option. This will assign an email address for this group</span>

<span style="text-decoration: line-through">You need to provide the email address of the group when you want to add this group to Azure Analysis Services server security using SSMS.</span>

<span style="text-decoration: line-through">The easiest way to find out the email address of a group it to go to the Azure Portal, click on the Azure Analysis Services server, click on Analysis Services Admins, click add, then type in the name of the group. The user interface will find the email of the group for you.</span>

<span style="text-decoration: line-through">In the screen shot below, the name in the rectangle box is the email for the group.</span>

<span style="text-decoration: line-through">You can click the Maximize icon to expand the Add Server Administrators panel to show the full email address.</span>

<span style="text-decoration: line-through">If all you need to do is to add this group as the Analysis Services administrator, then you can select the group and save the change.</span>

<span style="text-decoration: line-through">Equivalently you can perform the same operation in SSMS in either server administrator or database role membership window</span>

<span style="text-decoration: line-through"> </span>]]></content:encoded>
    </item>
    <item>
      <title>Azure Analysis Services connection error “The connection string is not valid”</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/azure-analysis-services-connection-error-the-connection-string-is-not-valid</link>
      <pubDate>Tue, 24 Jan 2017 22:01:25 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1155</guid>
      <description><![CDATA[Problem 1: When you try to design an SSRS report to get data form an Azure Analysis Services server,...]]></description>
      <content:encoded><![CDATA[Problem 1: When you try to design an SSRS report to get data form an Azure Analysis Services server, you may get an exception when you try to preview the report

Cannot create a connection to data source

The connection string is not valid

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2201_AzureAnalys1.png" />

Problem 2: You cannot see the list of database when you try to create a connection to an Azure Analysis Services server

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2201_AzureAnalys2.png" />

Problem 3: If you try to open the query editor on a report that was already created, you may get the following error

Input string was not in a correct format.

----------------------------

The connection string is not valid.

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2201_AzureAnalys3.png" />

Problem 4: You may get the following error when trying to launch the SSRS report MDX query designer

Non-Windows user credentials were supplied for a non-http connection to Analysis Services. The Microsoft SQL Server Analysis Services data extension requires Windows Integrated Security unless connecting via http or https.

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2017/01/012417_2201_AzureAnalys4.png" />

Cause: The client libraries that are necessary to connect to the Azure Analysis Services server are not installed

Solution: Visit this web page <span style="color: #222222"><strong>Data providers for connecting to Azure Analysis Services</strong></span>, URL is <a href="https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers">https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers</a>

At the bottom of the web page, there are links to download the client libraries.]]></content:encoded>
    </item>
    <item>
      <title>Client unable to establish connection.. error when you configure ‘max server memory’ to a low value</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/client-unable-to-establish-connection-error-when-you-configure-max-server-memory-to-a-low-value</link>
      <pubDate>Wed, 24 Aug 2016 16:28:19 GMT</pubDate>
      <dc:creator><![CDATA[SQL Server Support Content]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1105</guid>
      <description><![CDATA[&nbsp; When you inadvertently set SQL Server’s ‘max server memory’ to a very low value, you may...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>When you inadvertently set SQL Server’s ‘max server memory’ to a very low value, you may experience one or more of the following symptoms:</p> <ul> <li>SQL Server cannot be started (from a tool like configuration manager) and the following message is logged in the SQL error log:<br>”An internal query can’t be executed due to inefficient memory…</li> <li>SQL instance is started, but connections would fail with an error message that reads:<br><font color="#ff0000">Cannot connect to &lt;Servername&gt;<br>Additional information:<br>The client was unable to establish connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server, the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider : Shared Memory Provider: Error :0 – No process is on the other end of the pipe.) (Microsoft SQL Server, Error:233)<br><br>No process on the other end of the pipe.</font></li></ul> <p>&nbsp;</p> <p>As noted in this <a href="https://blogs.msdn.microsoft.com/alexfeng/2013/07/07/sql-server-cant-start-after-accidently-set-the-max-server-memory-to-0/" target="_blank">blog</a>, we can try to workaround this issue by starting SQL Server with minimal configuration by adding–<strong>f</strong>&nbsp; to SQL startup parameters, but in most cases this causes SQL to start in single user mode and the connection is typically grabbed by some other process other than a tool like SSMS that can be used to correct the memory setting. The solution to this scenario is to specify the app that will be allowed to connect to SQL Server by using the <strong>–m</strong> parameter as noted below: <p> NET START MSSQLSERVER /f /m" Microsoft SQL Server Management Studio - Query" <p>OR <p>NET START MSSQLSERVER /f /m"SQLCMD" <p><strong>Additional References:</strong></p><strong> <ul> <li></strong>Server memory server configuration options: <a href="https://msdn.microsoft.com/en-us/library/ms178067(v=sql.110).aspx.">https://msdn.microsoft.com/en-us/library/ms178067(v=sql.110).aspx.</a></li> <li>How to: Start an instance of SQL Server: <a href="https://msdn.microsoft.com/en-us/library/ms180965(v=sql.105).aspx">https://msdn.microsoft.com/en-us/library/ms180965(v=sql.105).aspx</a></li> <li>Database Engine Service Startup Options <a href="https://msdn.microsoft.com/en-us/library/ms190737.aspx">https://msdn.microsoft.com/en-us/library/ms190737.aspx</a></li></ul> <p>&nbsp;</p> <p>Contributed by: <strong>Idit Izak</strong> (Senior Support engineer in SQL team)</p>]]></content:encoded>
    </item>
    <item>
      <title>You are not able to start more than 4 SSAS tabular model instances with default configuration settings</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/you-are-not-able-to-start-more-than-4-ssas-tabular-model-instances-with-default-configuration-settings</link>
      <pubDate>Wed, 27 Jul 2016 19:49:30 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1085</guid>
      <description><![CDATA[I have worked on a few cases with this problem. You are not able to start more than 4 SSAS tabular...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">I have worked on a few cases with this problem. You are not able to start more than 4 SSAS tabular model instances with default configuration settings. The 5<sup>th</sup> tabular model instance just cannot start unless one of the first 4 instance is stopped. </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">This is an interesting problem. I found after installing 4 SSAS tabular instances, the 5<sup>th</sup> instance cannot start until I lower all the instances setting of VeritipaqMemoryLimit to 5. The other configurations do not matter for instances 5 to 8, until the 9<sup>th</sup> instance. </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">I am not able to start the 9<sup>th</sup> instance with all the instances having VertiPaqMemoryLimit=5 LowMemoryLimit=5 MinimumAllocatedMemory=5. So there must be another setting that I need to tweak. As best practice, it is also necessary to change the other memory limits, so I change the HardMemoryLimit, TotalMemoryLimit, and VirtualMemoryLimit as following, then I can start the 9<sup>th</sup> instance. </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">    &lt;Memory&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;MemoryHeapType&gt;-1&lt;/MemoryHeapType&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;HeapTypeForObjects&gt;0&lt;/HeapTypeForObjects&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;HardMemoryLimit&gt;10&lt;/HardMemoryLimit&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;TotalMemoryLimit&gt;8&lt;/TotalMemoryLimit&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;LowMemoryLimit&gt;5&lt;/LowMemoryLimit&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;VertiPaqMemoryLimit&gt;5&lt;/VertiPaqMemoryLimit&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;MidMemoryPrice&gt;10&lt;/MidMemoryPrice&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;HighMemoryPrice&gt;1000&lt;/HighMemoryPrice&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;VirtualMemoryLimit&gt;8&lt;/VirtualMemoryLimit&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;SessionMemoryLimit&gt;1&lt;/SessionMemoryLimit&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;MinimumAllocatedMemory&gt;5&lt;/MinimumAllocatedMemory&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;WaitCountIfHighMemory&gt;10&lt;/WaitCountIfHighMemory&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;DefaultPagesCountToReuse&gt;2&lt;/DefaultPagesCountToReuse&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;HandleIA64AlignmentFaults&gt;0&lt;/HandleIA64AlignmentFaults&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;PreAllocate&gt;0&lt;/PreAllocate&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;VertiPaqPagingPolicy&gt;1&lt;/VertiPaqPagingPolicy&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;PagePoolRestrictNumaNode&gt;0&lt;/PagePoolRestrictNumaNode&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;HeapTypeForObjectGroupCount&gt;0&lt;/HeapTypeForObjectGroupCount&gt; </span>
		</span></p><p><span style="font-family:Times New Roman;font-size:12pt"><span style="color:#1f497d">        &lt;UseCountersPerCPU&gt;-1&lt;/UseCountersPerCPU&gt; </span>
		</span></p><p><span style="color:#1f497d;font-family:Times New Roman;font-size:12pt">    &lt;/Memory&gt; </span></p>]]></content:encoded>
    </item>
    <item>
      <title>Excel 2016 PivotTable timeout error on SSAS data source after 1 minute</title>
      <link>https://docs.microsoft.com/archive/blogs/sqlblog/excel-2016-pivottable-timeout-error-on-ssas-data-source-after-1-minute-2</link>
      <pubDate>Fri, 10 Jun 2016 16:35:50 GMT</pubDate>
      <dc:creator><![CDATA[Haidong Huang]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sqlblog/?p=1075</guid>
      <description><![CDATA[Excel 2016 PivotTable report may generate an error message after running the report for 1 minute....]]></description>
      <content:encoded><![CDATA[<p>Excel 2016 PivotTable report may generate an error message after running the report for 1 minute. 
</p><p>The connection timeout was exceeded.
</p><p><img src="image004.png@01D1A12F.BABEDB20" alt="" />
	</p><p>This problem only happens if you have the build number 11.0.9167.412 of the SSAS OLE DB Provider shipped in Excel 2016 update. You can check the following files and see if the version is build 9167.
</p><p>C:\Program Files (x86)\Microsoft Office\root\VFS\ProgramFilesX86\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll for 32-bit 
</p><p> C:\Program Files\Microsoft Office\root\VFS\ProgramFilesX64\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll for 64-bit
</p><p><span style="color:black">If I replace this dll from an earlier version, for example, build 11.0.9166.514, then the problem is resolved.
</span></p><p><span style="color:black">This is a known problem, and the dev team is investigating the cause and the fix. I expect a fix should come soon in an Excel update.
</span></p><p><span style="color:black">Excel 2013 does not have this problem.
</span></p><p><span style="color:black">[Update 6/10/2016]:</span>
		<span style="color:black">The fix will be in July's Current Channel/Insider's Channel Office 365 update release.</span>
	</p><p>
 </p>]]></content:encoded>
    </item>
  </channel>
</rss>