我有一個新的SSAS 2016表格模型(1200兼容級別)。我正在嘗試設置一個SQL代理作業來每天處理模型。然而,在執行作業時,它拋出以下錯誤:在SQL代理中處理SSAS表格模型失敗
XmlaException. The { text node at line 7, column 17 cannot appear inside the Command element (namespace urn:schemas-microsoft-com:xmla-analysis) under Envelope/Body/Execute. This element can only have text nodes containing white-space characters.
的命令是:
{
"refresh": {
"type": "full",
"objects": [
{
"database": "Finance"
}
]
}
}
該工程確定,當我在SSMS執行它,但失敗時,通過SQL代理運行工作。
你使用什麼樣的步驟類型?它是「SQL Server分析服務命令」嗎?根據我的經驗,這需要是XML,而不是上面提到的JSON。你是怎麼想出這個命令的? –