powerBI XMLA Error deploying metadata changes - powerbi

I'm using Visual Studio (SSDT) to modeling and deploy my model to PowerBI Premium Workspace and create my report in PowerBI desktop, however now I've added new tables and applied changes on that and I'm not able to deploy it again.
Tabular Model Designer
Exception has been thrown by the target of an invocation
Cannot deploy metadata. Reason: Failed to save modifications to the server. Error returned: 'Failed to commit the metadata change, please try again later.
Technical Details:
RootActivityId: 7c302aa2-e8d3-417f-8fb7-3bdc9969e14f

After the last Microsoft update this issue was resolved. Now the model deploy using XMLA endpoint is working well again. Tks

Related

I did Migration process and I didn't get error but I am missing my database and table in sql. VS not transferring the data to sql

Hi I am the beginner developer, I am trying to send my data to sql from VS and I did Migration process. in packing manager console I wrote enable-migration and now I got configuration file also and after than I changed the value from false to true and wrote update-database I am not getting error its just says
PM> update-database
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
No pending explicit migrations.
Running Seed method.
and when I checked sql there is no my database also any tables
I am trying to make travel website and there are some page exist and I got some models files of them and I guess I need to create connection between sql and vs I had the code in vstudio but when I try to create database and tables with my datas in studio, its not happening

Power BI XMLA Update - Could not save metadata

I'm trying to modify a dataset in a premium workspace via the XMLA endpoint. I've updated this dataset multiple times over the last few weeks - including last night - with no issues. Today, I've tried multiple avenues (SSMS, TabularEditor) to update it and always receive this error.
I've been able to successfully change measures in the dataset but anytime I attempt to change a native query SQL (Snowflake) it fails.
"Metadata change of current operation cannot be resolved, please check the command or try again later."
Error
Multiple attempts to deploy the model from SSMS via XMLA script and TabularEditor.

Power BI : Unable to connect to the data source undefined

Within Power BI (On cloud) console, the datasets screen is showng errors in form of alert icon, in detail the error for all of them is :
Something went wrong
Unable to connect to the data source undefined.
Please try again later or contact support. If you contact support, please provide these details.
Underlying error code: -2147467259 Table: <TABLE_NAME>.
Underlying error message: AnalysisServices: The following system error occurred:
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.DataSourceKind: AnalysisServices
Microsoft.Data.Mashup.ValueError.DataSourcePath: <path1>;<path2>
Microsoft.Data.Mashup.ValueError.Reason: DataSource.Error
Cluster URI: WABI-SOUTH-CENTRAL-US-redirect.analysis.windows.net
Activity ID: 259c4fc7-dde9-449b-b108-9498b001ea25
Request ID: 56d4ee25-b539-4c05-8cd4-24b894507475
Time: 2019-06-13 12:12:51Z
I already reviewed gateway/ Analysis services but seems to be OK, Any idea what additional to review?
You may check the different privacy level settings in Power BI Desktop and Power BI Service. Make sure you have the same privacy level security.
Check Power BI gateway logs. For example, I received the same error message. Log information showed connectivity issue to SQL. I checked the server, and named pipes was disabled in client protocols. Since the report data source was configured by server name, connectivity could not work. Enabling it resolved the issue.

an error occurred during an attempt to establish a connection to the external data source

I have one Tabular SSAS project & I have deployed it on SQL Server Analysis Service 2012.
Then I have created a BISM connection to that deployed project as in following way.
Then I have created one PowerPivot excel report out of that BISM workbook using its connection string & it is working correctly in Excel.
But when I upload it to the SharePoint, it give me following error while refreshing the Data from BISM workbook.
this error is observed only when I open it on browser i.e. Excel Web Access.
but the same error is not observed when I refresh the report in Microsoft Excel 2013.
why is it giving error on only SharePoint i.e. Excel Services. due to this I am not able to change Slicer's either.
One of the solution I found was to use some Hot Fix of SQL Server. but I haven't tried this. Plz refer the below link Hot Fix for SQl Service Pack 1 Update
Please help!
Thanks in advance.
This refresh should be possible, assuming permissions are set up correctly. You should post ULS logs for the time period of the refresh.
Does this same thing happen if you do a scheduled refresh (and choose refresh now)?

How can I install a shared data source with no credentials in SSRS

I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some using shared data sources and some not; some go to web services, some to sql server databases, and now I'm trying to connect to a DB2 database.
I have successfully created a shared data source and report in Visual Studio 2005. I can pull data just fine and display it on my report in the designer. I am now trying to install the report and datasource through the ssrs web service (the same way I have for all other reports).
The problem is that most of our data sources use Integrated Security, and for this data source I am using 'Credentials are not required' since they are listed in the connection string. Here's my install code:
Dim definition As New ServiceProxy.DataSourceDefinition
definition.ConnectString = connectionStringIncludingUsernameAndPassword
definition.Extension = "OLEDB"
definition.CredentialRetrieval = ServiceProxy.CredentialRetrievalEnum.None
ServiceWebService.CreateDataSource(dataSourceName, containingFolderFromRoot, True, definition, Nothing)
This also works fine and gives no errors, and appears to create the datasource properly in ssrs. But when I go to run the report I get this error:
The current action cannot be completed
because the user data source
credentials that are required to
execute this report are not stored in
the report server database.
(rsInvalidDataSourceCredentialSetting)
My report is properly connected to my data source, and my data source is properly set to credentials not required, so it is all the same as it is inside Visual Studio. I'm out of ideas.
The problem was several fold:
the user name and password were listed in the connection string instead of inside the server
the db2 connect software installed on the report server was out of date (8 instead of 9)
the user group 'DB2Users' did not have any members
After correcting these problems, the report works!