"The Page cannot found" HTTP 404

  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 11th, 2003, 4:31 pm

Hi,
Here is what is happening. I am running W2k Server running IIS. I have created a webpage that uses 3 total frames. The top frame and bottom frame are html files and they show up just fine. The middle frame however calls up an ASP file, and it is in this frame that I get the error in the title of this post.

I know the links are right and the file is there but for some reason it won't show up. I know the ASP is correct, and a link that I have on the page that opens another ASP file works.

Do you guys have any suggestions on what settings I could check?

Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 11th, 2003, 4:31 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 11th, 2003, 5:50 pm

You should be getting an error message in the asp frame.

Copy the error message here
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 11th, 2003, 5:53 pm

Also, what URL are you using to access the page? Is it a local file you are pulling up?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 11th, 2003, 6:26 pm

I sent you a PM with the URL. Let me know if you don't get it.

Thanks
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 11th, 2003, 6:33 pm

I got it, but please repost it here as well, so others can learn too.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 11th, 2003, 7:17 pm

Your problem should be easily solved by cutting your frameset code and pasting it within the body tags where it should be. The way you currently have it your frameset code is between the closed head tag and the opening body tag. That is going to screw up a multitude of browsers and is probably why you are experiencing the problem. This assumes that your relative link for the asp file is correct.

You also have duplicate frameset tags. Remove one set (the "empty" ones at top and bottom).

Your source is as follows:

Code: [ Select ]
<html>

<head>
<script>
<!--

//enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
var limit="0:30"

if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
else
curtime=cursec+" seconds left until page refresh!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}

window.onload=beginrefresh
//-->
</script>

</head>



<frameset>
<frameset rows="38%,45%,*" frameborder="1" bordercolor="#F0F0E2">
<frame name="menu" scrolling="NO" noresize frameborder="no" marginwidth="0" marginheight="0" src="top.htm">
<frame name="tree" scrolling="yes" noresize frameborder="no" marginwidth="0" marginheight="0" src="/browser/browser.asp">
<frame name="files" noresize frameborder="no" marginwidth="0" marginheight="0" src="signin.htm">
</frameset>

</frameset>

<body>

</body>

</html>
  1. <html>
  2. <head>
  3. <script>
  4. <!--
  5. //enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
  6. var limit="0:30"
  7. if (document.images){
  8. var parselimit=limit.split(":")
  9. parselimit=parselimit[0]*60+parselimit[1]*1
  10. }
  11. function beginrefresh(){
  12. if (!document.images)
  13. return
  14. if (parselimit==1)
  15. window.location.reload()
  16. else{
  17. parselimit-=1
  18. curmin=Math.floor(parselimit/60)
  19. cursec=parselimit%60
  20. if (curmin!=0)
  21. curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
  22. else
  23. curtime=cursec+" seconds left until page refresh!"
  24. window.status=curtime
  25. setTimeout("beginrefresh()",1000)
  26. }
  27. }
  28. window.onload=beginrefresh
  29. //-->
  30. </script>
  31. </head>
  32. <frameset>
  33. <frameset rows="38%,45%,*" frameborder="1" bordercolor="#F0F0E2">
  34. <frame name="menu" scrolling="NO" noresize frameborder="no" marginwidth="0" marginheight="0" src="top.htm">
  35. <frame name="tree" scrolling="yes" noresize frameborder="no" marginwidth="0" marginheight="0" src="/browser/browser.asp">
  36. <frame name="files" noresize frameborder="no" marginwidth="0" marginheight="0" src="signin.htm">
  37. </frameset>
  38. </frameset>
  39. <body>
  40. </body>
  41. </html>


See the problem?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 12th, 2003, 7:48 am

I do see the problem now. This page was originally done by a previous co-worker and I was trying to go through and fix it up to work right.
Thanks for spotting that out, after looking at this sites ASP code and other things for hours it can sometimes become a blur, if you know what I mean. :)

Here is that URL for anybody else that wants to check it out:

http://mail.crashrescue.com/files/default.htm
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 12th, 2003, 8:06 am

Ok,
I put the frameset code in the body and took out the extra </frameset>, and when I refresh, the whole page is just blank. I know it is working because the page refresh starts at the bottom. Here is what my code looks like now:

<html>

<head>
<script>
<!--

//enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
var limit="0:30"

if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
else
curtime=cursec+" seconds left until page refresh!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}

window.onload=beginrefresh
//-->
</script>

</head>

<body>

<frameset>
<frameset rows="38%,45%,*" frameborder="1" bordercolor="#F0F0E2">
<frame name="menu" scrolling="NO" noresize frameborder="no" marginwidth="0" marginheight="0" src="top.htm">
<frame name="tree" scrolling="yes" noresize frameborder="no" marginwidth="0" marginheight="0" src="/browser/browser.asp">
<frame name="files" noresize frameborder="no" marginwidth="0" marginheight="0" src="signin.htm">
</frameset>

</body>

</html>
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 12th, 2003, 8:08 am

By the way, I changed it back to what it was temporarily, so the company could use the upload if needed.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 12th, 2003, 8:32 am

Well, your /browser/browser.asp file isn't there. Even without the frames. Make sure the file is where you say it should be. The way your code is it should be here:

http://mail.crashrescue.com/files/browser/browser.asp

It's not.

Second, I don't understand why you have a refresh code on the main page of a frameset. You do realize that every thirty seconds that's going to refresh the whole frameset and as a result set whatever page the viewer is looking at in the tree frame back to the original browser.asp file.

Not sure what you are trying to do with the page, but that would drive me nuts.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 12th, 2003, 8:42 am

Here is screenshots so you guys can see the file structure. The first is the /files/ folder as you can see the default.htm in the pic.

http://mail.crashrescue.com/files/files.jpg

This is the contents of the browser folder (the browser folder from the above). As you can see the browser.asp file is in there.

http://mail.crashrescue.com/files/browser.jpg
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 12th, 2003, 8:47 am

the refresh would drive me nuts too, but like I said my co-worker did it and I am being told that is what they want.

I know that the browser.asp file is there in that structure. Could it be a security setting for the site in Internet Service Manager?

Here is the path to default.htm on the server:

C:\Inetpub\wwwroot\files\default.htm

Here is the path to browser.asp:

C:\Inetpub\wwwroot\files\browser\browser.asp
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 12th, 2003, 8:51 am

I saw the browser folder in the first picture. The permissions are too tight on the second one. It's asking for a password. Double check your permissions on the browser.asp file and/or the browser directory and make sure it's allowed to read and execute scripts.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post November 12th, 2003, 9:11 am

Could be. Make sure ASP is turned on in IIS. And check your script execute permission on your asp directories.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • fade_to_black
  • Novice
  • Novice
  • No Avatar
  • Joined: Nov 11, 2003
  • Posts: 31
  • Loc: Dallas, TX
  • Status: Offline

Post November 12th, 2003, 9:21 am

Ok,
I reset the permissions for the browser folder, now I get this instead of the other error:

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

I was getting this before on the other ASP files I had on this site and all I did to correct it iwas set the security to LOW, but it already is for the browser file and folder, any suggestions?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 12th, 2003, 9:21 am

Post Information

  • Total Posts in this topic: 22 posts
  • Users browsing this forum: No registered users and 148 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.