Error writing to web log file
I am running an ISAPI dll in an IIS server. I have been chasing a particular
problem with an access violation (which I cannot reproduce on my development
machine...). Each time I get the Access Violation Error, it is logged to an
xml file in the directory identified in the webtier component.
In one instance, I received the following message:
Cannot open file "D:\TDCDev\pvrWebTier\LogFiles\rbWebLog20030625.xml". The
process cannot access the file because it is being used by another process
To the best of my knowledge, the only thing that could have been talking to
this file was another thread. Is the logfile protected from this? Is there
something I need to be doing to protect against this?
-- Bob McClintock
problem with an access violation (which I cannot reproduce on my development
machine...). Each time I get the Access Violation Error, it is logged to an
xml file in the directory identified in the webtier component.
In one instance, I received the following message:
Cannot open file "D:\TDCDev\pvrWebTier\LogFiles\rbWebLog20030625.xml". The
process cannot access the file because it is being used by another process
To the best of my knowledge, the only thing that could have been talking to
this file was another thread. Is the logfile protected from this? Is there
something I need to be doing to protect against this?
-- Bob McClintock
This discussion has been closed.
Comments
The web log file is managed by the WebTier in a thread-safe manner. We have
not had any reports of issues related to this from other developers.
If you have an ISAPI dll and a WebDebugger app running at the same time this
could cause the error message Or if the ISAPI.dll was not properly unloaded
from memory.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com