hi

Last post 08-07-2008 3:25 AM by ddejager@sun.co.za. 3 replies.

Sort Posts:

  • hi

    05-08-2007, 7:08 AM
    • Loading...
    • prsuman
    • Joined on 05-08-2007, 10:40 AM
    • Posts 19

    hi ,

    can anyone help me please..

    i am getting following errors while building project in asp.net framework 2003.

     Error:The type or namespace name 'WebParts' does not exist in the class or namespace 'System.Web.UI.WebControls' (are you missing an assembly reference?)
     The type or namespace name 'Services' does not exist in the class or namespace 'System.Web' (are you missing an assembly reference?)
     The type or namespace name 'ASPNETChat' could not be found (are you missing a using directive or an assembly reference?)
     The type or namespace name 'Script' does not exist in the class or namespace 'System.Web' (are you missing an assembly reference?)
     The type or namespace name 'Script' does not exist in the class or namespace 'System.Web' (are you missing an assembly reference?)
     The using directive for 'System.Collections' appeared previously in this namespace
     The type or namespace name 'Generic' does not exist in the class or namespace 'System.Collections' (are you missing an assembly reference?)
     The type or namespace name 'WebMethod' could not be found (are you missing a using directive or an assembly reference?)
     The type or namespace name 'WebMethod' could not be found (are you missing a using directive or an assembly reference?)
     The type or namespace name 'WebMethod' could not be found (are you missing a using directive or an assembly reference?)
     The type or namespace name 'WebMethod' could not be found (are you missing a using directive or an assembly reference?)
     The type or namespace name 'WebParts' does not exist in the class or namespace 'System.Web.UI.WebControls' (are you missing an assembly reference?)
     

     

    Filed under: , ,
  • Re: hi

    05-10-2007, 5:16 AM
    Answer

    Hi,

    From the error message, we can see that you're missing a reference to the assembly that contains WebPart classes.

    Please Add Reference to the Microsoft.SharePoint.dll assembly so that you project can be built successfully.

    Also, in ASP.NET 1.1, you will need to use Microsoft.SharePoint.WebPartPages.WebPart class to create a webpart.

    HTH. If this does not answer your question, please feel free to mark the post as Not Answered and reply. Thank you!

    Sincerely,
    Kevin Yu
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Mark as Not Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: hi

    07-13-2007, 11:31 AM

    \ The type or namespace name 'WebParts' does not exist in the class or namespace 'System.Web.UI.WebControls' (are you missing an assembly reference?)
     i am  using  microsoft  visula studio soliution  ......can  u  help  wat is  the error ...how can i solve ....

  • Re: hi

    08-07-2008, 3:25 AM

    Hi there I also just got the same error........how to I get hold of the *.dll? I have never worked with Sharepoint before?

    Regards

    Daniel
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter