Web-Services and locked Trace file

M

Mikaelo

Hello!

I have Web-Service. All his methods using Trace to write logs to file.
When many clients query methods at one time, some of them get "Internal
Server
Error" 500
and in logs message like
[IOException]: The process cannot access the file
"C:\Inetpub\wwwroot\bp\VDI\wsBPCreateProject\wsBPCreateProject_Log.log"
because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
"
or
"
[IOException: The process cannot access the file "C:\WINDOWS\Microsoft.NET\
Framework\v1.1.4322\Temporary ASP.NET
Files\wsbpcreateproject\1973fd62\68cb8c6e\
f8705fed.web" because it is being used by another process.]
"

Does it mean that one of executed methods prevent other from writing to log
with Diagnostics.Trace ? Or something else ?

Thank you

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top