Compilation error once uploaded to web server

Discussion in 'ASP.NET 2.0' started by M3Fan, Mar 9, 2007.

  1. Hello All,


    I'm getting the following error when I hit select pages in my web application. The code that this error refers to looks fine and I cannot reproduce this error in my development environment, which is pretty frustrating. I can hit other pages in the same virtual directory with no problem.


    -Joel
    Server Error in '/' Application.


    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:







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

    Bruce DiscountASP.NET Staff

Share This Page