Skip to main content

Notifications

Microsoft Dynamics GP forum
Answered

GP Web Services 18.2 (October 2019 release) does not start.

Posted on by 1,690

I just upgraded a client to GP 18.2.  When we start the service, it does not start.  I see this error in the Event log:

Log Name: Dynamics
Source: Microsoft.Dynamics.GP.ServiceHost
Date: 12/11/2019 3:37:33 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: anaas-sql-02.arena.hsventures.org
Description:
Action:
Creating Service

Current User Name:


Input parameters:

Exception type:
System.IO.FileLoadException

Exception message:
Could not load file or assembly 'Microsoft.Dynamics.GP.WebServices.Contract, Version=18.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Stack Trace:
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName)
at Microsoft.Dynamics.GP.NTServiceHost.ResolveServiceType(ServiceElement service)
at Microsoft.Dynamics.GP.NTServiceHost.OnStart(String[] args)

Event Xml:
<Event xmlns="">schemas.microsoft.com/.../event">
<System>
<Provider Name="Microsoft.Dynamics.GP.ServiceHost" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2019-12-11T23:37:33.743036800Z" />
<EventRecordID>665</EventRecordID>
<Channel>Dynamics</Channel>
<Computer>anaas-sql-02.arena.hsventures.org</Computer>
<Security />
</System>
<EventData>
<Data>Action:
Creating Service

Current User Name:


Input parameters:

Exception type:
System.IO.FileLoadException

Exception message:
Could not load file or assembly 'Microsoft.Dynamics.GP.WebServices.Contract, Version=18.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Stack Trace:
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark)
at System.Type.GetType(String typeName)
at Microsoft.Dynamics.GP.NTServiceHost.ResolveServiceType(ServiceElement service)
at Microsoft.Dynamics.GP.NTServiceHost.OnStart(String[] args)
</Data>
</EventData>
</Event>

Any ideas?

Thanks

Perry

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,252 on at
    RE: GP Web Services 18.2 (October 2019 release) does not start.

    Hello Japheth, Thanks for your post.  It works for me.

  • Japheth Nolt Profile Picture
    Japheth Nolt 285 on at
    RE: GP Web Services 18.2 (October 2019 release) does not start.

    Lucas, Thanks for the update.

  • Perry Smith - CRi Profile Picture
    Perry Smith - CRi 1,690 on at
    RE: GP Web Services 18.2 (October 2019 release) does not start.

    Thanks Lucas,

    I will get the patch and reinstall Web Services.

  • Lucas Miller Profile Picture
    Lucas Miller on at
    RE: GP Web Services 18.2 (October 2019 release) does not start.

    Perry,

    This has also been addressed in a patch for GP Web Services that you can download from Customer/PartnerSource  The catch is that the .MSP can only be slip-streamed into a new Web Services install.  The following article explains how that process works:

    community.dynamics.com/.../how-to-slip-stream-msp-files-for-service-packs-and-hotfixes-when-installing-microsoft-dynamics-gp

    While changing the .config file might work, it isn't something we'd recommend for production environment since it isn't something that we're going to test for potential issues.

    Lucas

  • Perry Smith - CRi Profile Picture
    Perry Smith - CRi 1,690 on at
    RE: GP Web Services 18.2 (October 2019 release) does not start.

    Thanks Japeth, that worked.

  • Verified answer
    Japheth Nolt Profile Picture
    Japheth Nolt 285 on at
    RE: GP Web Services 18.2 (October 2019 release) does not start.

    I fixed this by searching for 18.2.0.0 in any .config file in the web service installation folder (C:\Program Files\Microsoft Dynamics\GPWebServices) and replacing it with 18.0.0.0

    In my case, the 2 files that needed modified were:

    "C:\Program Files\Microsoft Dynamics\GPWebServices\Microsoft.Dynamics.GP.WebServices.ServiceHost.exe.config"

    "C:\Program Files\Microsoft Dynamics\GPWebServices\ServiceConfigs\GPWorkflowService.config"

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans