473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Taking the plunge - first .net question

I'm a traditional ASP developer and am experimenting with asp.net. I
installed .NET Framework 1.1 and make a quick and dirty test page called
random.aspx . Can anyone tell me why this page doesn't write the value of
"X" to the page AND why I can view the <% %> source code in the browser? It
makes me think that my IIS doesn't recognize .aspx files.
Thanks

<% @Page Language = "VB" Debug = "True" Explicit = "True" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Random Single Number Test: <strong>(
<%
Dim X As Single

Randomize
X = Rnd
Response.Write X
%>)</strong>
</body>
</html>
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
Work: http://www.premierewebs.com
Play: http://www.raccoonbob.com
*********************************

Nov 17 '05 #1
2 1018
From the .Net installation directory under your Windows (or e1quivalent)
directory, run the following command-line tool to install ASP.Net on your
web server:

aspnet_regiis.exe -i

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.

"D. Shane Fowlkes" <sh***@raccoonbob.com> wrote in message
news:e4**************@TK2MSFTNGP09.phx.gbl...
I'm a traditional ASP developer and am experimenting with asp.net. I
installed .NET Framework 1.1 and make a quick and dirty test page called
random.aspx . Can anyone tell me why this page doesn't write the value of
"X" to the page AND why I can view the <% %> source code in the browser? It makes me think that my IIS doesn't recognize .aspx files.
Thanks

<% @Page Language = "VB" Debug = "True" Explicit = "True" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Random Single Number Test: <strong>(
<%
Dim X As Single

Randomize
X = Rnd
Response.Write X
%>)</strong>
</body>
</html>
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
Work: http://www.premierewebs.com
Play: http://www.raccoonbob.com
*********************************

Nov 17 '05 #2
Thanks Kevin! That did it....

--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
*********************************
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
From the .Net installation directory under your Windows (or e1quivalent)
directory, run the following command-line tool to install ASP.Net on your
web server:

aspnet_regiis.exe -i

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.

"D. Shane Fowlkes" <sh***@raccoonbob.com> wrote in message
news:e4**************@TK2MSFTNGP09.phx.gbl...
I'm a traditional ASP developer and am experimenting with asp.net. I
installed .NET Framework 1.1 and make a quick and dirty test page called
random.aspx . Can anyone tell me why this page doesn't write the value of "X" to the page AND why I can view the <% %> source code in the browser?

It
makes me think that my IIS doesn't recognize .aspx files.
Thanks

<% @Page Language = "VB" Debug = "True" Explicit = "True" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Random Single Number Test: <strong>(
<%
Dim X As Single

Randomize
X = Rnd
Response.Write X
%>)</strong>
</body>
</html>
--
*********************************
D. Shane Fowlkes - TMM
Saving the world, one web site at a time.
Work: http://www.premierewebs.com
Play: http://www.raccoonbob.com
*********************************


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brent | last post by:
Hello all.. I have a recordset that has 12 records in it, and about 25 columns. Unfortunately, I have to write the records out as columns in an ASP page, and the columns as rows. So, what I have done...
4
by: Alan Mailer | last post by:
I'm thinking about FINALLY making the transition from VB6 to VB.net. A couple of questions first: 1) Is VB.net 2003 the latest edition? If so, are there any rumors that a newer version will be...
4
by: Guru | last post by:
Hi All I am using a Global Temporary table in the Stored procedure and i am creating index for a column in that temporary table.When i am executing it. It is not taking that index. I checked...
1
by: 3doutpost | last post by:
I write my Windows code in the plain old Win32 API (no MFC at all) and I'm finding that more of my apps would benefit from the use of 3rd party controls. As I understand it, I could embed them...
4
by: djc | last post by:
the aspnet_wp.exe process in taking up lots of memory. Right now just the one main page loads and imediately goes to the top of the memory usage list with around 32MB of memory usage. The page only...
2
by: Brian Kitt | last post by:
I have a process where I do some minimal reformating on a TAB delimited document to prepare for DTS load. This process has been running fine, but I recently made a change. I have a Full Text...
7
by: Robert Blackwell | last post by:
Hey, I have a question for you web devs out there. How much of a hassle is it to take over where another programmer left off. I have a commerce site that was designed to my specs and I approached...
3
by: Jim Langston | last post by:
I really am not sure if this question belongs in this newsgroup, but not sure where else to ask it. There is someone working on a game that I tested, and it was taking >30 seconds to load. He...
3
by: John Shell | last post by:
Hello, all. The following code results in a C2666 error (2 overloads have similar conversions). class FSVec2D { public: FSVec2D() { // code omitted }
4
by: Sean McIlroy | last post by:
hi all i'm thinking of "diving into c++", but first i have a couple of general questions which hopefully somebody here will be kind enough to answer. my programming background is that i'm fairly...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.