I have a web part that I\'ve developed, and if I manually install the web part it is fine.
However when I have packaged the web part following the instructions on this w
Figured it out.
The error message is the one from the .webpart file:
Cannot import Project Filter.
Project Filter
Provides a list of Projects that can be used to Filter other Web Parts.
The problem is that the original .webpart file was created on a 32-bit system with Visual Studio Extensions for WSS installed.
However as I'm now on a 64-bit machine VSEWSS is unavailable, and I believe that results in the above GUID not being substituted as I am not using those deployment tools.
Replacing the GUID with the full type name works.
So if you encounter the error message from your importErrorMessage node, then check that your type node in the .webpart file looks more like this (unrelated example):
This is in the format: Class, Namespace, Version, Culture, PublicKey
You can grab that easily from the web.config file associated with your SharePoint instance, as it will be in the safe controls list.