Quantcast
Viewing all articles
Browse latest Browse all 12583

System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.

I got this error sometimes when the application is opened. The log is

[ERROR] 05-28 07:23:04 1 CdcSoftware.Pivotal.Engine.Client.Logging.PivotalLog.Error
Exception in adding TaskMenuItemView
System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.ControlCollection.Add(Control value)
   at CdcSoftware.Pivotal.Engine.UI.TaskPad.GroupMenuItemView.AddTaskMenuItemView(Int32 maxTaskMenuItems, Int32 itemsAlreadyExists, TaskMenuItem taskMenuItem)
[ERROR] 05-28 07:23:04 1 CdcSoftware.Pivotal.Engine.Client.Logging.PivotalLog.Error
 Gui: 353  User Objects: 214  Handles: 801************
[ERROR] 05-28 07:23:04 1 CdcSoftware.Pivotal.Engine.Client.Logging.PivotalLog.Error
Taskpad.OnAddinRefresh exception **********
System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.ControlCollection.Add(Control value)
   at CdcSoftware.Pivotal.Engine.UI.TaskPad.GroupMenuItemView.AddTaskMenuItemView(Int32 maxTaskMenuItems, Int32 itemsAlreadyExists, TaskMenuItem taskMenuItem)
   at CdcSoftware.Pivotal.Engine.UI.TaskPad.GroupMenuItemView.ModifyTaskMenuItems(List`1 taskMenuItems)
   at CdcSoftware.Pivotal.Engine.UI.TaskPad.TaskPadAddin.ConstructTaskGroupMenuItem(GroupMenuItem taskGroupMenuItem)
   at CdcSoftware.Pivotal.Engine.UI.TaskPad.TaskPadAddin.RenderTaskPad()
   at CdcSoftware.Pivotal.Engine.UI.TaskPad.TaskPadAddin.OnAddInRefresh(Object sender, ControlMessage m)

Microsoft.Practices.CompositeUI.EventBroker.EventTopicException: One or more exceptions occurred while firing the topic 'topic://SmartClientContainer/ControlMessages'
   at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.CallSubscriptionHandlers(Object sender, EventArgs e, EventTopicFireDelegate[] handlers)
   at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Object sender, EventArgs e, WorkItem workItem, PublicationScope scope)
   at Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Publication publication, Object sender, EventArgs e)
   at Microsoft.Practices.CompositeUI.EventBroker.Publication.PublicationHandler(Object sender, EventArgs e)
   at CdcSoftware.Iaf.SmartClient.UI.WorkbenchControlBase.SendControlMessage(IafMessageEventArgs args)
   at CdcSoftware.Pivotal.Engine.UI.NavigationPad.NavigationPadAddin.SendCommand(CommandMessage commandMessage)

I have checked the total handles not go up to the limit of 10000.

It is very hard for me to identify and resolve the problem as it is not always and I can not debug it.  We have to repeat to open and close the application to try to reproduce it.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>