locked
System cannot find the file specified RRS feed

  • Question

  • Hi,

    I have a webpart that I created which inherits off the Microsoft.SharePoint.WebPartPages.WebPart class in order to override the GetToolParts method.

    When I deploy the web part to the server, all goes well but the moment I drop the webpart onto a page, the following error appears.

    WebPart Error :: Method Name - OnInit :: [MESSAGE] - The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    I have had to change the .webpart xml to dwp file in order to get around the incompatible xml error.

    Can anyone advise?
    Mike
    Friday, August 29, 2008 4:01 AM