Getting Issue while committing, opening and accessing the project in mendix 9.6.7 version.

0
Mendix.Modeler.Utility.Progress.ProgressException ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\n\Documents\Mendix\Gemba-main_5\.mendix-cache\base_data' is denied.    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)    at Mendix.Modeler.Utility.FileSystem.OpenNewFileForWriting(String filePath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility\FileSystem.cs:line 214    at Mendix.Modeler.VersionControl.Operations.SvnWriteBaseFileOperation.Execute(String versionedFilePath, String destinationPath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\Operations\Svn\SvnWriteBaseFileOperation.cs:line 24    at Mendix.Modeler.VersionControl.BaseFileCacheManager.UpdateBaseFileAndMetadata(String projectFilePath, Revision desiredRevision, VersionControlSystem vcs) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\VersionControl\BaseFileCacheManager.cs:line 83    at Mendix.Modeler.VersionControl.BaseFileCacheManager.EnsureUpToDate(String projectFilePath, IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\VersionControl\BaseFileCacheManager.cs:line 70    at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.<AddConvertProjectBaseFileStep>b__37_0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 214    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 101    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 74    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)    --- End of inner exception stack trace ---    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 52    at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.DoOpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 177    at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.OpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 152    at Mendix.Modeler.ProjectHandling.Openers.ProjectOpenerUI.DoOpenProject(OpenAppData openAppData) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectOpenerUI.cs:line 115    at Mendix.Modeler.ProjectHandling.Openers.ProjectOpenerUI.OpenSprintrProject(ISprintrProject sprintrProject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectOpenerUI.cs:line 92    at Mendix.Modeler.ProjectHandling.CommandLine.CommandLineHandler.HandleCommandLineOptions() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\CommandLine\CommandLineHandler.cs:line 102    at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args)    at Eto.Forms.Control.OnShown(EventArgs e)    at Eto.Forms.Control.Callback.OnShown(Control widget, EventArgs e)    at Eto.Wpf.Forms.WpfWindow`3.<AttachEvent>b__36_6()    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
asked
2 answers
0

It seems that a file that Studio Pro is trying to access is locked (or missing). Can you:

  • Restart the machine and see if there was another process locking access to this file?
  • Check whether this file actually exists in this location? And whether you have the proper read/write rights.
  • Delete/rename the 'mendix-cache' folder from the project folder (this is a “hidden” item, so you may need to check the Hidden items checkmark) and try again? 
  • Have you tried opening the project in different folders? 
answered
0

Personally i always put my mendix projects in a folder called “mendix” in the root of my D:-drive. When i place them in my user folder, OneDrive keep getting in the way causing locks and unpredictable behaviour.

Maybe this would be a solution for you as well?

answered