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

时间:2010-08-30 16:55:16

标签: backup ssas

当我运行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:Server:操作已被取消。

at Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForSoapFault(XmlReader reader,XmlaResult xmlaResult,Boolean throwIfError)    在Microsoft.AnalysisServices.Xmla.XmlaClient.CheckForError(XmlReader reader,XmlaResult xmlaResult,Boolean throwIfError)    at Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessage(Boolean endReceivalIfException,Boolean readSession,Boolean readNamespaceCompatibility)    在Microsoft.AnalysisServices.Xmla.XmlaClient.SendMessageAndReturnResult(String&amp; result,Boolean skipResult)    at Microsoft.AnalysisServices.Xmla.XmlaClient.Execute(String command,String properties,String&amp; 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)    在Microsoft.SqlServer.Management.Smo.Olap.SoapClient.SendCommand(String命令,Boolean withResults,String properties)    at OlapEvent(SCH_STEP * pStep,SUBSYSTEM * pSubSystem,SUBSYSTEMPARAMS * pSubSystemParams,Boolean fQueryFlag)Microsoft.AnalysisServices.Xmla.XmlaException:Server:操作已被取消。 `

我不确定备份是否合适。

1 个答案:

答案 0 :(得分:0)

尝试查看ForceCommitTimeout