Unable to start: System.Net.HttpListenerException: The process cannot access the file because it is being used by another process

0
My last successful install was 7.13. Everything newer (7.22, 7.23 up to 8.0.0 beta 3) installs normally but on start I get the above error. Deinstalling and reinstalling doesn't matter, deleting all .NET doesn't matter. I'm on a managed host and perhaps thats the problem, when I try ‘repair’ in the control panel it can't find the msi …. the folder it's supposed to be in is empty.   It's a long shot but does anybody have any idea on what can be done or where I can investigate further? SimpleInjector.ActivationException: Het proces heeft geen toegang tot het bestand omdat het door een ander proces wordt gebruikt ---> System.Net.HttpListenerException: Het proces heeft geen toegang tot het bestand omdat het door een ander proces wordt gebruikt at System.Net.HttpListener.AddAllPrefixes() at System.Net.HttpListener.Start() at Mendix.Modeler.WebUI.Gui.WebServer.ModelerWebServer.Init() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.WebUI.Gui\WebServer\ModelerWebServer.cs:line 46 at Mendix.Modeler.Plugins.Gui.GuiPluginManager.Init() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Plugins\Gui\GuiPluginManager.cs:line 27 at Mendix.Modeler.WindowsGui.MainForm..ctor(IModelerGui _modelerGui, IGuiPluginManager guiPluginManager, IModelerSettingsManager modelerSettingsManager, IDashboardManager dashboardManager, ISignInManager signInManager, IApplicationManager applicationManager, IDockControlViewModel dockControlViewModel, IUrlOpener urlOpener, IAppStoreDataManagerFactory appStoreDataManagerFactory, IAppStoreAppImporter appStoreAppImporter, IProjectExplorerManager projectExplorerManager) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.WindowsGui\MainForm.cs:line 102 at lambda_method(Closure ) at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration`1.CreateInstance(Func`1 instanceCreator) at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration`1.CreateInstanceWithNullCheck() at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration`1.GetInterceptedInstance() at SimpleInjector.Lifestyles.SingletonLifestyle.SingletonLifestyleRegistration`1.BuildExpression() at SimpleInjector.InstanceProducer.BuildExpressionInternal() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at SimpleInjector.InstanceProducer.BuildInstanceCreator() at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance() at SimpleInjector.InstanceProducer.GetInstance() --- End of inner exception stack trace --- at SimpleInjector.InstanceProducer.GetInstance() at SimpleInjector.Container.GetInstanceForRootType[TService]() at SimpleInjector.Container.GetInstance[TService]() at Mendix.Modeler.WindowsGui.App.CreateMainForm() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.WindowsGui\App.xaml.cs:line 96  
asked
1 answers
0

In recent versions we introduced a WYSIWYG page editor into the Modeler. It runs a server on a random port for the web-based page editor to talk to. On your machine opening a port for listening fails for some reason. We have not seen this issue before.

Questions:

  • What operating system are you running? 
  • Can you try running the Modeler in administrator mode to see if that helps?
  • Is your laptop managed by an IT department that perhaps added some aggressive security measures?
answered