都市天际线作弊码:今天在做.net邮件程序出现下面的错误?请问谁有好的解决方法
来源:百度文库 编辑:神马品牌网 时间:2024/05/06 08:46:46
未找到路径“F:\newnews\AttachFiles\罗志高\18794736\OA系统.txt”的一部分。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.IO.DirectoryNotFoundException: 未找到路径“F:\newnews\AttachFiles\罗志高\18794736\OA系统.txt”的一部分。
源错误:
行 432: //File.Move(Server.MapPath(".")+"\\"+att.FileVisualPath ,Server.MapPath(".")+"\\AttachFiles\\"+Username+"\\"+NewDocDirName+"\\"+att.FileName);
行 433: //File.Copy(Server.MapPath(".")+"\\"+att.FileVisualPath ,Server.MapPath(".")+"\\AttachFiles\\"+Username+"\\"+NewDocDirName+"\\"+att.FileName,true);
行 434: File.Copy(finam,Server.MapPath("/AttachFiles/罗志高/18794736/OA系统.txt"),true);
行 435:
行 436: // Directory.Delete(Server.MapPath(".")+"\\"+att.FileVisualPath.ToString().Replace(att.FileName,""),true);
源文件: f:\newnews\roa\submodule\unitivedocument\mail\compose.aspx.cs 行: 434
堆栈跟踪:
[DirectoryNotFoundException: 未找到路径“F:\newnews\AttachFiles\罗志高\18794736\OA系统.txt”的一部分。]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +345
System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) +11
ROA.SubModule.UnitiveDocument.Mail.Compose.btnSendMail_Click(Object sender, EventArgs e) in f:\newnews\roa\submodule\unitivedocument\mail\compose.aspx.cs:434
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.IO.DirectoryNotFoundException: 未找到路径“F:\newnews\AttachFiles\罗志高\18794736\OA系统.txt”的一部分。
源错误:
行 432: //File.Move(Server.MapPath(".")+"\\"+att.FileVisualPath ,Server.MapPath(".")+"\\AttachFiles\\"+Username+"\\"+NewDocDirName+"\\"+att.FileName);
行 433: //File.Copy(Server.MapPath(".")+"\\"+att.FileVisualPath ,Server.MapPath(".")+"\\AttachFiles\\"+Username+"\\"+NewDocDirName+"\\"+att.FileName,true);
行 434: File.Copy(finam,Server.MapPath("/AttachFiles/罗志高/18794736/OA系统.txt"),true);
行 435:
行 436: // Directory.Delete(Server.MapPath(".")+"\\"+att.FileVisualPath.ToString().Replace(att.FileName,""),true);
源文件: f:\newnews\roa\submodule\unitivedocument\mail\compose.aspx.cs 行: 434
堆栈跟踪:
[DirectoryNotFoundException: 未找到路径“F:\newnews\AttachFiles\罗志高\18794736\OA系统.txt”的一部分。]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +345
System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) +11
ROA.SubModule.UnitiveDocument.Mail.Compose.btnSendMail_Click(Object sender, EventArgs e) in f:\newnews\roa\submodule\unitivedocument\mail\compose.aspx.cs:434
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
我也有过类似的错误
今天在做.net邮件程序出现下面的错误?请问谁有好的解决方法
怎样用Outlook 我发邮件总是出现下面的错误
我在调试arx程序的时候出现了下面的错误,为什么?
请问在用asp.net做邮件发送时候,为什么老有sendusing设置无效的错误,急,拜托指示!
我的QQ游戏大厅,今天出现程序错误,关闭!QQ直播也有类似情况,该怎么办?下面时错误信息(QQ游戏大厅的
.net调试出现的错误?
下面的错误是什么原因?.net(c#)
在安装金山词霸2005时出现了下面的错误
麻烦哪位帮我看看下面这个程序的错误之处.系统提示错误出现在6,8,10行!为什么错了啊?
asp.net出现这样的错误,怎么办??