Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: problem with first asp.net page


Message #1 by Lynne Clegg <LClegg@g...> on Mon, 4 Mar 2002 11:03:39 -0000
Help!



I am having problems with the asp.net test example - the one with the time

display. I am only getting the text - with no time being displayed. The asp

code is not being executed.

I have checked IIS - it is running and the permissions are correct. I am

executing the page using the http://localhost ... as specified. I am using

.NET Development Environment 2002 Version 7.0.9466 and .NET Framework 1.0

Version 1.0.3705.



Can anyone help?



Thanks - Lynne.

Message #2 by "Curtner, Lynn" <lynn.curtner@p...> on Mon, 4 Mar 2002 10:40:04 -0600

This is probably a long shot, but I had a similar experience with this example.  My problem was that I had inserted a space after
the asp: tag, like this:



<asp: label id="hour" runat="server"/>



instead of:



<asp:label id="hour" runat="server"/>





> ----------

> From: 	Lynne Clegg[SMTP:LClegg@g...]

> Reply To: 	aspx_beginners

> Sent: 	Monday, March 04, 2002 5:03 AM

> To: 	aspx_beginners

> Subject: 	[aspx_beginners] problem with first asp.net page

> 

> Help!

> 

> I am having problems with the asp.net test example - the one with the time

> display. I am only getting the text - with no time being displayed. The asp

> code is not being executed.

> I have checked IIS - it is running and the permissions are correct. I am

> executing the page using the http://localhost ... as specified. I am using

> NET Development Environment 2002 Version 7.0.9466 and .NET Framework 1.0

> Version 1.0.3705.

> 

> Can anyone help?

> 

> Thanks - Lynne.

> 




> 

Message #3 by "Lynne Clegg" <lclegg@g...> on Mon, 4 Mar 2002 18:32:39
Thanks - I will try this out. 



> This is probably a long shot, but I had a similar experience with this 

example.  My problem was that I had inserted a space after the asp: tag, 

like this:

> 

> <asp: label id="hour" runat="server"/>

> 

> instead of:

> 

> <asp:label id="hour" runat="server"/>

> 

> 

> > ----------

> > From: 	Lynne Clegg[SMTP:LClegg@g...]

> > Reply To: 	aspx_beginners

> > Sent: 	Monday, March 04, 2002 5:03 AM

> > To: 	aspx_beginners

> > Subject: 	[aspx_beginners] problem with first asp.net page

> > 

> > Help!

> > 

> > I am having problems with the asp.net test example - the one with the 

time

> > display. I am only getting the text - with no time being displayed. 

The asp

> > code is not being executed.

> > I have checked IIS - it is running and the permissions are correct. I 

am

> > executing the page using the http://localhost ... as specified. I am 

using

> > NET Development Environment 2002 Version 7.0.9466 and .NET Framework 

1.0

> > Version 1.0.3705.

> > 

> > Can anyone help?

> > 

> > Thanks - Lynne.

> > 




> > 

Message #4 by "paulcr" <paulcr@c...> on Mon, 4 Mar 2002 18:27:54 -0000

I don't know it fit makes any difference but when I use the

<asp:label id="hour" runat="server"/>

as oppose to

<asp:label id="hour" runat="server"></asp:label>

I normally put a space in before the / . i.e:

<asp:label id="hour" runat="server" />



maybe it doesnt make any difference, maybe it does. Im not sure?








  Return to Index