Excel Application Scope: Exception from HRESULT: 0xE0000002

Hi Guys - what causes this error in Studio?How can I resolve it?

Thanks,

@odure

Try opening task manager and check from background process microsoft excel would be present mostly…kill that and try again

Cheers

@Anil_G Done that - there was no excel process in the background.

@odure

Is it happening only for one excel?

If so can you please try opening the file …use save as and then save the file with differnet name and check

Cheers

Its downloading a file from a site and storing it in a variable then using that excel downloadedFile across the workflow.It has been working fine for the past 2 days post deployment.

@odure

Did you use a wait for downlod to make sure the file is competely downlaoded before moving forward

And is there any one drive or so you are using to sownlaod or is it to lcoal only?

Cheers

Yes I did - Its downloading to a folder on the server.

Capture

@odure

Can you please open exception details and check if innerexception provides more details

Better try downloading to local because if on seever because of sync we might face issues

Cheers

@odure : Could you please use Excel Kill activity to kill Excel process after that delay of 3 sec & then only use Excel application scope activity & try to do that for each Excel application scope.

@avinash_ghanwat1 Yes - I have tried this but the error is still persisting.
@Anil_G So its downloading on the local directory of the server.

@odure

Instead of application scope did you try with read range workbook?

Cheers

Yes - did so but its still persistent - could the issue be my excel - Ive updated it.

@odure

If it is happening with every excel then yrs it might be with application

If its with specific excel then you need to try with a different downlaod again…

Cheers

Turn out the issue was with the xlsm file that was loaded.After testing with a different file - its working just fine.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.