My First ASP.NET page does not display correctly

My First ASP.NET page does not display correctly

Post by Trey Carro » Thu, 15 Aug 2002 02:48:03



I am puzzled.  I am creating my first asp.net page.  I have worked
through a step by step video of how to do each step.  I put the
controls on the form, save and then compile and then use the browser
to request the page from IIS 5.1.  (I am on an XP box)  I can view the
source, but the output is not what it should be.  The only thing that
displays on the page is the text of the label controls.  None of the
attributes of the labels that I set affect the output.  The labels'
text properties appear at the top of the page in black in the default
font one after another.  None of the other controls appear on the
page.  This is also what I see from VS.NET when I choose preview in
browser.

I do have the .net framework installed.  I installed .net framework
SP2 just now to see if it would fix the problem, but no success.  None
of the ASP.NET troubleshooting advice that I have found on the web has
been helpful.  Any ideas?

 
 
 

My First ASP.NET page does not display correctly

Post by Stephen Barret » Thu, 15 Aug 2002 03:31:49


Post the source of the page or email me and I will try to help you out.

Quote:> I am puzzled.  I am creating my first asp.net page.  I have worked
> through a step by step video of how to do each step.  I put the
> controls on the form, save and then compile and then use the browser
> to request the page from IIS 5.1.  (I am on an XP box)  I can view the
> source, but the output is not what it should be.  The only thing that
> displays on the page is the text of the label controls.  None of the
> attributes of the labels that I set affect the output.  The labels'
> text properties appear at the top of the page in black in the default
> font one after another.  None of the other controls appear on the
> page.  This is also what I see from VS.NET when I choose preview in
> browser.

> I do have the .net framework installed.  I installed .net framework
> SP2 just now to see if it would fix the problem, but no success.  None
> of the ASP.NET troubleshooting advice that I have found on the web has
> been helpful.  Any ideas?


 
 
 

My First ASP.NET page does not display correctly

Post by Russ Bjorgaar » Thu, 15 Aug 2002 04:25:43


There is a post in the C# forum titled asp compnents from 8/13 at 8:52 am
where someone had the same troubles and there are a few suggestions for the
probelm there.  May be worth a read.  The newsgorup is
microsoft.public.languages.csharp.

Hope your answer is there! Good Luck
Russ Bjorgaard


Quote:> I am puzzled.  I am creating my first asp.net page.  I have worked
> through a step by step video of how to do each step.  I put the
> controls on the form, save and then compile and then use the browser
> to request the page from IIS 5.1.  (I am on an XP box)  I can view the
> source, but the output is not what it should be.  The only thing that
> displays on the page is the text of the label controls.  None of the
> attributes of the labels that I set affect the output.  The labels'
> text properties appear at the top of the page in black in the default
> font one after another.  None of the other controls appear on the
> page.  This is also what I see from VS.NET when I choose preview in
> browser.

> I do have the .net framework installed.  I installed .net framework
> SP2 just now to see if it would fix the problem, but no success.  None
> of the ASP.NET troubleshooting advice that I have found on the web has
> been helpful.  Any ideas?

 
 
 

My First ASP.NET page does not display correctly

Post by Alan Pretr » Thu, 15 Aug 2002 04:30:35



Quote:> The only thing that
> displays on the page is the text of the label controls.

Trey, this is probably what's wrong.  This problem is posted almosted daily
by someone.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;q306005&

-- Alan

 
 
 

1. HELP - Server controls on a asp.net page do not display

Dave,
I don't know where it is stated specifically, but I have seen it mentioned
in the newsgroups a couple of times.

ASP.Net requires Windows 2000 or Windows XP (Pro or higher). There is
something 'missing' in IIS 4.0 that makes it not work. Windows 2000 has IIS
5.0, so it works...

Hope this helps
Jay


I have installed the release candidate of VS.NET on a Windows NT 4.0 server
running IIS 4.0. I cannot even get the server controls such as the text box,
drop-down list or any other control to even display on the apsx page. IIS
was installed prior to the installation of VS.NET but whatever server
component parses the asp.net stuff does not appear like it is doing it's
job. Does anyone have any ideas?

2. Notes ViP Errors

3. ASP.NET pages not displaying properly

4. Fulltext problem

5. ASP.net pages not displaying on Netscape browser

6. NEWTEK SHOW

7. Doing a search in VB.NET on a ASP.NET page ?

8. SMS Solution FIXED for O2 as well

9. how to use first page textbox in second page in asp.net

10. load a ASP.net page inside exiting asp.net page

11. can not display asp files on asp.net

12. How to set a custom page for page not found errors in ASP.NET

13. Colors not displaying correctly on iPAQ