473,396 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

Hi,

I've built a custom control named Tree in MyNameSpace.Tree compiled into
dans MyNameSpace.Tree.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="MyNameSpace" Assembly="tree.dll" %>

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

But if I specify the Src property so that ASP.NET compiles the codebehind
itself
<%@ Page ... Inherits="PageIndex" 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 1306

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

Similar topics

1
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...
3
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...
0
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....
0
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:...
0
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. ...
0
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...
7
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...
4
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.