Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 5.0 and ASP pages

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Credentials lost between IIS Machines  
Author Message
kpbutt

External


Since: Nov 12, 2003
Posts: 1



(Msg. 1) Posted: Wed Nov 12, 2003 2:01 pm
Post subject: IIS 5.0 and ASP pages
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have created asp scripts which are being executed from the htm page's form action method. This works fine in IIS 4.0 on NT. But when I ported over my pages to IIS 5.0 on 2000, I get a 404 file not found error. I tried adding the script on the page and naming the htm file to asp, but that doesn't work either if I go to the page from another page. I tried making the first page an asp page, and it loads up fine, but every asp page after that gives the 404 error.

Any suggestions? I am running out of time....

Thanking you in advance for your help.

Kashif P. Butt

 >> Stay informed about: IIS 5.0 and ASP pages 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 2) Posted: Wed Nov 12, 2003 11:35 pm
Post subject: Re: IIS 5.0 and ASP pages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 12 Nov 2003 11:01:07 -0800, "Kashif Butt" <kpbutt RemoveThis @hotmail.com>
wrote:

 >I have created asp scripts which are being executed from the htm page's form action method. This works fine in IIS 4.0 on NT. But when I ported over my pages to IIS 5.0 on 2000, I get a 404 file not found error.

Obvious question: Is the file actually where your script is looking
for it?

Are you running Norton's or another script-blocking firewall or AV
program? Ran the IIS Lockdown Tool without allowing ASP? Loading
from a folder that's not marked as executable for scripts?

Lotsa possibilities, it might help to walk back through all the
permission settings on your NT box if it's still around.

Also, did you try a "Hello World!" ASP script?

Jeff<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS 5.0 and ASP pages 
Back to top
Login to vote
anonymous416

External


Since: Nov 12, 2003
Posts: 1



(Msg. 3) Posted: Wed Nov 12, 2003 11:35 pm
Post subject: Re: IIS 5.0 and ASP pages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 >Obvious question: Is the file actually where your script is looking
 >for it?
  >>Are you running Norton's or another script-blocking firewall or AV
 >program? Ran the IIS Lockdown Tool without allowing ASP? Loading
 >from a folder that's not marked as executable for scripts?
  >>Lotsa possibilities, it might help to walk back through all the
 >permission settings on your NT box if it's still around.
  >>Also, did you try a "Hello World!" ASP script?

Yes, the file resides in the same folder as the page calling it. The server was built by someone in California and I am in New York. I am accessing it via Terminal Services. I can try to find out answers for your questions from them. I have created the virtual directory which is pointing to the folder and has "script only" access. I don't think it should be changed to "scripts and executable". Please correct me if I am wrong. And where would I find the "Hello World" ASP script? The first asp page loads up but subsequent asp pages won't. Thanks for your reply.

Kashif<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 5.0 and ASP pages 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 4) Posted: Thu Nov 13, 2003 4:44 pm
Post subject: Re: IIS 5.0 and ASP pages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 12 Nov 2003 13:31:23 -0800, Kashif
<anonymous RemoveThis @discussions.microsoft.com> wrote:

  >>Obvious question: Is the file actually where your script is looking
  >>for it?
   >>>Are you running Norton's or another script-blocking firewall or AV
  >>program? Ran the IIS Lockdown Tool without allowing ASP? Loading
  >>from a folder that's not marked as executable for scripts?
   >>>Lotsa possibilities, it might help to walk back through all the
  >>permission settings on your NT box if it's still around.
   >>>Also, did you try a "Hello World!" ASP script?
 >
 >Yes, the file resides in the same folder as the page calling it. The server was built by someone in California and I am in New York. I am accessing it via Terminal Services. I can try to find out answers for your questions from them. I have created the virtual directory which is pointing to the folder and has "script only" access. I don't think it should be changed to "scripts and executable".

Normally just scripts is fine.

 > Please correct me if I am wrong. And where would I find the "Hello World" ASP script?

You create it:

<% Response.Write "Hello World!" %>

Yup, that's the entire script, one neat little line. Name it whatever
you wish, normally hello.asp, and specify it on the URL, as in:

<a style='text-decoration: underline;' href="http://www.sample.com/hello.asp" target="_blank">http://www.sample.com/hello.asp</a>

 >The first asp page loads up but subsequent asp pages won't. Thanks for your reply.

Try the Hello World! script and see if it loads multiple times or if
other scripts will launch after it runs. It sounds more like your
first script may have an issue that breaks everything else.

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 5.0 and ASP pages 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]