473,320 Members | 1,865 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,320 software developers and data experts.

ASP.Net Code Not Firing

I just enabled IIS on my computer but apparently my configuration isn't quite
right. I have the following code below in a "test.aspx" file, but when I
bring it up in my browser, I get a blank page.

I've already granted the "ASPNET" user Admin rights on this computer and
used that as the default account for anonymous access. I'm probably missing
something basic but I can't for the life of me figure out.

Here's the code that doesn't seem to be firing:

<% @Page Language="VB" Debug="True" %>

<html>

<head>

<title>ASP.Net Test Site</title>

</head>

<body>

<%
Response.Write("<p>Test</p>")
%>

</body>

</html>


--
Hmm...they have the Internet on COMPUTERS now!
Jun 27 '08 #1
3 938
re:
!I just enabled IIS on my computer but apparently my configuration isn't quite right.

Which OS are you running ?

re:
<body>
<%
Response.Write("<p>Test</p>")
%>
</body>
That is ASP code, not ASP.NET code.

Try something like this :
<body>
<form id="test" runat="server">
<div>
<asp:label id="name" runat="server" />Label Test<br/>
</div>
</form>
</body>

That will tell you if ASP.NET code is being processed.
If it is being processed, a label with the text "Label Test" will be displayed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"MDW" <MD*@discussions.microsoft.comwrote in message news:5E**********************************@microsof t.com...
>I just enabled IIS on my computer but apparently my configuration isn't quite
right. I have the following code below in a "test.aspx" file, but when I
bring it up in my browser, I get a blank page.

I've already granted the "ASPNET" user Admin rights on this computer and
used that as the default account for anonymous access. I'm probably missing
something basic but I can't for the life of me figure out.

Here's the code that doesn't seem to be firing:

<% @Page Language="VB" Debug="True" %>

<html>

<head>

<title>ASP.Net Test Site</title>

</head>

<body>

<%
Response.Write("<p>Test</p>")
%>

</body>

</html>


--
Hmm...they have the Internet on COMPUTERS now!

Jun 27 '08 #2
Its not just IIS, you also need ASP setup on this machine.

--
Madhur

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
re:
!I just enabled IIS on my computer but apparently my configuration isn't
quite right.

Which OS are you running ?

re:
><body>
<%
Response.Write("<p>Test</p>")
%>
</body>

That is ASP code, not ASP.NET code.

Try something like this :
<body>
<form id="test" runat="server">
<div>
<asp:label id="name" runat="server" />Label Test<br/>
</div>
</form>
</body>

That will tell you if ASP.NET code is being processed.
If it is being processed, a label with the text "Label Test" will be
displayed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"MDW" <MD*@discussions.microsoft.comwrote in message
news:5E**********************************@microsof t.com...
>>I just enabled IIS on my computer but apparently my configuration isn't
quite
right. I have the following code below in a "test.aspx" file, but when I
bring it up in my browser, I get a blank page.

I've already granted the "ASPNET" user Admin rights on this computer and
used that as the default account for anonymous access. I'm probably
missing
something basic but I can't for the life of me figure out.

Here's the code that doesn't seem to be firing:

<% @Page Language="VB" Debug="True" %>

<html>

<head>

<title>ASP.Net Test Site</title>

</head>

<body>

<%
Response.Write("<p>Test</p>")
%>

</body>

</html>


--
Hmm...they have the Internet on COMPUTERS now!

Jun 27 '08 #3
Yes, that's what the problem was, more or less.

Found the speicifc solution at:
http://support.microsoft.com/default...b;en-us;325093

--
Hmm...they have the Internet on COMPUTERS now!
"Madhur" wrote:
Its not just IIS, you also need ASP setup on this machine.

--
Madhur

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
re:
!I just enabled IIS on my computer but apparently my configuration isn't
quite right.

Which OS are you running ?

re:
<body>
<%
Response.Write("<p>Test</p>")
%>
</body>
That is ASP code, not ASP.NET code.

Try something like this :
<body>
<form id="test" runat="server">
<div>
<asp:label id="name" runat="server" />Label Test<br/>
</div>
</form>
</body>

That will tell you if ASP.NET code is being processed.
If it is being processed, a label with the text "Label Test" will be
displayed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"MDW" <MD*@discussions.microsoft.comwrote in message
news:5E**********************************@microsof t.com...
>I just enabled IIS on my computer but apparently my configuration isn't
quite
right. I have the following code below in a "test.aspx" file, but when I
bring it up in my browser, I get a blank page.

I've already granted the "ASPNET" user Admin rights on this computer and
used that as the default account for anonymous access. I'm probably
missing
something basic but I can't for the life of me figure out.

Here's the code that doesn't seem to be firing:

<% @Page Language="VB" Debug="True" %>

<html>

<head>

<title>ASP.Net Test Site</title>

</head>

<body>

<%
Response.Write("<p>Test</p>")
%>

</body>

</html>


--
Hmm...they have the Internet on COMPUTERS now!

Jun 27 '08 #4

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

Similar topics

12
by: qaz | last post by:
For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. ...
0
by: Ram | last post by:
I have a start page for my application default.htm which contains four frames. header.htm login.aspx rightside.htm footer.htm login.aspx conatins username, password fields and login button....
3
by: Mike | last post by:
Hi, I am adding controls dynamically in a WebForm, but none of these controls' events fire. Here is the class code I am using. I have tried so many things, but nothing works :-( namespace...
19
by: furiousmojo | last post by:
This is a strange problem. I have a project where the contents of global.asax application_error are not firing. It is an asp.net 2.0 application using web application projects. I have another...
4
by: TS | last post by:
I am creating a User control and i create some dynamic controls in the init handler. one of the controls is a custom validator which i assign a serverValidate event handler. I usally always do my...
1
by: alexmac262 | last post by:
Please forgive as I have never posted to a group before and this is my first attempt at getting help on the internet. Inside an update panel I have a linkButton in a Gridview control template...
1
by: bigijoseph | last post by:
Please help : page load event is not firing. -------------------------------------------------------------------------------- Hi, I am a new to .net. I am trying to learn it. I tried the...
3
by: Jay | last post by:
I am on the 2.0 framework and have run the c:\windows\microsoft.net \framework\v1.1.4322\aspnet_regiis.exe -c and had no success. About half of the buttons on my webforms are firing and the other...
6
by: Wernerh | last post by:
Hi I want to stop a code firing if a certain condition is not met. I only want to allow numeric entries in the textbox to allow the code to run. I tried with the first line of code to stop it, but...
4
by: Joergen Bech | last post by:
I sometimes use delegates for broadcasting "StateChanged" events, i.e. if I have multiple forms and/or controls that need updating at the same time as the result of a change in a global/common...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.