<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Rénald's Blog - SSAS 2008</title>
    <link>http://www.renaldnollet.com/blog/</link>
    <description />
    <language>en-us</language>
    <copyright>Rénald Nollet</copyright>
    <lastBuildDate>Tue, 02 Feb 2010 22:08:20 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>rno.rno.rno@gmail.com</managingEditor>
    <webMaster>rno.rno.rno@gmail.com</webMaster>
    <item>
      <trackback:ping>http://www.renaldnollet.com/blog/Trackback.aspx?guid=9ec70a71-3e11-4fcb-9e19-da4901f51e1f</trackback:ping>
      <pingback:server>http://www.renaldnollet.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.renaldnollet.com/blog/PermaLink,guid,9ec70a71-3e11-4fcb-9e19-da4901f51e1f.aspx</pingback:target>
      <dc:creator>Rénald Nollet</dc:creator>
      <wfw:comment>http://www.renaldnollet.com/blog/CommentView,guid,9ec70a71-3e11-4fcb-9e19-da4901f51e1f.aspx</wfw:comment>
      <wfw:commentRss>http://www.renaldnollet.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9ec70a71-3e11-4fcb-9e19-da4901f51e1f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <p>
A few days ago, we had issues to connect to an Analysis Services 2008 cube from Excel
2007. 
</p>
        <p>
Imagine that you are in a Windows domain or workgroup and that you must connect to
an Analysis Services on a remote server/server farm with its own workgroup or domain. 
</p>
        <p>
In our case, we are building something like software as a service (SAAS) platform
for a client where the concerned cube is just one small part of all the services &amp;
software we've to build. To access the cube, we are currently using a VPN connection. 
</p>
        <p>
The first thing is that Analysis Services is relying on a Windows authentication to
work, this is the only option we have: 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss1.png" alt="" width="595" height="70" />
        </p>
        <p>
          <a href="http://msdn.microsoft.com/en-us/library/ms143708.aspx">http://msdn.microsoft.com/en-us/library/ms143708.aspx</a>
        </p>
        <p>
It's not possible for us to create a trust between the remote environment and the
consumer one. And one or two other data consumers may connect from other environments. 
</p>
        <p>
 
</p>
        <p>
When trying to access the cube with XL 2007, we can thus forget the "Use Windows Authentication"
as the user we are logged on with is not known by the remote environment. 
</p>
        <p>
But we can choose to enter the user name and password of a windows user on the remote
platform: 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss2.png" alt="" />
        </p>
        <p>
For the user name, we tried the forms "User", "RemoteDomain\User", "User@RemoteDomain"
when working with a domain, "RemoteServer\User", "User@RemoteServer", or with the
IP replacing the remote server name when working in a workgroup. 
</p>
        <p>
The problem was always the same, XL shows this window : 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss3.png" alt="" />
        </p>
        <p>
Then, after choosing a cube or perspective, it takes very long time before showing
the message "Initialization of the data source failed" : 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss4.png" alt="" width="594" height="126" />
        </p>
        <p>
No choice, you click the ok button and then a new dialog window (Multidimensional
Connection 9.0) appears: 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss5.png" alt="" />
        </p>
        <p>
And only then you are ready to work. 
</p>
        <p>
This is of course really annoying. 
</p>
        <p>
So, after unsuccessfully playing with and without domain users, what did we do? 
</p>
        <ol>
          <li>
We saved the connected workbook to reopen it later. We still had the very long waiting
time and the "Initialization of the data source failed". 
</li>
          <li>
We saved the XL connection to reuse it. We still had the very long waiting time and
the "Initialization of the data source failed". 
</li>
          <li>
