求助error "System.ComponentModel.Win32Exception: The system cannot find the file s

lemonntt 2011-06-17 09:16:47
error "System.ComponentModel.Win32Exception: The system cannot find the file specified"
Jun 18, 2008 08:44 AM

hi all;

iam tring to open word doc using System.Diagnostics.Process when i use it on local serevr and open file which is place on netwrok drive it works fi9 but when i host the side on IIS and then run it so i get this msg



System.ComponentModel.Win32Exception: The system cannot find the file specified



[Win32Exception (0x80004005): The system cannot find the file specified]
System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) +976
System.Diagnostics.Process.Start() +127
System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +50
System.Diagnostics.Process.Start(String fileName) +31
_Default.GridView1_SelectedIndexChanged(Object sender, EventArgs e) in c:\inetpub\wwwroot\html\SPU\PPEthingy\Default.aspx.vb:152
System.Web.UI.WebControls.GridView.OnSelectedIndexChanged(EventArgs e) +105
System.Web.UI.WebControls.GridView.HandleSelect(Int32 rowIndex) +89
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +221
System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument) +199
System.Web.UI.WebControls.GridView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102



我是在使用CssiniDev的时候出的错。遇到过得帮帮忙吧!在线等答案
...全文
271 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
lemonntt 2011-06-18
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 wxr0323 的回复:]

The system cannot find the file specified
这个是啥意思?呵呵
[/Quote]

系统找不到指定文件。。。纳闷中。尚未解决啊
子夜__ 2011-06-18
  • 打赏
  • 举报
回复
The system cannot find the file specified
这个是啥意思?呵呵

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

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