+ Start a Discussion
Brian KoBrian Ko 

Can't Uninstall Managed Package / "This extension depends on the package you are trying to uninstall." / Random Apex Class


I am trying to uninstall a managed package. I've solved all of the other errors related to uninstalling the package. However, the one that I can't figure out is where it says the following:

Component Type: Package
Name: ServiceMax
Problem: This extension depends on the package you are trying to uninstall. CreateWOfromLocation

CreateWOfromLocation is an Apex Class that I had but had to remove in order to uninstall ServiceMax (I was getting error messages that I couldn't uninstall because of that Apex Class).

I can't go into the package because it tells me that my Production organization is not the one that installed the package. None of the sandboxes I have can access it too.

I'm not sure what I'm doing wrong.


David SobczakDavid Sobczak

Hi Brian,

We have exactly the same problem... Have you solved the problem? If yes, could you give us the way to solve it ?

Thank you,

Brian KoBrian Ko
Hey David,

Yes, we solved the problem. However, I cannot exactly remember how I did it. I believe I had to use Force IDE. Here's a link to something similar that I found on this (https://developer.salesforce.com/forums/?id=906F0000000AUbQIAW).

Hope that helps!

Pallavi ShendePallavi Shende

I found this, Hope it helps.