Type case error

Sep 18, 2007 at 8:13 PM
I have a webpart that is created inheriting from: Microsoft.SharePoint.WebPartPages.WebPart. I am targeting a MOSS 2007 installation and i have used the WSPtools to create the wsp file.

When i run the application i get the following error: Unable to cast object of type 'Microsoft.SharePoint.Administration.SPSolution' to type 'Microsoft.SharePoint.Administration.SPFeatureDefinition'.

It then rolls back. Any ideas on how to fix this. I have been messing around and have not been able to figure it out.

Thanks ahead of time,
-Stephen