SmartsIntegrator Support and Discussion Forums

File locking error

Share/Bookmark: Add this Thread to Digg Digg   Add this Thread to StumbleUpon Stumble Upon   Add this Thread to Del.icio.us Del.icio.us   Add this Thread to Reddit Reddit   Add this Thread to Facebook Facebook
RE: File locking error
by benj on Mon, Nov 3 2008 4:43 PM
Many thanks – we have now tracked this file locking issue down and fixed it. It related to an undetected race condition, and clearly any such runtime issues are a great priority for us.

The fix is just going through QA. Do you want us to issue you with a new build, or just a patch?

Note also that this error should be a very unlikely occurrence as it depended on a number of coincident factors – it’s unlikely to recur in the short-term if you restart the SmartsIntegrator services.

Thanks,

Ben.
Ben Jackson | SmartsIntegrator Support
Ben Jackson
SmartsIntegrator Technical Support
benj
benj
Joined: Thu, Feb 7 2008
Posts: 96
File locking error
by portedquery on Mon, Nov 3 2008 4:42 PM
Hi Ben,

I am getting the following error repeatedly after letting the workflow run for few hours:

Workflow Instance Exception

IOException, The process cannot access the file 'C:\Documents and Settings\pgupta\Local Settings\Application Data\SmWF\LiveAddIns\51b26526_0a02_485d_8815_f0cef8a8f44c-2.dll' because it is being used by another process. : thrown from codeActivity1. Full exception details : System.IO.IOException: The process cannot access the file 'C:\Documents and Settings\pgupta\Local Settings\Application Data\SmWF\LiveAddIns\51b26526_0a02_485d_8815_f0cef8a8f44c-2.dll' 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at SmartsIntegrator.Workflow.VSTA.WorkflowLogic.IDELaunchPerWorkflow.GetAddInFileForExecution(DALBase da


I am not able to view the message via the “View Workflow” button.

Please let me know how to resolve the issue.

Thanks and regards,

P
portedquery
Joined: Wed, Jul 2 2008
Posts: 72