Are you sure you created a 'ASP.NET Web Application' when you created the
project (it's what you select in the right-hand window when creating a
project), and not a regular (VB.NET) application? I believe you have to do
the former or .aspx files don't work (you can't put an .aspx file in a
regular VB.NET application).
I usually forget that when I make many different types of projects or work
on a new machine, as it doesn't default unless it's the last type you
created.
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Quote:
> Hi,
> I am learning VB .NET with a book which has its source code downloadable
> from a web site.
> How do I get an *.aspx file into a VS New Project? The specific problem I
> have is the controls do not render when I build, and a ERROR message box
is
> thrown asking if I want to debug.
> Do you have some insight?
> ThanX!!!!!
> (The book is Sams Publishing --- "Teach Yourself Visual Basic .NET Web
> Programming in 21 Days")