Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2013 R2 Payroll Update Crashes

(0) ShareShare
ReportReport
Posted on by 75,788 Moderator

I am trying to run the payroll tax update on a W8.1 workstation. As soon as I select Check for Payroll Tax Update, the window appears but is immediately followed with a crash.  The ugly message is as follows. Has anyone else seen this?

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details.  The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ---> System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstance()
   at System.Windows.Forms.AxHost.GetOcxCreate()
   at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
   at System.Windows.Forms.AxHost.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.AxHost.EndInit()
   at Microsoft.Dynamics.GP.TaxEngine.frmIntenetLink.InitializeComponent()
   at Microsoft.Dynamics.GP.TaxEngine.frmIntenetLink..ctor()
   --- End of inner exception stack trace ---
   at Microsoft.Dynamics.GP.TaxEngine.My.MyProject.MyForms.Create__Instance__[T](T Instance)
   at Microsoft.Dynamics.GP.TaxEngine.My.MyProject.MyForms.get_frmIntenetLink()
   at Microsoft.Dynamics.GP.TaxEngine.frmcustlogin.frmcustlogin_Load(Object eventSender, EventArgs eventArgs)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8000 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.Dynamics.GP.TaxEngine
    Assembly Version: 12.0.0.0
    Win32 Version: 12.00.1753.000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics/GP2013/Microsoft.Dynamics.GP.TaxEngine.exe
----------------------------------------
Interop.Scripting
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics/GP2013/Interop.Scripting.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.7905
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
GPConnNet
    Assembly Version: 12.0.0.0
    Win32 Version: 12.00.0311.000
    CodeBase: file:///C:/Windows/assembly/GAC_32/GPConnNet/12.0.0.0__31bf3856ad364e35/GPConnNet.dll
----------------------------------------
msvcm90
    Assembly Version: 9.0.30729.8387
    Win32 Version: 9.00.30729.8387
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb/msvcm90.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.7905 (win9rel.050727-7900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
AxInetCtlsObjects
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics/GP2013/AxInetCtlsObjects.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

*This post is locked for comments

  • Suggested answer
    neilb Profile Picture
    neilb 5 on at
    RE: GP 2013 R2 Payroll Update Crashes

    Joshua - thank you for this reminder.  Logging into my PC as a computer non-admin for several years now, you would think I would remember to launch as admin.  I was receiving the exact error as Richard above, and your suggestion resolved it perfectly.

  • Joshua Page Profile Picture
    Joshua Page on at
    RE: GP 2013 R2 Payroll Update Crashes

    Hello Richard!

    One other thing to try is to make sure you right click on GP and run as administrator when launching if you will be running the tax update. I've scene a few problems with the tax updates if you don't.

    Joshua

  • Redbeard Profile Picture
    Redbeard 12,931 on at
    RE: GP 2013 R2 Payroll Update Crashes

    Richard - did you get this sorted?

  • RE: GP 2013 R2 Payroll Update Crashes

    Can't you just run the SQL script Richard? I don't support Payroll but I know you can just run a script in SQL if you have problem with this feature.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: GP 2013 R2 Payroll Update Crashes

    Harry, these files do not even exist on this brand new W8.1 workstation. Has anyone else had this problem using W8.1? Can anyone from Microsoft chime in on this? The temporary solution is to do a manual load but even that has its problem as this screen gets locked open.

  • Redbeard Profile Picture
    Redbeard 12,931 on at
    RE: GP 2013 R2 Payroll Update Crashes

    Richard,

    It appears as though this error has to do with Active X not being properly registered on the workstation.  

    If the following dlls are not registered, this kind of error can present:

    mfc30.dll     olepro32.dll     msvcrt20.dll       mfc40.dll     msvcrt40.dll

    Here is a KB, which explains how to register the required components - it is geared towards developers deploying Visual FoxPro code, but I believe your error has the same root cause, and this was the best tech doc I could find on the subject.

    http://support.microsoft.com/kb/146219

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans