SharePoint Web Part Error: "Could not load the required type"

Solution: Declare the class public. I mean seriously, you missed that?

More surprising than not getting any hits for this message on Bing or Google is not catching the problem myself for the past [insert embarrassing amount of time here]. Serves me right for going manual and ignoring my own project templates. Even better, I hand-coded my own .webpart file so the WP only broke when I added it to the page. My first clue should have been when it didn't appear on the Web Part Gallery's New page (where it's far easier to have the darn XML generated for you).

Published Wednesday, August 26, 2009 6:08 PM by erobillard

Comments

# SharePoint Web Part Error: "Could not load the required type" - Eli Robillard's World of Blog.

Pingback from  SharePoint Web Part Error: "Could not load the required type" - Eli Robillard's World of Blog.

Wednesday, August 26, 2009 7:10 PM by SharePoint MVP Blogs

# SharePoint Web Part Error: "Could not load the required type"

Solution: Declare the class public. I mean seriously, you missed that? More surprising than not getting

# Links (8/27/2009) « Steve Pietrek – Everything SharePoint

Pingback from  Links (8/27/2009) « Steve Pietrek – Everything SharePoint

Friday, August 28, 2009 12:09 PM by JMP

# re: SharePoint Web Part Error: "Could not load the required type"

This was known as an "Open Circuit in Pilot's Headset" error when I was working on avionics systems.

Leave a Comment

(required) 
(required) 
(optional)
(required)