Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Workflow error - user gets for one company but the other 3 are fine - any suggestions?

Posted on by Microsoft Employee

Severity: Critical
Summary: A server side exception of type "Win32Exception" has occurred.
Details:
Win32Exception: 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(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.ControlCollection.Add(Control value)
   at Microsoft.Dynamics.Framework.UI.WinForms.Controls.MessagePane.messageBars_ItemAdded(Object sender, CollectionChangedEventArgs`1 e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ListWithEvents`1.OnItemAdded(CollectionChangedEventArgs`1 e)
   at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ListWithEvents`1.Insert(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.InsertItem(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.Insert(Int32 index, T item)
   at Microsoft.Dynamics.Framework.UI.WinForms.Controls.MessagePane.AddItemWithSummary(MessageBar newMessageBar, Boolean addToFront)
   at Microsoft.Dynamics.Framework.UI.WinForms.Controls.MessagePane.Add(MessageBar messageBar, Boolean addToFront)
   at Microsoft.Dexterity.Shell.Parts.MessagePanePart.AddMessageBar(Object sender, MessageBarEventArgs e)
   at Microsoft.Dexterity.Shell.Parts.DexListProviderPart.OnMessageBarAdded(MessageBarEventArgs e)
   at Microsoft.Dexterity.Shell.Parts.DexListProviderPart.dexListPage_MessageBarAdded(Object sender, MessageBarEventArgs e)
   at Microsoft.Dexterity.Shell.DexListPage.OnMessageBarAdded(MessageBarEventArgs e)
   at Microsoft.Dexterity.Shell.DexListPage.AddMessageBar(Int32 id, MessageBar messageBar)
   at DtwUIShellManagedDataList.AddMessageBar(DT_MESSAGEBAR_TYPE type, Int32 id, String message, String button1, String button2, String button3)
   at dt_shell_datalist_add_messagebar(UInt16 listTag, DT_MESSAGEBAR_TYPE messageBarType, Int32 messageBarID, Byte* messageText, Byte* button1, Byte* button2, Byte* button3)
   at script_run_form_gs_by_name_with_args(Byte* , Byte* )
   at DtwUIShellManagedDataList.CallDataListInitialize(UInt16 listCommandTag)
   at DtwUIShellManagedDataList.Initialize()
   at Microsoft.Dexterity.Shell.Parts.DexListProviderPart.PostInit()
   at Microsoft.Dexterity.Shell.PartInfrastructure.PageBuilder.Build(PageDefinition pageDefinition, Control hostingControl, MacroHook parentMacroHook)
   at Microsoft.Dexterity.Shell.NavigationForm.LoadPage(PageDefinition pageDefinition)
   at Microsoft.Dexterity.Shell.NavigationForm.LoadPage(Object link)
   at Microsoft.Dexterity.Shell.NavigationForm.MacroPlayNavigate(String macroItem, String[] itemSplit, String comment)
   at Microsoft.Dexterity.Shell.NavigationForm.PlayMacroItem(MacroPlaybackEventArgs e)
   at Microsoft.Dexterity.Shell.NavigationForm.macroHook_PlayMacroItem(Object sender, MacroPlaybackEventArgs e)
   at Microsoft.Dexterity.Shell.MacroHook.OnPlayMacroItem(MacroPlaybackEventArgs e)
   at Microsoft.Dexterity.Shell.MacroHook.PerformPlayMacroItem(String macroItem, String comment)
   at Microsoft.Dexterity.Shell.MacroManager.PlayLineToShell(String macroLine, String comment)
   at ?A0xd35779b5.PlayLineStringToShell(String sCommand, String sComment)
   at PlayLineToShell(Byte* cstr_command, Byte* cstr_comment)
   at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.MsaShellNavigateTo(Int16[] tags, Int16 count)
   at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.<>c__DisplayClass60.<MacroSystemShellNavigateTo>b__5f()
   at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.ExecuteMsaAction(Func`1 interopAction, String entryPoint)
   at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.MacroSystemShellNavigateTo(Int16[] tags)
   at Microsoft.Dexterity.Runtime.Interop.DexMacroSystem.ShellNavigateTo(Int16[] tags)
   at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Implementation.WCDexMessageProcessor.ProcessShellNavigateToMessage(IWCDexMessage msg)
   at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.Implementation.WCDexMessageProcessor.Process(IWCDexMessage message)
   at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.DexRuntimeStateManager.SendMessage(IWCDexMessage message)
   at Microsoft.Dynamics.GP.Web.Services.Runtime.Dexterity.DexRuntimeStateManager.MainEventLoop()

*This post is locked for comments

  • RE: Workflow error - user gets for one company but the other 3 are fine - any suggestions?

    I would open a support case if you haven't already done so. I'm not familiar that we've seen this error pulling up requisitions in Web Client or the rich client of Dynamics GP.

    If you're using a modified window/report to pull the requisitions through, try the default version to see if the same error remains.

    We didn't get anywhere with the above forum in 2016.

    Thanks

  • Carol Conde Profile Picture
    Carol Conde 5 on at
    RE: Workflow error - user gets for one company but the other 3 are fine - any suggestions?

    Hello Derek,

    I have a user with the exact same error.  We are using the web client to pull up the list of available requisitions to approve from Workflow 2.0.  The application (internet explorer) freezes and gives the Win32 error Deanne mentioned above.  Pulling up a list of requisitions to approve works for this user in all but one company.  Is a MS support case needed or has someone found the solution?

    Thank you,

  • RE: Workflow error - user gets for one company but the other 3 are fine - any suggestions?

    Hello DeAnne,

    Are the users approving requisitions through the email notifications sent to them, or within the Dynamics GP application itself and/or using Web Client?

    If user(s) are getting this error only in one company while another three companies are working fine, we would need to look at what is company-specific compared to the others that this company would be throwing the error while the other three allow users to approve requisitions successfully.

    What version of Dynamics GP is currently being used and are we using Dynamics GP Workflow on SharePoint or the new Workflow 2.0 functionality?

    Looking at our case history, we've seen this type of error in a couple of cases, most of them Web Client related, but nothing specific as to the cause or resolution, so the more information we can get the better, if you haven't already opened a support case for this issue.

    Thank you,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow error - user gets for one company but the other 3 are fine - any suggestions?

    The end user was trying to approve purchase requisitions

  • RE: Workflow error - user gets for one company but the other 3 are fine - any suggestions?

    Hello Deanne,

    What exactly is the user(s) doing and what version of Dynamics GP are they using, when they get this error?

    Thanks,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans