I have googled around on this. Everything was working just fine. I have default.aspx in root, and two other folders. I have checked all my pages. If the inherits says _default then code behind says _default Default.aspx comes up just fine on my local
machine. What do I do?
Source
Error:
Line 1: <%@ page title="" language="VB" masterpagefile="~/templates/Home.master" autoeventwireup="false" inherits="_Default, App_Web_default.aspx.cdcab7d2" %> Line 2:
Line 3: <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
make sure page directive got all right info, then clean the solution and rebuild it...
if still problem persists, then re-create the file (delete the file in VS and recreate it) which is giving problem and then try to build it....I think it should solve it...
my answer to your question was, there might something went wrong with directive tags associated with the page...
I rebuilt my site selecting rebuild all. It said it completed this successfully, however, I did notice that in my page directive it underlined in blue for a few seconds and I put my mouse on the line and it was saying profilecommon was an issue. I was having
this problem on my website just now with profile common. I'm using login with the membership and accessing a profile database linked to this. My login page is working now though and it is retrieving the details for the subdirectory from the profile. It's just
this home page now.
I have VS 2010, but should I open my site in it? I used 2008 to create the project. 2008 doesn't have "Clean solution"
I deleted my default.aspx page and recreated it. I still get the same error. I don't know what to do. I rebuild it and it does it. It appears on my local machine fine when I debug bug not on the live site.
It's on 2.0 framework on my site. If I open it in 2010 and do the clean solution, will I be able to use 2008 for future editing?
I just tried to use this in vs 2010. What a mess it made. I will never try this again.
What is causing this problem ?
BC30456: 'Title' is not a member of 'ASP.default_aspx'.
Why does it ad an underscore after default?
I believe the issue has to do with "ambiguity" which occrus when you start making multiple default pages in various folders. I had 4 of these and I renamed one of them to something else and the problem in GONE! I learnt this by doing some googling.
sking
Member
508 Points
1028 Posts
BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 01:09 AM|LINK
I have googled around on this. Everything was working just fine. I have default.aspx in root, and two other folders. I have checked all my pages. If the inherits says _default then code behind says _default Default.aspx comes up just fine on my local machine. What do I do?
Source Error:
Line 1: <%@ page title="" language="VB" masterpagefile="~/templates/Home.master" autoeventwireup="false" inherits="_Default, App_Web_default.aspx.cdcab7d2" %> Line 2: Line 3: <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">Source File: C:\HostingSpaces\zlinkexc\mortgagerefinancingpros.com\wwwroot\Default.aspx Line: 1
SEO Software Tool | Link Exchange
rkchaudary
Contributor
2524 Points
545 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 08:21 AM|LINK
check the inherits property of page tag
inherits="_Default, App_Web_default.aspx.cdcab7d2"RkChaudary
blog
sking
Member
508 Points
1028 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 03:50 PM|LINK
Check it? Why is there a line through the bin file? This is what a compiled is supposed to look like. here is my file:
<%@ page title="" language="VB" masterpagefile="~/templates/Home.master" autoeventwireup="false" inherits="_Default, App_Web_default.aspx.cdcab7d2" %>
SEO Software Tool | Link Exchange
ramiramilu
All-Star
95503 Points
14106 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 06:57 PM|LINK
make sure page directive got all right info, then clean the solution and rebuild it...
if still problem persists, then re-create the file (delete the file in VS and recreate it) which is giving problem and then try to build it....I think it should solve it...
my answer to your question was, there might something went wrong with directive tags associated with the page...
Thanks,
JumpStart
sking
Member
508 Points
1028 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 07:18 PM|LINK
Hi,
I rebuilt my site selecting rebuild all. It said it completed this successfully, however, I did notice that in my page directive it underlined in blue for a few seconds and I put my mouse on the line and it was saying profilecommon was an issue. I was having this problem on my website just now with profile common. I'm using login with the membership and accessing a profile database linked to this. My login page is working now though and it is retrieving the details for the subdirectory from the profile. It's just this home page now.
What do you mean by "clean the solution" ?
SEO Software Tool | Link Exchange
ramiramilu
All-Star
95503 Points
14106 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 07:23 PM|LINK
right click VS 2010 solution and select clean solution....
What happened when you deleted the file and recreated it, still showing you the error?
JumpStart
sking
Member
508 Points
1028 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 10, 2012 08:09 PM|LINK
I have VS 2010, but should I open my site in it? I used 2008 to create the project. 2008 doesn't have "Clean solution"
I deleted my default.aspx page and recreated it. I still get the same error. I don't know what to do. I rebuild it and it does it. It appears on my local machine fine when I debug bug not on the live site.
It's on 2.0 framework on my site. If I open it in 2010 and do the clean solution, will I be able to use 2008 for future editing?
I just tried to use this in vs 2010. What a mess it made. I will never try this again.
What is causing this problem ?
BC30456: 'Title' is not a member of 'ASP.default_aspx'.
Why does it ad an underscore after default?
I believe the issue has to do with "ambiguity" which occrus when you start making multiple default pages in various folders. I had 4 of these and I renamed one of them to something else and the problem in GONE! I learnt this by doing some googling.
SEO Software Tool | Link Exchange
ramiramilu
All-Star
95503 Points
14106 Posts
Re: BC30456: 'Title' is not a member of 'ASP.default_aspx
Jan 11, 2012 03:37 AM|LINK
yes, sometimes it creates a mess in automation converting for project from 2008 to 2010....
JumpStart