Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS won't show ASP files

Status
Not open for further replies.

mmarkym

Programmer
Mar 23, 2002
54
US
I have IIS 5 running on my local computer. I can get .htm files of any type to load in my browser but it won't load ASP files.
It was working earlier but not now.

mark
 
First, make sure the file has a .asp extension.

Second, make sure your running the file through IIS, ie, URL should start with
BDC.
 
The files do have an ASP extension.

I'm using localhost. Since my htm files and asp files are in the same directory, and the htm files open then the server is getting the URL right.

mark
 
I am having the same problem. I cannot figure this out to save my life. I can access and iisstart.asp but I cannot access in the same directory or in deeper directories.

Software Installed:
I have IIS 5.1 installed, all of the security measures are taken, I have MDAC 2.8 installed on a windows XP Professional OS. (I also have PHP 4.3.4 installed as well, access database and trying to set up a mySql database but it is installed.)

Problem:
I have the HTML pages showing up in the Internet Explorer browser with no problem but when I click on the link to enter the shopping cart it will not let me go into it. The browser will hang about half way through. I have no idea what is going on? I have checked the security settings and there was a problem with them to start but that has been fixed. What are the proper setting for the security settings? I can get iisstart.asp to show up by going to however when I point to one of my shopping cart files it will not read. It will hang. Can someone please help me? The shopping cart is already on the Internet and it works but I cannot get it to work locally. You can see the shopping cart at and click on "Buy a Basket".

A little background of me:
I have extensive programming knowledge in languages other than ASP including: C++, JavaScripting/ CSS/ HTML/ XHTML, beginner PHP, and some C++ variant languages dealing in touch panel interfaces. I am definitely a beginner with any knowledge with databases, IIS and ASP.

Thank you in advance for any help with this.

Wayne
 
One more thing of importance.

When I go into my local root folder I can right click on the localstart.asp and open with Internet Explorer and it will bring the webpage up in Internet Explorer however if I right click on myaspshoppingcart.asp and do the same it brings up the ASP codes in the browser.

Thank you for any help with this dilemma.

Wayne
 
I have discovered the answer to my problems. There was a conflict between the AV Software (NAV 2003) and IIS (5.1). You have to do the following in this order.

1. Uninstall your AV software - reboot
2. Uninstall IIS - Reboot
3. Reisntall IIS - Reboot
4. Reinstall your AV software

Everything should be fine after that.

Wayne
 
Now IIS won't open either HTM or ASP files. If I open INETMGR and expand down to Default websites, It says- default websites (stopped). If I right click and click start, I get an error 0x8ffe2740.

mark
 
when you google "0x8ffe2740 iis" you'll see a link to devshed. the problem had to do with double use of port 80...

hth,
Foxbox
ttmug.gif
 
before changing ports: is there another application listening to port 80? do you have a zealous local firewall?


hth,
Foxbox
ttmug.gif
 
As I said I'm not familiar with Ports. How would I check to see if The port IIS is using is being used by another APP?

mark
 
Yes there's one line

tcp 0.0.0.0:80 listening

mark
 
That link you gave me , after downloading and installing, told me that Kazza was using port 80. I removed Kazza and now I'm getting HTM files but an asp file generates a "page cannot be displayed" Background:
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
 
The ASP program runs on the server for a user called IUSR_<yourservername>. This user has limited access rights. Your program is in a folder without script executing rights, or your program contains instructions that conflicts with access rights.
Start with a &quot;hello world&quot; test program in C:\INETPUB\ if that gives you the same error, then you need to check permissions... (Read&Execute)

hth,
Foxbox
ttmug.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top