 |
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
|
|
|
|

June 2nd, 2004, 01:01 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can't get IIS server test when setting up DWMX2004
In setting up IIS for use with Dreamweaver MX 2004 to have my web site and server be on my PC.
I am having difficulty with the IIS web server in Windows 2000 (SP3).
Text I'm using: Beginning Dreamweaver MX, Wrox, 1861008201
Install of IIS from W2K CD seemed to work OK.
Test using http://localhost/localstart.asp in browser returns "Page cannot be found" 404 error. The "Welcome to IIS" page as shown in the text, page 27, seems to be the localstart.asp page that isn't found.
World Wide Web Publishing line in [Administrative Tools | Services] shows status of "Started" indicating the server is running.
When I go to C:\Inetpub, I see three subdirectories [ftproot, mailroot and nntpfile].
Isn't there supposed to be a folder WWWROOT there as my default web page folder? If so, it is not there.
I can't find localstart.asp anywhere under C:\Inetpub, so it makes sense that I get the "not found" message.
What am I doing wrong?
What do I do next?
|
|

June 2nd, 2004, 01:14 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Richard,
It *is* weird that there is no wwwroot folder. Has IIS been installed before?
It's easy to fix, though. Here's what I would do:
1. Create the wwwroot folder yourself in C:\Inetpub
2. Open the IIS manager from the Control Panel or Administrative tools
3. Expand your server until you see Default Web Site
4. Right-click Default Web Site and choose Properties
5. On the Home Directory tab, make sure that Local Path points to C:\Inetpub\wwwroot
6. Create a new text file in C:\Inetpub\wwwroot and call it Test.asp. Add the following code:
<%
Response.Write("Test page works at " & Now())
%>
7. Save the page and then request http://localhost/Test.asp in your browser.
If all worked well, you should see the text and the current date and time.
Cheers,
Imar
|
|

June 2nd, 2004, 06:07 PM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
My machine says "Internet Services Manager", not IIS, but I did your procedure and the test worked fine and displayed the proper date.
This tells me that the server *HAD* to be active in order to get, format and HTML/display the date. Looks like I'm fixed.
I did try to install IIS about three times and had several things happen that weren't in my install script, so maybe I somehow messed up the creation of \wwwroot?
|
|

June 3rd, 2004, 03:10 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yeah, strange. I don't know the reason why the wwwroot folder wouldn't be created. Oh well, as long as it works now, right?
Have fun with the book.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

June 8th, 2004, 05:07 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
I had the same problem as Richard and followed you very helpful fix with the following result:
"
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
--------------------------------------------------------------------------------
Please try the following:
Click the Refresh button, or try again later.
Open the file:// home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Microsoft VBScript compilation (0x800A03EE)
Expected ')'
/Test.asp, line 2, column 20
Response.Write(Test page works at " & Now())
-------------------^
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Page:
GET /Test.asp
Time:
Monday, June 07, 2004, 3:48:59 PM
More information:
Microsoft Support
"
Although it's an error page, it does contain the information, albeit with some error which I must have slipped in, (sorry, i'm an absolute rookie at all this stuff, so I can't see where!). Anyway, thanks for your help.
Riggers:)
Riggers (old bean)
|
|

June 8th, 2004, 05:33 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You're missing an opening quote in the Response.Write statement:
Response.Write(Test page works at " & Now())
should be
Response.Write("Test page works at " & Now())
Cheers,
Imar
|
|

June 11th, 2004, 06:55 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Imar - it now works a treat!
Riggers (old bean)
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Setting up IIS |
dfrancis |
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 |
12 |
November 5th, 2006 03:36 PM |
| IIS setting up question |
zhengfengyang |
Dreamweaver (all versions) |
4 |
March 7th, 2006 09:21 PM |
| IIS test not working |
kevi3032 |
ASP.NET 1.0 and 1.1 Basics |
21 |
December 20th, 2004 02:43 PM |
| setting up PC as a web server with IIS |
kathryne |
Classic ASP Basics |
7 |
October 9th, 2003 04:55 PM |
| Setting up PHP4 on Win IIS |
digitalepiphany |
BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 |
1 |
September 8th, 2003 02:44 PM |
|
 |