web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

RSAT setup, Excel error during "Generate Test Execution and Parameters files"

(0) ShareShare
ReportReport
Posted on by 65

I have created a simple recording in Task Recorder, uploaded it to the BPM library and synced the Test Case to DevOps. When I click the "New" button in RSAT to generate the files needed for running the test (and provide parameters for it) I get a weird error referring to Excel;

[RSAT] FI01 Currency test
System.Exception: The Excel file creation failed at C:\Temp\RegressionTool\14\attachments\Currency_setup_14_Base.xlsx: The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER)) ---> System.Runtime.InteropServices.COMException: The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Dynamic.ComRuntimeHelpers.CheckIfMissingTypeInfoIsExpected(Int32 hresult, Boolean throwIfMissingExpectedTypeInfo)
at System.Dynamic.ComRuntimeHelpers.GetITypeInfoFromIDispatch(IDispatch dispatch, Boolean throwIfMissingExpectedTypeInfo)
at System.Dynamic.IDispatchComObject.EnsureScanDefinedMethods()
at System.Dynamic.IDispatchComObject.System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(Expression parameter)
at System.Dynamic.DynamicMetaObject.Create(Object value, Expression expression)
at System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection`1 parameters, LabelTarget returnLabel)
at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at CallSite.Target(Closure , CallSite , Object , Int32 )
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
at Microsoft.Dynamics.RegressionSuite.Excel.ExcelService.GenerateVerticalTable(Worksheet sheet, String label, String leftColumnHeader, String rightColumnHeader, List`1 lines, Int32 row, Boolean validate) in D:\a\1\s\Business Process Test Tool\TaskRecordingRegressionTool\RegressionSuite\Excel\ExcelService.cs:line 525
at Microsoft.Dynamics.RegressionSuite.Excel.ExcelService.GenerateExcel(List`1 forms, String excelOutputFile) in D:\a\1\s\Business Process Test Tool\TaskRecordingRegressionTool\RegressionSuite\Excel\ExcelService.cs:line 285
--- End of inner exception stack trace ---
at Microsoft.Dynamics.RegressionSuite.Excel.ExcelService.GenerateExcel(List`1 forms, String excelOutputFile) in D:\a\1\s\Business Process Test Tool\TaskRecordingRegressionTool\RegressionSuite\Excel\ExcelService.cs:line 378
at Microsoft.Dynamics.RegressionSuite.CodeGeneratorHelper.ProcessXml(TestCaseModel testCase, String outputPath, String companyName, Boolean generateOnlyTestExecution, Boolean isCreateDerivedAction) in D:\a\1\s\Business Process Test Tool\TaskRecordingRegressionTool\RegressionSuite\Helpers\CodeGeneratorHelper.cs:line 321
at Microsoft.Dynamics.RegressionSuite.WindowsApp.MainForm.<>c__DisplayClass78_2.<<ProcessParentWithDerivedTests>b__1>d.MoveNext() in D:\a\1\s\Business Process Test Tool\TaskRecordingRegressionTool\RegressionSuiteWindowsApp\MainForm.cs:line 1334

I am running this locally on my onebox, as Admin. What have I missed in my setup?

I have the same question (0)
  • CU21011815-0 Profile Picture
    1,943 on at

    These are some basic things you've probably checked, but C:\Temp\RegressionTool\14\attachments\ exists and can be written to where RSAT is running?  Also do you have excel open anywhere on the system that is running RSAT?  If excel is up and running even with another file, you might try closing and then running again.

  • Provios Profile Picture
    65 on at

    Yeah, the path can be written to - I have downloads in there from DevOps that RSAT created. I do not have Excel running, but I tried starting and closing it and I still get the same error - I even rebooted the VM just to be sure.

  • Suggested answer
    Provios Profile Picture
    65 on at

    I solved it. Turns out you have to have activated Office installation on the machine where the RSAT tool is running. The error stemmed from Excel trying to start but getting stuck in the activation dialog in the background, and that was the cause for the "application is busy" error.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans