ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
KAKole Awosika20/10/2021

If I open a new file is get a fatal error (see below)


When I try to access an existing file I get similar errors saying it can't acces temp files.


I tried reinstalling, I have no other processes running, I tried deleting everything in the temp folder but nothing works. At start of the application the temp files are made, eve before i want to open a document.





Error message:


An error has occurred. Please contact Bunkspeed for assistance.



Error occurred at 01:37:47 on Thursday, 15 September 2016. Build version is 2016.1.55.4166.



System.IO.IOException = "The process cannot access the file 'C:\Users\TVR\AppData\Local\Temp\SOLIDWORKS\SOLIDWORKS Visualize\a6fd2c67-3da9-46cb-a74a-b7f2092d1337\Project.xml' because it is being used by another process."



Stack Trace:

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)

at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)

at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)

at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)

at Bunkspeed.Common.DataModel.Manage.ProjectPackageLoadSave.ExtractAndInitializePackage(Stream packageStream, IProjectPackageDataStore projectDataStore)

at Bunkspeed.Common.DataModel.Manage.ProjectPackageLoadSave.Load(String packageFilePath, IProgressState progressState)

at Bunkspeed.Common.DataModel.Manage.ProjectDocument.NewProjectFromTemplate(String title, String templatePath)

at Bunkspeed.Common.DataModel.Manage.ProjectDocument.NewProjectFromTemplate(String title, Stream templateStream)

at Bunkspeed.Rendering.ApplicationLayer.Controllers.DocumentManager.NewProjectFromTemplateInternal()

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()