microsoft / Dynamics-365-FastTrack-Implementation-Assets

Dynamics 365 FastTrack Implementation guides
MIT License
283 stars 187 forks source link

Failure try to create _viewreplacement #204

Open steinhorsttobias opened 1 year ago

steinhorsttobias commented 1 year ago

Hello, I get the following error code on the activity "CreateMetadataView": { "errorCode": "2011", "message": "File '/ReplaceViewSyntax.json' cannot be opened because it does not exist or it is used by another process.", "failureType": "UserError", "target": "CreateMetadataView", "details": [] } I don't understand where this file "ReplaceViewSyntax.json" should be created but I found the step in the activity where this file is needed. It relates to the creation of the _viewreplacement meta data view. First there is a creation with plain dummy values and in the next step there is a try to alter the view based on the data out of the missing "ReplaceViewSyntax.json" file on the lake. I don't understand why this crashes because the whole statement to alter the view is included in a try block.

My hotfix was to delete the whole try block to alter the _viewreplacement meta data view and everything worked fines as before.

I get this error in different customer environments all using the newest version of cdmutil. So it would be nice if anyone can fix this error with cdmutil.

Kind regards Tobias

maveloso commented 7 months ago

I am facing the same issue on a latest deployment, not sure where this file comes from, but it is not in my data lake and thus this view is no usable in a serverless pool.