D
David Shvartsman
Hell everyone. We have some problem with the security
while trying to upload files trough the System.IO and
getting the follow error:
DirectoryNotFoundException: Could not find a part of the
path "\\<server name>\share$".]
System.IO.__Error.WinIOError(Int32 errorCode, String
str) +287
System.IO.Directory.InternalCreateDirectory(String
fullPath, String path) +489
System.IO.Directory.CreateDirectory(String path) +195
_ASP.uploadForm_aspx.DoUpload(Object Sender, EventArgs
e) +721
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
+108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEve
ntHandler.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
I was wandering how to find out the User Name The ASP.NET
is run under in the code behind.
Any input would be greatly appreciated
while trying to upload files trough the System.IO and
getting the follow error:
DirectoryNotFoundException: Could not find a part of the
path "\\<server name>\share$".]
System.IO.__Error.WinIOError(Int32 errorCode, String
str) +287
System.IO.Directory.InternalCreateDirectory(String
fullPath, String path) +489
System.IO.Directory.CreateDirectory(String path) +195
_ASP.uploadForm_aspx.DoUpload(Object Sender, EventArgs
e) +721
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
+108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEve
ntHandler.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
I was wandering how to find out the User Name The ASP.NET
is run under in the code behind.
Any input would be greatly appreciated