cancel
Showing results for 
Search instead for 
Did you mean: 

BR throws an error. The process cannot access the file because it is being used by another process.

Manish_Agrawal
New Contributor III

I am getting an error while trying to access the file from the BR .

The process cannot access the file '\\XXXXXX.file.core.windows.net\onestreamshareprd1\FileShare\Applications\XXXXXXX\Groups\Everyone\XXXXXX\File_XXXXX.zip' because it is being used by another process.

1 REPLY 1

ChristianW
Valued Contributor

If you access a file from a business rule, you first need open the file, than you do your activity, and then you close it. This is VB.net standard. If you open the file, but not close it, an error message like yours appears.

A common reason for open files is an error during the runtime, so that you opened the file but never succeed closing it. To avoid such a situation, you can use the try error handling to close the file even after running in a bug.