0

本地调试能上传成功,发布内网后报这个错误:

Exception Start
Exception Remark:断点续传失败内部
Exception Date:2017/10/25 17:24:07
Exception Type:System.UnauthorizedAccessException
Exception Message:Access to the path 'c:windowssystem32inetsrvQHome' is denied.
Exception Source:mscorlib
Exception StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Qiniu.Util.UserEnv.GetHomeFolder()
at Qiniu.IO.ResumableUploader.UploadFile(String localFile, String saveKey, String token, Int32 maxTry)
at EastWestWalk.UpLoadWeb.Controllers.FileUploadController.UploadBigFile(Stream stream, String fileType, CommonData data, String& saveKey, String key)
Exception End

怎么回事?

1个回答

0

Exception Message:Access to the path 'c:windowssystem32inetsrvQHome' is denied.
从这句话看 很大可能是账户没有该文件夹的权限。

撰写答案