IIS not running ASP pages
09-30-2007, 03:12 PM
|
IIS not running ASP pages
|
Posts: 129
|
Hi, been away for quite a while, been concentrating on my photography now my website is up and running. However, I needed to change the value in a field on my database, so before submitting to web I chnaged it and tested locally through IIS. Let me start by saying that the field change is not the problem, it was simply increasing a numerical value from 20 to 25. A downloaded copy of the db running my website, in the state prior to changes being made, at the moment from the webhost creates exactly the same problem.
The problem? When I test my site in IIS any ASP page I select is showing only the code and not the page itself. I've tried restarting IIS but this has had no effect. Only html pages will run. The ASP pages on my website are displayed correctly when I surf them so it makes me think it's not a generalised browser (Firefox) problem, but exclusively IIS or a combination of browser/IIS.
Any help please?
Thanks, Lol
|
|
|
|
09-30-2007, 03:33 PM
|
Re: IIS not running ASP pages
|
Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
This is an IIS issue specifically (i.e. it doesn't have a thing to do with the browser).
First, make sure your permissions on the site are set to Read/Run Scripts (the latter is the key one).
Second, check Web Server Extensions and make sure that ASP is Allowed on your server.
One of the two of those (I suspect the former) will solve your problem.
Good question, though, dude...it actually requires thought to solve it. 
|
|
|
|
09-30-2007, 04:26 PM
|
Re: IIS not running ASP pages
|
Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
That's the one spot, and everything looks okay on the service.
Now check under Web Service Extensions and see if ASP is explicitly set to "Allowed".
|
|
|
|
09-30-2007, 04:33 PM
|
Re: IIS not running ASP pages
|
Posts: 129
|
Could you idiot talk me through that one please? I can pull up the IIS Manager but get a bit lost after that. I'm running XP Pro.
Thanks, Lol
Last edited by Lol999 : 09-30-2007 at 04:38 PM.
|
|
|
|
09-30-2007, 04:43 PM
|
Re: IIS not running ASP pages
|
Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
Okay...when you pull up IIS Manager, you should see three folders:
1) Application Pools
2) Web Sites (where you're looking now)
3) Web Service Extensions
Open up the Web Service Extensions folder, and you'll see a list of the service extensions (ASP.Net, ASP, PHP, etc.) that are allowed and not allowed.
You might have to add ASP to that list, if it's not there, but if it's there, just Allow it.
|
|
|
|
09-30-2007, 05:08 PM
|
Re: IIS not running ASP pages
|
Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
Weird...your server is radically different from mine.
I don't know what to tell you from here on out, except possibly to right-click on "HOMELOL", click "Properties", then "MIME Types" and see that ASP is in there as a mime type (.asp is the extension, application/x-asp is the MIME type).
After that, I got nothing.
|
|
|
|
09-30-2007, 05:30 PM
|
Re: IIS not running ASP pages
|
Posts: 129
|
No problem mate. Thanks for your help anyway.
|
|
|
|
09-30-2007, 07:03 PM
|
Re: IIS not running ASP pages
|
Posts: 11,861
Location: Blackpool. UK
|
IIS5 on Win2K pro.
On the Directory tab (as shown in post #3) click the Create button to set up and start the application.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
|
|
|
|
10-01-2007, 03:12 AM
|
Re: IIS not running ASP pages
|
Posts: 129
|
Hi Chris, this is what I have after selecting "Create". Unfortunately the asp pages still don't run.I noticed the Starting Point is set to Default W... Is this pointing to a web address or on my IIS? Does it need changind and if so how?
Thanks, Lol

|
|
|
|
10-01-2007, 06:21 PM
|
Re: IIS not running ASP pages
|
Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
The good news is that it's executing ASP code. The bad news is that you have a script error.
It looks like the database is either opened up offline or that you haven't got permissions on the folder itself.
|
|
|
|
10-02-2007, 05:56 AM
|
Re: IIS not running ASP pages
|
Posts: 129
|
Hi Adam, it looks to be a permissions thing, although why this should have changed I can't imagine. Whereabouts do I alter this please?
Thanks, Lol
|
|
|
|
10-02-2007, 12:22 PM
|
Re: IIS not running ASP pages
|
Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
Check the "Write" box in that second screen cap.
|
|
|
|
10-02-2007, 01:11 PM
|
Re: IIS not running ASP pages
|
Posts: 129
|
Hi Adam, I've checked "write" but it's still the same. In operation the database isn't written to, only read from if my understanding is correct. It is used to hold file paths to iumages for a db driven "slideshow" so no actual writing to is necessary?
Thanks, Lol
|
|
|
|
10-02-2007, 03:50 PM
|
Re: IIS not running ASP pages
|
Posts: 4,713
Name: John Alexander
|
Is it a Access database? If so you need write or full control over the folder it lives in. Every time you open a mdb file (even in code) it creates a ldb file, then deletes this when the last user closes out.
|
|
|
|
10-02-2007, 05:43 PM
|
Re: IIS not running ASP pages
|
Posts: 129
|
Yeah it's Access and I've crossed swords with rogue .ldb files before. I've done a full system search for .ldb files and found none. I've set full permissions on the folder with the database in and still nothing. I give in. Thanks everyone for all their help.
Cheers, Lol
|
|
|
|
|