Originally posted by aunnisa on April 06, 2026
Hi,
We are currently facing excel crash issue when we are tring to save .dwg file from our desktop application…saveAs Dialog is triggering SaveAsExternal.exe application which is internally using excel
#Save As the file from within SPID.
saveAsExternalProcess = Sys.WaitProcess(“saveasExternal”, 50000)
if not saveAsExternalProcess.Exists:
Log.Error(“saveasExternal process did not start within timeout”)
else:
btn = saveAsExternalProcess.FindChild(“WndCaption”, “&Close”, 3)
if btn.Exists:
closeButton = btn
closeButton.ClickButton()
else:
Log.Message(“saveasExternal process completed (process exited or close button not found)”
exactly at line btn = saveAsExternalProcess.FindChild(“WndCaption”, “&Close”, 3) we are getting the error as shown in the log The EXCEL.EXE process crashed.
Error:
Exception code: 0xC0000409.
Process identifier (PID): 11468.
Dump file: EXCEL_ue_9c850e00.dmp.
note: if i put a breakpoint at line btn = saveAsExternalProcess.FindChild(“WndCaption”, “&Close”, 3) and wait till the process is completed it is working fine
can you please look into this issue, Thanks

