denied

Access to the path is denied

一世执手 提交于 2019-11-26 01:58:09
问题 I know this question was asked many times here, but I can\'t find a solution to my problem. I\'m trying to save image to the folder in .net c# but get this exception: Access to the path \'C:\\inetpub\\wwwroot\\mysite\\images\\savehere\' is denied.The error occured at mscorlib because at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32