Processing a dimension using AMO does not work if the connection to the “DataSource” used is
Processing a dimension using AMO does not work if the connection to the “DataSource” used is “SQL Server Authentication”
amoDimension.Process(ProcessType.ProcessFull)
The following exception is returned:
-ex{"OLE DB error: OLE DB or ODBC error: Login failed for user ' MyUserId '.; 42000.
Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'MyDataBase', Name of ' MyDataBase'.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Products', Name of 'ProductDim' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Products' attribute of the 'ProductDim' dimension from the ' MyDataBase SQL SERVER' database was being processed.
"}System.Exception
The connection string to the “DataSource” is:
ConnectionString"Provider=SQLOLEDB.1;Data Source=MyServer\SQLSERVER2005;User ID=MyUserId;Initial Catalog= MyDataBase "String
ConnectionStringSecurityPasswordRemoved {1}Microsoft.AnalysisServices.ConnectionStringSecurity
Everything work properly is if I switch the connection type to “Windows Authentication”
Thanks,
Yones

