Sunday, March 25, 2012
Analysis service: pb when archiving/restoring from 1 machine to another
I have archived the OLAP db and generated a .cab file.
I have retored on the destination server.
It works fine in Analysis Manager console (I can process and lokk at the data).
But when I want to access the cube from Excel using OLAP cube, I have an error msg.
Is there something I need to do on the distination server ?
Langage, SP, role, version of SQLServer/Analysis services ...
ThanksWhat is the error message that you get?|||In Excel: (translated from French)
"OLAP cube not found
OLAP database ha been modified or you do not have necessary authorisation to connect to the cube
Contact your database admin"
It has something to do wuth SSPI authentication ?|||It could have something to do with the access rights...
I once saw something similar to this, and then the problem was solved by adding the user account to the OLAP admin group.
Monday, March 19, 2012
An issue with ReplicationUser
I have set-up a Replication on a SQL 2005 Cluster. I used a domain account to setup the replication. This domain account is also present in the local administrator group of both nodes of cluster. However my subscriptions fail with a message "Executed as user domain\user. A required privilege is not held by the client. The step failed." I am not sure what privilege the domain user should have.
Any tips on what kind of user account I should be using? Thanks.
This is not an issue any more.Sunday, March 11, 2012
An existing connection was forcibly closed by the remote host
It is very appreciated if someone can help me on this problem:
I have 2 machines, connected with workgroup (not domain machine), 1 is win2003 sp1, 1 is xp.
How can I connect SSAS from XP machine with windows authentication?
Looks the Native client fix the windows authentication with local user name.
When I connect from XP, my application with following codes:
string connstr = "Provider=MSOLAP.3;Data Source=amsserver;Password=accenture;User ID=administrator;Initial Catalog=MIP2ASProject";
AdomdConnection objConnection = new AdomdConnection();
// Assign the connection string and try to
//open a connection.
objConnection.ConnectionString = connstr;
objConnection.Open();
It give me this error:
An existing connection was forcibly closed by the remote host
First of all, you dont need the User ID and Password in the connection string if you are connecting using TCP/IP (you would use them only when connecting with HTTP using Basic auth).
Second, in order to use "Provider=MSOLAP.3" you will need to install "Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider" provider from http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Hi Edward,
Yes, I have installed oledb AS9 provider.
If you think SSAS only support windows authentication which must use inside the domain, I really couldn't understand why oledbconnection works fine with same connection string?
I am not sure about whether impersonation belong to windows authentication, but, my testing prove that oledb can connect in this way, adomd can't.
BTW, thankful if anyone can let me know how to enable SSAS's anonymous connection?
Jerry
|||it is an antivirus problem
uninstall antivirus and try again
what antivirus do you have?
|||What version of ADOM.NET are you using?
Try downloading and installing "Microsoft ADOMD.NET " from http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.