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.
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.
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.
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.
I am in the same boat here. Are the scripts available to completely remove web services?
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.
Let me know if you have any questions.
Business Applications communities