急需要解决的问题
服务器对象 错误 '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,"")
第一次遇到