Not able to launch Mendix Version-8.4.2 after installing on my machine.

0
SimpleInjector.ActivationException: Operation is not supported on this platform. ---> System.PlatformNotSupportedException: Operation is not supported on this platform.    at System.Net.HttpListener..ctor()    at Mendix.Modeler.WebUI.Gui.WebServer.ModelerWebServer.Init() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WebUI.Gui\WebServer\ModelerWebServer.cs:line 42    at Mendix.Modeler.Plugins.Gui.GuiPluginManager.Init() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Plugins\Gui\GuiPluginManager.cs:line 29    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, IRevStatusControlFactory revStatusControlFactory, IOptionProvider optionProvider, IEnumerable`1 toolWindowProviders, IDocumentControlManager documentControlManager, IApplicationEventManager eventManager, IDebuggerHostControlFactory debuggerHostControlFactory) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.WindowsGui\MainForm.cs:line 151    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\modeler\Mendix.Modeler.WindowsGui\App.xaml.cs:line 99  
asked
1 answers
1

Studio Pro uses an internal web server for the Design mode of pages. On your computer it fails to initialize that web server. I have not seen that error before.

If I google a bit, I find that this exception can occur if your Windows version is too old, but you are using Windows 10 so that is not the problem.

Another thing I find is that a firewall may be blocking the creation of the web server. Can you configure the firewall? Maybe disable it for a couple of minutes and see whether Studio Pro starts.


Update: the comment by Alexander contains the solution. Run the following two commands from a Command prompt.

sc config http start=demand
sc start http

 

answered