缺少asp上传组件,谁给个呀

来源:百度知道 编辑:UC知道 时间:2024/05/24 08:51:02
创建不了对象,上传附件里报错,错误信息如下:
Server 对象 错误 'ASP 0177 : 800401f3'

Server.CreateObject 失败

/manage/htmledit/htmlimage.asp,行 4

800401f3

我猜应该是少了上传的组件,但服务器里找不到,哪位给个呀,以下是详细的上传代码:

<!--#include file="../function/inc_DataFunction.asp"-->
<%
If Request.QueryString("type")="upload" Then
Set FileUp = Server.CreateObject("ErieUpLd.UpLoad")
FileUp.SessionName = "UpLoadProductImage"
FileUp.IsPhysicalPath = True
FileUp.FilePath = Server.MapPath ("../../UpImages") & "\"
FileUp.ConnectionString = Application("ConnectionString")
FileUp.PicID = "PicID"
FileUp.ShowSourceFile = False
FileUp.UpLoad
UpFiles = Session("UpLoadProductImage")
ImageName = UpFiles(0)(1)
ImageType = UpFiles(1)(1)
ImageNote = UpFiles(2)(1)
%>
<Script Language=J

A、找到Const_ScriptFileSystem定义处
看是否设置为:
Const_ScriptFileSystem = \"Scripting.FileSystemObject\"

B、确认scrrun.dll文件是否在系统盘:\\windows\\system32\\目录中,如果没有,就按下面步骤:
1、首先在系统盘中查找scrrun.dll,如果存在这个文件,请跳到第三步,如果没有,请执行第二步。

2、在安装文件目录i386中找到scrrun.dl_,用winrar解压缩,得scrrun.dll,然后复制到

你的系统盘:\\windows\\system32\\目录中。

3、运行regsvr32 scrrun.dll即可