How to remove an assembly
Hi, We have uninstalled a third-party software from our SharePoint farm, unfortunately some of the assembly are still giving us trouble. Event manager error: Could not load file or assembly 'Unwanted assembly, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b591e740f63f4f43' or one of its dependencies. The system cannot find the file specified. We have remove the assembly from our front-end server, but we are unable to remove the assembly on our Search indexing Server. We have located in the web.config file, the line about the Unwanted assembly, but I am not really cool to remove line from the web.config file. <SafeControl Assembly="Unwanted assembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9809048fcdbfea5f" Namespace="Unwanted assembly" TypeName="*" Safe="True" /> Is it ok to remove this line from the web.config or is there any other tools that we can use? Thank you for your help!
April 25th, 2012 6:33pm

Hi, if they are unwanted features, try using the SharePoint feature cleanup tool. http://featureadmin.codeplex.com/EmpowerIT (Australia) for all your CRM/SharePoint needs. http://mscrmblog.net Microsoft Certified Business Management Solutions Specialist Microsoft Certified CRM Developer
Free Windows Admin Tool Kit Click here and download it now
April 25th, 2012 9:56pm

Hi Ibrahim I have downloaded the tools, but I receive this erreur when I tried to Load the list of all Features: Unhandled exception has occured in your application. If you click Continue the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Failed to compare two elements in the array. The problem is I have remove all the feature with the command stsadm -o uninstallfeature -filename UnwantedFeature -force. So the feature is not there anymore, but the assembly is still there.
April 26th, 2012 7:17pm

Hi, From the error message you have got earlier it seems that your feature along with the assembly is removed however some part of your application is still calling something from your assembly and when it is not getting it an error is coming. Thanks, Rahul Rashu
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2012 9:49pm

Id suggest not playing around with the Config file, as you might make some changes that impact your SharePoint applications. Id enquire as to the manner of the removal. If what you installed and the uninstalled used a Packaged Solution (wsp) than any assemblies added to the GAC would be removed sufficiently too. How did you remove the third party package? It would also be helpful if you could advise us what the product actually was.Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/
April 29th, 2012 3:14pm

The third party package was Cadac Organise. Our SharePoint was still in SP1, because Cadac guys told us to not install any Service Pack. Then we decide to remove this third party. In the Add/Remove program, I have uninstall the software, then I did an stsadm -o enumsolutions And I see that the solutions (there was multiple solutions deployed or installed) still there. So I use this command to retract deployed solutions: stsadm -o retractsolution -name "solutionname.wsp" -immediate Then when all deployed solutions was retracted, I use this command to remove the solution. stsadm -o deletesolution -name "solutionname.wsp" I ran this command after to make sure that all the solution was remove: stsadm -o enumsolutions Then we installed SP2 and SP3. I am sorry for the errors, English isn't my mother tongue.
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 5:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics