Today, while deploying webpart to our WSS 3.0 server we got some funny errors like object reference not set to an instance of an object. The team got stuck in there for more than 3 hours. After lot of googling we found it is because of missing some entries in the WSS Content Database. To fix this issue, Microsoft doesn’t providing any tool. And we got some tools and tips from
And we found the FeatureCleaner v0 is good tool, compare to Missing Feature.exe, because in the latter we need to give the Connection string to the WSS Database.
Update
We need to modify the FeatureCleaner v0 source, if you WSS installed on other than C:\ Drive.