Highlighted
Absent Member.. Absent Member..
Absent Member..
1187 views

System.IO.IOException:The process cannot access the file because it is being used by another proce

Hi ,

Geeting below error when trying to replay the script after load test in Ajax Tru client protocol.

Started test by clicking on Run button, buitton was activated and nothing is showing on output window.When I stopped the below error is throwing. FYI..I killed all mdrv process in the controller machine and still facing the issue

System.IO.IOException: The process cannot access the file '\PATH\***\***\mdrv.log' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at HP.LR.Vugen.BackEnd.Debugger.VuGenCciDebugger.CciDebuggerPlugin.SendMdrvLogErrors() in e:\LT\LT-LR\win32_release\12.50.1096.0_clean\app\VuGen\BackEnd\Current\Debugger\cci_debugger_plugin\CCIDebuggerPlugin.cs:line 769

 

0 Likes
2 Replies
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: System.IO.IOException:The process cannot access the file because it is being used by another pr

Hello, 

To my understanding, you got this error when replay the script in vugen, is it?

then how will the error reproduced? what do you mean by "after load test in Ajax Tru client protocol."?

Regards,

Bingle(LoadRuner R&D)

0 Likes
Highlighted
New Member.

Re: System.IO.IOException:The process cannot access the file because it is being used by another pr

@kancharlapalli - Did you finally fix this issue? I am facing the same issue. Thanks

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.