.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Connection problems: Excel 2010 SSAS 2008 R2

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :
 

I am using SQL 2008 Analysis Server 10.0.2740.0 on a Windows 2008 R2 Enterprise 64 bit OS.  I followed the instructions on setting up the msmdpump for IIS7.  My IIS7 box is also a Windows 2008 R2 Enterprise 64 bit OS.

I have an Excel 2010 64 bit spreadsheet on a Windows 7 SP1 64 bit OS, that currently has this as a connection string:
Provider=MSOLAP.4;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=PointBridge;Data Source=chipbcsql08;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error

When I changed the connection string to Data Source=http://cube.mydomain.com/olap/msmdpump.dll instead of the servername of chipbcsql08 I get an Excel error dialog box:  The HTTP server returned the following error:  Method Not Allowed

I then click ok and get a 2nd Excel error dialog box that says:  Errors in the OLE DB provider.  An error occurred while loading the connection dialog box component for prompting.

Ideas on what I need to change?  I think I am about to make this happen!!  haha  Helpful thoughts will be rgeatly aprpeciated!!

Thanks!





View Complete Post


More Related Resource Links

SSAS 2008 R2 Cube being queried by Excel 2010 Pivot Table - 60x slower than with Excel 2003!

  

SQLServer 2008 R2

Excel 2010 x64

Hi All,

I have a fairly complex Excel report where a raw data sheet is updated from 10 or so PivotTables pulling from an Analysis Services Cube, (2008 R2), with a VBA script that refreshes all pivottables, and then does some post-processing, formatting etc.

This was originally developed in Excel 2003, and the updating of all the pivot tables ran in under 10 seconds

I've now recreated in Excel 2010 and *each table* is taking up to a minute to refresh!

I've also observed that I can get the refresh time of a single table back down to 1sec, if I delete all other pivottables from the worksheet/book.

Its deeply frustrating, as I'm touting 2010 as being the way for our business to go...it won't help the cause if I deliver something with a x60 increase in runtime!

I've run traces of both the 2003 and 2010 versions executing against the SQL Server, the only thing I can see is that the 2003 version passes 1 single MDX query, whilst the 2010 version appears to be firing it in sections.

I've posted this in the Excel forum too.

Please can anyone help?

Many thanks,

Nikki

 

 

 


Excel 2007/2010 - SSAS 2008 R2 Offline cubes

  

Hi all. I have a question regarding offline cubes (offline data files) in Excel 2007/2010 connecting to SSAS 2008 R2. When I try to make an offline data file in Excel I get a OLE DB error. The server I am trying to connect to is at a hosting partner on a different (but trusted) domain but I have admin rights on it. I then took a copy of the SSAS database and moved it to my own pc and could then create offline data file. I thought it might be a firewall issue on the server and tried turning it off, but the OLE DB error came again. I therefore think that there is something that happens over the network and is blocked by the hosting partner. I probably should tell that I am also SSAS admin, so it is not because of lack of rights on the SSAS that I get the error.

What I like to know if there is anyone who knows this problem or knows what happens when you try to create offline data file against SSAS in Excel? Specifically what is transferred between the client and the server, what ports and are there any programs run or code executed to create the offline cube on the client that might be blocked by typical network/domain settings/rules?

Excel 2007 Pivot table OLAP- SSAS 2008 Error

  
Hi, I do have a strange issue with Excel 2007 pivot table report; the data source is SSAS 2008 cube. When refresh the excel 2007 report data using the 'Refresh All' or 'Refresh' button available under the Data menu, the below error is thrown. "The expression contains a function that cannot operate on a set with more than 4,294,967,296 tuples." After some analysis, the report works well on the below workaround, 1. Remove all the calculated measures from report (3 measures in this scenario) 2. Remove one row label (dimension attribute) from report But the measures, attributes are valid one from cube and it is required fields in the report. So, understand that removing few items is not at all a solution. The below workaround also works. 1. Check the 'Defer Layout Update' option from the Pivot Table Field List window. 2. Click on the Update button After that Unchecked the 'Defer Layout Update' option and apply the filter, etc in the report. The report works very well. But every time, we need to use the above work around after open the excel report. I have NO clue on this issue. Please help to resolve this issue. Thanks, Jey

How to export data from SQL 2008 R2 to excel 2010

  
Hi, I am using microsoft sql 2008 R2 express server and I have window 7 64 bit and office 2010.  I would like to export data form sql to excel using a query in sql.  I tried a few examples I found on the web, but they don't work.  Please help. Thanks

