asp上传组件出错急(.....)

来源:百度知道 编辑:UC知道 时间:2024/06/19 09:46:57
我在本地测试aspupload和lyfupload上传组件均有用,为什么上传到万网服务器上就出现了不能创建对象的问题。我的是企业级服务器,支持组件上传的。有知道的大虾尽快告诉我(急.....)
我的代码如下:
<%
Set Upload = Server.CreateObject("Persits.Upload")
Upload.Save server.MapPath("./images")
Set File = Upload.Files(1)
filename=File.filename
Response.Write filename & "= " & File.Path & " (" & File.Size &" bytes)<BR>"
ss=filename
%>

不能创建对象,那就是说服务器或者没有安装这个组件,或者你没有权限使用这个组件。

这个组件是第三方组件,服务器不一定安装了

fso没打开吧。试试运行里打上regsvr32 scrrun.dll