473,387 Members | 1,504 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,387 software developers and data experts.

Instantiating control instances - VS2005 Websites

I haven't yet installed the VS2005 Web Application project type, since I'm
naivly waiting for VS2005SP1 to come out before Duke Nukem Forever.

My VS2005 installation also crashed twice whilst working on a simple ASP.NET
2.0 Website, surely part of "Trustworthy computing" involves me *trusting*
my computer's 1st party software not to let me down. Good thing I save
regularly.

Anyway, it's a simple ASP.NET 2.0 Website with a User Control class
("Html4Page") in a sub-folder and an ASPX page class in the root
("SearchPage"). Both of the files have their class definitions inside
namespaces ("W3b.Forumspile.Search")

In the ASPX's parent class (i.e. "codebehind" in newspeak) I've got this:

IPage = new W3b.Forumspile.Search.Html4Page();

....but ASP.NET and VS2005 both throw wobblies about the classes not
existing.

Here's a bunch of screenshot stitched together showing the problem:

http://www.w3bdevil.com/privmisc/ASPNET20Types.png (2560x960, the Solution
Explorer window is to the right of the main window)

Since ASP.NET2.0 is type-safe, yet compiled at runtime, how am I supposed to
get this to work? Y'see, this is why I prefer VS2003: it actually worked
without any special "App_Code" directories.
Dec 10 '06 #1
1 1129
Oh, and it gets worse:

After a bit of work elsewhere, I cannot debug the controls, yet I *can*
debug pages. I get messages about the "symbols not being loaded" for the
controls, but not the pages.
Dec 10 '06 #2

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

Similar topics

3
by: SammySAm | last post by:
I have a set of XSD's that I have to instantiate at run time and pass some values in C++.Net. How can I acheive it? Please advice. Best, Sam
5
by: clintonG | last post by:
After discovering Cassini is crippleware I learned how to use Start Options to disable NTLM and enable support for the default web server on my XP Pro dev platform. Now all new projects are created...
7
by: Oenone | last post by:
I'm sure I read some time back that in VB 2005, MS were re-introducing the concept of default form instances, so that if I have a form named MyForm I can simply call MyForm.Show without having to...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
1
by: Praveen | last post by:
Hi, I copied a VS2005 sln and it's related files (just the aspx which is right beside it) from one m/c to another m/c into the exact same PHYSICAL DIR as well as the exact same VIRTUAL DIR and...
8
by: jacky kwok | last post by:
Dear All: In VS2005 WebSetup installer InstallAddress dialog, there is field to let user to select which website to install the webapp (if there are more than one WebSite in the IIS). I want...
1
by: Alec MacLean | last post by:
Hi, Outline of problem: I've built a set of user controls that are used to output questions for a survey and gather the responses using simple radio buttons. I'm adding an optional textbox...
4
by: Eric | last post by:
I got a particular problem in visual studio 2005 There's a user control on page and I want to meka a cast like this MyPage mp=(MyPage)this.Page; Error is : cannot cast from...
0
by: ndronen | last post by:
Hi: I have a DLL compiled from C# that I have to be able to use within an HTML document. This is relatively easy to do following the suggestions on this page: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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...

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.