Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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 April 10th, 2004, 02:51 AM
Authorized User
 
Join Date: Oct 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default IIS Problem?

        Previously, i did a project using PHP, Apache and MySQL.I stopped the apache and MySQL.
        Now, I want to start to learn ASP. i have open Add/Remove Windows Components found in Add/Remove Programs in the Control Panel and place a tick in the check box for Internet Information Services (IIS).i restart the computer and then i create note.asp.
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>

       However, when i try to run it. The browser does not display anything.So, i go to Control panel, perfomance and maintenance, administrative tool, IIS. i showed that the default web site stopped. when i right click and click browse, it shows Forbidden
You don't have permission to access / on this server.Apache/1.3.28 Server at localhost Port 80.
       Does this means that i must unistalled Apache from my PC? Or i have miss anything in my installation or i have to do any configuration?

Please HElP!

 
Old April 12th, 2004, 06:14 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

I run apache and IIS myself (XP) you may only have one web server running at one time on port 80 (You can run them at the same time on different ports). I am using sokkit, it gives you a facility to start and stop apache (otherwise go into services and stop it manualy)

::The browser does not display anything
It should be giving you some kind of error?

Are you logged in as administrator??
What OS/IIS version do you have?
Did you place your note.asp in your web servers root?
What was the syntax you used when trying to browse to the page?

No you do not have to uninstall apache

Wind is your friend
Matt
 
Old April 23rd, 2004, 06:03 AM
Authorized User
 
Join Date: Oct 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry for late reply, matt. I does not have connection to the internet coz not paid the bill.I'm using Microsoft Windows XP Professional Version 2002 Service Pack 1.

Now that i have manually stop apache and everything goes fine except one problem. I'm using VBScript and below is my code.

<html>
<body>
Greeting :
<%
Response.Write("Hello World!")
%>
Bye
</body>
</html>

However, only Greeting: and Bye is displayed and everything between <% and %> are not displayed. Please help!



 
Old April 26th, 2004, 06:54 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Have another read of my post. There are some questions in there that will asisst me assisting you, if answered.

Rather than trying to view your own .asp page you should follow the reccomended procedure. If IIS is installed, started and permissions are correct you should be able type in http://yourComputerName.localstart.asp


Wind is your friend
Matt
 
Old April 27th, 2004, 03:00 PM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try Response.Write "Hello World."
No parenthesis.
 
Old April 27th, 2004, 05:53 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

parenthesis are optional, they will make no difference.

Are you using IIS 6.0?
What exact syntax are you using to view your page?

If you are using IIS 6.0 there are some settings you need to enable, previous versions had these enabled by default. I guess we will have to wait for you to pay your bill to get a response, good luck tiger


Wind is your friend
Matt
 
Old April 27th, 2004, 08:28 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What are these other settings? I am having a simmilar problem, but I am using a new tablet pc (windows xp tablet) and asp.net. The same asp pages that I brought from my PC will not run on my tablet.



Sal
 
Old April 27th, 2004, 08:39 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

IIS 6.0 All you ever wanted to know - and more

http://www.microsoft.com/technet/pro...s/default.mspx

.asp pages will not run on a default instal. They are diabled along with the ability run include files, snmp, smtp etc.. it's all expalined in the above link - these setting are controlled in the properties of your default web site.

Wind is your friend
Matt
 
Old April 30th, 2004, 09:05 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Mine came with 5.1. Will read the link

Thanks



Sal
 
Old May 1st, 2004, 09:36 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Sal

IIS versions < 6.0 have these setting turned on by default. I believe 6.0 is a marked improvement in security. hopefully goes a way towards changing the open source (or should I say anti microsoft) coders attitudes. They do have a valid point, there does seems to be security issues raised on a regular basis.

If your pages are not running due to .net issues I probably wont be much help. However if they are IIS related I may be of assistance, dont hesitate to drop me a line - what part of the USA are you from, I have done allot of skiing there. Is web development your job or an interest?

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS problem dinesherandika ASP.NET 1.0 and 1.1 Basics 6 March 12th, 2007 11:43 PM
IIS Problem alyeng2000 Classic ASP Components 4 February 4th, 2006 12:24 PM
IIS problem Violaplayer Classic ASP Basics 0 December 24th, 2003 03:25 PM





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