Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Getting Clr method invocation failed error loading GP web services

Posted on by Microsoft Employee

Trying to load GP 2010 Web Services on a Windows 2003 R2 system. Windows 2003 is running SP2; I am loading Web Services from the GP 2010 R2 DVD.

 

When I click setup it begins to load but then gives the following error:

 

Clr method invocation failed

EC(31) HR(-2146232828) OP(16)
Unknown Error 0x080131604

Microsoft.Dynamics.GP.Webservices.Deployment.UI::Microsoft.Dynamics.GP.Webservices.Deployment.UI.EntryPoint.Main() [v2.0.50727]

There are no entries in any of the event logs.

 

So far I have tried:

Removing and Reloading .Net Frameworks (2.0, 3.0, .3.5)

Different Media for Web Services

Logging in as a different person with full administrative rights

Turning off the AntiVirus

 

Not sure what else to try. anyone ever run across this error? any thoughts?

 

 

 

*This post is locked for comments

  • Verified answer
    Rob Klaproth Profile Picture
    Rob Klaproth 1,730 on at
    RE: Getting Clr method invocation failed error loading GP web services

    Here is how to make it all work.  

    Open command prompt as admin (elevated)

    go to the folder on your GP install media \AdProd\WebServices\x64 and run the following:

    Microsoft_DynamicsGP18_Webservices_x64_en-us.msi /qn+ /l*v install.log SQLSERVER="nameofsqlserver" SERVICE_USER_DOMAIN="nameofyourdomain" SERVICE_USER_NAME="nameofserviceaccount" SERVICE_USER_PASSWORD="passwordforserviceaccount" SECURITY_STORE="Sql" SQL_SECURITY_INSTANCE="nameofsqlserver" SQL_SECURITY_DATABASE="DynSecurity" SQL_SECURITY_STORENAME="DynamicsGPWebServices"

    *** NOTE - YOUR USER NAME you are logged into command prompt MUST be in the "sysadmin" role in SQL or it will fail.  ***  You can take yourself out of the sysadmin role after install, it needs that role to create the DB.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Getting Clr method invocation failed error loading GP web services

    im having the same error, does anyone resolved?

  • Sureshn07 Profile Picture
    Sureshn07 700 on at
    RE: Getting Clr method invocation failed error loading GP web services

    Hi Brian,

    I am also facing the same issue, if the "SECURITY_STORE" is on SQL SERVER, what should I use in place of "AdamLocal". I have tried with "SQLSERVER", "SQL", "SQLSERVERLocal", "SQLLocal".

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Getting Clr method invocation failed error loading GP web services

    Found the answer. Need to run Web Services from a command line:

    msiexec /i Microsoft_DynamicsGP11_WebServices_x86_en-us.msi /qn+ /l*v install.log SQLSERVER="<SqlInstance>" SERVICE_USER_DOMAIN="<Domain>" SERVICE_USER_NAME="<User>" SERVICE_USER_PASSWORD="<Password>" SECURITY_STORE="AdamLocal"

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans