Exception while creating Sdl.ProjectAutomation.FileBased.FileBasedProject - PluginManagement.StudioPluginManager.SetPluginRegistryAtAPI cannot access plugin

Exception „The process cannot access the file C:\ProgramData\SDL\SDL Trados Studio\16\Plugins\Packages\xxxxx.sdlplugin because it is being used by another process.“ while creating Sdl.ProjectAutomation.FileBased.FileBasedProject..ctor(ProjectInfo , ProjectTemplateReference)

It happen sometimes when I am creating new instance of project Sdl.ProjectAutomation.FileBased.FileBasedProject, it happen when more users call my application in same time. (Users are working on the server, where is one instance of Trados Studio 2021 SR2 - 16.2.9.9198.)

There is some way how to resolve it?

Thanks a lot

Exception:
System.IO.IOException: The process cannot access the file C:\ProgramData\SDL\SDL Trados Studio\16\Plugins\Packages\StudioSubtitling.sdlplugin 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) at MS.Internal.IO.Zip.ZipArchive.OpenOnFile(String path, FileMode mode, FileAccess access, FileShare share, Boolean streaming) at System.IO.Packaging.ZipPackage..ctor(String path, FileMode mode, FileAccess access, FileShare share, Boolean streaming) at System.IO.Packaging.Package.Open(String path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare, Boolean streaming) at System.IO.Packaging.Package.Open(String path, FileMode packageMode, FileAccess packageAccess) at Sdl.Core.PluginFramework.PackageSupport.PluginPackage.OpenPackage(FileAccess fileAccess) at Sdl.Core.PluginFramework.PackageSupport.ThirdPartyPluginLocator.SyncPlugInPackages(String thirdPartyPluginsDirectory, String thirdPartyPluginsPackagesDirectory) at Sdl.Core.PluginFramework.PackageSupport.ThirdPartyPluginLocator.SyncPlugInPackages() at Sdl.Core.PluginFramework.PackageSupport.ThirdPartyPluginLocator.GetPluginDescriptors() at Sdl.Core.PluginFramework.PackageSupport.ValidatingThirdPartyPluginLocator.ValidateThirdPartyPluginDescriptors(IFrameworkConfiguration configuration) at Sdl.Core.PluginFramework.PackageSupport.ValidatingThirdPartyPluginLocator..ctor(IPluginLocator baseLocator, IFrameworkConfiguration configuration, Boolean isSecureMode) at Sdl.Desktop.Platform.PluginManagement.PluginRegistryBuilder.BuildThirdPartyLocator(Boolean loadThirdPartyPlugins, Boolean isSecureMode, String configPath) at Sdl.Desktop.Platform.PluginManagement.StudioPluginManager.SetPluginRegistryAtAPI() at Sdl.ProjectAutomation.FileBased.FileBasedProject.PerformPreChecks() at Sdl.ProjectAutomation.FileBased.FileBasedProject..ctor(ProjectInfo projectInfo, ProjectTemplateReference templateReference)

Parents Reply Children
No Data