Compilation error

Last post 06-05-2006 5:26 AM by XIII. 1 replies.

Sort Posts:

  • Compilation error

    06-05-2006, 12:32 AM
    • Member
      30 point Member
    • JBSG
    • Member since 05-02-2006, 3:39 AM
    • Posts 6

    Hi I am getting this error.Please suggest what is the reason??

    Compilation Error

    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: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).

    Source Error:

    Line 1:  
    Line 2:  Partial Class _Default
    Line 3:      Inherits System.Web.UI.Page
    Line 4:  

     

    Thanks in advance

  • Re: Compilation error

    06-05-2006, 5:26 AM
    • All-Star
      123,682 point All-Star
    • XIII
    • Member since 06-30-2002, 11:59 PM
    • Essen, Belgium
    • Posts 13,672
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs

    Hi,

    in the .aspx page itself make sure the <%@ Page %> directive has the attribute Inhertits="_Default" included.

    Grz, Kris.

Page 1 of 1 (2 items)