473,769 Members | 4,909 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BC30456 error when using <%@ Page Src="..." %>

Hi,

I've built a custom control named Tree in MyNameSpace.Tre e compiled into
dans MyNameSpace.Tre e.dll
I've then designed a page index.asp with its code in index.aspx.vb (class
PageIndex).
This page registrers my Tree control:
<%@ Register TagPrefix="km" NameSpace="MyNa meSpace" Assembly="tree. dll" %>

Everything runs well when I compile aspx.vb myself without specifying any
Src property in the page:
<%@ Page ... Inherits="PageI ndex" %>

But if I specify the Src property so that ASP.NET compiles the codebehind
itself
<%@ Page ... Inherits="PageI ndex" Src="/Source/index.aspx.vb"% >
I get :

Compiler error message: BC30456: 'myTree' is not a member of
'ASP.index_aspx '.

Error source:

Line 7 : </head>
Line 8 : <body>
Line 9 : <form runat="server">
Line 10 : <km:tree runat="server" id="myTree" width="200px" />

I don't understand why...
Can you help me?

Henri

PS: I don't use VS.NET (that's why there's no CodeBehind property) but
WebMatrix

Nov 18 '05 #1
0 1337

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5586
by: Zenobia | last post by:
How do I bind an array, arrayList or even a stack to a repeater containing hyperlinks. The data structure (array, arrayList or even a stack) has dates in ISO format "YYYY-MM-DD". The repeated hyperlinks will be displayed, for example, in this form: <a href='default.aspx?arc=2004-06-29'>2004-06-29</a> or, better:
3
2002
by: ericw3 | last post by:
I am switching from Java to the .Net framework. In order to separate page layout design from the application code, I studied the codebehind tutorial by John at http://www.asp101.com/articles/john/codebehindnovs/default.asp In my GetQueryResult.aspx, I defined a DataGrid as follows: <asp:DataGrid ID ="dgQueryResults" runat="server" AllowPaging="True"
0
8538
by: blackstaronline.net | last post by:
Hi, I'm using .NET V2.0 I have been using un-compiled code behind pages for my .net app using "Src" in the @Page. I randomly get an Initialized Culture error when trying to access the page. Many times I can simply refresh and the app runs fine. I have not messed with the culture setting at all. At first I thought it was the server so I switched web servers but got the same random error. It only happens maybe 10% of the time. After...
0
1358
by: cm76 | last post by:
hello. I am using vs2005 professional edition. When I deploy my application to windows 2003 standard edition sever, I occasionally get the following error. Exception type: HttpCompileException Exception message: C:\Inetpub\wwwroot\PST2\IssueLog_Insert.aspx(1): error BC30456: 'Title' is not a member of 'ASP.issuelog_insert_aspx'
0
3054
by: ydesilets | last post by:
I my name is Yohan. Id did have an error like BC30456: 'Title' is not a member of 'ASP.... I looked in many forum without success. Then I found something related to the BC30456 error number. On my application the error was cause by the Inherits tag. Both of my child forms had the same Inherits "_Default". Then I changed one and it is ok now
0
1332
by: Abdul | last post by:
Hello, I am having an issue when trying to move an application from a demo machine into a development environment. I am getting an error when using <%@ Register TagPrefix %to register a user control. The error I am getting is BC30456 error InitializeCulture() not a member of... I know the code is correct because it is an exact copy of the working code on the demo machine. Are there any specific permissions or configurations that...
7
11481
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. I'm trying create a function in javascript to compare dates between calendar selected dates(that's not really my problem yet). I can't get the html to recognize the function that i have created. When i
4
1491
by: MyndPhlyp | last post by:
My desk has been beaten to a pulp by my forehead over this. In my page's codebehind, IntelliSense recognizes the Methods in my homegrown Class. That tells me the Imports directive is finding the Class in the specified Namespace and that the Methods and Class are Public. The Methods are actually Public Shared. * If I do a simple Build =Build Page it succeeds. * If I do a Build =Rebuild Web Site (or Build =Build Web Site) every one
1
5164
by: les | last post by:
I'm getting this error "BC30456: 'IsBodyHtml' is not a member of 'System.Net.Mail.SmtpClient'" when trying to submit a form and send email. If I remove the line "MailObj.IsBodyHtml = True" the mail sends without error, but html markup is visible in the body of the email. Any suggestions? Code below:
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10043
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.