web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error on Security Metadata during GP Web Services Configuration Wizard

(0) ShareShare
ReportReport
Posted on by 1,588

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

I have the same question (0)
  • chadbruels Profile Picture
    1,588 on at

    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.

  • Verified answer
    Derek Albaugh Profile Picture
    on at

    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.

  • PGS Profile Picture
    1,150 on at

    Hi Derek,

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

    Thanks

    David

  • Derek Albaugh Profile Picture
    on at

    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,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans