hi all,
i'm getting the below error message:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/dump2.asp, line 22
my code is:
<html>
<head>
<title>test</title>
<%
Sub LaunchApp
Dim qtApp
Dim qtTest
Dim qtResultsOpt
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
End Sub
%>
</head>
<body>
<%Call LaunchApp%>
</body>
</html>
Any ideas why I'm getting the permission issue?
I tried the below in a vbs file and it manages to open the wanted application:
Dim qtApp
Dim qtTest
Dim qtResultsOpt
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
So why doesn't it work when I put the vbs code into asp?
Which permission do i need to check?
looking forward to hearing from someone,
thanks in advance,
kev
i'm getting the below error message:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/dump2.asp, line 22
my code is:
<html>
<head>
<title>test</title>
<%
Sub LaunchApp
Dim qtApp
Dim qtTest
Dim qtResultsOpt
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
End Sub
%>
</head>
<body>
<%Call LaunchApp%>
</body>
</html>
Any ideas why I'm getting the permission issue?
I tried the below in a vbs file and it manages to open the wanted application:
Dim qtApp
Dim qtTest
Dim qtResultsOpt
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
So why doesn't it work when I put the vbs code into asp?
Which permission do i need to check?
looking forward to hearing from someone,
thanks in advance,
kev