Unable to run app locally in Desktop modeler 7.18.1

0
I am unable to run my application locally. I checked the log files for build, it is successful. But 'm2ee_log' in the same directory is created empty and the error message says 'An unknown error occurred while starting the server'. Below are the details of the error. Can anyone please help to resolve this?   Error : System.IO.IOException: The process cannot access the file '\\solon.prd\files\P\Global\Users\C28731\UserData\Documents\Mendix\LearnNow Management-main\deployment\log\m2ee_log.txt' 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.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)    at Mendix.Modeler.M2EEConnector.RuntimeLauncher.EnsureStarted(String logFileLocation, Int32 serverPort, M2EEClient client) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.M2EEConnector\RuntimeLauncher.cs:line 188    at Mendix.Modeler.M2EEConnector.RuntimeLauncher.LaunchRuntime(LaunchConfig launchConfig) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.M2EEConnector\RuntimeLauncher.cs:line 56    at Mendix.Modeler.Deployment.Local.LocalRunner.DoLaunchRuntime(IConfiguration config, String javaExePath) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Deployment\Local\LocalRunner.cs:line 192    at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Utility\BackgroundUtil.cs:line 28    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)    
asked
1 answers
0

Could you please try/check the below options?

(1) Check if you have correct access Privileges on the source code folder.

(2) Try a machine reboot. Logs says that the 'm2ee_log.txt' is locked by some other process. Reboot might resolve this.

(3) Try copiying source code to a diffrent drive/ path and execute.

 

Thanks,
Aravind

 

 

 

 

answered