Compilation Error

Discussion in 'ASP .Net Web Services' started by Robin, Nov 16, 2003.

  1. Robin

    Robin Guest

    Please help me with this problem. Thanks

    Regards
    Robin



    Description: An error occurred during the compilation of a resource required
    to service this request. Please review the following specific error details
    and modify your source code appropriately.

    Compiler Error Message: BC30002: Type 'NameSpaceHersh.SqlService' is not
    defined.

    Source Error:



    Line 36: End SubLine 37: Sub ReBind()Line 38: Dim t As
    NameSpaceHersh.SqlService = New NameSpaceHersh.SqlService()Line 39:
    Dim vsql as stringLine 40: Dim ds as DataSet
    Robin, Nov 16, 2003
    #1
    1. Advertising

  2. Hi,

    From what you have specified it looks like you have not added reference to
    the assembly which has 'NameSpaceHersh.SqlService' defined.

    Also, in the following line

    NameSpaceHersh.SqlService = New NameSpaceHersh.SqlService()Line 39:

    You have not specified the object reference. It should be

    NameSpaceHersh.SqlService someObj = New NameSpaceHersh.SqlService();

    Regards
    Akila
    [MVP | MCAD]
    Saurabh Nandu, Nov 17, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vittal
    Replies:
    2
    Views:
    690
    Gordon Burditt
    Jul 8, 2003
  2. =?ISO-8859-1?Q?Martin_J=F8rgensen?=
    Replies:
    5
    Views:
    1,281
    =?ISO-8859-1?Q?Martin_J=F8rgensen?=
    May 6, 2006
  3. Gavin
    Replies:
    3
    Views:
    458
    Chris Uppal
    Mar 28, 2007
  4. C__chp
    Replies:
    4
    Views:
    493
    Puppet_Sock
    Feb 15, 2008
  5. Tassador

    const string error compilation - error C2679

    Tassador, Jul 19, 2009, in forum: C Programming
    Replies:
    0
    Views:
    615
    Tassador
    Jul 19, 2009
Loading...

Share This Page