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

IIS displays .aspx as plain text

I bought a new laptop from Dell 2 weeks ago. It's running XP Pro, Service
Pack 2. I installed my Visual Studio .NET, as well as VS 6. It has .NET
1.1 loaded. I want to run a site from my local IIS instance for testing, so
I set up a virtual directory and all that good stuff. When I navigate to
the site in IE, my .aspx pages are displayed as plain text. Can someone
please give me a clue as to where the configuration error may be?

Thanks.

Tim
Jul 21 '05 #1
4 2978
Your IIS mappings may be off.
Try this KB article:
How to Repair IIS Mapping After you Remove and Reinstall IIS
http://support.microsoft.com/default...b;en-us;306005

~sze

"Tim Wallace" wrote:
I bought a new laptop from Dell 2 weeks ago. It's running XP Pro, Service
Pack 2. I installed my Visual Studio .NET, as well as VS 6. It has .NET
1.1 loaded. I want to run a site from my local IIS instance for testing, so
I set up a virtual directory and all that good stuff. When I navigate to
the site in IE, my .aspx pages are displayed as plain text. Can someone
please give me a clue as to where the configuration error may be?

Thanks.

Tim

Jul 21 '05 #2


"Tim Wallace" wrote:
I bought a new laptop from Dell 2 weeks ago. It's running XP Pro, Service
Pack 2. I installed my Visual Studio .NET, as well as VS 6. It has .NET
1.1 loaded. I want to run a site from my local IIS instance for testing, so
I set up a virtual directory and all that good stuff. When I navigate to
the site in IE, my .aspx pages are displayed as plain text. Can someone
please give me a clue as to where the configuration error may be?

Thanks.

Tim

Jul 21 '05 #3
just try to put html control in to ur web page then view if it is comming
then its mean ur aspnet_wp.exe is not running goto service window and start
aspnet service

"sze tan" wrote:


"Tim Wallace" wrote:
I bought a new laptop from Dell 2 weeks ago. It's running XP Pro, Service
Pack 2. I installed my Visual Studio .NET, as well as VS 6. It has .NET
1.1 loaded. I want to run a site from my local IIS instance for testing, so
I set up a virtual directory and all that good stuff. When I navigate to
the site in IE, my .aspx pages are displayed as plain text. Can someone
please give me a clue as to where the configuration error may be?

Thanks.

Tim

Jul 21 '05 #4
just try to put html control in to ur web page then view if it is comming
then its mean ur aspnet_wp.exe is not running goto service window and start
aspnet service

"sze tan" wrote:


"Tim Wallace" wrote:
I bought a new laptop from Dell 2 weeks ago. It's running XP Pro, Service
Pack 2. I installed my Visual Studio .NET, as well as VS 6. It has .NET
1.1 loaded. I want to run a site from my local IIS instance for testing, so
I set up a virtual directory and all that good stuff. When I navigate to
the site in IE, my .aspx pages are displayed as plain text. Can someone
please give me a clue as to where the configuration error may be?

Thanks.

Tim

Nov 22 '05 #5

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

Similar topics

5
by: Sue | last post by:
On code-behind page: (attributes set programatically for each of these elements) linkbutton added to tablecell textbox added to tablecell tablecells added to tablerow tablerow added to table...
2
by: Antonio D'Ottavio | last post by:
Good Morning, I want to create a mail using aspx and c# , I need a plain text mail, not an html mail but I need to insert an url inside it. I want to know if it is possible to have a link like...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
5
by: c676228 | last post by:
Hi, I guess I am confused. In aspx script, I mean (you won't use Codebehind="enrollinfo.aspx.vb", but mix code with html and code together) You can access user control's property directly. Since I...
7
by: Martin | last post by:
Hi New to the .NET framework, but have been on 2124C, and have come back to work to be asked to do ADO and ASPx (not covered in course!). The probelm i am having is that I have created an ASPx...
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: letsgetsilly | last post by:
I am populating a datagrid and outputting it to excel. Everything worked well last night, but today excel only displays the content in font color white, which is impossible to see. The data is all...
3
by: andersond | last post by:
I have a PHP file that usually sends an email. Instead, it now simply displays the code beginning with line 14 (where #eol= begins). Can anybody help me with this? <?php #Change only the...
0
by: sandari | last post by:
The following code (web.config in Visual Studio 2005) is supposed to redirect a user to the appropriate Form depending on their role. However, regardless of the user's role, the only page...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.