-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process SSAS Tabular cube model fails returning non descriptive error #32
Comments
@mingagelis |
You did not mention if you had used the "Update SSAS tabular cube data source" step to update the connection string to the SQL Server instance the data is to be extracted from. Did you do that? |
Thanks for getting back so quickly! No, my server name is not that. I can not show the real one, sorry... But I assume it is correct since it is set up via a variable. Same variable is used in previous step and it works. There is no step to update the data sources. I have set the deployment to retain configuration. I have also tried to process the database manually and it worked without any issues. What is really strange is that there is no login attempt made by the processing task. It's like it never even gets across to try and connect to the SSAS server. Here is the whole log with changed server name: |
In this particular setup the cubes have two data sources so I will not be able to use the Update SSAS tabular cube data source task since it seems to be referring to just the first one. |
I was experiencing the same no descript error message as fixed it by changing Invoke-ProcessTabularCubeDatabase.ps1 Line 80 from $err to $PSItem.Exception.Message. If I have time I will make the change and submit a PR, but I can't do it on company time. |
Component
DeployTabularModel - Process SSAS Tabular cube model
Describe the bug
Process SSAS Tabular cube model fails returning error:
##[error]Invoke-ProcessTabularCubeDatabase: Error processing SalesCube on SSAS Server: correctservername.com
The component seems to fail before even connecting to SSAS server since SQL Profiler does not detect a login attempt. Failure occurs immediately after starting the task.
However previous task in the pipeline is Deploy SSAS Tabular cube model from the same extension and it is using the same ServerName and DatabaseName variables and works as expected.
Azure DevOps Agent
The text was updated successfully, but these errors were encountered: