Discussion Locked

NTServer 4.0 IIS 4.0 ASP VBScript Proble

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

NTServer 4.0 IIS 4.0 ASP VBScript Problem none of the VBScript code appears to be executed

Operating System: Windows NT (4.0.1381Service Pack 6)
IIS 4.0
From Windows NT 4.0 Resource Kit Support Tools
http://www.microsoft.com/ntserver/nts/downloads/recommended/ntkit/default.asp

Windows Script containing Visual Basic Script Edition (VBScript.) Version 5.5
http://www.microsoft.com/msdownload/vbscript/scripting.asp

Internet Service Manager's www service.
c:\InetPub\wwwroot(access: read,execute) alias
c:\WINNT\System32\inetsrv\iisadmin (access: read,execute) alias /iisadmin
c:\InetPub\scripts(access:execute only) alias /Scripts

tcp port number is 80 I think

I will check forasp.dll

I have tried several VBScript examples none of the VBScript code appears to be executed
For example

/Scripts/showtime.asp
HTTP Error 403 You are not authorized to view this page
This is an example from E-Commerce Programming with ASP page 13
Essentially it uses VBScript
<%TIME()%>
to get the computer clock time

From the server
C:\InetPub\Scripts\showtime.asp
display the page with no time no error is given

Is there some setting that allows or denies the runningof VBScript?

What is needed to get ASP and VBScript to run properly?

5 replies

by matheesha.weerasinghe

You can run VBScript jut by installing the WSH on any Win95 or above PC. The ASP pages need to be installed on a server that supports them. IIS 4.0 will do that fine. Make sure that any scripts that are referenced are placed in the scripts folder. They do not need read permission but need execute to execute.

by olivier_de-polignac

Using IIS management console, check the properties to the "Scripts" directory. It should have the "execute scripts" checked.

Hope this helps.

Regards,

Olivier

This discussion is closed to new replies.