Well I have narrowed the source of the error to this piece of code:
<!--#include file="imageBar.inc" -->
So I just need to come up with an aspnet version of this code.
thanks
"thersitz" <thersitz@gmail.comwrote in message
news:uSQH0crKHHA.1240@TK2MSFTNGP03.phx.gbl...
Quote:
Hi,
>
Very new to asp.net. Using VStudio 2005 on an XP Pro machine. Using
Cassini to view.
>
I see this error discussed all over the net but don't seem to find a way
to resolve my particular grief -- which I am sure is not unique. Here are
my basic steps:
>
1) create a masterpage -- add some simple graphics to the header.
2) add a new web form that references the master page and attaches a code
behind file. (actually added 3 files referencing the same mpage -- each
errors)
3) add some basic html into the placeholder auto-created in the web form
page, ie:
>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
>
</asp:Content>
>
>
4) view the page and it all views okay.
>
But when I look at the page in design mode -- the Content placeholder
shows this error -- and it is referenced in the error list as well.
>
================
Error creating control - Content1
object reference not set to an instance of an object
================
>
Can anyone give me a heads up as to what this error means, how to get rid
of it, etc. I am guessing that it wants me to declare an object -- but
where (assuming codebehind file) and I am wondering why vstudio doesn't
auto do it? - which makes me think my guess is wrong.
>
thanks
>
>
>