Hi Everyone,
I am getting very similar error. I have been developing in VS 2005, ASP.net 2.0 and VB.net + backend as SQL Sever 2005.
The same error occurs often, but at random on the same web pages. I check out all the options mentioned above(clean build of the solution, check for correct definition of partial class names with the same name as its corresponding aspx files.
I don't seem to be doing anything wrong, but still the error with the following description occurs when the application is deployed and used from the web apps server.
The error Details are as follows:
Exception information:
Exception type: HttpCompileException
Exception message: c:\inetpub\wwwroot\WebsiteName\Configure_Data_Sources_AddNew.aspx(1): error BC30456: 'Theme' is not a member of 'ASP.configure_data_sources_addnew_aspx'.
The Page directive for the corresponding page 'configure_data_sources_addnew_aspx' is as follows
<%@ Page Language="VB" MasterPageFile="~/MasterPage_MainPage.master" AutoEventWireup="false" CodeFile="Configure_Data_Sources_AddNew.aspx.vb" Inherits="Configure_Data_Sources_AddNew" title="Untitled Page" Theme="DefaultTheme"%>
The corresponding partial class name in .vb file is
Partial Class Configure_Data_Sources_AddNew
Inherits System.Web.UI.Page
End Class
I can't figure out what I am doing wrong. There is certainly pressure for me to get this right with in short time.
Anyone, PLEASE HELP!
Thanks in advance,
deepak