SSAS 数据库备份失败,错误为 3239837698

发布于 2024-09-16 17:37:40 字数 2287 浏览 9 评论 0原文

当我运行 XMLA 查询来备份 SSAS 数据库时,

<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine" Transaction="false" >
  <Backup xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Object>
      <DatabaseID>MyDB</DatabaseID>
    </Object>
    <File>D:\SSAS\OLAP\Backup\MyDB.abf</File>
    <AllowOverwrite>true</AllowOverwrite>
  </Backup>
</Batch>

它运行一个小时,创建备份文件,并给我一个错误:

<return xmlns="urn:schemas-microsoft-com:xml-analysis">
  <results xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults">
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
      <Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" />
      <Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception">
        <Error ErrorCode="3239837698" Description="Server: The operation has been cancelled." Source="Microsoft SQL Server 2008 Analysis Services" HelpFile="" />
      </Messages>
    </root>
  </results>
</return>

日志显示: `Microsoft.AnalysisServices.Xmla.XmlaException:服务器:操作已取消。

在 Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForSoapFault(XmlReader reader,XmlaResult xmlaResult,布尔 throwIfError) 在 Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForError(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError) 在 Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessage(布尔 endReceivalIfException、布尔 readSession、布尔 readNamespaceCompatibility) 在 Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessageAndReturnResult(String& 结果,布尔skipResult) 在 Microsoft.AnalysisServices.Xmla.XmlaClient.Execute(字符串命令,字符串属性,字符串和结果,布尔skipResult,布尔属性XmlIsComplete) 在 Microsoft.SqlServer.Management.Smo.Olap.SoapClient.ExecuteStatement(字符串 stmt、StatementType stmtType、布尔 withResults、字符串属性、字符串参数、布尔限制ListElement、字符串 discoveryType、字符串目录) 在 Microsoft.SqlServer.Management.Smo.Olap.SoapClient.SendCommand(字符串命令、布尔 withResults、字符串属性) 在 OlapEvent(SCH_STEP* pStep、SUBSYSTEM* pSubSystem、SUBSYSTEMPARAMS* pSubSystemParams、布尔 fQueryFlag)Microsoft.AnalysisServices.Xmla.XmlaException:服务器:操作已取消。 `

我不确定备份是否良好。

When I run XMLA query to backup SSAS database

<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine" Transaction="false" >
  <Backup xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Object>
      <DatabaseID>MyDB</DatabaseID>
    </Object>
    <File>D:\SSAS\OLAP\Backup\MyDB.abf</File>
    <AllowOverwrite>true</AllowOverwrite>
  </Backup>
</Batch>

It runs for an hour, creates backup file, and gives me an error:

<return xmlns="urn:schemas-microsoft-com:xml-analysis">
  <results xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults">
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
      <Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" />
      <Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception">
        <Error ErrorCode="3239837698" Description="Server: The operation has been cancelled." Source="Microsoft SQL Server 2008 Analysis Services" HelpFile="" />
      </Messages>
    </root>
  </results>
</return>

Log says:
`Microsoft.AnalysisServices.Xmla.XmlaException: Server: The operation has been cancelled.

at Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForSoapFault(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
at Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForError(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
at Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility)
at Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessageAndReturnResult(String& result, Boolean skipResult)
at Microsoft.AnalysisServices.Xmla.XmlaClient.Execute(String command, String properties, String& result, Boolean skipResult, Boolean propertiesXmlIsComplete)
at Microsoft.SqlServer.Management.Smo.Olap.SoapClient.ExecuteStatement(String stmt, StatementType stmtType, Boolean withResults, String properties, String parameters, Boolean restrictionListElement, String discoverType, String catalog)
at Microsoft.SqlServer.Management.Smo.Olap.SoapClient.SendCommand(String command, Boolean withResults, String properties)
at OlapEvent(SCH_STEP* pStep, SUBSYSTEM* pSubSystem, SUBSYSTEMPARAMS* pSubSystemParams, Boolean fQueryFlag)Microsoft.AnalysisServices.Xmla.XmlaException: Server: The operation has been cancelled.
`

I am not sure if backup is good.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文