473,406 Members | 2,954 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,406 software developers and data experts.

IIS returns the <% %> part of ASPX

I have configured a brand new machine with IIS and Windows XP Pro, plus .NET
Framework v1.1. Installation went perfect. But when I run a simple ASPX file
containing only "<% Response.Write("Hello World") %>", IIS returns the whole
content of the file, like this:

<% Response.Write("Hello World") %>
So ASP.NET doesn't execute the code, it only writes everything back to
client.. What am I doing wrong? I have done this kind of installation many
times before without any problem. Please help me...!?
Best regards,
Christina IME

(Windows XP is Pro version 2002, service pack 1)

Nov 18 '05 #1
1 1028
Christina,

It's possible that the install went bad and didn't make all the associations
for an .aspx file.

Open the Visual Studio.Net Command Window (Start - All Programs - Microsoft
Visual Studio.Net 2003 - Visual Studio.Net Tools - Visual Studio.Net 2003
Command Prompt)

And from there run the command: aspnet_regiis -i

This will re-install the web components of .Net and their associations.

If that doesn't fix things up you'll have to uninstall and then re-install.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Christina IME" <ci********@hotmail.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
I have configured a brand new machine with IIS and Windows XP Pro, plus ..NET Framework v1.1. Installation went perfect. But when I run a simple ASPX file containing only "<% Response.Write("Hello World") %>", IIS returns the whole content of the file, like this:

<% Response.Write("Hello World") %>
So ASP.NET doesn't execute the code, it only writes everything back to
client.. What am I doing wrong? I have done this kind of installation many
times before without any problem. Please help me...!?
Best regards,
Christina IME

(Windows XP is Pro version 2002, service pack 1)

Nov 18 '05 #2

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

Similar topics

9
by: Francesco Moi | last post by:
Hello. I'm trying to build a RSS feed for my website. It starts: ----------------//--------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE rss PUBLIC "-//Netscape...
2
by: Winshent | last post by:
I have a multi line text in an admin page on my cms. I am trying to capture carriage returns as and replace them with <p></p> bfore the string gets written to the database. I have tried all...
3
by: | last post by:
I have been researching articles on google on how to create a simple RSS feed that sucks <title><blurb><link><date> out of a sql server 2000 database via an aspx page. I know it has to be pushed...
1
by: Winshent | last post by:
I have a multi line text in an admin page on my cms. I am trying to capture carriage returns as and replace them with <p></p> bfore the string gets written to the database. I have tried all...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.