サードパーティのサーバーを使用していて、c#mvcで作成したWebフォームからサーバーに画像をアップロードしようとしています。ローカルホストで正常に動作し、公開するとエラーが発生します。
System.UnauthorizedAccessException: Access to the path 'D:\InetPub\vhosts\abc.com\httpdocs\Images\Sections\Developer\ClientLogo\circle-small-empty.18x18.png' is denied. 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 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at System.Web.HttpPostedFile.SaveAs(String filename) at System.Web.HttpPostedFileWrapper.SaveAs(String filename) at ab.CorporateSite.Controllers.DeveloperController.ImagePath(HttpPostedFileBase imgfile).
Throgh filezilla画像を保存したいサーバー(ClientLogoフォルダー)の特定のフォルダーの権限を確認しました。それには完全な権利があり、私のローカルシステムでもネットワークサービスとすべての人に完全な権利を与えました。
昨日からこの問題に苦しんでいて、何もうまくいきません。どうしたらいいですか?