I am trying to use the geoprocessing tools "StageService" and "UploadServiceDefinition" and I get this error when looking at the geoprocessing results window. A google on it seems to point to the installation of the .NET Extensions when running the ArcGIS Server Setup. I've messed with trying to uninstall/reinstall and am still having issues. So...obviously not related to custom code.
Why would this change all of the sudden over the course of a week? This happened to me on some commonly used mxd files from a certain time period back. The error also stated that I may have used a newer version to save. I'm running and have been running 10.5
What gives?
That would indeed normally fix it if you are running a standalone app. Totally forgot to initialize my license in my unit test.
I'm not sure if it will help anyone else who comes a long this thread, but the problem was that I was trying to my code in a stand alone code inside of Visual Studio. I had to convert my code into a button to get around the error. So, it's definitely an issue with the library references.
The most likely explanation is the registry entry for the object has been corrupted in some way, or the dll that exports the object is corrupted in some way. For the latter it could be missing completely, or just in a bad state for some reason
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.