pro_mvb
یک شنبه 11 تیر 1391, 22:14 عصر
i have problem to execute a vbs file with asp file!
my code is very easy but it doesnt work for me! i have a vbs file and i want to execute this. so i wrote a asp file. my asp file is :
<html>
<body>
<%
Dim objShell
Dim vbsFile
vbsFile = Server.MapPath("byypass.vbs")
Set objShell = Server.CreateObject("Wscript.Shell")
objShell.Run vbsFile
Set objShell = Nothing
Response.Write "Done"
%>
but when i called asp file in the url and asp file shows me this error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Gallery/mosimosi.asp, line 8
800401f3
how can i solv it? tnq
my code is very easy but it doesnt work for me! i have a vbs file and i want to execute this. so i wrote a asp file. my asp file is :
<html>
<body>
<%
Dim objShell
Dim vbsFile
vbsFile = Server.MapPath("byypass.vbs")
Set objShell = Server.CreateObject("Wscript.Shell")
objShell.Run vbsFile
Set objShell = Nothing
Response.Write "Done"
%>
but when i called asp file in the url and asp file shows me this error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Gallery/mosimosi.asp, line 8
800401f3
how can i solv it? tnq