How to change connection string of a pivot table pointing to SSAS 2005 cube using excel 2003?

  
Hi All,I am not sure if I should have posted this query to Excel 2003 forum. But posting it here as it applies to SSAS 2005 as well.Ok, let me give the background before I tell the actual problem.We have users on ABC domain and the SSAS server is also on ABC domain. Users on this domain can acess the excel pivots by connecting to cube to browse the data. They leave the Userid & password field blank while they setup the connection string and it works fine. Thanks to windows authentication that takes the credentials of user logged in. Let's say I have two users A and B, they login to ABC domain with their own windows ids.  Now when user A creates a excel file having a cube pivot and then sends this file to user B, user B can refresh and modify the same excel file (he can select new measures to pivot, new hierarchies in filters and so on).Now, let's say I have another user, user C. He has excel 2003 installed on his PC and cannot migrate to excel 2007. He is on different domain XYZ but have a valid windows userid on domain ABC. The domain ABC & XYZ can not be setup to have trusted relationship. Now, when user A sends the same excel file to user C. When user C opens the file and try to refresh it or try to modify the pivot by selecting/deselecting any elements, he gets below error prompt:" An error was encountered in the transport layer." and "Errors in the

Problems with Report Services 2008 Integration in Sharepoint Foundation 2010

  
hi Folks, i ihave tried to solve my problem with this entry, but it has not fixed the issue. I would like to integrate RS in a Sharepoint Foundation 2010 environment, but when try to integrate the RS in Central Administration I am receiving the following error, see pic: Central Administration jpg When I try to access direct the RS Url the I get an access denied error please help.   thx a lot

Visaul studio 2010 has problems with sql server 2008 R2 64bit

  
Visaul studio 2010 has problems with sql server 2008 R2 64bit or it's my idea?because icant create a new database in my asp.net web site  it says to  go and download it

SSIS 2008 - Excel Source using SQL Connection cancels as soon as package runs.

  
Let me preface this by saying I'm brand-new to SSIS development. I'm using 64-bit SSIS 2008 and I'm trying to read an Excel spreadsheet using OLE DB. I've already run into and corrected the Run64BitRuntime problem.  Now when I invoke the Package it cancels immediately with the following output: SSIS package "Lesson1X.dtsx" starting. Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning. SSIS package "Lesson1X.dtsx" finished: Canceled. The program '[5400] Lesson1X.dtsx: DTS' has exited with code 0 (0x0). When I edit the Excel Source component itself there are no errors and I am able to Preview the results successfully.  If I use Table or View to access the file, the package runs successfully. Any suggestions will be greatly appreciated. Thanks

Cannot Export SQL 2008 Table to Excel 2010

  

I'm trying to use SSIS in Visual Studio 2008 to export a table to Excel 2010 and get the following error:

=====================================================


The table cannot be created. (Microsoft Visual Studio)

===================================

Syntax error in field definition. (Microsoft Office Access Database Engine)

------------------------------
Program Location:

   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
   at Microsoft.DataTransformationServices.Design.PipelineUtils.ExecuteSqlStatement(ConnectionManager connectionManager, String sqlStatement, IServiceProvider serviceProvider, Boolean getReader)
   at Microsoft.DataTransformationServices.Design.DtsTableCreator.okButton_Click(Object sender, EventArgs e)

web.config connection string problem within VisualStudio 2010 to point to SQL Server 2008 R2 Develop

  

Hello All, I would appreciate any help with this.

I believe my problem exists within the web.config which already had code in it to connect to SQL Server Express 2008.

I uninstalled the SQL Server Express that came with Visual Studio 2010.

I installed SQL Server 2010 R2 Developer, and I'm able to connect via Management Studio and through Visual Studio's Server Explorer's Data Connections I am connected.

I did run aspnet_regsql.exe within the 4.0 folder in order to create the database with Microsoft Service Providers.

Here is the ServerName: USER-5529234649 

Here is the name of the DataBase:  StepByStepChapter9

Here is the name of the Connection within Visual Studio's Server Explorer's Data Connections:  user-5529234649.StepByStepChapter9.dbo

Here is the code I changed in the web.config:

<connectionstrings>
<add name="ApplicationServices" c

Can not establish a connection to SQL Server 2008 R2 via Visual Studio 2010 Framework 4.0

  

Hello All, I would appreciate any help with this.

I believe my problem exists within the web.config which already had code in it to connect to SQL Server Express 2008.

I uninstalled the SQL Server Express that came with Visual Studio 2010.

I installed SQL Server 2010 R2 Developer, and I'm able to connect via Management Studio and through Visual Studio's Server Explorer's Data Connections I am connected.

I did run aspnet_regsql.exe within the 4.0 folder in order to create the database with Microsoft Service Providers.

Here is the ServerName: USER-5529234649 

Here is the name of the DataBase:  StepByStepChapter9

Here is the name of the Connection within Visual Studio's Server Explorer's Data Connections:  user-5529234649.StepByStepChapter9.dbo

Here is the code I changed in the web.config:

<configuration>
  <connectionStrings>
      <!--<add name="ApplicationServices"
            connectionString="data source=.\SQLEXPRESS;Integrated   Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
            providerName="System.Data.SqlClient" />-->
      <add name="ApplicationServices" connectionString="data source=user-5529234649\Step

