[紧急]求助asp,高手来看看
背景是这样:用VBSCript调用一个ATL写的COM上传组件,这个COM组件又调用了一些相关的dll(包括XPCOM的dll),我把这些相关所有的DLL放到了system32目录下后,运行uploader.vbs文件能够上传成功,但是将语句移植到asp中后,文件却无法上传成功!
uploader.vbs文件:
Dim uploader
Set uploader = CreateObject("shareUploader.Uplaoder")
uploader.Init "192.168.1.150",9503,1
uploader.Upload "c:/testdown/789.txt","x:/"
uploader.Uninit
uploader.asp文件:
<%@ Language=VBScript %>
<%
Dim uploader
Set uploader = Server.CreateObject("shareUploader.Uplaoder")
uploader.Init "192.168.1.150",9503,1
uploader.Upload "c:/testdown/789.txt","x:/"
uploader.Uninit
%>
<HTML> <BODY BGCOLOR="white">
<H1>文件上传 : 示例</H1>
<HR>
</body> </html>
真是跪求高手指导一下,不胜感谢
[解决办法]
权限有问题, 试试看把IIS的匿名访问账号改成Administrator的看下