PagodNaUtak
asked on
Retract solutions
i cannot retract my solution due to error as shown below.
How can I force retraction on my solution? sharepoint 2007.
I already tried this but to no avail:
stsadm -o retractsolutions -name mySolution -immediate
How can I force retraction on my solution? sharepoint 2007.
I already tried this but to no avail:
stsadm -o retractsolutions -name mySolution -immediate
The solution can not be deployed. Directory "MyWebPart" associated with feature '494e4a4a-4716-47b0-917c-14763ee5ba7c' in the solution is used by feature 'f417ff19-ee19-4ea5-acf2-bc236b81772b' installed in the farm. All features must have unique directories to avoid overwriting files.
The solution can not be deployed. Directory "MyWebPart" associated with feature '494e4a4a-4716-47b0-917c-14763ee5ba7c' in the solution is used by feature 'f417ff19-ee19-4ea5-acf2-bc236b81772b' installed in the farm. All features must have unique directories to avoid overwriting files.
Just go to central administration. Solution Management. Remove the solution that deployed a webpart called MyWebPart
ASKER
As I have said, there is an error when you retract or remove the solution.
Is there any other idea?
Is there any other idea?
You aren't providing us with the error that you are gettting, that makes it hard to figure out what is going wrong
ASKER
Here is the error in the event log...
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Timer
Event ID: 6759
Date: 3/11/2011
Time: 2:01:52 PM
User: N/A
Computer: ComputerName1
Description:
The Execute method of job definition "SPSolutionDeploymentJobDefinition" (id "7a829fdc-2cab-4f3d-b749-2e6b8c78a15b") threw an exception. The solution can not be deployed. Directory "MyWebPart" associated with feature '494e4a4a-4716-47b0-917c-14763ee5ba7c' in the solution is used by feature 'f417ff19-ee19-4ea5-acf2-bc236b81772b' installed in the farm. All features must have unique directories to avoid overwriting files.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
It is the deployment that is failing not the retract. There see to be another webpart that is linked to another solutionid that has the same name. As they will be landing in the same feature you must uninstall that one.
Did you try to craete a webpart in your environment before with the same name? Or did another developer try to do that?
Did you try to craete a webpart in your environment before with the same name? Or did another developer try to do that?
ASKER
Sorry wrong exemption:
here is the error code:
The solution can not be deployed. Directory "MyWebPart" associated with feature '494e4a4a-4716-47b0-917c-1 4763ee5ba7 c' in the solution is used by feature 'f417ff19-ee19-4ea5-acf2-b c236b81772 b' installed in the farm. All features must have unique directories to avoid overwriting files.
here is the error code:
The solution can not be deployed. Directory "MyWebPart" associated with feature '494e4a4a-4716-47b0-917c-1
Let me try to explain it again:
Someone created a solution MyWebPart with feature id f417...............
This solution creates a folder MyWebPart under c:\program files\common files\microsoft shared\web server extesions\12\templates\fea tures
Now you are creating a solution named MyWebPart as well. Your feature id is 494............ but will be deployed to MyWebPart folder as well. Rename it so it deploys to a different folder and you are all set. The retracting of the solution is not the problem, the deployment of it is.
Someone created a solution MyWebPart with feature id f417...............
This solution creates a folder MyWebPart under c:\program files\common files\microsoft shared\web server extesions\12\templates\fea
Now you are creating a solution named MyWebPart as well. Your feature id is 494............ but will be deployed to MyWebPart folder as well. Rename it so it deploys to a different folder and you are all set. The retracting of the solution is not the problem, the deployment of it is.
ASKER
How do I remove the f417
If you go to central administration, solution management you should see the solutions that have been deployed. There you should see something like MyWebPart unless it is part of a bigger solution. Then it might be a bit tricky to figure out which solution used the MyWebPart feature.
ASKER
I manage to retract all solution except for one solution. When I tried to remove this solution the error I posted above is what I get. So, How do I get retract that solution?
ASKER
Looks like no one can really help me...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.