<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Data Inspirations &#187; SharePoint</title>
	<atom:link href="http://blog.datainspirations.com/tag/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.datainspirations.com</link>
	<description>Inspiring Intelligence from Information</description>
	<lastBuildDate>Thu, 02 Feb 2012 01:12:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Analysis Services Data Connections and SharePoint &#8211; One Solution to &#8220;Connection Cannot Be Made&#8221;</title>
		<link>http://blog.datainspirations.com/2010/06/27/analysis-services-sharepoint-connection/</link>
		<comments>http://blog.datainspirations.com/2010/06/27/analysis-services-sharepoint-connection/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 18:56:28 +0000</pubDate>
		<dc:creator>Stacia Misner</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SSAS]]></category>

		<guid isPermaLink="false">http://blog.datainspirations.com/2010/06/27/analysis-services-data-connections-and-sharepoint-one-solution-to-connection-cannot-be-made/</guid>
		<description><![CDATA[Recently I came across a problem with an Analysis Services data connection when I was trying to create a status indicator in SharePoint 2010 (formerly known as a key performance indicator in SharePoint 2007). I had successfully created the data connection in Excel, verified that I could create a PivotTable with it, and then saved [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across a problem with an Analysis Services data connection when I was trying to create a status indicator in SharePoint 2010 (formerly known as a key performance indicator in SharePoint 2007). I had successfully created the data connection in Excel, verified that I could create a PivotTable with it, and then saved the connection to Excel Services as an Office Data Connection (ODC) file. However, when I tried to use the ODC to create a status indicator, the following error displayed:</p>
<p><code>"A connection cannot be made. Ensure that the server is running."</code></p>
<p>Well, I knew that the server was running, because I had just created a PivotTable with the same ODC. Then I tried searching the Web, but couldn&#8217;t find anything useful (which prompted me to write this post!). In this scenario, I am running all servers on the same machine for demonstration purposes, so I knew it wasn&#8217;t a double-hop problem. I had read that enabling SQL Browser would help, or using the IP address rather than the server name could be solutions also, but neither of those recommendations helped.</p>
<p>I tried different connections that I had created over time and several had the same problem &#8211; connection cannot be made. After fussing around with different options, I finally went back to study my connection strings and saw my problem:</p>
<p style="text-align: left;"><code>Provider=MSOLAP.4;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=Adventure Works DW 2008R2;Data Source=.;Location=.;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error</code></p>
<p>When I removed <code>Location=.;</code> from the string, and exported the new connection to SharePoint, the connection worked just fine! In further testing, I found that I put the server name, rather than the . placeholder to represent localhost, the connection also worked.</p>
<p style="text-align: left;">Now the mystery is how I got that property into the connection string in the first place. I can&#8217;t reproduce it by using the Data Connection Wizard in Excel, but that&#8217;s generally the only way I produce an ODC file. Regardless of how it came to be in my connection string, I now know that the Location property is not required for the ODC file to work, or must reference the actual server name if it is included.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.datainspirations.com/2010/06/27/analysis-services-sharepoint-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

