求助error "System.ComponentModel.Win32Exception: The system cannot find the file s
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的时候出的错。遇到过得帮帮忙吧!在线等答案