We configure the HTTP Access to SSAS (<a href="http://msdn.microsoft.com/en-us/library/cc917711.aspx">http://msdn.microsoft.com/en-us/library/cc917711.aspx</a>).
This time, <strong>we didn't have to wait a long time to receive the "Initialization
of the data source failed". </strong></li>
          <li>
            <strong>To avoid the multiple windows and warning messages</strong>, we added the
user and password to the Windows Vault of the Credential Manager of Windows 7 : <a href="http://windows.microsoft.com/en-us/windows7/What-is-Credential-Manager">http://windows.microsoft.com/en-us/windows7/What-is-Credential-Manager</a></li>
        </ol>
        <p>
About the Credential Manager, it's easy to find it in Windows 7 and Vista. In Windows
XP, you can type the command: <strong>control userpasswords2 </strong></p>
        <p>
With the credentials managed by the credential manager, the user only has to type
the URL of the SSAS and check the Windows authentication option. 
</p>
        <p>
Perhaps there are other ways to deal with these issues but we're happy to find this
quick setup answer to deal with these. 
</p>
        <img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=9ec70a71-3e11-4fcb-9e19-da4901f51e1f" />
      </body>
      <title>Resolved issues when connecting Excel 2007 to a remote cube on a SSAS 2008 outside your domain</title>
      <guid isPermaLink="false">http://www.renaldnollet.com/blog/PermaLink,guid,9ec70a71-3e11-4fcb-9e19-da4901f51e1f.aspx</guid>
      <link>http://www.renaldnollet.com/blog/2010/02/02/ResolvedIssuesWhenConnectingExcel2007ToARemoteCubeOnASSAS2008OutsideYourDomain.aspx</link>
      <pubDate>Tue, 02 Feb 2010 22:08:20 GMT</pubDate>
      <description>&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
A few days ago, we had issues to connect to an Analysis Services 2008 cube from Excel
2007. 
&lt;/p&gt;
&lt;p&gt;
Imagine that you are in a Windows domain or workgroup and that you must connect to
an Analysis Services on a remote server/server farm with its own workgroup or domain. 
&lt;/p&gt;
&lt;p&gt;
In our case, we are building something like software as a service (SAAS) platform
for a client where the concerned cube is just one small part of all the services &amp;amp;
software we've to build. To access the cube, we are currently using a VPN connection. 
&lt;/p&gt;
&lt;p&gt;
The first thing is that Analysis Services is relying on a Windows authentication to
work, this is the only option we have: 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss1.png" alt="" width="595" height="70"&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms143708.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms143708.aspx&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
It's not possible for us to create a trust between the remote environment and the
consumer one. And one or two other data consumers may connect from other environments. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
When trying to access the cube with XL 2007, we can thus forget the "Use Windows Authentication"
as the user we are logged on with is not known by the remote environment. 
&lt;/p&gt;
&lt;p&gt;
But we can choose to enter the user name and password of a windows user on the remote
platform: 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss2.png" alt=""&gt; 
&lt;/p&gt;
&lt;p&gt;
For the user name, we tried the forms "User", "RemoteDomain\User", "User@RemoteDomain"
when working with a domain, "RemoteServer\User", "User@RemoteServer", or with the
IP replacing the remote server name when working in a workgroup. 
&lt;/p&gt;
&lt;p&gt;
The problem was always the same, XL shows this window : 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss3.png" alt=""&gt; 
&lt;/p&gt;
&lt;p&gt;
Then, after choosing a cube or perspective, it takes very long time before showing
the message "Initialization of the data source failed" : 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss4.png" alt="" width="594" height="126"&gt; 
&lt;/p&gt;
&lt;p&gt;
No choice, you click the ok button and then a new dialog window (Multidimensional
Connection 9.0) appears: 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/020210_2208_Resolvediss5.png" alt=""&gt; 
&lt;/p&gt;
&lt;p&gt;
And only then you are ready to work. 
&lt;/p&gt;
&lt;p&gt;
This is of course really annoying. 
&lt;/p&gt;
&lt;p&gt;
So, after unsuccessfully playing with and without domain users, what did we do? 
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
We saved the connected workbook to reopen it later. We still had the very long waiting
time and the "Initialization of the data source failed". 
&lt;/li&gt;
&lt;li&gt;
We saved the XL connection to reuse it. We still had the very long waiting time and
the "Initialization of the data source failed". 
&lt;/li&gt;
&lt;li&gt;
We configure the HTTP Access to SSAS (&lt;a href="http://msdn.microsoft.com/en-us/library/cc917711.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc917711.aspx&lt;/a&gt;).
This time, &lt;strong&gt;we didn't have to wait a long time to receive the "Initialization
of the data source failed". &lt;/strong&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;To avoid the multiple windows and warning messages&lt;/strong&gt;, we added the
user and password to the Windows Vault of the Credential Manager of Windows 7 : &lt;a href="http://windows.microsoft.com/en-us/windows7/What-is-Credential-Manager"&gt;http://windows.microsoft.com/en-us/windows7/What-is-Credential-Manager&lt;/a&gt; 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
About the Credential Manager, it's easy to find it in Windows 7 and Vista. In Windows
XP, you can type the command: &lt;strong&gt;control userpasswords2 &lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
With the credentials managed by the credential manager, the user only has to type
the URL of the SSAS and check the Windows authentication option. 
&lt;/p&gt;
&lt;p&gt;
Perhaps there are other ways to deal with these issues but we're happy to find this
quick setup answer to deal with these. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=9ec70a71-3e11-4fcb-9e19-da4901f51e1f" /&gt;</description>
      <comments>http://www.renaldnollet.com/blog/CommentView,guid,9ec70a71-3e11-4fcb-9e19-da4901f51e1f.aspx</comments>
      <category>Excel 2007</category>
      <category>SSAS 2008</category>
    </item>
  </channel>
</rss>