Error While Trying to Delete Environment


I’m receiving an error when trying to delete an environment. I’ve attached a screenshot. The text is general, saying “Error: 500 Server error. An error occurred while updating the entries. See the inner exception for details.” I could not find a log on the Portal’s server to look up the inner exception.

The environment has no machines associated with it.

Thanks for your help.



Hi Seth,

Are there any variables that reference the environment? If so you may need to delete them.



I did find a few variables that were active for the “Delete Me” environment. I combed through the projects and removed them. I also checked all deploy steps to make sure nothing referenced that environment (which turned out to be impossible, as it had no machines associated with it).

I still received the same “500” error when trying to delete the environment. It’s not critical that the environment go, I just want to clean up the site a bit. If there are any tests I can do to help diagnose the problem, please let me know.