日期:2014-05-20  浏览次数:20514 次

菜鸟上路第一步:关于图片的处理
System.UnauthorizedAccessException:   对路径“D:\NET\Lesson50\Lesson41\0736.bmp”的访问被拒绝。   在   System.IO.__Error.WinIOError(Int32   errorCode,   String   maybeFullPath)   在   System.IO.FileStream.Init(String   path,   FileMode   mode,   FileAccess   access,   Int32   rights,   Boolean   useRights,   FileShare   share,   Int32   bufferSize,   FileOptions   options,   SECURITY_ATTRIBUTES   secAttrs,   String   msgPath,   Boolean   bFromProxy)   在   System.IO.FileStream..ctor(String   path,   FileMode   mode,   FileAccess   access)   在   ASP.lesson50_lesson41_blob_aspx.Page_Load()   位置   d:\NET\Lesson50\Lesson41\Blob.aspx:行号   64  

菜鸟上路,多多关照!

------解决方案--------------------
D:\NET\Lesson50\Lesson41\文件夹的安全性,设置everyone可修改权限