Hi all, When trying to open Mendix Studio Pro (both version 8.0.0 and 8.1.1) I get the following error. First got the error when trying to open 8.1.1 and thought it was because the app I was trying to open was build under 8.0.0. Then after downloading 8.0.0 I got the same error. It also occurs when trying to open Mendix Studio Pro straight from desktop. Has anyone else experienced this? Details: SimpleInjector.ActivationException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) ---> System.BadImageFormatException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) ---> System.BadImageFormatException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) ---> System.BadImageFormatException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Transactions.Transaction.JitSafeGetContextTransaction(ContextData contextData) at System.Transactions.Transaction.FastGetTransaction(TransactionScope currentScope, ContextData contextData, Transaction& contextTransaction) at System.Transactions.Transaction.get_Current() at System.Data.SQLite.SQLiteConnection.Open() at Mendix.Modeler.Utility.DbConnectors.DbConnector.TryOpenConnection() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 85 at Mendix.Modeler.Utility.DbConnectors.DbConnector.WithoutTransactionDo[TResult](Func`1 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 60 at Mendix.Modeler.Utility.DbConnectors.SQLiteConnector.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\SQLiteConnector.cs:line 58 at Mendix.Modeler.Storage.Database.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Database.cs:line 0 at Mendix.Modeler.Projects.SystemModule.OpenProject(String projectFilePath) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Projects\Modules\SystemModule.cs:line 94 at Mendix.Modeler.Projects.SystemModule.LoadSystemModule() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Projects\Modules\SystemModule.cs:line 68 at Mendix.Modeler.ModelerCore.Init() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Core\ModelerCore.cs:line 71 at Mendix.Modeler.ModelerGui..ctor(IProjectManager projectManager, IProjectChecker projectChecker, IDevSettingsProvider devSettingsProvider, IModelerSettingsManager modelerSettingsManager, ISprintrConnector sprintrConnector, IDocumentControlManager documentControlManager, IGuiThreadExecutor guiThreadExecutor, IStorageUI storageUI, IApplicationManager applicationManager, ILocalRunner localRunner, IBackgroundChecker backgroundChecker, IDocumentManager documentManager, IProjectCloser projectCloser, IFileSystem fileSystem, IProgressDialog progressDialog, IHelpPageOpener helpPageOpener, INewDocumentFormFactory newDocumentFormFactory, IDeployAndRunUtil deployAndRunUtil, IStatusCacheManager statusCacheManager, IVersionControlConnector versionControlConnector, IProjectStateInitializer projectStateInitializer, IPluginManager pluginManager, IUpdaterFactory updaterFactory, IEnumerable`1 summaryProviders, IEnumerable`1 storageTypeConvertersProviders, IProjectExplorerManager projectExplorerManager) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\ModelerGui.cs:line 106 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.BuildExpression() --- End of inner exception stack trace --- at SimpleInjector.InstanceProducer.BuildExpression() at SimpleInjector.Registration.BuildConstructorParameters(ConstructorInfo constructor) at SimpleInjector.Registration.BuildNewExpression() at SimpleInjector.Registration.BuildTransientExpression() 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() 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 98
asked
Koen Hendriks
6 answers
0
Update: The error continues to occur even after re-install.
answered
Koen Hendriks
0
One option is to remove your project and redownload the most recent commit of your project. Or download one commit before that in a new branch. See if that resolves the problem.
Otherwise report this as an issue at support.mendix.com, like the error message advises you to. You should probably do this anyway because this bug needs to get resolved.