如何解决Server.MapPath() 错误 'ASP 0173 : 80004005'
来源:百度知道 编辑:UC知道 时间:2024/06/25 10:07:01
我在运行管理删除信息的时候出现:
Server.MapPath() 错误 'ASP 0173 : 80004005'
无效路径字符
/admin/xinxi_del.asp,行36
MapPath 方法的路径参数中有无效字符。
我找到相应的代码段
sub deltu()
dim whichfile
whichfile=server.mappath("../"& tupian & "") (36行)
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
if objFSO.fileExists(whichfile) then
objFSO.DeleteFile(whichfile)
end if
set objfso=nothing
end sub
response.write "<script language=JavaScript>" & chr(13) & "alert('删除信息成功!')</script>"
response.write "<meta http-equiv=refresh content=""1;URL=xinxi.asp"">"
response.end
rs.close
set rs=nothing
closedb
路径参数中有无效字符应该怎么该啊
Server.MapPath() 错误 'ASP 0173 : 80004005'
无效路径字符
/admin/xinxi_del.asp,行36
MapPath 方法的路径参数中有无效字符。
我找到相应的代码段
sub deltu()
dim whichfile
whichfile=server.mappath("../"& tupian & "") (36行)
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
if objFSO.fileExists(whichfile) then
objFSO.DeleteFile(whichfile)
end if
set objfso=nothing
end sub
response.write "<script language=JavaScript>" & chr(13) & "alert('删除信息成功!')</script>"
response.write "<meta http-equiv=refresh content=""1;URL=xinxi.asp"">"
response.end
rs.close
set rs=nothing
closedb
路径参数中有无效字符应该怎么该啊
server.mappath("../"& tupian & "") 改为server.mappath("../"& tupian )
tupian 这个变量没有值!
在whichfile=server.mappath("../"& tupian & "") 这句上面加一句:
tupian="database/data.mdb" '你数据库的实际路径
real server 延迟问题如何解决
如何解决server.Execute执行的问题?
sql server错误:53是什么?如何解决?
从SQL Server 2005迁移回SQL Server 2000时遇到错误602 ,如何解决?
SQL SERVER 2000数据库日志文件过大如何解决
如何解决sql server 连接池溢出问题?
sql server错误:53 、17分别是什么?如何解决?
windows server 2003系统ie有问题,该如何解决?
启动server服务时,系统提示:错误126 找不到指定的模块,如何解决?
我运行跑跑卡丁车的时候出现 NECM Server Attach Error 这个提示!请问如何解决