Solved

ASPX files not run as a script

Posted on 2008-10-09
12
1,038 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

832 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