处理表格模型后出现下一个错误:
The DDL JSON request failed with the following error: Failed to execute XMLA.
Error returned: 'An unexpected error has occurred.
The exception was triggered by the IDbCommand interface.
The exception was triggered by the IDbCommand interface.
The exception was triggered by the IDbCommand interface.
The exception was triggered by the IDbCommand interface.
The exception was triggered by the IDbCommand interface.
The exception was triggered by the IDataReader interface.
The exception was triggered by the IDbCommand interface.'..
Technical Details:
RootActivityId: 2404cde3-86fb-471a-b517-5a90470897c6
Date (UTC): 3/4/2019 10:59:16 AM
0: PFError::SetLastError() line 2160 + 0x0 <br/>(sql\picasso\engine\src\pf\eh\pferror.cpp)
1: PFSetLastError() line 2918 + 0x0 (sql\picasso\engine\src\pf\eh\pferror.cpp)
2: PFSetLastErrorExTag() line 3474 + 0x27 <br/>(sql\picasso\engine\src\pf\eh\pferror.cpp)
3: 0x00007FFE500F9551 (symbolic name unavailable)
此错误发生在模型处理的不同位置:有时是在开始时,有时是在处理了一部分模型之后。
当我从上一个脚本重新创建模型时,它得到了正确处理,但几天后又出现了同样的问题。
IDbCommand接口似乎表明此问题与建立模型的SQL数据库连接有关。但是我无法理解它的随机性。
刷新与SQL数据的连接时,我可以发现PowerBI中发生了类似的问题,但这无助于解决我的问题: https://community.powerbi.com/t5/Report-Server/Error-when-Refreshing-SQL-Data/td-p/317866