while Uploading the file its giving the error like this..
But Local Systems its working fine.
Plz help me...
Thanks in Advance...
[DirectoryNotFou ndException: Could not find a part of the path 'C:\Documents and Settings\User1\ Desktop\Misc\br anchcount.pdf'.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath) +193
System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean bFromProxy) +1162
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access) +67
System.Net.WebC lient.OpenFileI nternal(Boolean needsHeaderAndB oundary, String fileName, FileStream& fs, Byte[]& buffer, Byte[]& formHeaderBytes , Byte[]& boundaryBytes) +203
System.Net.WebC lient.UploadFil e(Uri address, String method, String fileName) +253
[WebException: An exception occurred during a WebClient request.]
System.Net.WebC lient.UploadFil e(Uri address, String method, String fileName) +538
ResumedtlsEntry .btnSubmit_Clic k(Object sender, EventArgs e) +5654
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e) +111
System.Web.UI.W ebControls.Butt on.RaisePostBac kEvent(String eventArgument) +110
System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring eventArgument) +10
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler sourceControl, String eventArgument) +13
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +36
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint) +1565
But Local Systems its working fine.
Plz help me...
Thanks in Advance...
[DirectoryNotFou ndException: Could not find a part of the path 'C:\Documents and Settings\User1\ Desktop\Misc\br anchcount.pdf'.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath) +193
System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean bFromProxy) +1162
System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess access) +67
System.Net.WebC lient.OpenFileI nternal(Boolean needsHeaderAndB oundary, String fileName, FileStream& fs, Byte[]& buffer, Byte[]& formHeaderBytes , Byte[]& boundaryBytes) +203
System.Net.WebC lient.UploadFil e(Uri address, String method, String fileName) +253
[WebException: An exception occurred during a WebClient request.]
System.Net.WebC lient.UploadFil e(Uri address, String method, String fileName) +538
ResumedtlsEntry .btnSubmit_Clic k(Object sender, EventArgs e) +5654
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e) +111
System.Web.UI.W ebControls.Butt on.RaisePostBac kEvent(String eventArgument) +110
System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring eventArgument) +10
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler sourceControl, String eventArgument) +13
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +36
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint) +1565
Comment