tsjhoo 发表于 2010-4-27 02:52:35

发布简历时出现错误 求救

发布简历时出现错误
Server.MapPath() 错误 'ASP 0173 : 80004005'

无效 Path 字符

E:\WWWROOT\LIJUNLIN\WWWROOT\PERSON\../inc/Commoncode.asp,行 2681

为 MapPath 方法指定的 Path 参数中包含一个无效字符。

以下为代码
Sub PersonResumeContentDelHtml(ResumeStr)
        if not isNumeric(ResumeStr) then
                exit Sub
        end if
        '读取文章信息
        set Prcdhrs=conn.execute("select resume_id,resume_announcedate from job_p_resume where resume_id="&ResumeStr&"")
        resume_id=Prcdhrs("resume_id")
        resume_announcedate=Prcdhrs("resume_announcedate")
        Prcdhrs.close
        set Prcdhrs=nothing
        '判断是否生成文件
        if CreateHTML=1 then
        '判断文件是否存在
                Set fso = Server.CreateObject(FR_HR_FSO)
                HtmlFileName=Server.MapPath(""&FormatLinks(resume_announcedate,1,1,resume_id,0)&"")
                if fso.fileexists(HtmlFileName) then
                fso.deleteFile(HtmlFileName)
                end if
                Set fso = Nothing
        end if
End Sub
页: [1]
查看完整版本: 发布简历时出现错误 求救