Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Error on Security Metadata during GP Web Services Configuration Wizard

Posted on by 1,582

ConfigurationWizard Error: 0 : ExecuteSystemTask (Install) --> **Exception: A loader exception has occurred.
Loader Errors:
- Microsoft.Dynamics.Security.InvalidSecurityContextException: Microsoft.Dynamics.Security.NonExistentSecurityObjectException : The security object does not exist.  Key = 25cc1a21-2cc4-4b13-a1c8-eea186fb688a

I am receiving this error during a the Configuration Wizard's process to add companies.

Background:

We are doing a production install of web services in an environment where we thought it did not exist at all. However, we have four GP companies and we found that the system database had web services objects (tables starting with 'WS') and 3 of the companies were listed in the WSInstallStatus table. We tried running the upgrade on those three companies and received the error above. We then ran the remove process on those three companies using the Configuration Wizard followed by trying to add all four companies. We received the error above again.

*This post is locked for comments

  • RE: Error on Security Metadata during GP Web Services Configuration Wizard

    David, here are the scripts to remove Web Services from the DYNAMICS/system database and GP company database(s). The Web Services Configuration Wizard will do this as well if you uninstall Web Services through it.

    GPWS_5F00_Drop_5F00_DYNAMICS_5F00_Database_5F00_Objects.txt

    GPWS_5F00_Drop_5F00_Company_5F00_Database_5F00_Objects.txt

    Let me know if you have any questions.

    Thank you,

  • PGS Profile Picture
    PGS 1,130 on at
    RE: Error on Security Metadata during GP Web Services Configuration Wizard

    Hi Derek,

    I am in the same boat here. Are the scripts available to completely remove web services?

    Thanks

    David

  • Verified answer
    RE: Error on Security Metadata during GP Web Services Configuration Wizard

    That's correct. Anytime we see a "The security object does not exist.  Key = 25cc1a21-2cc4-4b13-a1c8-eea186fb688a" error installing Web Services, it means that the installer is seeing remnants of a prior Web Services implementation that it isn't able to upgrade or install over.

    Normally, by using scripts to completely remove Web Services from the GP databases and/or a full new install of Web Services, the installation does go through.

    Thanks for the information.

  • chadbruels Profile Picture
    chadbruels 1,582 on at
    RE: Error on Security Metadata during GP Web Services Configuration Wizard

    Stand down, Epically Wonderful GP Community.

    We are dealing with an environment which was previously running a production instance of GP Web Services. It's installation was on a app server. While we were tasked with installing Web Services on the SQL server, we were not made aware of the existence of the installation on the app server. Our new installation on the SQL server was a higher build number than what was currently in use and we also missed seeing the current database for the security store - it was called WebServicesSecurity while the Dev server we were using as a template had it named GPWebServices. Again, we were under the impression they had only been running web services in dev and we were doing the first install to production. I believe since we were operating on companies whose install looked to WebServicesSecurity but that our new install was set to use GPWebServices that this was the source of the error. Apparently the client wanted to do a phased cut-over from the endpoint on the app server to that on the SQL server. Now they're accepting that the cut-over will happen, well, now.

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans