Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2004, 02:28 PM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Localhost

Hi all, i am a new user for dreamweaver and php. i installed IIS on my window XP system and follow the instruction on the book. However, when i test my IIS by typing

http://localhost/localstart.asp or
http://localhost/test.asp (instruction from the dreamweaver mx help)

i get the same error. HTTP 404 File Not Found.

I very sure there not typo error and i ensure my steps all all correct. However, it still not working. Can anyone help me.

Thank and regards

 
Old October 20th, 2004, 02:45 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

If you check out IIS, where does your root folder point to?

To find out, try this:

1. Open the Internet Information Service Manager from the Administrative Tools menu
2. Locate your server, expand it and locate Default Web Site
3. Right-click Default Web Site and choose Properties
4. On the Home Directory tab, where does Local path point to? And does that folder exist?

If you can post the results here, we can further investigate this issue. It might also help if you tell us what OS you're using.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Triad by Tool (Track 12 from the album: Lateralus) What's This?
 
Old October 21st, 2004, 12:37 AM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Thanks for replying my question. My OS is operating on Window XP professional.

I follow your way and discover my default web site is pointing to

c:\inetpub\wwwroot

Is it correct?

However, the status of the default website is shown as STOPPED. I tried to turn it ON by right click and select START but the following error occured

Unexpected Error 0x8ffe2740

What will be the possible error? Thank for your help.


 
Old October 21st, 2004, 01:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, that's the correct folder.

There are a few things to check. First of all, do you already have a different Web server running? If, say, you have Apache running, that could block IIS from starting correctly as both would try to use port 80.

Another option is to check your firewall. If you have a firewall, it may be blocking IIS. To fix that, set the Services of IIS (World Wide Web Publishing Services) to start manually in the Services panel under Administrative tools. Then reboot, and manually start the services. Your firewall will then ask whether you want to allow this or not.
When everything works as expected, you can change the start-up options to automatically again.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Little Star by Madonna (Track 12 from the album: Ray Of Light) What's This?
 
Old October 21st, 2004, 01:46 AM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think i have Apache server running on my system. When i use the TCPView (3 party software) to view my TCP Port. I found out that there some program using the port 80 it call "inetinfo" but i not sure is that the Apache file. However, i did try to change the port using for the IIS default web to Port 81 and it able to START.

But the problem is however is still unable to solve. When i type
http://localhost
i am able to go in. But when i type
http://localhost/localstart.asp
I'll get the error. HTTP 404 File Not Found.

However, when i type
C:\Inetpub\wwwroot\localstart.asp

the browser able to show me "Your Web service is now running."
I've installed MySQL, php and my phpmyadmin and Apache on my system. But i stuck on the testing on my localhost. It since like nothing able to run on my localhost.

P.s I don't have any firewall running on my system.


 
Old October 21st, 2004, 02:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

inetinfo belongs to IIS.

However, of you changed the port for IIS, you'll also need to change the address you're trying to reach:

http://localhost/localstart.asp

will end up at port 80 if that's where Apache is listening. Change it to this:

http://localhost:81/localstart.asp

to get the IIS page.

If you browse to C:\Inetpub\wwwroot\localstart.asp, you're not really opening the page through a Web server, so you're not testing if it actually running.

Cheers,

Imar
 
Old October 21st, 2004, 09:21 AM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I able to get to the
http://localhost/localstart.asp

What i do is i delete all my apache, php, mysql and phpmyadmin software. Then i uninstalled IIS from my system and re-installed again.

Now i able to get to the page. Thanks alot.








Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost ongmymap ASP.NET 3.5 Basics 5 November 8th, 2008 02:09 PM
can't connect to localhost dmlocke Beginning PHP 1 October 16th, 2006 01:29 PM
do not want to use localhost p2ptolu Classic ASP Databases 1 September 15th, 2005 06:03 PM
localhost problems sdfharkin BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 October 26th, 2004 07:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.