How Can I Connect OWC PivotTable To A Local Cube File?
Aug 4, 2004
:eek:
I want to use the Office Web Components (v10) PivotTable embedded in a web page. The examples and tutorials I've been able to find on MSDN all use the same architecture: The initial pivottable configuration is created by instantiating the object server-side and programmatically configuring it. The XMLDATA property is then read and sent to the client. At the client, script sets the XMLDATA property. So far so good, all makes sense. Then my problem: The PivotTable is then connected to Analysis Server using an http connection string (through IIS). As my users do not have database accounts, only application accounts, I cannot allow database connection information on the client. Trouble is, the PivotTable generates MDX queries when a user reconfigures the view, and there are no hooks (events or other means) to programmatically obtain the generated MDX query - a fact that is explicitly confirmed in MSDN documentation.
This clearly means that the PT must be connected directly to it's data source. So I thought I could just create a local MOLAP cube file and download it to the client (permissible as it runs as a trusted application). But nowhere can I find any example or documention on how to do this.
This is driving me slightly insane and I have little hair left now; if anyone knows how to do it or where to find proper PivotTable documentation (rather than a collection of examples that do something else from what I need to do!) then help is greatly :p appreciated!
Dag
View 1 Replies
ADVERTISEMENT
Nov 11, 2015
We are using a SSAS Server in order to analyse financial data. To create forecast scenarios, we would like to use the "what-if-analysis"-feature of Excel. With this feature, data that was changed in Excel can be written back into the cube.
There are several data analyists who should be able to create scenarios on their own, that's why, each of them gets his own offline cube (a .cub file that is stored in the file system) whose data is extracted from the SSAS Server.Â
Unfortunately, we found no way to write back data in these offline cubes. Due to the error message,  Excel failed to establish a connection to the external data source. Is there a way to writeback data to a local cube?
View 2 Replies
View Related
Feb 26, 2007
I have just upgraded to Microsoft SQL Server 2005 Express Edition with Advanced Services SP2.
Now I can't connect to my local database.mdf file.
When trying to open or doubleclick or expand my .mdf file the following message pops up:
Generating user instances in SQL Server is disabled. Use sp_configure 'user instance enabled' to generate user instances.
What is the solution for this problem?
View 4 Replies
View Related
Jun 7, 2006
I am facing a problem in connecting to the local database with server name as (local).
I have installed SQL Server 2005 in my machine. When I try to connect to the SQL server with the server name as SUNILKUMAR I am able to connect but when I try to connect to the same server with the server name as (local) I am not able to connect. SUNILKUMAR is my machine name and SQL server is running locally.
if anyone can help me what is the problem in this case it is highly appriciated.
View 7 Replies
View Related
Mar 13, 2006
Does anyone know how can we prevent users from creating offline/local cube (in Excel) from our OLAP/Analysis Service server ?
Thank you.
View 3 Replies
View Related
Jan 20, 2008
Hi:
I have an ASP.NET web application with a pivot table OWC that reads data from a local cube.
Everything works fine when I run it locally but when I run it on machine client the pivot
table Can not open cube 'c:cube.cub'.
i have installed in the client the Version 6.0 of the Microsoft XML library (MSXML, Version
6.0) and Analysis Services 9.0 OLE DB Provider but it's not possible open cube.
i am creating the local cube with SQL Server 2005 SP2, with the Creat Global Cube Command.
maybe is it a problem ?
Any help at all would be greatly appreciated.
Diego Bayona
View 1 Replies
View Related
Oct 22, 2005
I have a big problem to solve:
I use MsSqlServer 2000, Analysis service. I have cubes and virtual cubes. I have a dimension of consult, they have a hierarchy that change every month. for example: In june the consult "John" is in D11, in September he is on D14,...
Hierarchie: D10 -> D11, D12, D13 - > C1, C2..
For this reason when i want analysis The consult John in a year(12 months) my result is wrong. With this changes in the hierarchie my analysis become wrong!
I thought in the end of every month store the cube in a local cube, like a picture of every consult, with his sales e others measures. With this i can analysis the consult in a specific month rightly, but i need the anlysis in a year. And in a year i would have 12 local cubes, then i could acess them and do a right analysis. How could i access 12 local cubes? Can i create a virtual cube with this 12 local cubes? Is there another solution for this problem?
Thanks,
Leonardo
BI Analyst
View 2 Replies
View Related
Mar 4, 2008
Greetings,
Here's what I need to do. I need to programmatically create offline cubes for multiple customers. Using VS2005 (C#) and SQL Server 2000, I am able to do this using the CREATE GLOBAL CUBE command. However, I need to create cubes from SQL Server 2005 as we have upgraded and the CREATE GLOBAL CUBE command does not work as it did before. I've search and found examples using AMO, but they create a server cube. I already have a server cube.
I need to be able to create filtered offline cubes from the existing server cube. I've also read much on XMLA, but that doesn't do it for me either. The code below creates an empty offline cube. However, is there a way to use this to create a cube with data?
I am creating this in a windows application.
Server server = new Server();
server.Connect(@"Data Source=C:MyLocalCube.cub");
server.Disconnect();
Can anyone help? This is driving me nuts!
View 3 Replies
View Related
Jan 16, 2004
hi,
I'm creating local cube with Delphi. On my server with MSSQL it work well, but i need to know, which parts of MSSQL is needful to create this local cube (on the server) if i will creat and instal new server with MS SQL.
Thanks for reply.
View 12 Replies
View Related
Mar 12, 2008
Although I can create the local cube, the cube that is created is very large because it brings over all accounts for the employee. In AS2K, it filtered automatically and only returned accounts that had revenue, which is what I'm trying to do using AS2005. I've read some of the responses about using XMLA and AMO, but I am not sure how to use these within the VS2005 windows application that I use to create and distribute the local cubes. Does anyone have a good example of how to use XMLA, AMO or anything else that would allow me to programmatically create and filter offline cubes using C#?
For instance, this code DOES create an empty cube. But how would I go about getting data into this cube?
Server server = new Server();
server.Connect(@"Data Source=c:MyLocalCube.cub");
server.Disconnect();
View 2 Replies
View Related
May 21, 2008
I am trying to access Cube through SSIS and have been unable to set SSIS package with the work around provided here (https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=219068). On pasting the MDX query using the openrowset command on the OLEDB source editor, I get a pop up window with error 0x08000405 and the message that says 'syntax used for openrowset is incorrect'
I also tried running this on SQL Management studio but, get the following error.
OLE DB provider "MSOLAP" for linked server "(null)" returned message "An error was encountered in the transport layer.".
OLE DB provider "MSOLAP" for linked server "(null)" returned message "The peer prematurely closed the connection.".
Msg 7303, Level 16, State 1, Line 3
Cannot initialize the data source object of OLE DB provider "MSOLAP" for linked server "(null)".
The server where the cube resides is on 64bit machine and I have 32-bit..could this be the reason for the issue?
I found this article on microsoft support website (http://support.microsoft.com/kb/947512 ) which describes the possible symptoms and causes for connectivity issues But, couldn't find a work around for it.
Here is the syntax of the query I am using in SSIS and query analyser
SELECT * FROM
OPENROWSET('MSOLAP', 'Integrated Security=SSPI;Persist Security Info=True;Data Source=<SERVERNAME>; Initial Catalog=<Catalog name>;'
,
'MDX Query') AS Rowset_1
Any help with this issue is appreciated!
Thanks,
View 1 Replies
View Related
Jun 12, 2015
How can I connect ssas cube to server. I have no SSAS SERVER INSTANCE...
View 3 Replies
View Related
Feb 14, 2006
I have a table in my DB with the following columns: PlayerID, RoundNum, Score.
PlayerID RoundNum Score 1 1 10 1 2 10 1 3 10
Any scoring for my game is going to end up in this table. However, I would like to display the score standings with a player's name at the far left, and with each Round as a column:
R1 R2 R3Player1 10 10 10
Can any of the SQL gurus tell me if this is possible, and how it can be done? Thanks!
View 2 Replies
View Related
Feb 22, 2007
Hello,
how can I connect to a cube (on a SQL 2005 server) and get (fact) data to process with SSIS? I looked at the toolbox but I see no applicable tool. It would be fine if somebody can provide a link to an article or example.
Thanks in advanced!
-flyall-
View 5 Replies
View Related
Jun 17, 2015
What is the best approach for turning the report below into a PivotTable report in SSRS 2008 R2?The PivotTable has the following characsteristics:
Filters: Â Â None
Columns: Mat_Month
Rows:    Level1, Level2
Values: Â Â MaturingBalances
We have an SSAS Cube with the same data (in a dimensional schema).The report (currently sourced via SQL from our data warehouse):The Pivot Table - currently in Excel but needs to be ported to SSRS
View 3 Replies
View Related
Sep 11, 2007
Hey Guys,
I have a SQL connection string question. In my web.config I don't know what to put for the server. I have SQL Server 2005 installed locally.
<connectionStrings><add name="database" providerName="System.Data.SqlClient" connectionString= "server=whatgoeshere?;database=test;uid=sa;pwd=password" /></connectionStrings>
I'm using VS 2005.
Thanks in advance.
-Marc
View 7 Replies
View Related
Nov 7, 2007
hi..
i am trying to run my asp project using my iis in winxp and installed a sql express 2005 and wheni try to connect using http://localhost/myproject i encounter this error
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
am i missing some permission settings in sql express?
thanks
View 4 Replies
View Related
Sep 14, 2007
DBconn.cs
private DBConn() { // // TODO: åœ¨é€™è£¡åŠ å…¥å»ºæ§‹å‡½å¼?的程å¼?碼 // this.Server=Property.getProperty("DBServer"); this.port=int.Parse(Property.getProperty("DBPort")); this.User=Property.getProperty("DBUser"); this.Pwd=Property.getProperty("DBPwd"); this.db=Property.getProperty("DBDatabase"); this.ConnectionString="server=" + this.Server+","+this.port+";database="+this.db+";uid="+this.User+";pwd="+this.Pwd+";Connect Timeout=60"; }
--------------------------------------------------------------------------------------------------------
propetry.config
<property name="DBServer" value="127.0.0.1" /> <property name="DBPort" value="1433" /> <property name="DBDatabase" value="CSLC" /> <property name="DBUser" value="CSLCUser" /> <property name="DBPwd" value="resslc" />
I use this way to call my connecting string , but I can't connect to my local DataBase , I trid to modify the propetry.config to coneect to other DataBase on other Server it works
only when Connecting with my Local DataBase , it not work...
this problem have been troble me more than 3 weeks... ask many people no one can resolve this problem...
when I am at home . I can't work... because I can't connect to the Server when I'm in office..
pleaes help... thank you very much
View 9 Replies
View Related
Feb 7, 2008
Hello,
After restarting the machine, the sql 2000 won't start.
- I'm using local (no domain)
- administrator account
- sql agent is started, but cannot connect
a connection could not be establish to (local)
please verify the sql server is running and check your...
sql log below:
2008-02-07 11:34:53.04 server Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
2008-02-07 11:34:53.04 server Copyright (C) 1988-2002 Microsoft Corporation.
2008-02-07 11:34:53.04 server All rights reserved.
2008-02-07 11:34:53.04 server Server Process ID is 3088.
2008-02-07 11:34:53.04 server Logging SQL Server messages in file 'C:Arquivos de programasMicrosoft SQL ServerMSSQLlogERRORLOG'.
2008-02-07 11:34:53.06 server SQL Server is starting at priority class 'normal'(2 CPUs detected).
2008-02-07 11:34:53.14 server SQL Server configured for thread mode processing.
2008-02-07 11:34:53.17 server Using dynamic lock allocation. [2500] Lock Blocks, [5000] Lock Owner Blocks.
2008-02-07 11:34:53.17 server Attempting to initialize Distributed Transaction Coordinator.
2008-02-07 11:34:55.21 spid4 Starting up database 'master'.
2008-02-07 11:34:55.48 spid4 Server name is 'SUPORTE_SERVER'.
2008-02-07 11:34:55.48 spid4 Skipping startup of clean database id 23
2008-02-07 11:34:55.48 spid4 Skipping startup of clean database id 31
2008-02-07 11:34:55.48 spid4 Skipping startup of clean database id 32
2008-02-07 11:34:55.48 spid4 Skipping startup of clean database id 34
2008-02-07 11:34:55.48 spid5 Starting up database 'msdb'.
2008-02-07 11:34:55.48 server Using 'SSNETLIB.DLL' version '8.0.2039'.
2008-02-07 11:34:55.48 spid6 Starting up database 'model'.
2008-02-07 11:34:55.49 spid8 Starting up database 'pubs'.
2008-02-07 11:34:55.49 spid10 Starting up database 'Northwind'.
2008-02-07 11:34:55.49 spid11 Starting up database 'Umuarama'.
2008-02-07 11:34:55.49 server SQL server listening on 192.168.0.101: 1433.
2008-02-07 11:34:55.51 server SQL server listening on 127.0.0.1: 1433.
2008-02-07 11:34:55.51 spid12 Starting up database 'adm_clube'.
2008-02-07 11:34:55.51 spid13 Starting up database 'Geracao'.
2008-02-07 11:34:55.51 spid14 Starting up database 'Sim_Externo'.
2008-02-07 11:34:55.51 spid15 Starting up database 'OPEN'.
2008-02-07 11:34:55.53 server SQL server listening on TCP, Shared Memory, Named Pipes.
2008-02-07 11:34:55.53 server SQL Server is ready for client connections
2008-02-07 11:34:56.25 spid6 Error: 9003, Severity: 20, State: 1
2008-02-07 11:34:56.25 spid6 The LSN (5:348:1) passed to log scan in database 'model' is invalid..
2008-02-07 11:34:56.84 spid10 Starting up database 'SISCONTACOR'.
Thanks
View 6 Replies
View Related
Jan 29, 2008
I have just recently installed MS SQL Server 2005 Developer edition. I have installed SP2.
Today when I try to connect via Management Studio, I get the following error:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (.Net SqlClient Data Provider)
I installed it as a default instance.
I recently added a login with dbo privileges. I have tried logging in with that sql account and also with windows authentication to no avail.
Thank you for any help.
View 2 Replies
View Related
Nov 29, 2007
Hello,
I am unable to connect to my local sql server express db. I would like to test my app and its not connecting.
It works when I use windows authtentication Trusted_Connection=yes
but not when i use: user id=sdvaid; password=sdavid
Const connectionString = "Data Source=SDAVIDSQLEXPRESS;Initial Catalog=intranet;user id=sdavid;password=sdavid"
Dim conn As SqlConnection = New SqlConnection(connectionString)
Dim cmd As SqlCommand = New SqlCommand("select * from Users", conn)
cmd.CommandType = CommandType.Text
Try
conn.Open()
cmd.ExecuteNonQuery()
Catch ex As Exception
Response.Write(ex.ToString())
Finally
conn.Close()
End Try
thanks.
Here is the error: "SQL Server does not exist or access denied."
Please advise...
View 4 Replies
View Related
Sep 14, 2006
I have a page that connects to SQL server. It works fine when running in local host but when I publish to the server, I get the following: An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that under
the default settings SQL Server does not allow remote connections. (provider:
Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Any ideas on where to start? Thanks,Mark
View 1 Replies
View Related
Oct 23, 2006
Hi all,I having problems connecting to my local database through my asp.net site. I'm able to connect to the database using Query Analyzer with the following connection properties:Server: localSql Server Authentication: checkedUser Name: saand the Password is left blankThis is the connection string i'm using on the website:Data Source=local;Initial Catalog=myDatabaseName;User ID=sa;Password=;This is the error i'm getting:An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) Any suggestions appreciated.Thanks
View 1 Replies
View Related
Apr 18, 2007
I have a SQL Server 2005 instance which resides on a dedicated server hosted by a third party. I am able to connect to this server through my local SQL Management Studio, however, my local ASP.NET 2.0 web application cannot connect. I get the error below. The connection string I use is formatted as...
Connection String:
Server=thesever;uid=myuserid;pwd=mypassword;database=mydatabase
Error:
Failed to connect to database: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
The hosting providr claims that the SQL Server configuration settings are as they should be as fars as TCP/IP and Named Pipes are concerned. Does anyone know what might be going on?
View 1 Replies
View Related
Nov 26, 2007
Hello, I need help to connect to my local sql express db in visual studio 2003 in vb.It currently works with the production db information and I need to test a few things, So i'd like to point it to the local db.It works this way:Const CONN_STRING = "server=johndoe;user id=john;password=doe;database=johnd"Dim conn As SqlConnection = New SqlConnection(Me.CONN_STRING)conn.Open()I want to point it to my local db and it doesn't connect. Dim connectionString As String = "Data Source={myusernameSQLEXPRESS};Initial Catalog=johnd;Trusted_Connection=yes" Dim conn As SqlConnection = New SqlConnection(connectionString) Try conn.Open() Catch ex As Exception Response.Write(ex.ToString()) End Tryand even that doesn't work.When i go to my sql server 2005, it saysMYUSERNAMESQLEXPRESS (SQL SERVER 9.0.3042 - theworknetworkmyusernamewhat am i doing wrong ?Thanks.
View 7 Replies
View Related
Jan 14, 2004
i have problems connecting to the local server on my laptop. i ahve used the following code but it gives me an error saying login flaied for user "sa" or "sekhar".
i tried using the username and password i use to log onto my computer. but it doesnt work.
can anyone tell me how to do it?
the code is typed is
connection = new sqlconnection("server=localhost;uid=sekhar;pwd=sekhar;database=chandu")
........................
......................................
...............................
connection.open()..................i have all the next statements correct.
my username is sekhar and the password is sekhar too but it gives me an error.
somebody help me
Thank you
sekhar
View 1 Replies
View Related
Aug 30, 2001
I am trying to set up a new sql server registration to my local computer.
and there's this error - "General Network Error,Check your network documentation.ConnectionOpen(Connect()).
I have already tried to register the server(the available servers field)
are entered as my computer name,local IP address,(local),"."(ignore the double quote), and even 127.0.0.1,but the same error occured.
When i first installed it into my computer, it work for a while, but ultimately MSSQLServer and SQLServerAgent service stopped even though the MSDTC service is still running
For ur info, the installed software is MSSQL7 7.0 Desktop Edition, in Windows 98 Platform
View 1 Replies
View Related
Mar 20, 2000
Hi !! everbody i have a problem in sql executive ( 6.5 version),whenever i am using cmd.exe for running scheduled task it runs fine but if i am using TSQL task type to run a task then it gives error and says that 'unable to connect to server '(local)'.
our this TSQL task type was running previously but now for last 5 days itis not runnig.
Your reply would be highly appreciated
Pl. reply as early as possible
thanks in advace
from
rajesh
View 2 Replies
View Related
May 11, 2007
I open II services.
From this point I right click on information services and clicked "connect to computer" and located mine. When I hit "ok", I got "This computer is not running Internet Information Services Ver 4 or higher".
IIS6 is starting, it just won't connect to local computer.
Previously someone said to post the event logs. I can't find them. Where are they??
Thanks
All help is appreciated.
Thanks
View 2 Replies
View Related
Nov 8, 2007
Hi
I had Sql Server 2005 installed on a machine of mine and was able to connect to the local, however I had to unistall it. Recently I put it back on the machine and found that I was no longer able to connect to the local server.
Does anyone know why this has happened and how it can be resolved?
Thanks
View 8 Replies
View Related
Nov 22, 2007
hello,
Sql server type: database engine
server name:
authentication: sql server authentication
login: sa
password: xxxxx
I remember the server name being sqlexpress (I think that was the default name during the install).
OR are they asking for my computer name? because I tried that also and it gave me an error saying "the default installation doesn't allow remote connections"
View 6 Replies
View Related
Aug 7, 2007
I have SQL Express running on my laptop but are unable to connect to the default database paulm-laptopsqlexpress
When I try to connect I get the error message
TITLE: Microsoft SQL Server Management Studio Express
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
Everything is on my laptop whcih is running Vista Business as an administrator
Any ideas why,
Thanks Paul
View 2 Replies
View Related
Oct 29, 2007
During my install of SQL Server 2005 Developers edition, I got an error that Reporting Services could not connect to SQL Server. After completing the installation I was unable to connect to the local service using an domain account (that's an admin on my machine) or the SA account. I've retried uninstalling and reinstalling numereous times and no success. I was able to login to the IP addess with the SA account only.
I did set the config for remote access...
Shared Memory is Enabled
Named Pipes is Enabled with Pipe Name = \.pipesqlquery
TCP/IP is Enabled, Listen All, IP Address active and enabled for 127.0.0.1 and network address, TCP Dynamic ports not set
When I login with an IP address and an local admin account I get this error:
Login failed for user ''. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)
When I try to login to the machine name with a local admin account I get this message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
When I try to login to the machine name with the SA account I get this message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
I can login with the SA account using the IP address.
I can login with a local admin account for 127.0.0.1
Any ideas what's going on? Why doesn't uninstalling and reinstallingh fix this? Is there a tool that will purge the registry of all remnants after an uninstall? Any help would be appreciated.
Tony Zoccolillo
View 1 Replies
View Related