CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 1/5/2006 12:23:25 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 7 Views: 707 Favorited: 0 Favorite
8 Items, 1 Pages 1 |< << Go >> >|
"LisaM" <>
NewsGroup User
Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/5/2006 12:23:25 AM

0

I get this message when I publish my website on the default page.  I noticed on the compiled page it put an attribute in the page header

 <%@ page language="VB" masterpagefile="~/master.master" autoeventwireup="false" inherits="_Default, App_Web_default.aspx.cdcab7d2" title="Untitled Page" theme="mytheme" %>

which does not exist in my solution.  I don't get it.  Help!

Thanks in Advance!



~ Lisa
"Motley" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/5/2006 2:18:41 AM

0

It came from your web.config file.
"LisaM" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/5/2006 3:08:06 AM

0

But the error says

Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'

The website won't run on my server.  I don't know what to do.


~ Lisa
"ResinMC" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/5/2006 2:55:54 PM

0

These may be silly questions but:

1) Are you using asp.net 2.0 (and not 1.1)?

2) Is your inheriting form a class other than System.Web.UI.Page?

"LisaM" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/5/2006 11:30:29 PM

0

1)  It's 2.0.  It's using it's own App Pool since I have 1.0 projects on the box as well. 

2)  It is inheriting from System.Web.UI.page

 


~ Lisa
"LisaM" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/6/2006 4:01:17 AM

0

And if I build my app and put that code up on the server it works fine.  But my precompiled code does not.  Anyone?

 


~ Lisa
"ResinMC" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/6/2006 3:17:35 PM

0

I think your problem is here:

inherits="_Default, App_Web_default.aspx.cdcab7d2"

That needs to be the name of the code behind page class - i.e. if your page is called default.aspx, then it would normally inherit from _Default.

Maybe try removing the  App_Web_default.aspx.cdcab7d2 from the page directive.

"LisaM" <>
NewsGroup User
Re: Compiler Error Message: BC30456: 'Theme' is not a member of 'ASP.Default_aspx'.1/7/2006 4:26:33 AM

0

Well, that certainly did fix it! 

But then I figured out i have two of the app_web_default dlls in the bin directory.  When I deleted the old one, it worked fine WITH that in the page directive.  I think perhaps once I unchecked "use fixed naming" and maybe that old dll was hanging out there so it was confused there were two.

Thanks for leading me down that path!!!!!!!


~ Lisa
8 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT