I'm on MOSS 2007 andÃÂ just developed this web part deriving from Microsoft.SharePoint.WebParPages.WebPart.ÃÂ It works fine if I manually deploy it to MOSS, that is, manually copy the DLL and add the SafeControl entry into web.cnofig, and then add it in the web part gallery.ÃÂ ÃÂ ÃÂ
If I package it up in a solution .wsp file,ÃÂ adding the solution, deploying it, and activating it all work fine.ÃÂ However, when I go to the home page and try to add it, I get this popup js alert message:
Unable to add selected web part(s).
<web part name>: Incompatible Web Part markup detected.ÃÂ Use ".dwp web part XML instead of *.webpart web part xml.
I tried a .dwp file instead of .webpart in the package but that failed the feature activation part.ÃÂ I guess a .webpart is expected when deploying as .wsp.ÃÂ Now the question is, what exactly is SharePoint complaining and how to fix it???
View Complete Post