Solved

ASPX files not run as a script

Posted on 2008-10-09
12
1,041 Views
Last Modified: 2013-11-07
I'm having a problem with ASPX files.  I have .NET 2.0 installed and my ASPX files are served like they are text files instead of running as a script.  They are listed in IIS as a script running with aspnet_isapi.dll, but this does not seem to be how they are served.  The persistent handler listing in the registry is {eec97550-47a9-11cf-b952-00aa0051fe20} which is the same as the ASP files which work properly.

Does anyone have any advice on how to solve this problem?

0
Comment
Question by:internetcreations
  • 5
  • 4
  • 3
12 Comments
 
LVL 22

Expert Comment

by:prairiedog
ID: 22679989
Have you tried executing aspnet_regiis -i command?
0
 
LVL 1

Author Comment

by:internetcreations
ID: 22680554
I tried it and it did not help.
0
 
LVL 22

Expert Comment

by:prairiedog
ID: 22680733
Is ASP.NET version in IIS set to the correct version?
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 22

Expert Comment

by:prairiedog
ID: 22680977
Can you confirm that ASPX extension is properly handled by IIS?
Start IIS | right click on the web site | Properties | (Virtual) Home
Directory | Configuration | Application Configuration
 

2008-10-09-131203.jpg
0
 
LVL 1

Author Comment

by:internetcreations
ID: 22681987
Yes, this is exactly how I see it set up in IIS.  That is why I don't understand why it is not working.
0
 
LVL 22

Expert Comment

by:prairiedog
ID: 22682018
Well, I don't know. Have you tried reinstalling .NET framework?
0
 
LVL 5

Expert Comment

by:harwantgrewal
ID: 22684462
Can you send me screenshots for you IIS? Are you running this on Windows2003?
Harry
0
 
LVL 1

Author Comment

by:internetcreations
ID: 22686623
No this is on XP Pro actually.  I reinstalled .NET
0
 
LVL 5

Expert Comment

by:harwantgrewal
ID: 22691287
did it work?
0
 
LVL 1

Author Comment

by:internetcreations
ID: 22702518
No reinstalled .NET did not help.
0
 
LVL 5

Accepted Solution

by:
harwantgrewal earned 500 total points
ID: 22707169
Its really a strange one usually all the problem with ASP.NET get fixed when you run
aspnet_regiis -i
in you VS 2005 command prompt.

Harry
PS: Just make sure the above steps that you did before for me and tell me everything is looking good. And also check if you can view html files from IIS
0
 
LVL 1

Author Closing Comment

by:internetcreations
ID: 31504701
Someone else is completing this so it is no longer my issue
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question