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

urgent help needed: aspx standard controls not being rendered as html at runtime

Over the weekend, I am installing a website on a laptop so our sales staff
can give a demonstration on Monday at a potential client site. Things are
not working as expected. I'm hoping what's wrong will be apparent from the
symptoms below.

I created a virtual directory beneath the Default Web Site using the wizard.
I have set the execute permission on the Default Web Site (and directories
beneath it) to Script. If I run iisstart.asp in the browser, the page comes
up saying the web service is running. IIS 5.1.

Plain vanilla HTML docs are being served up without a problem:

http://localhost/mywebapp/hello.htm --- okay

But http://localhost/mywebapp/howdy.aspx -- there is a problem. The aspx
controls are not being converted to HTML. It's as though the aspx rendering
engine is not running.

Howdy.aspx contains an asp:Label, an asp:Textbox, and an asp:Button.
When I type the URL into the browser, the page loads, but only the label
shows. When I examine the HTML source code in the browser, it reads:

<asp:Label ....
<asp:Textbox...
<asp:Button ...

The aspx is still "raw" and unprocessed. The page source should show this:

<span id="Label1 ... etc
<input name="TextBox1 ... etc
<input type="submit" name="Button1"...etc

Why are the ASPX controls not being rendered?
The laptop is running WinXP Pro SP2.

Thanks
Timo

Nov 19 '05 #1
4 1298
"Timo" <ti**@noneofyer.biz> wrote in message
news:e4**************@tk2msftngp13.phx.gbl...
Over the weekend, I am installing a website on a laptop so our sales staff
can give a demonstration on Monday at a potential client site. Things are
not working as expected. I'm hoping what's wrong will be apparent from the
symptoms below.


Are the web services running?

Pop a command prompt, type "net start w3svc" (without the quotes) and press
Enter.
Nov 19 '05 #2
On 19 Feb 2005, "Timo" <ti**@noneofyer.biz> postulated in
news:e4**************@tk2msftngp13.phx.gbl:
Over the weekend, I am installing a website on a laptop so our sales staff can give a demonstration on Monday at a potential client site. Things are not working as expected. I'm hoping what's wrong will be apparent from the symptoms below.

I created a virtual directory beneath the Default Web Site using the wizard. I have set the execute permission on the Default Web Site (and directories beneath it) to Script. If I run iisstart.asp in the browser, the page comes up saying the web service is running. IIS 5.1.

Plain vanilla HTML docs are being served up without a problem:

http://localhost/mywebapp/hello.htm --- okay

But http://localhost/mywebapp/howdy.aspx -- there is a problem. The aspx controls are not being converted to HTML. It's as though the aspx rendering engine is not running.

Howdy.aspx contains an asp:Label, an asp:Textbox, and an asp:Button. When I type the URL into the browser, the page loads, but only the label shows. When I examine the HTML source code in the browser, it reads:
<asp:Label ....
<asp:Textbox...
<asp:Button ...

The aspx is still "raw" and unprocessed. The page source should show this:
<span id="Label1 ... etc
<input name="TextBox1 ... etc
<input type="submit" name="Button1"...etc

Why are the ASPX controls not being rendered?
The laptop is running WinXP Pro SP2.

Thanks
Timo



Is the .net framework installed and are the application mappings
correct in IIS? This is where the isapi dll mapping to process the
aspx file occurs.

An easy way to tell:

run %SystemRoot%\System32\inetsrv\iis.msc
(called Internet Information Services in the CPL)

navigate to your virtual dir, right click to select Properties.

In the Virtual directory panel, click Configuration button, look in
the Mappings panel. You should see a listing like:

| .aspx | c:\Win\Microsoft.Net\Framework\v1.1.4XX\aspnet_isa pi.dll |
GET,HEAD,POST
-- ipgrunt
Nov 19 '05 #3
Sounds like you installed the .NET framework before adding IIS (or something
got messed up during the .NET install). If you haven't already, try this:

c:\<SystemDir>\Microsoft.NET\Framework\<Version>\a spnet_regiis.exe -i

Where <SystemDir> is the windows directory and <Version> is whatever version
of the framework you have installed (most likely v1.1.4322).

On my system, this looks like:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -i

After that, the page should start showing up (you may need to reboot your
machine after running this if it doesn't work as soon as it is finished).

- Adam
Nov 19 '05 #4
Thank you Mark, IPGrunt, and Adam for the help! Back running now.
Wiping sweat from brow,
Timo
"Adam Byram" <Ad*******@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
Sounds like you installed the .NET framework before adding IIS (or something got messed up during the .NET install). If you haven't already, try this:

c:\<SystemDir>\Microsoft.NET\Framework\<Version>\a spnet_regiis.exe -i

Where <SystemDir> is the windows directory and <Version> is whatever version of the framework you have installed (most likely v1.1.4322).

On my system, this looks like:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -i

After that, the page should start showing up (you may need to reboot your
machine after running this if it doesn't work as soon as it is finished).

- Adam

Nov 19 '05 #5

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

Similar topics

4
by: Lenard Gunda | last post by:
Hi! When I make a request to an ASPX file, it is converted into a C# source file (given, the language is C#). This source can be seen, if I intentionally put in something bad between <% ... %>,...
4
by: Random | last post by:
The way I've built my page is to take the user through a multi-form process, only rendering those controls that are needed for each section. The ViewState is working the way I want it to,...
6
by: John Rivers | last post by:
hi, here is how to do it and restore sanity to aspx html rendering: (please only reply with sensible architectural discussion - juan) put this at the end of an aspx file (or use an include at...
24
by: John Rivers | last post by:
ASPX which means ASPX pages, the code-behind concept, User Controls, Web Controls etc. is very poorly designed and makes it extremely hard to develop professional quality web applications. ASPX...
0
by: anandv81 | last post by:
Hi, I encountered a strange problem while working on an application, the problem goes like this. I am generating a few textboxes at runtime at the server side and added to a placeholder, a...
4
by: orianavim | last post by:
Hi, I'm try to find an easy efficient way to generate my web pages dynamically from an xml/text file. What exactly I want? I want that whenever a pages is loaded it will go and read an...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
4
by: TS | last post by:
Steven, i lost this message conversation from outlook express and made a post online (see last one on this page). Please answer it as it hasn't been yet. thanks The clientID of our controls...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...

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.