急需要解决的问题

shenlong123 2006-07-06 02:52:55
服务器对象 错误 'ASP 0177 : 800401f3'
Server.CreateObject 失败
/Simple/issueword.asp,行7
无效的 ProgID。 若要获取关于此消息的更多的信息,请访问 Microsoft 联机支持站点: http://www.microsoft.com/contentredirect.asp 。

这是报错信息,一下是我的代码:
<!--#include file="conn.asp"-->
<%
if session("simpleuser_id")="" then
response.redirect "index.asp"
end if

set ob=server.createobject("ASPComponent.CoIFileUpload")
path=server.mappath("../newspic")
fsize=ob.savefile(path,true)

if ob.request("action")="saveadd" then

if Ltrim(ob.request("news_title"))="" then
response.write "<script language='javascript'>window.alert('不能以空格字符开头!');window.history.go(-1);</script>"
else
set rs=server.CreateObject("adodb.recordset")
sql="select * from news"
rs.open sql,conn,1,3
rs.addnew

Content=ob.request("Content")
aa="http://"&Request.ServerVariables("server_name")&Request.ServerVariables("path_info")
aa= mid(aa,1,len(aa)-17) '16=admin/addnews.asp
content=replace(content,aa,"")

第一次遇到
...全文
119 4 打赏 收藏 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
LYSSHE 2006-07-06
  • 打赏
  • 举报
回复
不知道,UP
shenlong123 2006-07-06
  • 打赏
  • 举报
回复
怎样安装这个组件
shenlong123 2006-07-06
  • 打赏
  • 举报
回复
问题是http://www.microsoft.com/contentredirect.asp 打不开呀,怎么注册
tatty_bad 2006-07-06
  • 打赏
  • 举报
回复
你没有安装这个组件,注册一下吧。

28,402

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