Connecting Tech Pros Worldwide Forums | Help | Site Map

Page not found error

Member
 
Join Date: Nov 2008
Location: UK
Posts: 117
#1: Aug 20 '09
I have created a simple web site in IIS6 that has a folder structure as follows:

GEMap/TestFolder/Test.html

and the html file just contains a simple line of text.

With this in IIS I then select the Browse option when right-clicking the the Test.html file and this is displayed as expected.

Problem: When I try to invoke this html page from another computer on a different server, I am getting a “Page cannot be found” error. I am invoking the page via the following method:

http://1.1.1.1:1111/GEMap/TestFolder/Test.html
(where 1.1.1.1:1111 is the IP address of the target machine and the port number as has been specified when setting up the web site in IIS).

Any ideas what I am doing wrong please?

Thank you.

M :)
best answer - posted by E11esar
Hi there - solved it! It works if I do not include the parent directory of the web page so instead of entering:

http://1.1.1.1:1111/GEMap/TestFolder/Test.html

just use http://1.1.1.1:1111/TestFolder/Test.html

It appears that when a port is used, IIS sets the port number as alias to the parent folder name: I certainly did not know that.

Thank you.

M :)

Member
 
Join Date: May 2009
Location: Goregaon, मुंबई IN :)
Posts: 85
#2: Aug 20 '09

re: Page not found error


Have you enabled anonymous access to the site/directory?
ssnaik84's Avatar
Member
 
Join Date: Aug 2009
Location: Bengaluru, India
Posts: 124
#3: Aug 20 '09

re: Page not found error


1) 1.1.1.1 - is this IP addr of your machine where IIS6 installed?
2) is default page of your server browsable?
3) check firewall of that machine for port 1111 and add it in exceptions
Member
 
Join Date: Nov 2008
Location: UK
Posts: 117
#4: Aug 20 '09

re: Page not found error


Hi there - solved it! It works if I do not include the parent directory of the web page so instead of entering:

http://1.1.1.1:1111/GEMap/TestFolder/Test.html

just use http://1.1.1.1:1111/TestFolder/Test.html

It appears that when a port is used, IIS sets the port number as alias to the parent folder name: I certainly did not know that.

Thank you.

M :)
Reply