Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ Creator & Designer Forum Discussions

nehi_4034671
Level 1
Level 1

Apologies if there is a solution posted, unable to find via forums or searching online.

Cannot open PSOC Creator due to “cyprjmgr has stopped working” error.

Trying to open a project or PSOC creator executable results in nothing, no start-up window, no stalled EXE in task manager.  Uninstalled, restarted, and reinstalled PSOC Creator 3.3 SP2, nearing the end of installation the follow error popped up. 

1_cypr.png

Opening C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\bin\cyprjmgr.exe results following cmd prompt text:

Unhandled Exception: System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.BadImageFormatException: Could not load file or assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The module was expected to contain an assembly manifest.

   at System.Configuration.ExceptionUtil.WrapAsConfigException(String outerMessage, Exception e, String filename, Int32 line)

   at System.Configuration.BaseConfigurationRecord.Init(IInternalConfigRoot configRoot, BaseConfigurationRecord parent, String configPath, String locationSubPath)

   at System.Configuration.RuntimeConfigurationRecord.Create(InternalConfigRoot configRoot, IInternalConfigRecord parent, String configPath)

   at System.Configuration.Internal.InternalConfigRoot.GetConfigRecord(String configPath)

   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)

   --- End of inner exception stack trace ---

   at System.Configuration.ConfigurationManager.PrepareConfigSystem()

   at System.Configuration.ConfigurationManager.GetSection(String sectionName)

   at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)

   at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()

   at System.Diagnostics.DiagnosticsConfiguration.Initialize()

   at System.Diagnostics.DiagnosticsConfiguration.get_IndentSize()

   at System.Diagnostics.TraceInternal.InitializeSettings()

   at System.Diagnostics.TraceInternal.get_UseGlobalLock()

   at System.Diagnostics.TraceInternal.Fail(String message)

   at CyDesigner.Common.Base.CyTypeMapper.PvtDoInit(Object initObj)

   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart(Object obj)

Deleted APPDATA for PSoC Creator and did not resolve.

Unaware of any local changes to computer that could have caused this, no OS update in recent days.

Updated to the latest PSOC Creator 4.2 and did not resolve.

1_cypr  .png

Any help or direction would be appreciated.

Thank you,

-Neil

0 Likes
1 Solution
nehi_4034671
Level 1
Level 1

Resolved the issue.  System.xml seems to be related to .Net framework, even tho there was no obvious changes to this I took the educated guess that files associated with this were somehow corrupted.  Updated to the latest .Net framework and now PSoC Creator starts.

View solution in original post

0 Likes
2 Replies
nehi_4034671
Level 1
Level 1

Found similar forum thread, PSoC Creater 4.2 Startup Error - Newbie​, and followed the assumed solution removing all *.cywrk.* files.  Also relocated all projects to break links to PSoC Creator, did not resolve issue.  Thank you for any suggestions/help.

0 Likes
nehi_4034671
Level 1
Level 1

Resolved the issue.  System.xml seems to be related to .Net framework, even tho there was no obvious changes to this I took the educated guess that files associated with this were somehow corrupted.  Updated to the latest .Net framework and now PSoC Creator starts.

0 Likes