Problems with Exposing Excel contents in SharePoint 2010

  
<!-- [if gte mso 10]> <mce:style>

I have an Excel spreadsheet and I want to use it to trigger a work flow ... BUT ... I don't want to just use the creation or modification of it to trigger the work flow ... I want some data in the sheet to trigger it. 

I followed some How-To's and was able to get to the point where I set up a Site Column and associated it to a Custom Content Type (i.e.: my Excel sheet) and when someone creates a new document this is loaded with the ability to manually enter the value in the Document Properties bar that appears.  Great ... but why would I want to manually enter the value again when I have already have it in a cell below.  I thought, OK a little more work to do and I am done.

So, after some research, I learned that I have to  create a named cell range and custom field in my Excel document and then expose that to SharePoint. I was referenced to this article (http://tinyurl.com/29l98rl) and performed the steps as outlined ... and thought, "Great that was easy ... I am done !!"

Well ... that wasn't quite true.  After testing this out I soon realized that the data in the cell was not being populated into the Site Column.  So I went back and double checked it and am pretty sure that I did everything right (

SharePoint 2010 and Reporting Services 2008 R2 Integration Fail - Failed to establish connection wit

  

We have installed SQL Server 2008 R2 Standard Edition on a virtual server (C-SQL) and SharePoint Server 2010 on another virtual server (C-SPOINT), with the SQL Backend of the SharePoint database residing on C-SQL. This worked fine.

SQL Server was installed with the domain administrator account and SharePoint with an account called 'visi' that has domain administrator privileges.

SSRS on C-SQL was initially installed as a native database. I changed this to a SharePoint integrated database with all authentications done as the visi user. Report server url was set to the normal http://C-SQL:80/ReportServer/.

On the SharePoint central administration site under General Application Settings -> Reporting Services Integration I filled in the details as required:

  • SQL Server 2008 Development problems with Visual Studio 2010 Ultimate uninstall and VS2010 premium i

      

    I installed VS2010 Ultimate to test it out but had license for the VS2010 premium only.  After uninstalling ultimate and reinstalling VS2010 premium, my SQL Server 2008 now refuses to connect to my databases stating: 

    TITLE: Connect to Server
    ------------------------------

    Cannot connect to Q9300\SQL200801.

    ------------------------------
    ADDITIONAL INFORMATION:

    ssas 2008 getting "A connection cannot be made to redirector. Ensure that 'SQL Browser' service is

      

    Hi ,

     

    I need your help on this.  The SSAS is 2008.  It is a named instance.  there are two named SSAS instances on the server. 

    I have one user with excel client getting "A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running." error.  My all other users' excel clients all seems to be working fine.  

    I made sure the OLEDB provider is 10.0.  Firewall must be off since all other users have no trouble getting connected. SQL Server Browser Service is running under 'local service' account.

    The Excel client is 2007.

    this is really a hard one.  I cannot figure out why just this one user cannot connect.   can you please help me?

    thanks

     

     


    SSRS 2008 R2 and Sharepoint 2010 - performance problems

      

    Hi all,

    I'm currently in a DWH project using SSRS 2008 R2 x64 in Sharepoint Integrated mode along with Sharepoint 2010, and we're seeing massive performance problems even though traffic on the server is at a bare minimum. We're in development with a maximum of a few users online at any given time and the server itself isn't doing a whole lot...cpu is usually < 20%. We have timed the database queries and 90% of them are taking less than a second to execute while reports takes anywhere from 5 to 30 seconds to load (some heavier reports can occasionally take a lot longer). I am simply unable to get anything to load in less than 5 seconds, even the simples grid from a SELECT TOP 5 * FROM table query takes this long.

    The server setup is suboptimal as SQL Server, Reporting Services and Sharepoint are all running on the same virtual machine but with the minimal amount of traffic we have this shouldn't really be a problem. The server is a Win 2008 x64 Datacenter with 4 CPU's and 16GB RAM.

    A standard sharepoint page that gets data from the database is returned in milliseconds...why doesn't reporting services do the same? What can I do to increase performance?


    Lumbago
    www.thefirstsql.com

    SSAS 2008 R2 custom actions with Performancepoint Services 2010

      

    Hello all,

    Is PerformancePoint 2010 capable of showing custom actions created in SSAS 2008 R2 in analytic charts under "additional actions" in general?  I figured out that only SSAS actions of type "drilldown action" show up in the context menu of the PPS analytic chart (and also function properly), whereas custom actions with MDX expression (drillthrough script of ASSP for a calculated measure) in SSAS are not shown by PPS under "additional actions" at all (not even disabled, just no entry). Target type of the custom action is set to cell based as I already read that other types are not supported yet. Drillthrough permissions in SSAS are set properly as the show details function of PPS works fine for the same user accessing (non-calculated) measures. Testing the custom action with SSAS built-in cube browser and Excel OLAP interface shows no problems at all.

    Thanks for your help,


    Triple-D
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend