This project is read-only.

Type 'BasePage' is not defined.

Topics: Developer Forum, User Forum
Nov 23, 2009 at 12:59 AM

I have the Starterkit working fine on my computer but when I upload to my server I get the following 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: BC30002: Type 'BasePage' is not defined.

Source Error:


Line 16:                     <%# Eval("Title") %>
Line 17: -
Line 18: <%#CType(Me.Page, BasePage).FormatPrice(Eval("UnitPrice"))%>
Line 19: &nbsp;&nbsp;<small>(<%# Eval("Quantity") %>)
Line 20: <br />


Source File: C:\.....\httpdocs\controls\ShoppingCartBox.ascx    Line: 18
"

I made sure all references to folders were to the site root "~".  I have rebuilt the project and uploaded the new "Release" folder.  I know this has to be something simple but I just can't seem to see it.

 

Leland