Hi,
any help would be appreciated: I am new to
vb.net and security issues.
I need to dynamically create folders through asp.net on the server from which the asp.net pages are being provided.
I have tried the fololowing:
strServerDocumentStoragePath = "\\tta_devtest\IntranetDocument\"
Dim di As System.IO.DirectoryInfo = System.IO.Directory.CreateDirectory("strServerDocu mentStoragePath" & strNewFolderName)
error I get:
System.UnauthorizedAccessException: Access to the path "__" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path) at System.IO.Directory.CreateDirectory(String path) at Intranet.Team_AddFolder1.CreateNewFolder(String strPath, String strNewFolderName) in \\Tta_devtest\C\Inetpub\wwwroot\Team_AddFolder.asp x.
vb:line 141
A