Forum Moderators: open

Message Too Old, No Replies

IIS Not Running my ASP Scripts

         

jstonend

1:39 pm on Feb 11, 2005 (gmt 0)

10+ Year Member



Hi,

First time writing to the board, sorry if I hit the wrong category.

I just put up a Win2K server running IIS 5.0.

Now, I'm pretty sure that I got all the settings right with my Virtual Directories and stuff. But for some reason, on any of my asp pages, its not executing the script - it just skips right over it.

Can anyone help me find the switch that I forgot to flip? Thanks a bunch.

Jeff

dotme

3:32 pm on Feb 11, 2005 (gmt 0)

10+ Year Member



There's more than one possible cause.

Do you get an error when you hit tha asp page with your browser? (If using IE, first go to Tools... Internet Options... Advanced and un-check the box "Show Friendly HTTP Error Messages")

jstonend

4:45 pm on Feb 11, 2005 (gmt 0)

10+ Year Member



Well - he's what happens...

I created a sample page to test the ASP.

It prints one very simple ASP line:

<% response.write("Hello") %>

That line does not show up. I have a regular HTML line above and below that ASP line and they show up fine, which leads me to believe that the Server is not executing the ASP code.

I have check the user rights, and "Everyone" has read and execute rights to the directory that the website is in.

dotme

9:52 pm on Feb 11, 2005 (gmt 0)

10+ Year Member



Right-click on site in IIS management console. Choose properties. Click Home Directory tab. Make sure you have a Default Application defined, and that Execute Permissions are Scripts only.

If all is okay and you are running antivirus, try disabling it and reload your page. Curious if that makes a difference.

carguy84

5:08 am on Feb 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



don't take this personally, but you did name the file whatever.ASP and not .html. correct?