Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: just a simple beginner's question


Message #1 by FranBoy300@a... on Sat, 6 Oct 2001 09:43:40 EDT
Hi everyone, as I'm moving through the Beginning ASP.Net with VB.Net book the 

only problem that I'm having is the ASP.net code between the <script> tags is 

not displaying. For example, in the first chapter, there is a simple question 

on displaying the time on the web server and refreshing the page so that we 

see the dynamic action take place. The html is fine but the time on the 

webserver does not show up. I believe I have installed the IIS correctly but 

can't get my server controls to work for me. Also when I view my source code 

in IE(6) the ASP.Net code shows but I chose the option of not to show the 

script information to browsers. It should show only the html if it's working. 

This question has been asked before and I have viewed all the replies. It has 

to be something with my set up. The code is from the website.  Can anyone 

help. Thanks much.

Sincerely, Frank Verderame

Message #2 by "Ken Schaefer" <ken@a...> on Mon, 8 Oct 2001 16:48:04 +1000
Gotta ask the obvious...



Did you install ASP.NET? If not, the server is not going to intepret the

code between the script tags, and so it'll just be sent to the browser as

text. You also have the runat="" atribute set to "server"?



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: <FranBoy300@a...>

Subject: [aspx_beginners] just a simple beginner's question





: Hi everyone, as I'm moving through the Beginning ASP.Net with VB.Net book

the

: only problem that I'm having is the ASP.net code between the <script> tags

is

: not displaying. For example, in the first chapter, there is a simple

question

: on displaying the time on the web server and refreshing the page so that

we

: see the dynamic action take place. The html is fine but the time on the

: webserver does not show up. I believe I have installed the IIS correctly

but

: can't get my server controls to work for me. Also when I view my source

code

: in IE(6) the ASP.Net code shows but I chose the option of not to show the

: script information to browsers. It should show only the html if it's

working.

: This question has been asked before and I have viewed all the replies. It

has

: to be something with my set up. The code is from the website.  Can anyone

: help. Thanks much.

: Sincerely, Frank Verderame



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Message #3 by FranBoy300@a... on Mon, 08 Oct 2001 13:32:15 EDT
Hey Kenn, thanks for responding. I know everyone has a busy life. I appreciate the swift answer. Yes , I
installed the .Net framework beta 2, as well as installing ASP.Net after as well thinking maybe I didn't know what i was doing with
the .net enviornment. I have gone over all the options in the book as well as played around with the IIS to see if it was something
set wrong. I have downloaded the code from the website and the runat command is set to server. There was even a database question in
the third chapter that would not show up properly. Even though I'm new with this particular technology, I understand the details and
can handle the terminology. That's why I'm thinking it's something simple (I hope). I'm definitely saving the files with.aspx
extension. I have tried to run examples from later chapters that use VB and xml and it's still the same case. Maybe ASP.NET is not
installed. I thought the Premium edition was installeld with the whole .Net package. Is the Premium Edition the right edition to be

 using. What do you think is the next step in troubleshooting this? 

Thanks much Ken, I'll try anything you recomend

Message #4 by "Ken Schaefer" <ken@a...> on Tue, 9 Oct 2001 19:00:07 +1000
You are accessing the webpages via your webserver eg?



http://localhost/somepage.aspx

not

file://c:/inetpub/wwwroot/somepage.aspx



Also, you didn't mention your platform - you are using Win2k or WinXP?

Are there any error messages logged in the WinNT event log?

Also, check you ISAPI filters, and make sure that .aspx is mapped.



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: <FranBoy300@a...>

Subject: [aspx_beginners] Re: just a simple beginner's question





: Hey Kenn, thanks for responding. I know everyone has a busy life. I

appreciate the swift answer. Yes , I installed the .Net framework beta 2, as

well as installing ASP.Net after as well thinking maybe I didn't know what i

was doing with the .net enviornment. I have gone over all the options in the

book as well as played around with the IIS to see if it was something set

wrong. I have downloaded the code from the website and the runat command is

set to server. There was even a database question in the third chapter that

would not show up properly. Even though I'm new with this particular

technology, I understand the details and can handle the terminology. That's

why I'm thinking it's something simple (I hope). I'm definitely saving the

files with.aspx extension. I have tried to run examples from later chapters

that use VB and xml and it's still the same case. Maybe ASP.NET is not

installed. I thought the Premium edition was installeld with the whole .Net

package. Is the Premium Edition the right edition to be

:  using. What do you think is the next step in troubleshooting this?

: Thanks much Ken, I'll try anything you recomend



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Message #5 by FranBoy300@a... on Sat, 13 Oct 2001 18:23:21 EDT

Hey Kenn and everyone, just to let you know , my question about having the 

IIS up and running before installing Visual Studio.Net is true. Everything 

works now. 

Thanks.

Frank






  Return to Index