I'm writing web parts for sharepoint services 3.0 (NOT 2.0 and NOT office 2007 sharepoint server either). Our company is writing data driven webparts to be used in our sharepoint site, however... any web part i've tried to install isn't working (they work fine in asp.net 2.0 so i am suspecing my dwp and manifest files aren't correctly working. I have a DLL and a .config file...
I keep getting the error that "webpart does not inherit from Microsoft.Sharepoint.Controls.Webpart and could not be loaded" but according to the WSS 3.0 documentation asp.net 2.0 webparts CAN and SHOULD be complely compatible with wss3.0.
2006-12-31
11:12:44
·
2 answers
·
asked by
Jhered
3
in
Computers & Internet
➔ Programming & Design
additionally: because i thought the error message might be correct (even though microsoft says asp.net 2.0 controls are valid) i tried changing the inherited class from System.Web.UI.Controls.WebPart to Microsoft.Sharepoint.Controls.Webpart and it then gives an even more generic error.
NOTE: this webpart uses asp.net 2.0 web controls, would that be the problem? can i only use html server controls?
2006-12-31
11:15:19 ·
update #1