Abhi
Abhi

Reputation: 151

Exchange Web Service C# Issue,

I have a couple of applications that use the EWS in c#. Some of them may run at the same time. When it does overlap, I usually see this error:

The process cannot access the file 'C:\Windows\system32\EwsResponse.txt' because it is being used by another process.

Is there any way I can avoid this?

Thank you

Upvotes: 0

Views: 133

Answers (1)

Cee McSharpface
Cee McSharpface

Reputation: 8725

Disable tracing:

service.TraceEnabled = false; 

Then the EWS client components will stop writing EwsRequest.txt and EwsResponse.txt files.

Upvotes: 1

Related Questions